%%DC^DC7^DC724486%%ZIS0400.tpl.php
7.38 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<?PHP /* Smarty version 2.6.22, created on 2010-05-21 16:55:45
compiled from ZIS0400.tpl */ ?>
<div class="SimMiddle">
<small><br></small>
<div class="MenuTitle" style="width: 98%;">
<span id="titletxt">資金損益&財務実績表</span>
</div>
<div class="ConfMain" style="width: 98%;">
<br>
<?PHP echo $this->_tpl_vars['start_y']; ?>
年<?PHP echo $this->_tpl_vars['start_m']; ?>
月〜<?PHP echo $this->_tpl_vars['end_y']; ?>
年<?PHP echo $this->_tpl_vars['end_m']; ?>
月
金額単位(<?PHP echo $this->_tpl_vars['strUnit']; ?>
)
表示切替<select name="dispmode" onchange="location.href='ZIS0500.php'">
<option value="0">年単位</option>
<option value="1" selected>月単位</option>
</select>
<input type="button" value="<前期" onclick="move_navi(1);">
<input type="button" value="今期" onclick="move_navi(0);">
<input type="button" value="翌期>" onclick="move_navi(2);">
<?PHP if ($this->_tpl_vars['dispStart'] == 1): ?>
<br> <font color="red">※決算翌月です。</font>
<?PHP endif; ?>
<hr>
<div style="overflow:auto;width:100%;height:420px;">
<table width="86%">
<TR>
<TD align="left">
<table width="95%" class="ZIS_Table">
<tr>
<th align="center" nowrap>
</th>
<th align="center" nowrap>
期首繰越額
</th>
<?PHP unset($this->_sections['idx']);
$this->_sections['idx']['name'] = 'idx';
$this->_sections['idx']['loop'] = is_array($_loop=$this->_tpl_vars['strMTitle']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['idx']['show'] = true;
$this->_sections['idx']['max'] = $this->_sections['idx']['loop'];
$this->_sections['idx']['step'] = 1;
$this->_sections['idx']['start'] = $this->_sections['idx']['step'] > 0 ? 0 : $this->_sections['idx']['loop']-1;
if ($this->_sections['idx']['show']) {
$this->_sections['idx']['total'] = $this->_sections['idx']['loop'];
if ($this->_sections['idx']['total'] == 0)
$this->_sections['idx']['show'] = false;
} else
$this->_sections['idx']['total'] = 0;
if ($this->_sections['idx']['show']):
for ($this->_sections['idx']['index'] = $this->_sections['idx']['start'], $this->_sections['idx']['iteration'] = 1;
$this->_sections['idx']['iteration'] <= $this->_sections['idx']['total'];
$this->_sections['idx']['index'] += $this->_sections['idx']['step'], $this->_sections['idx']['iteration']++):
$this->_sections['idx']['rownum'] = $this->_sections['idx']['iteration'];
$this->_sections['idx']['index_prev'] = $this->_sections['idx']['index'] - $this->_sections['idx']['step'];
$this->_sections['idx']['index_next'] = $this->_sections['idx']['index'] + $this->_sections['idx']['step'];
$this->_sections['idx']['first'] = ($this->_sections['idx']['iteration'] == 1);
$this->_sections['idx']['last'] = ($this->_sections['idx']['iteration'] == $this->_sections['idx']['total']);
?>
<th align="center" nowrap>
<?PHP echo $this->_tpl_vars['strMTitle'][$this->_sections['idx']['index']]; ?>
</th>
<?PHP endfor; endif; ?>
</tr>
<?PHP unset($this->_sections['idx']);
$this->_sections['idx']['name'] = 'idx';
$this->_sections['idx']['loop'] = is_array($_loop=$this->_tpl_vars['strData']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['idx']['show'] = true;
$this->_sections['idx']['max'] = $this->_sections['idx']['loop'];
$this->_sections['idx']['step'] = 1;
$this->_sections['idx']['start'] = $this->_sections['idx']['step'] > 0 ? 0 : $this->_sections['idx']['loop']-1;
if ($this->_sections['idx']['show']) {
$this->_sections['idx']['total'] = $this->_sections['idx']['loop'];
if ($this->_sections['idx']['total'] == 0)
$this->_sections['idx']['show'] = false;
} else
$this->_sections['idx']['total'] = 0;
if ($this->_sections['idx']['show']):
for ($this->_sections['idx']['index'] = $this->_sections['idx']['start'], $this->_sections['idx']['iteration'] = 1;
$this->_sections['idx']['iteration'] <= $this->_sections['idx']['total'];
$this->_sections['idx']['index'] += $this->_sections['idx']['step'], $this->_sections['idx']['iteration']++):
$this->_sections['idx']['rownum'] = $this->_sections['idx']['iteration'];
$this->_sections['idx']['index_prev'] = $this->_sections['idx']['index'] - $this->_sections['idx']['step'];
$this->_sections['idx']['index_next'] = $this->_sections['idx']['index'] + $this->_sections['idx']['step'];
$this->_sections['idx']['first'] = ($this->_sections['idx']['iteration'] == 1);
$this->_sections['idx']['last'] = ($this->_sections['idx']['iteration'] == $this->_sections['idx']['total']);
?>
<tr>
<td align="center" nowrap>
<?PHP echo $this->_tpl_vars['strData'][$this->_sections['idx']['index']][3]; ?>
</td>
<td align="right">
<?PHP echo $this->_tpl_vars['strData'][$this->_sections['idx']['index']][0]; ?>
</td>
<?PHP unset($this->_sections['idx2']);
$this->_sections['idx2']['name'] = 'idx2';
$this->_sections['idx2']['loop'] = is_array($_loop=$this->_tpl_vars['strDataM']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['idx2']['show'] = true;
$this->_sections['idx2']['max'] = $this->_sections['idx2']['loop'];
$this->_sections['idx2']['step'] = 1;
$this->_sections['idx2']['start'] = $this->_sections['idx2']['step'] > 0 ? 0 : $this->_sections['idx2']['loop']-1;
if ($this->_sections['idx2']['show']) {
$this->_sections['idx2']['total'] = $this->_sections['idx2']['loop'];
if ($this->_sections['idx2']['total'] == 0)
$this->_sections['idx2']['show'] = false;
} else
$this->_sections['idx2']['total'] = 0;
if ($this->_sections['idx2']['show']):
for ($this->_sections['idx2']['index'] = $this->_sections['idx2']['start'], $this->_sections['idx2']['iteration'] = 1;
$this->_sections['idx2']['iteration'] <= $this->_sections['idx2']['total'];
$this->_sections['idx2']['index'] += $this->_sections['idx2']['step'], $this->_sections['idx2']['iteration']++):
$this->_sections['idx2']['rownum'] = $this->_sections['idx2']['iteration'];
$this->_sections['idx2']['index_prev'] = $this->_sections['idx2']['index'] - $this->_sections['idx2']['step'];
$this->_sections['idx2']['index_next'] = $this->_sections['idx2']['index'] + $this->_sections['idx2']['step'];
$this->_sections['idx2']['first'] = ($this->_sections['idx2']['iteration'] == 1);
$this->_sections['idx2']['last'] = ($this->_sections['idx2']['iteration'] == $this->_sections['idx2']['total']);
?>
<td align="right">
<?PHP echo $this->_tpl_vars['strDataM'][$this->_sections['idx2']['index']][$this->_sections['idx']['index']]; ?>
</td>
<?PHP endfor; endif; ?>
</tr>
<?PHP endfor; endif; ?>
</table>
</TD>
</TR>
</table>
</div>
<br>
</div>
<br>
</div>
<input type="hidden" name="dispStart" value="<?PHP echo $this->_tpl_vars['dispStart']; ?>
">
<input type="hidden" name="start_y" value="<?PHP echo $this->_tpl_vars['start_y']; ?>
">
<input type="hidden" name="start_m" value="<?PHP echo $this->_tpl_vars['start_m']; ?>
">
<input type="hidden" name="end_y" value="<?PHP echo $this->_tpl_vars['end_y']; ?>
">
<input type="hidden" name="end_m" value="<?PHP echo $this->_tpl_vars['end_m']; ?>
">