%%33^33E^33E0E272%%ADM1010.tpl.php 5.44 KB
<?PHP  /* Smarty version 2.6.22, created on 2009-11-30 19:29:01
         compiled from ADM1010.tpl */ ?>
<?PHP  require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'count', 'ADM1010.tpl', 60, false),)), $this); ?>
	<div class="SimMiddle">
		<small><br></small>
		<div class="MenuTitle">
			<span id="titletxt"><?PHP  echo $this->_tpl_vars['DEFARR'][5]; ?>
設定</span>
		</div>
		<div class="ConfMain">
	<!--<?PHP  if ($this->_tpl_vars['PHP_USER_ADMIN'] == 1 || $this->_tpl_vars['PHP_USER_ADMIN'] == 99): ?>-->
			<br>
			<table class="ConfTable" style="margin-left:100px; float:left;">
				<tr>
					<th class="ConfKubunTh" width="120"><?PHP  echo $this->_tpl_vars['DEFARR'][5]; ?>
の名称</th>
					<th class="ConfKubunTh" width="120">日にち範囲</th>
					<th class="ConfKubunTh" width="80">削除</th>
				</tr>
			<!--<?PHP  unset($this->_sections['item']);
$this->_sections['item']['name'] = 'item';
$this->_sections['item']['loop'] = is_array($_loop=$this->_tpl_vars['bName']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['item']['show'] = true;
$this->_sections['item']['max'] = $this->_sections['item']['loop'];
$this->_sections['item']['step'] = 1;
$this->_sections['item']['start'] = $this->_sections['item']['step'] > 0 ? 0 : $this->_sections['item']['loop']-1;
if ($this->_sections['item']['show']) {
    $this->_sections['item']['total'] = $this->_sections['item']['loop'];
    if ($this->_sections['item']['total'] == 0)
        $this->_sections['item']['show'] = false;
} else
    $this->_sections['item']['total'] = 0;
if ($this->_sections['item']['show']):

            for ($this->_sections['item']['index'] = $this->_sections['item']['start'], $this->_sections['item']['iteration'] = 1;
                 $this->_sections['item']['iteration'] <= $this->_sections['item']['total'];
                 $this->_sections['item']['index'] += $this->_sections['item']['step'], $this->_sections['item']['iteration']++):
$this->_sections['item']['rownum'] = $this->_sections['item']['iteration'];
$this->_sections['item']['index_prev'] = $this->_sections['item']['index'] - $this->_sections['item']['step'];
$this->_sections['item']['index_next'] = $this->_sections['item']['index'] + $this->_sections['item']['step'];
$this->_sections['item']['first']      = ($this->_sections['item']['iteration'] == 1);
$this->_sections['item']['last']       = ($this->_sections['item']['iteration'] == $this->_sections['item']['total']);
?>-->
				<tr>
					<td class="ConfKubunTd">
						<a href="javascript:upd_click( <?PHP  echo $this->_tpl_vars['bSeq'][$this->_sections['item']['index']]; ?>
, '<?PHP  echo $this->_tpl_vars['bName'][$this->_sections['item']['index']]; ?>
', <?PHP  echo $this->_tpl_vars['bStart'][$this->_sections['item']['index']]; ?>
, <?PHP  echo $this->_tpl_vars['bEnd'][$this->_sections['item']['index']]; ?>
 );"><?PHP  echo $this->_tpl_vars['bName'][$this->_sections['item']['index']]; ?>
</a>
						<input type="hidden" name="bSeq<?PHP  echo $this->_sections['item']['iteration']; ?>
" value="<?PHP  echo $this->_tpl_vars['bSeq'][$this->_sections['item']['index']]; ?>
">
						<input type="hidden" name="bStart<?PHP  echo $this->_sections['item']['iteration']; ?>
" value="<?PHP  echo $this->_tpl_vars['bStart'][$this->_sections['item']['index']]; ?>
">
						<input type="hidden" name="bEnd<?PHP  echo $this->_sections['item']['iteration']; ?>
" value="<?PHP  echo $this->_tpl_vars['bEnd'][$this->_sections['item']['index']]; ?>
">
					</td>
					<td class="ConfKubunTd">
						<!--<?PHP  if ($this->_tpl_vars['bStart'][$this->_sections['item']['index']] == 31): ?>-->末日<!--<?PHP  else: ?>--><?PHP  echo $this->_tpl_vars['bStart'][$this->_sections['item']['index']]; ?>
<!--<?PHP  endif; ?>-->

						<!--<?PHP  if ($this->_tpl_vars['bEnd'][$this->_sections['item']['index']] == 31): ?>-->末日<!--<?PHP  else: ?>--><?PHP  echo $this->_tpl_vars['bEnd'][$this->_sections['item']['index']]; ?>
<!--<?PHP  endif; ?>-->
					</td>
					<td class="ConfKubunTd" align="center">
						<input type="button" class="btnDelete" value= " 削除 " onclick="del_chk(<?PHP  echo $this->_tpl_vars['bSeq'][$this->_sections['item']['index']]; ?>
, '<?PHP  echo $this->_tpl_vars['bName'][$this->_sections['item']['index']]; ?>
')">
					</td>
				</tr>
			<!--<?PHP  endfor; endif; ?>-->
			</table>
			<br /><br />
			<div class="SimCommentBox" style="align:center ; width:220px; float:left;">
			<font color="#ff0000">※ご注意</font><br />
			  日にち範囲は日付に空きが<br />
			  でないように指定してください<br />
			  また、重複する日にち範囲は<br />
			  指定できません
			</div>
			<div style="margin-left: 100px; clear: both;">&nbsp;</div>
				<hr style="clear: both;">
				<span style="margin-left: 80px;">&nbsp;</span>
				 <input type="text" name="bName" value="">
				 <select name="bStart"><?PHP  echo $this->_tpl_vars['bselSta']; ?>
</select>
				<select name="bEnd"><?PHP  echo $this->_tpl_vars['bselEnd']; ?>
</select>
				  <input type="button" name="sub" class="btnGo"  value="追加" onclick="data_chk();">
				<br>
				<span style="margin-left:390px;">&nbsp;</span>
	<!--<?PHP  else: ?>-->
			<a href="SIM0100.php"><span class="Normalfont">マスタ変更権限がありません</span></a>
	<!--<?PHP  endif; ?>-->
		</div>
		<br>
		
		
		<input type="hidden" name="seq" value="">
		<input type="hidden" name="mode" value="add">
		<input type="hidden" name="cnt" value="<?PHP  echo count($this->_tpl_vars['bStart']); ?>
">
	</div>