%%C5^C5D^C5D531DA%%BRR0300.tpl.php 13.4 KB
<?PHP  /* Smarty version 2.6.22, created on 2010-02-08 14:40:53
         compiled from BRR0300.tpl */ ?>
<div class="SimMiddle">
<div class="Main">
	<br />
	<table class="hensai_plan"  cellspacing="0">
		<tr>
			<th nowrap>支払い種別</th>
			<th nowrap>借入先</th>
			<th nowrap>借入額</th>
			<th nowrap>借入日</th>
			<th nowrap>借入利率<br>(金利)</th>
			<th nowrap>初回返済月</th>
			<th nowrap>返済回数</th>
		</tr>
		<tr>
			<td nowrap><?PHP  echo $this->_tpl_vars['siha']; ?>
</td>
			<td nowrap><?PHP  echo $this->_tpl_vars['kr_name']; ?>
</td>
			<td nowrap align="right"><?PHP  echo $this->_tpl_vars['START_MONEY_fm']; ?>
</td>
			<td nowrap><?PHP  echo $this->_tpl_vars['kariire_date']; ?>
</td>
			<td nowrap align="right"><?PHP  echo $this->_tpl_vars['kinri']; ?>
%</td>
			<td nowrap><?PHP  echo $this->_tpl_vars['FIRST_YEAR']; ?>
年 <?PHP  echo $this->_tpl_vars['FIRST_MONTH']; ?>
</td>
			<td nowrap align="right"><?PHP  echo $this->_tpl_vars['hensai_count']; ?>
