ADM2020.tpl
1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<div class="SimMiddle">
<small><br></small>
<div class="ConfTitle">
部門設定画面
</div>
<div class="ConfMain">
<!--{if $PHP_USER_ADMIN == 1 || $PHP_USER_ADMIN == 99}-->
<input type="button" class="SimOkButton" value="部門の追加" onclick="location.href='ADM2021.php?mode=add'">
<input type="button" class="SimCancelButton" value="メニューへ" onclick="location.href='SIM0100.php'">
<br><br>
<table class="ConfTable">
<tr>
<th class="ConfKubunTh">部門名称</th>
<th class="ConfKubunTh">削除</th>
<th class="ConfKubunTh">表示順</th>
</tr>
<!--{section name=item loop=$area_name}-->
<tr>
<td class="ConfKubunTd">
<a href="ADM2021.php?mode=edt&seq={$area_id[item]}">{$area_name[item]}</a>
</td>
<td class="ConfKubunTd">
<input type="button" value= " 削除 " onclick="del_chk({$area_id[item]}, '{$area_name[item]}')">
</td>
<td class="ConfKubunTd">
<table>
<tr>
<td width="20">
<!--{if $smarty.section.item.index > 0}-->
<input type="button" value="↑" onclick="location.href='ADM2022.php?mode=up&seq={$area_id[item]}'">
<!--{/if}-->
</td>
<td width="20">
<!--{if $smarty.section.item.index < ($area_name|@count - 1)}-->
<input type="button" value="↓" onclick="location.href='ADM2022.php?mode=down&seq={$area_id[item]}'">
<!--{/if}-->
</td>
</tr>
</table>
</td>
</tr>
<!--{/section}-->
</table>
<br>
<input type="button" class="SimOkButton" value="部門の追加" onclick="location.href='ADM2021.php?mode=add'">
<input type="button" class="SimCancelButton" value="メニューへ" onclick="location.href='SIM0100.php'">
<!--{else}-->
<a href="SIM0100.php"><span class="Normalfont">マスタ変更権限がありません</span></a>
<!--{/if}-->
</div>
<br>
</div>