%%91^910^9105700A%%ZIS9100.tpl.php 4.05 KB
<?PHP  /* Smarty version 2.6.22, created on 2010-01-14 15:31:53
         compiled from ZIS9100.tpl */ ?>
<?PHP  require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'math', 'ZIS9100.tpl', 23, false),)), $this); ?>
<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 width="99%">
				<TR>
					<TD align="left">
						<table class="TBL_ADM0010_1" width="100%">
							<tr><th class="ConfKubunTh">勘定科目一覧</th></tr>
							<tr>
								<td class="ConfKubunTd">
									<table width="100%">
										<tr><td>ルート <a href="javascript:Input_Disp('0','0');">新規追加</a></td></tr>
										<tr><td><div id="input_0"></div></td></tr>
									</table>
									<table width="100%">
										<?PHP  $this->assign('lineCnt', 0); ?>
										<?PHP  unset($this->_sections['item']);
$this->_sections['item']['name'] = 'item';
$this->_sections['item']['loop'] = is_array($_loop=$this->_tpl_vars['Kamoku_List']) ? 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']);
?>
											<?PHP  echo smarty_function_math(array('equation' => "x + 1",'x' => $this->_tpl_vars['lineCnt'],'assign' => 'lineCnt'), $this);?>

											<tr>
												<td>
													<?PHP  echo $this->_tpl_vars['Kamoku_List'][$this->_sections['item']['index']]; ?>
<?PHP  echo $this->_tpl_vars['Kamoku_Cnt'][$this->_sections['item']['index']]; ?>

													 <a href="javascript:Input_Disp('<?PHP  echo $this->_tpl_vars['lineCnt']; ?>
','<?PHP  echo $this->_tpl_vars['Kamoku_Id'][$this->_sections['item']['index']]; ?>
');">新規追加</a>
													 <a href="javascript:Input_Disp2('<?PHP  echo $this->_tpl_vars['lineCnt']; ?>
','<?PHP  echo $this->_tpl_vars['Kamoku_Id'][$this->_sections['item']['index']]; ?>
');">修正</a>
													<!-- <a href="javascript:Input_Disp3('<?PHP  echo $this->_tpl_vars['lineCnt']; ?>
','<?PHP  echo $this->_tpl_vars['Kamoku_Id'][$this->_sections['item']['index']]; ?>
');">移動</a>-->
												</td>
											</tr>
											<tr><td><div id="input_<?PHP  echo $this->_tpl_vars['lineCnt']; ?>
"></div></td></tr>
										<?PHP  endfor; endif; ?>
										<input name="div_count" type="hidden" value="<?PHP  echo $this->_tpl_vars['lineCnt']; ?>
">
									</table>
								</td>
							</tr>
						</table>
					</TD>
				</TR>
			</table>
			<br>
		<!--<?PHP  else: ?>-->
			<a href="SIM0100.php"><span class="Normalfont">マスタ変更権限がありません</span></a>
		<!--<?PHP  endif; ?>-->
	</div>
	<br>
</div>