%%C3^C38^C382CA2A%%ZIS0120.tpl.php 9.41 KB
<?PHP  /* Smarty version 2.6.22, created on 2010-05-12 09:37:58
         compiled from ZIS0120.tpl */ ?>
<?PHP  require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'math', 'ZIS0120.tpl', 33, false),)), $this); ?>

<div class="SimMiddle">
	<small><br /></small>
	<div class="SimTitle"><font size="5px">資金実績一括入力確認</font></div>
		<br />
		<div style="margin-left:auto; margin-right:auto; width:95%; text-align:left;">
			<font color="red">CSVファイルから以下のデータを取り込みます。<br />
			続行する場合は画面下部の更新ボタンをクリックしてください。</font>
		</div>
		<div style="margin-left:auto; margin-right:auto; width:98%; overflow:scroll;">
			<table width="1200" border="0" cellpadding="1" cellspacing="1" bgcolor="#000000">
				<tr>
					<th align="center" class="ConfKubunTh">大区分</th>
					<th align="center" class="ConfKubunTh">中区分</th>
					<th align="center" class="ConfKubunTh">小区分</th>
					<th align="center" class="ConfKubunTh">科目</th>
					<th align="center" class="ConfKubunTh">初期残高</th>
					<th align="center" class="ConfKubunTh"><?PHP  echo $this->_tpl_vars['months_lst'][0]; ?>
月残高</th>
					<th align="center" class="ConfKubunTh"><?PHP  echo $this->_tpl_vars['months_lst'][1]; ?>
月残高</th>
					<th align="center" class="ConfKubunTh"><?PHP  echo $this->_tpl_vars['months_lst'][2]; ?>
月残高</th>
					<th align="center" class="ConfKubunTh"><?PHP  echo $this->_tpl_vars['months_lst'][3]; ?>
月残高</th>
					<th align="center" class="ConfKubunTh"><?PHP  echo $this->_tpl_vars['months_lst'][4]; ?>
月残高</th>
					<th align="center" class="ConfKubunTh"><?PHP  echo $this->_tpl_vars['months_lst'][5]; ?>
月残高</th>
					<th align="center" class="ConfKubunTh"><?PHP  echo $this->_tpl_vars['months_lst'][6]; ?>
月残高</th>
					<th align="center" class="ConfKubunTh"><?PHP  echo $this->_tpl_vars['months_lst'][7]; ?>
月残高</th>
					<th align="center" class="ConfKubunTh"><?PHP  echo $this->_tpl_vars['months_lst'][8]; ?>
月残高</th>
					<th align="center" class="ConfKubunTh"><?PHP  echo $this->_tpl_vars['months_lst'][9]; ?>
月残高</th>
					<th align="center" class="ConfKubunTh"><?PHP  echo $this->_tpl_vars['months_lst'][10]; ?>
月残高</th>
					<th align="center" class="ConfKubunTh"><?PHP  echo $this->_tpl_vars['months_lst'][11]; ?>
月残高</th>
				</tr>
				<?PHP  $this->assign('lineCnt', 0); ?>
				<?PHP  unset($this->_sections['idx']);
$this->_sections['idx']['name'] = 'idx';
$this->_sections['idx']['loop'] = is_array($_loop=$this->_tpl_vars['KeyMass'][4][7]) ? 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  echo smarty_function_math(array('equation' => "x + 1",'x' => $this->_tpl_vars['lineCnt'],'assign' => 'lineCnt'), $this);?>

					<tr>
						<!-- 第1階層 -->
						<th class="ZISMst1Td" align="left">
							<input type="text" style="border:none; width:90px;" name="daikbn[]" value="<?PHP  echo $this->_tpl_vars['KeyMass'][1][7][$this->_sections['idx']['index']]; ?>
" readonly>
							<input type="hidden" name="daikbnseq[]" value="<?PHP  echo $this->_tpl_vars['KeyMass'][1][1][$this->_sections['idx']['index']]; ?>
">
						</th>

						<!-- 第2階層 -->
						<th class="ZISMst1Td" align="left">
							<input type="text" style="border:none; width:90px;" name="chukbn[]" value="<?PHP  echo $this->_tpl_vars['KeyMass'][2][7][$this->_sections['idx']['index']]; ?>
" readonly>
							<input type="hidden" name="chukbnseq[]" value="<?PHP  echo $this->_tpl_vars['KeyMass'][2][2][$this->_sections['idx']['index']]; ?>
">
						</th>
						<!-- 第3階層 -->
						<th class="ZISMst1Td" align="left">
							<input type="text" style="border:none; width:120px;" name="shokbn[]" value="<?PHP  echo $this->_tpl_vars['KeyMass'][3][7][$this->_sections['idx']['index']]; ?>
" readonly>
							<input type="hidden" name="shokbnseq[]" value="<?PHP  echo $this->_tpl_vars['KeyMass'][3][3][$this->_sections['idx']['index']]; ?>