</td>
		</tr>
	</table>
	<div class="Unit">
		金額単位(<?PHP  echo $this->_tpl_vars['mUnitName']; ?>

	</div>

	<div style="margin-left:10px; ">
		<input type="button" class="btnCancel" onClick="Hyo();" value="一覧へ戻る">
	</div>
	<div class="plan_sub" style="clear:both; "><input type="button" class="btnGo" value="登 録" onClick="plan_toroku('<?PHP  echo $this->_tpl_vars['hensai_count']; ?>
');"></div>
	<div class="Main_tbl">
	<table class="hensai_hyo" cellpadding="0" cellspacing="0">
		<tr class="count">
			<th width="50" align="center">回数</th>
<?PHP  unset($this->_sections['ymCnt']);
$this->_sections['ymCnt']['name'] = 'ymCnt';
$this->_sections['ymCnt']['loop'] = is_array($_loop=$this->_tpl_vars['dataYM']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['ymCnt']['show'] = true;
$this->_sections['ymCnt']['max'] = $this->_sections['ymCnt']['loop'];
$this->_sections['ymCnt']['step'] = 1;
$this->_sections['ymCnt']['start'] = $this->_sections['ymCnt']['step'] > 0 ? 0 : $this->_sections['ymCnt']['loop']-1;
if ($this->_sections['ymCnt']['show']) {
    $this->_sections['ymCnt']['total'] = $this->_sections['ymCnt']['loop'];
    if ($this->_sections['ymCnt']['total'] == 0)
        $this->_sections['ymCnt']['show'] = false;
} else
    $this->_sections['ymCnt']['total'] = 0;
if ($this->_sections['ymCnt']['show']):

            for ($this->_sections['ymCnt']['index'] = $this->_sections['ymCnt']['start'], $this->_sections['ymCnt']['iteration'] = 1;
                 $this->_sections['ymCnt']['iteration'] <= $this->_sections['ymCnt']['total'];
                 $this->_sections['ymCnt']['index'] += $this->_sections['ymCnt']['step'], $this->_sections['ymCnt']['iteration']++):
$this->_sections['ymCnt']['rownum'] = $this->_sections['ymCnt']['iteration'];
$this->_sections['ymCnt']['index_prev'] = $this->_sections['ymCnt']['index'] - $this->_sections['ymCnt']['step'];
$this->_sections['ymCnt']['index_next'] = $this->_sections['ymCnt']['index'] + $this->_sections['ymCnt']['step'];
$this->_sections['ymCnt']['first']      = ($this->_sections['ymCnt']['iteration'] == 1);
$this->_sections['ymCnt']['last']       = ($this->_sections['ymCnt']['iteration'] == $this->_sections['ymCnt']['total']);
?>
			<td>
				<?PHP  echo $this->_tpl_vars['con'][$this->_sections['ymCnt']['index']]; ?>

			</td>
<?PHP  endfor; endif; ?>
		</tr>
		<tr class="hensai_year">
			<th width="50" align="center"></th>
<?PHP  unset($this->_sections['ymCnt']);
$this->_sections['ymCnt']['name'] = 'ymCnt';
$this->_sections['ymCnt']['loop'] = is_array($_loop=$this->_tpl_vars['dataYM']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['ymCnt']['show'] = true;
$this->_sections['ymCnt']['max'] = $this->_sections['ymCnt']['loop'];
$this->_sections['ymCnt']['step'] = 1;
$this->_sections['ymCnt']['start'] = $this->_sections['ymCnt']['step'] > 0 ? 0 : $this->_sections['ymCnt']['loop']-1;
if ($this->_sections['ymCnt']['show']) {
    $this->_sections['ymCnt']['total'] = $this->_sections['ymCnt']['loop'];
    if ($this->_sections['ymCnt']['total'] == 0)
        $this->_sections['ymCnt']['show'] = false;
} else
    $this->_sections['ymCnt']['total'] = 0;
if ($this->_sections['ymCnt']['show']):

            for ($this->_sections['ymCnt']['index'] = $this->_sections['ymCnt']['start'], $this->_sections['ymCnt']['iteration'] = 1;
                 $this->_sections['ymCnt']['iteration'] <= $this->_sections['ymCnt']['total'];
                 $this->_sections['ymCnt']['index'] += $this->_sections['ymCnt']['step'], $this->_sections['ymCnt']['iteration']++):
$this->_sections['ymCnt']['rownum'] = $this->_sections['ymCnt']['iteration'];
$this->_sections['ymCnt']['index_prev'] = $this->_sections['ymCnt']['index'] - $this->_sections['ymCnt']['step'];
$this->_sections['ymCnt']['index_next'] = $this->_sections['ymCnt']['index'] + $this->_sections['ymCnt']['step'];
$this->_sections['ymCnt']['first']      = ($this->_sections['ymCnt']['iteration'] == 1);
$this->_sections['ymCnt']['last']       = ($this->_sections['ymCnt']['iteration'] == $this->_sections['ymCnt']['total']);
?>
			<td bgcolor="<?PHP  echo $this->_tpl_vars['dataYMCOLOR'][$this->_sections['ymCnt']['index']]; ?>
">
				<?PHP  echo $this->_tpl_vars['dataYM'][$this->_sections['ymCnt']['index']][0]; ?>

			</td>
<?PHP  endfor; endif; ?>
		</tr>
		<tr class="hensai_date" align="center">
			<th width="50"></th>
<?PHP  unset($this->_sections['ymCnt']);
$this->_sections['ymCnt']['name'] = 'ymCnt';
$this->_sections['ymCnt']['loop'] = is_array($_loop=$this->_tpl_vars['dataYM']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['ymCnt']['show'] = true;
$this->_sections['ymCnt']['max'] = $this->_sections['ymCnt']['loop'];
$this->_sections['ymCnt']['step'] = 1;
$this->_sections['ymCnt']['start'] = $this->_sections['ymCnt']['step'] > 0 ? 0 : $this->_sections['ymCnt']['loop']-1;
if ($this->_sections['ymCnt']['show']) {
    $this->_sections['ymCnt']['total'] = $this->_sections['ymCnt']['loop'];
    if ($this->_sections['ymCnt']['total'] == 0)
        $this->_sections['ymCnt']['show'] = false;
} else
    $this->_sections['ymCnt']['total'] = 0;
if ($this->_sections['ymCnt']['show']):

            for ($this->_sections['ymCnt']['index'] = $this->_sections['ymCnt']['start'], $this->_sections['ymCnt']['iteration'] = 1;
                 $this->_sections['ymCnt']['iteration'] <= $this->_sections['ymCnt']['total'];
                 $this->_sections['ymCnt']['index'] += $this->_sections['ymCnt']['step'], $this->_sections['ymCnt']['iteration']++):
$this->_sections['ymCnt']['rownum'] = $this->_sections['ymCnt']['iteration'];
$this->_sections['ymCnt']['index_prev'] = $this->_sections['ymCnt']['index'] - $this->_sections['ymCnt']['step'];
$this->_sections['ymCnt']['index_next'] = $this->_sections['ymCnt']['index'] + $this->_sections['ymCnt']['step'];
$this->_sections['ymCnt']['first']      = ($this->_sections['ymCnt']['iteration'] == 1);
$this->_sections['ymCnt']['last']       = ($this->_sections['ymCnt']['iteration'] == $this->_sections['ymCnt']['total']);
?>
			<td bgcolor="<?PHP  echo $this->_tpl_vars['dataYMCOLOR'][$this->_sections['ymCnt']['index']]; ?>
">
				<?PHP  echo $this->_tpl_vars['dataYM'][$this->_sections['ymCnt']['index']][1]; ?>

			</td>
<?PHP  endfor; endif; ?>
		</tr>
		<tr class="hensaigaku" align="center">
			<th width="50">返済額</th>
<?PHP  unset($this->_sections['ymCnt']);
$this->_sections['ymCnt']['name'] = 'ymCnt';
$this->_sections['ymCnt']['loop'] = is_array($_loop=$this->_tpl_vars['dataYM']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['ymCnt']['show'] = true;
$this->_sections['ymCnt']['max'] = $this->_sections['ymCnt']['loop'];
$this->_sections['ymCnt']['step'] = 1;
$this->_sections['ymCnt']['start'] = $this->_sections['ymCnt']['step'] > 0 ? 0 : $this->_sections['ymCnt']['loop']-1;
if ($this->_sections['ymCnt']['show']) {
    $this->_sections['ymCnt']['total'] = $this->_sections['ymCnt']['loop'];
    if ($this->_sections['ymCnt']['total'] == 0)
        $this->_sections['ymCnt']['show'] = false;
} else
    $this->_sections['ymCnt']['total'] = 0;
if ($this->_sections['ymCnt']['show']):

            for ($this->_sections['ymCnt']['index'] = $this->_sections['ymCnt']['start'], $this->_sections['ymCnt']['iteration'] = 1;
                 $this->_sections['ymCnt']['iteration'] <= $this->_sections['ymCnt']['total'];
                 $this->_sections['ymCnt']['index'] += $this->_sections['ymCnt']['step'], $this->_sections['ymCnt']['iteration']++):
$this->_sections['ymCnt']['rownum'] = $this->_sections['ymCnt']['iteration'];
$this->_sections['ymCnt']['index_prev'] = $this->_sections['ymCnt']['index'] - $this->_sections['ymCnt']['step'];
$this->_sections['ymCnt']['index_next'] = $this->_sections['ymCnt']['index'] + $this->_sections['ymCnt']['step'];
$this->_sections['ymCnt']['first']      = ($this->_sections['ymCnt']['iteration'] == 1);
$this->_sections['ymCnt']['last']       = ($this->_sections['ymCnt']['iteration'] == $this->_sections['ymCnt']['total']);
?>
			<td width="30">
				<?PHP  echo $this->_tpl_vars['nyu_text'][$this->_sections['ymCnt']['index']]; ?>
<br />
				<a href="javascript:ikkatsu_set(<?PHP  echo $this->_sections['ymCnt']['index']; ?>
);">
				<img style="margin-top:5px;" src="./templates/img/hensai_btn.gif" title="返済額の残高を入力します" border="0" />
				</a>
			</td>
<?PHP  endfor; endif; ?>
		</tr>
		<tr class="chekb">
			<td width="30" style="border-bottom:1px solid #000099; border-right:1px solid #000099; ">&nbsp;</td>
<?PHP  unset($this->_sections['ymCnt']);
$this->_sections['ymCnt']['name'] = 'ymCnt';
$this->_sections['ymCnt']['loop'] = is_array($_loop=$this->_tpl_vars['dataYM']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['ymCnt']['show'] = true;
$this->_sections['ymCnt']['max'] = $this->_sections['ymCnt']['loop'];
$this->_sections['ymCnt']['step'] = 1;
$this->_sections['ymCnt']['start'] = $this->_sections['ymCnt']['step'] > 0 ? 0 : $this->_sections['ymCnt']['loop']-1;
if ($this->_sections['ymCnt']['show']) {
    $this->_sections['ymCnt']['total'] = $this->_sections['ymCnt']['loop'];
    if ($this->_sections['ymCnt']['total'] == 0)
        $this->_sections['ymCnt']['show'] = false;
} else
    $this->_sections['ymCnt']['total'] = 0;
if ($this->_sections['ymCnt']['show']):

            for ($this->_sections['ymCnt']['index'] = $this->_sections['ymCnt']['start'], $this->_sections['ymCnt']['iteration'] = 1;
                 $this->_sections['ymCnt']['iteration'] <= $this->_sections['ymCnt']['total'];
                 $this->_sections['ymCnt']['index'] += $this->_sections['ymCnt']['step'], $this->_sections['ymCnt']['iteration']++):
$this->_sections['ymCnt']['rownum'] = $this->_sections['ymCnt']['iteration'];
$this->_sections['ymCnt']['index_prev'] = $this->_sections['ymCnt']['index'] - $this->_sections['ymCnt']['step'];
$this->_sections['ymCnt']['index_next'] = $this->_sections['ymCnt']['index'] + $this->_sections['ymCnt']['step'];
$this->_sections['ymCnt']['first']      = ($this->_sections['ymCnt']['iteration'] == 1);
$this->_sections['ymCnt']['last']       = ($this->_sections['ymCnt']['iteration'] == $this->_sections['ymCnt']['total']);
?>
			<td>
				<?PHP  echo $this->_tpl_vars['nyu_chk'][$this->_sections['ymCnt']['index']]; ?>

			</td>
<?PHP  endfor; endif; ?>
		</tr>
	</table>
	&nbsp;&nbsp;※チェックした項目以外は自動計算され、均等な金額が設定されます。<br />
	&nbsp;&nbsp;  <img src="./templates/img/hensai_btn.gif" border="0" />は以降の返済残高を一括で支払うための金額を設定します。<br />
	&nbsp;&nbsp;  それ以前でチェックの無い項目には自動計算した均等な金額を設定します。
	</div>
<!--		<input type="text" name="kkkk" value="156"  onChange="alert('内容を'+this.value+'に変更しました')" />-->
<div class="plan_sub"><input type="button" class="btnGo" value="登 録" onClick="plan_toroku();"></div>
</div><!--main-->
</div>
<input type="hidden" name="chk" value="" />
<input type="hidden" name="kariire_seq" value="<?PHP  echo $this->_tpl_vars['kariire_seq']; ?>
" />
<input type="hidden" name="hensai_count" value="<?PHP  echo $this->_tpl_vars['hensai_count']; ?>
" />
<input type="hidden" name="START_MONEY_BRR" value="<?PHP  echo $this->_tpl_vars['START_MONEY_BRR']; ?>
" />

<input type="hidden" name="yyyy" value="<?PHP  echo $this->_tpl_vars['yyyy']; ?>
" />
<input type="hidden" name="mon" value="<?PHP  echo $this->_tpl_vars['mon']; ?>
" />
<input type="hidden" name="gseq" value="<?PHP  echo $this->_tpl_vars['gseq']; ?>
" />
<input type="hidden" name="hseq" value="<?PHP  echo $this->_tpl_vars['hseq']; ?>
" />
<input type="hidden" name="kseq" value="<?PHP  echo $this->_tpl_vars['kseq']; ?>
" />
<input type="hidden" name="mode" value="<?PHP  echo $this->_tpl_vars['mode']; ?>
" />

<input type="hidden" name="siharai" value="<?PHP  echo $this->_tpl_vars['siharai']; ?>
" />

<input type="hidden" name="hensai_sd" value="<?PHP  echo $this->_tpl_vars['hensai_sd']; ?>
" />
<input type="hidden" name="hensai_ed" value="<?PHP  echo $this->_tpl_vars['hensai_ed']; ?>
" />
<input type="hidden" name="kmode" value="<?PHP  echo $this->_tpl_vars['kmode']; ?>
" />

<input type="hidden" name="FIRST_YEAR" value="<?PHP  echo $this->_tpl_vars['FIRST_YEAR']; ?>
" />
<input type="hidden" name="FIRST_MONTH" value="<?PHP  echo $this->_tpl_vars['FIRST_MONTH']; ?>
" />

<input type="hidden" name="SIM_cboYaer" value="<?PHP  echo $this->_tpl_vars['SIM_cboYaer']; ?>
" />
<input type="hidden" name="SIM_cboMon" value="<?PHP  echo $this->_tpl_vars['SIM_cboMon']; ?>
" />
<input type="hidden" name="SIM_cboKikan" value="<?PHP  echo $this->_tpl_vars['SIM_cboKikan']; ?>
" />
</div>