%%DC^DC7^DC724486%%ZIS0400.tpl.php 7.38 KB
<?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>
				&nbsp;&nbsp;&nbsp;&nbsp;
				<?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']; ?>

				&nbsp;&nbsp;&nbsp;&nbsp;
				金額単位(<?PHP  echo $this->_tpl_vars['strUnit']; ?>
)
				&nbsp;&nbsp;&nbsp;&nbsp;
				表示切替<select name="dispmode" onchange="location.href='ZIS0500.php'">
					<option value="0">年単位</option>
					<option value="1" selected>月単位</option>
				</select>
				&nbsp;&nbsp;&nbsp;&nbsp;
				<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>&nbsp;&nbsp;&nbsp;&nbsp;<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']; ?>
">