%%91^910^9105700A%%ZIS9100.tpl.php
4.05 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?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>