%%3B^3BF^3BFB973F%%ADM2020.tpl.php 4.3 KB
<?PHP  /* Smarty version 2.6.22, created on 2009-10-21 10:58:35
         compiled from ADM2020.tpl */ ?>
<?PHP  require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'count', 'ADM2020.tpl', 34, false),)), $this); ?>
	<div class="SimMiddle">
		<small><br></small>
		<div class="ConfTitle">
			部門設定画面
		</div>
		<div class="ConfMain">
			<!--<?PHP  if ($this->_tpl_vars['PHP_USER_ADMIN'] == 1 || $this->_tpl_vars['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>
					<!--<?PHP  unset($this->_sections['item']);
$this->_sections['item']['name'] = 'item';
$this->_sections['item']['loop'] = is_array($_loop=$this->_tpl_vars['area_name']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['item']['show'] = true;
$this->_sections['item']['max'] = $this->_sections['item']['loop'];
$this->_sections['item']['step'] = 1;
$this->_sections['item']['start'] = $this->_sections['item']['step'] > 0 ? 0 : $this->_sections['item']['loop']-1;
if ($this->_sections['item']['show']) {
    $this->_sections['item']['total'] = $this->_sections['item']['loop'];
    if ($this->_sections['item']['total'] == 0)
        $this->_sections['item']['show'] = false;
} else
    $this->_sections['item']['total'] = 0;
if ($this->_sections['item']['show']):

            for ($this->_sections['item']['index'] = $this->_sections['item']['start'], $this->_sections['item']['iteration'] = 1;
                 $this->_sections['item']['iteration'] <= $this->_sections['item']['total'];
                 $this->_sections['item']['index'] += $this->_sections['item']['step'], $this->_sections['item']['iteration']++):
$this->_sections['item']['rownum'] = $this->_sections['item']['iteration'];
$this->_sections['item']['index_prev'] = $this->_sections['item']['index'] - $this->_sections['item']['step'];
$this->_sections['item']['index_next'] = $this->_sections['item']['index'] + $this->_sections['item']['step'];
$this->_sections['item']['first']      = ($this->_sections['item']['iteration'] == 1);
$this->_sections['item']['last']       = ($this->_sections['item']['iteration'] == $this->_sections['item']['total']);
?>-->
						<tr>
							<td class="ConfKubunTd">
								<a href="ADM2021.php?mode=edt&seq=<?PHP  echo $this->_tpl_vars['area_id'][$this->_sections['item']['index']]; ?>
"><?PHP  echo $this->_tpl_vars['area_name'][$this->_sections['item']['index']]; ?>
</a>
							</td>
							<td class="ConfKubunTd">
								<input type="button" value= " 削除 " onclick="del_chk(<?PHP  echo $this->_tpl_vars['area_id'][$this->_sections['item']['index']]; ?>
, '<?PHP  echo $this->_tpl_vars['area_name'][$this->_sections['item']['index']]; ?>
')">
							</td>
							<td class="ConfKubunTd">
								<table>
									<tr>
										<td width="20">
											<!--<?PHP  if ($this->_sections['item']['index'] > 0): ?>-->
																<input type="button" value="↑" onclick="location.href='ADM2022.php?mode=up&seq=<?PHP  echo $this->_tpl_vars['area_id'][$this->_sections['item']['index']]; ?>
'">
											<!--<?PHP  endif; ?>-->
										</td>
										<td width="20">
											<!--<?PHP  if ($this->_sections['item']['index'] < ( count($this->_tpl_vars['area_name']) - 1 )): ?>-->
																<input type="button" value="↓" onclick="location.href='ADM2022.php?mode=down&seq=<?PHP  echo $this->_tpl_vars['area_id'][$this->_sections['item']['index']]; ?>
'">
											<!--<?PHP  endif; ?>-->
										</td>
									</tr>
								</table>
							</td>
						</tr>
					<!--<?PHP  endfor; endif; ?>-->
				</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'">
			<!--<?PHP  else: ?>-->
				<a href="SIM0100.php"><span class="Normalfont">マスタ変更権限がありません</span></a>
			<!--<?PHP  endif; ?>-->
		</div>
		<br>
	</div>