%%33^33E^33E0E272%%ADM1010.tpl.php
5.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?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;"> </div>
<hr style="clear: both;">
<span style="margin-left: 80px;"> </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;"> </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>