%%BF^BFA^BFA271BC%%ZIS0200.tpl.php
6.31 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
168
169
170
171
172
173
<?PHP /* Smarty version 2.6.22, created on 2010-02-17 20:53:47
compiled from ZIS0200.tpl */ ?>
<?PHP require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'count', 'ZIS0200.tpl', 85, 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>
<select name="ZIS_cboY" onchange="date_chg();">
<?PHP echo $this->_tpl_vars['lstY']; ?>
</select>年
<select name="ZIS_cboM" onchange="date_chg();">
<?PHP echo $this->_tpl_vars['lstM']; ?>
</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>
<table width="86%">
<TR>
<TD align="left">
<table width="95%" class="ZIS_Table">
<tr>
<th style="text-align: center;" nowrap >
科目
</th>
<th style="text-align: center;" nowrap >
区分
</th>
<th align="center" nowrap>
<?PHP if ($this->_tpl_vars['dispStart'] == 1): ?>
初期残高(<?PHP echo $this->_tpl_vars['strUnit']; ?>
)
<?PHP else: ?>
前月繰越(<?PHP echo $this->_tpl_vars['strUnit']; ?>
)
<?PHP endif; ?>
</th>
<th align="center" nowrap >
当月残高(<?PHP echo $this->_tpl_vars['strUnit']; ?>
)
</th>
<th align="center" nowrap >
当月増減高(<?PHP echo $this->_tpl_vars['strUnit']; ?>
)
</th>
<th align="center" nowrap >
累計増減高(<?PHP echo $this->_tpl_vars['strUnit']; ?>
)
</th>
</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']);
?>
<?PHP if ($this->_tpl_vars['strData'][$this->_sections['idx']['index']][10] == 1): ?>
<tr bgcolor="<?PHP echo $this->_tpl_vars['strData'][$this->_sections['idx']['index']][13]; ?>
" style="font-weight: 700;">
<?PHP else: ?>
<tr>
<?PHP endif; ?>
<td style="text-align:left;">
<?PHP if ($this->_tpl_vars['strData'][$this->_sections['idx']['index']][10] == 1): ?>
<b><?PHP echo $this->_tpl_vars['strData'][$this->_sections['idx']['index']][6]; ?>
</b>
<?PHP else: ?>
<?PHP echo $this->_tpl_vars['strData'][$this->_sections['idx']['index']][6]; ?>
<?PHP endif; ?>
</td>
<td align="center">
<?PHP echo $this->_tpl_vars['strData'][$this->_sections['idx']['index']][7]; ?>
</td>
<td align="right">
<?PHP echo $this->_tpl_vars['strData'][$this->_sections['idx']['index']][9]; ?>
</td>
<td align="right">
<?PHP echo $this->_tpl_vars['strData'][$this->_sections['idx']['index']][8]; ?>
</td>
<td align="right">
<?PHP echo $this->_tpl_vars['strData'][$this->_sections['idx']['index']][11]; ?>
</td>
<td align="right">
<?PHP echo $this->_tpl_vars['strData'][$this->_sections['idx']['index']][12]; ?>
</td>
</tr>
<?PHP if ($this->_tpl_vars['strData'][$this->_sections['idx']['index']][2] == 0 && $this->_tpl_vars['strData'][$this->_sections['idx']['index']][3] == 0 && $this->_tpl_vars['strData'][$this->_sections['idx']['index']][4] == 0 && $this->_tpl_vars['strData'][$this->_sections['idx']['index']][5] == 0 && $this->_sections['idx']['index'] < ( count($this->_tpl_vars['strData']) - 1 )): ?>
<tr>
<th style="text-align: center;">
科目
</th>
<th style="text-align: center;" >
区分
</th>
<th align="center" >
<?PHP if ($this->_tpl_vars['dispStart'] == 1): ?>
初期残高(<?PHP echo $this->_tpl_vars['strUnit']; ?>
)
<?PHP else: ?>
前月繰越(<?PHP echo $this->_tpl_vars['strUnit']; ?>
)
<?PHP endif; ?>
</th>
<th align="center" >
当月残高(<?PHP echo $this->_tpl_vars['strUnit']; ?>
)
</th>
<th align="center" >
当月増減高(<?PHP echo $this->_tpl_vars['strUnit']; ?>
)
</th>
<th align="center" >
累計増減高(<?PHP echo $this->_tpl_vars['strUnit']; ?>
)
</th>
</tr>
<?PHP endif; ?>
<?PHP endfor; endif; ?>
</table>
</TD>
</TR>
</table>
<br>
<!--<?PHP else: ?>-->
<a href="SIM0100.php"><span class="Normalfont">マスタ変更権限がありません</span></a>
<!--<?PHP endif; ?>-->
</div>
<br>
</div>
<input type="hidden" name="dispStart" value="<?PHP echo $this->_tpl_vars['dispStart']; ?>
">