">
						</th>
						<!-- 第4階層 -->
						<?PHP  if ($this->_tpl_vars['KeyMass'][4][7][$this->_sections['idx']['index']] != ""): ?>
								<td class="ZISMst1Td" align="left">
									<input type="text" style="border:none; width:120px;" name="kamoku[]" value="<?PHP  echo $this->_tpl_vars['KeyMass'][4][7][$this->_sections['idx']['index']]; ?>
" readonly>
									<input type="hidden" name="kamokuseq[]" value="<?PHP  echo $this->_tpl_vars['KeyMass'][4][4][$this->_sections['idx']['index']]; ?>
">
								</td>
								<td class="ZISMst1Td" align="center">
									<input type="text" style="border:none; width:60px;" name="zandaka[]" value="<?PHP  echo $this->_tpl_vars['zandaka'][$this->_sections['idx']['index']]; ?>
" readonly>
								</td>
								<td class="ZISMst1Td" align="center">
									<input type="text" style="border:none; width:60px;" name="money01[]" value="<?PHP  echo $this->_tpl_vars['kingaku'][$this->_sections['idx']['index']][0]; ?>
" readonly>
								</td>
								<td class="ZISMst1Td" align="center">
									<input type="text" style="border:none; width:60px;" name="money02[]" value="<?PHP  echo $this->_tpl_vars['kingaku'][$this->_sections['idx']['index']][1]; ?>
" readonly>
								</td>
								<td class="ZISMst1Td" align="center">
									<input type="text" style="border:none; width:60px;" name="money03[]" value="<?PHP  echo $this->_tpl_vars['kingaku'][$this->_sections['idx']['index']][2]; ?>
" readonly>
								</td>
								<td class="ZISMst1Td" align="center">
									<input type="text" style="border:none; width:60px;" name="money04[]" value="<?PHP  echo $this->_tpl_vars['kingaku'][$this->_sections['idx']['index']][3]; ?>
" readonly>
								</td>
								<td class="ZISMst1Td" align="center">
									<input type="text" style="border:none; width:60px;" name="money05[]" value="<?PHP  echo $this->_tpl_vars['kingaku'][$this->_sections['idx']['index']][4]; ?>
" readonly>
								</td>
								<td class="ZISMst1Td" align="center">
									<input type="text" style="border:none; width:60px;" name="money06[]" value="<?PHP  echo $this->_tpl_vars['kingaku'][$this->_sections['idx']['index']][5]; ?>
" readonly>
								</td>
								<td class="ZISMst1Td" align="center">
									<input type="text" style="border:none; width:60px;" name="money07[]" value="<?PHP  echo $this->_tpl_vars['kingaku'][$this->_sections['idx']['index']][6]; ?>
" readonly>
								</td>
								<td class="ZISMst1Td" align="center">
									<input type="text" style="border:none; width:60px;" name="money08[]" value="<?PHP  echo $this->_tpl_vars['kingaku'][$this->_sections['idx']['index']][7]; ?>
" readonly>
								</td>
								<td class="ZISMst1Td" align="center">
									<input type="text" style="border:none; width:60px;" name="money09[]" value="<?PHP  echo $this->_tpl_vars['kingaku'][$this->_sections['idx']['index']][8]; ?>
" readonly>
								</td>
								<td class="ZISMst1Td" align="center">
									<input type="text" style="border:none; width:60px;" name="money10[]" value="<?PHP  echo $this->_tpl_vars['kingaku'][$this->_sections['idx']['index']][9]; ?>
" readonly>
								</td>
								<td class="ZISMst1Td" align="center">
									<input type="text" style="border:none; width:60px;" name="money11[]" value="<?PHP  echo $this->_tpl_vars['kingaku'][$this->_sections['idx']['index']][10]; ?>
" readonly>
								</td>
								<td class="ZISMst1Td" align="center">
									<input type="text" style="border:none; width:60px;" name="money12[]" value="<?PHP  echo $this->_tpl_vars['kingaku'][$this->_sections['idx']['index']][11]; ?>
" readonly>
								</td>
						<?PHP  endif; ?>
					</tr>
				<?PHP  endfor; endif; ?>
			</table>
			<input name="years_lst"     type="hidden" value="<?PHP  echo $this->_tpl_vars['years_lst'][0]; ?>
">
			<input name="months_lst"    type="hidden" value="<?PHP  echo $this->_tpl_vars['months_lst'][0]; ?>
">
			<input name="strUnit"  type="hidden" value="<?PHP  echo $this->_tpl_vars['strUnit']; ?>
">
			<input name="numUnit"  type="hidden" value="<?PHP  echo $this->_tpl_vars['numUnit']; ?>
">

		</div>
		<table width="90%">
			<tr>
				<td colspan="2" align="right">
					<input type="button" value=" 更新 " onclick="up_data_all();">
				</td>
			</tr>
		</table>
	<br>
</div>