%%F0^F0A^F0A7449A%%ADM2030.tpl.php 3.97 KB
<?PHP  /* Smarty version 2.6.22, created on 2010-01-06 10:56:03
         compiled from ADM2030.tpl */ ?>
	<div class="SimMiddle">
		<small><br></small>
		<div class="MenuTitle">
			<span id="titletxt">業者設定</span>
		</div>
		<div class="ConfMain">
			<!--<?PHP  if ($this->_tpl_vars['PHP_USER_ADMIN'] == 1 || $this->_tpl_vars['PHP_USER_ADMIN'] == 99): ?>-->
			<br>
			<table class="MemTable">
				<TR>
					<TD align="center">
				<input type="button" class="btnGo"  value="業者の追加" onclick="location.href='ADM2031.php?mode=add'">   
					</TD>
				</TR>
			</table>
				<br>
				<table class="TBL_ADM0010_1">
					<tr>
						<th class="ConfKubunTh" width="250">業者名称</th>
						<th class="ConfKubunTh" width="50">請求先</th>
						<th class="ConfKubunTh" width="50">外注先</th>
						<th class="ConfKubunTh" width="200">メ  モ</th>
						<th class="ConfKubunTh" width="70">削  除</th>
					</tr>
					<!--<?PHP  unset($this->_sections['item']);
$this->_sections['item']['name'] = 'item';
$this->_sections['item']['loop'] = is_array($_loop=$this->_tpl_vars['gyousya_id']) ? 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="ADM2031.php?mode=edt&seq=<?PHP  echo $this->_tpl_vars['gyousya_id'][$this->_sections['item']['index']]; ?>
"><?PHP  echo $this->_tpl_vars['gyousya_name'][$this->_sections['item']['index']]; ?>
</a>
							</td>
							<td class="ConfKubunTd" align="center"><!--<?PHP  if ($this->_tpl_vars['disp_mode1'][$this->_sections['item']['index']] == 1): ?>--><!--<?PHP  endif; ?>--></td>
							<td class="ConfKubunTd" align="center"><!--<?PHP  if ($this->_tpl_vars['disp_mode2'][$this->_sections['item']['index']] == 1): ?>--><!--<?PHP  endif; ?>--></td>
							<td class="ConfKubunTd"><?PHP  echo $this->_tpl_vars['gyousya_memo'][$this->_sections['item']['index']]; ?>
</td>
							<td class="ConfKubunTd" align="center">
								<input type="button" class="btnDelete" value= " 削除 " onclick="del_chk(<?PHP  echo $this->_tpl_vars['gyousya_id'][$this->_sections['item']['index']]; ?>
, '<?PHP  echo $this->_tpl_vars['gyousya_name'][$this->_sections['item']['index']]; ?>
')">
							</td>
						</tr>
					<!--<?PHP  endfor; endif; ?>-->
				</table>
				<br>
			<table class="MemTable">
				<TR>
					<TD align="center">
				<input type="button" class="btnGo"  value="業者の追加" onclick="location.href='ADM2031.php?mode=add'">   
					</TD>
				</TR>
			</table>
			<br>
			<!--<?PHP  else: ?>-->
				<a href="SIM0100.php"><span class="Normalfont">マスタ変更権限がありません</span></a>
			<!--<?PHP  endif; ?>-->
		</div>
		<br>
	</div>