%%BF^BFA^BFA271BC%%ZIS0200.tpl.php 6.31 KB
<?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>
				&nbsp;&nbsp;&nbsp;&nbsp;
				<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>
				&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>

			<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']; ?>
">