%%C1^C14^C14E81AB%%ZIS9011.tpl.php 3.06 KB
<?PHP  /* Smarty version 2.6.22, created on 2010-01-14 13:16:40
         compiled from ZIS9011.tpl */ ?>
<?PHP  require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'math', 'ZIS9011.tpl', 12, false),)), $this); ?>
<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>
				<?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>
							<a href="javascript:Input_Disp2('<?PHP  echo $this->_tpl_vars['lineCnt']; ?>
','<?PHP  echo $this->_tpl_vars['Kamoku_Id'][$this->_sections['item']['index']]; ?>
');"><?PHP  echo $this->_tpl_vars['Kamoku_List'][$this->_sections['item']['index']]; ?>
</a>
							 <a href="javascript:Input_Disp('<?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; ?>
		</td>
	</tr>
</table>
<input name="div_count" type="hidden" value="<?PHP  echo $this->_tpl_vars['lineCnt']; ?>
">