%%A8^A85^A8539BB8%%SEND1000.tpl.php
14.2 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
<?php /* Smarty version 2.6.26, created on 2017-05-31 13:33:34
compiled from SEND1000.tpl */ ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META name="GENERATOR" content="Microsoft FrontPage 4.0">
<META http-equiv="Content-Type" content="text/html; charset=EUC-JP">
<META http-equiv="Content-Style-Type" content="text/css">
<link href="./css/style.css" rel="stylesheet" type="text/css">
<TITLE>め〜るNiポン!</TITLE>
<script type="text/javascript" src="./include/jkl-calendar.js" charset="Shift_JIS"></script>
<script type="text/javascript" src="./include/SEND1000.js" charset="EUC-JP"></script>
</HEAD>
<BODY onLoad="send_change();kouhoChange();<?php echo $this->_tpl_vars['strStartChk']; ?>
">
<FORM METHOD="POST" name="Frm" enctype="multipart/form-data" style="margin:0px; ">
<!-- ヘッダー表示 -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<!-- メニュー表示 -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'menu.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<!-- 配信画面表示 -->
<table width="100%" border="0">
<tr>
<th width="70%">
<CENTER><B><FONT color=blue size=5>スケジュール調整メール配信</FONT></B></CENTER>
</th>
</tr>
</table>
<HR>
<?php if (( $this->_tpl_vars['PHP_POST_DB_FLG'] == 6 )): ?>
<font color="#FFFF00" size=4>
<b><a href="http://www.mail-ni-pon.net/category/7151311-1.html#p2" target="_blank">※ポイントについて</a></b>
</font>
<br><br>
<?php endif; ?>
<FONT size="2" color=#FF0000>
<b>*<FONT size="2">項目の入力・選択を行わないと配信できません</b>
</FONT>
<BR>
<div align="center">
<TABLE border=1 bordercolor="#008080" width="700">
<TR>
<TD bgcolor="#FFCC99">
<B><FONT size="2" color=#FF0000>*</FONT><FONT size="2">送信先</FONT></B>
</TD>
<TD>
<input type="radio" name="radSendPtn" value="1" onClick="send_change();" <?php echo $this->_tpl_vars['radSend'][0]; ?>
><FONT size="2">個人配信</FONT><br>
<INPUT size="60" maxlength="50" type="text" name="sousin" value="<?php echo $this->_tpl_vars['strSubmitName']; ?>
" readonly>
<INPUT type="button" name="sousin_sentaku" value="送信先の選択をする" onClick="JavaScript:Select();">
<hr>
<input type="radio" name="radSendPtn" value="2" onClick="send_change();" <?php echo $this->_tpl_vars['radSend'][1]; ?>
><FONT size="2"><?php echo $this->_tpl_vars['strDisp_Name'][1]; ?>
配信</FONT><br>
<?php echo $this->_tpl_vars['strGP']; ?>
</TD>
</TR>
<TR>
<TD bgcolor="#FFCC99">
<B><FONT size="2" color=#FF0000>*</FONT><FONT size="2">送信先機種</FONT></B>
</TD>
<TD>
<FONT size="2">
<input name="SendType" type="radio" value="0" <?php echo $this->_tpl_vars['radSendType'][0]; ?>
>両方
<input name="SendType" type="radio" value="1" <?php echo $this->_tpl_vars['radSendType'][1]; ?>
>携帯のみ
<input name="SendType" type="radio" value="2" <?php echo $this->_tpl_vars['radSendType'][2]; ?>
>PCのみ
</FONT>
</TD>
</TR>
<TR>
<TD bgcolor="#FFCC99">
<B><FONT size="2" color=#FF0000>*</FONT><FONT size="2"><?php echo $this->_tpl_vars['strDisp_Name'][2]; ?>
</FONT></B>
</TD>
<TD>
<INPUT size="30" maxlength="28" type="text" name="kenmei" value="<?php echo $this->_tpl_vars['TITLE']; ?>
">
<input type="checkbox" name="tei" <?php echo $this->_tpl_vars['rad_tei']; ?>
><FONT size=2><B>定型文有り</B></FONT>
</TD>
</TR>
<TR>
<TD bgcolor="#FFCC99">
<B><FONT size="2" color=#FF0000>*</FONT><FONT size="2" class="space">本文</FONT></B>
</TD>
<TD>
<TEXTAREA rows="10" cols="60" name="text"><?php echo $this->_tpl_vars['MAIL_TEXT']; ?>
</TEXTAREA>
<BR>
</TD>
</TR>
<TR>
<TD bgcolor="#FFCC99">
<B><FONT size="2" color=#FF0000>*</FONT><FONT size="2">候補日時</FONT></B>
</TD>
<TD>
<FONT size="2">候補数 </FONT>
<select name="kouho" onChange="kouhoChange();">
<?php echo $this->_tpl_vars['optKouho']; ?>
</select>
<BR>
<FONT size="2">希望日時無しの選択肢</FONT>
<input type="text" name="noAnswer" size="60" maxlength="30" value="<?php echo $this->_tpl_vars['noAnswer']; ?>
">
<?php unset($this->_sections['idx']);
$this->_sections['idx']['name'] = 'idx';
$this->_sections['idx']['loop'] = is_array($_loop=$this->_tpl_vars['kouhoData']) ? 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']);
?>
<div id="div_k<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
">
<hr>
<table>
<tr>
<td rowspan="2" width="80">
<FONT size="2">第 <?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
候補 </FONT>
</td>
<td>
<FONT size="2">
開始日時
<INPUT size="5" maxlength="4" type="text" name="kouhoS_yyyy<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" Value="<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][1]; ?>
" id="kouhoS_yyyy<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" >年
<select name="kouhoS_mm<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" id="kouhoS_mm<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" onchange="JavaScript:DayMax('S', '<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
');">
<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][2]; ?>
</select>月
<select name="kouhoS_dd<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" id="kouhoS_dd<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
">
<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][3]; ?>
</select>日
<select name="kouhoS_hh<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" id="kouhoS_hh<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
">
<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][4]; ?>
</select>時
<select name="kouhoS_ii<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" id="kouhoS_ii<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
">
<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][5]; ?>
</select>分
<!--カレンダー-->
<a href="javascript:calS<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
.write();">
<img id="dateLinkS<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" src="./img/cl001.gif" alt="日付選択" border="0" style="vertical-align:middle;margin:5px"/>
</a>
<input type="hidden" name="colnameS<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" value="">
<div id="calidS<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
"></div>
</FONT>
</td>
</tr>
<tr>
<td>
<FONT size="2">
終了日時
<INPUT size="5" maxlength="4" type="text" name="kouhoE_yyyy<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" Value="<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][6]; ?>
" id="kouhoE_yyyy<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
">年
<select name="kouhoE_mm<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" id="kouhoE_mm<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" onchange="JavaScript:DayMax('E', '<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
');">
<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][7]; ?>
</select>月
<select name="kouhoE_dd<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" id="kouhoE_dd<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
">
<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][8]; ?>
</select>日
<select name="kouhoE_hh<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" id="kouhoE_hh<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
">
<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][9]; ?>
</select>時
<select name="kouhoE_ii<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" id="kouhoE_ii<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
">
<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][10]; ?>
</select>分
<!--カレンダー-->
<a href="javascript:calE<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
.write();">
<img id="dateLinkE<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" src="./img/cl001.gif" alt="日付選択" border="0" style="vertical-align:middle;margin:5px"/>
</a>
<input type="hidden" name="colnameE<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" value="">
<div id="calidE<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
"></div>
</FONT>
</td>
</tr>
</table>
</div>
<?php endfor; endif; ?>
</TD>
</TR>
<TR>
<TD bgcolor="#FFCC99">
<B><FONT size="2">回答期限</FONT><FONT size="2" color=#FF0000></FONT></B>
</TD>
<TD>
<FONT size="2">
<INPUT size="5" maxlength="4" type="text" name="limit_yyyy" Value="<?php echo $this->_tpl_vars['limit_yyyy']; ?>
">年
<SELECT name="limit_mm" onchange="JavaScript:DayMax5(limit_yyyy.value,limit_mm.value,0,0);">
<?php echo $this->_tpl_vars['opt_limit_mm']; ?>
</SELECT> 月
<SELECT name="limit_dd">
<?php echo $this->_tpl_vars['opt_limit_dd']; ?>
</SELECT>日
<SELECT name="limit_time_hh">
<?php echo $this->_tpl_vars['opt_limit_time_hh']; ?>
</SELECT>時
<SELECT name="limit_time_mm">
<?php echo $this->_tpl_vars['opt_limit_time_mm']; ?>
</SELECT>分
<!--カレンダー-->
<a href="javascript:cal0.write();">
<img id="dateLink0" src="./img/cl001.gif" alt="日付選択" border="0" style="vertical-align:middle;margin:5px"/>
</a>
<input type="hidden" name="colname0" value="<?php echo $this->_tpl_vars['calYMD0']; ?>
">
<div id="calid0"></div>
</TD>
</TR>
<TR>
<TD bgcolor="#FFCC99"><B><FONT size="2" color=#FF0000>*</FONT><FONT size="2">閲覧状況の公開</FONT></B></TD>
<TD>
<FONT size="2">
<input name="view_flg" type="radio" value="0" <?php echo $this->_tpl_vars['rad_view_flg'][0]; ?>
>公開しない
<input name="view_flg" type="radio" value="1" <?php echo $this->_tpl_vars['rad_view_flg'][1]; ?>
>公開する
</FONT>
</TD>
</TR>
</TABLE>
</div>
<INPUT type="hidden" name="alarm_flg" value="<?php echo $this->_tpl_vars['alarm_flg']; ?>
">
<INPUT type="hidden" name="alarm_yyyy" value="<?php echo $this->_tpl_vars['alarm_yyyy']; ?>
">
<INPUT type="hidden" name="alarm_mm" value="<?php echo $this->_tpl_vars['alarm_mm']; ?>
">
<INPUT type="hidden" name="alarm_dd" value="<?php echo $this->_tpl_vars['alarm_dd']; ?>
">
<INPUT type="hidden" name="alarm_hh" value="<?php echo $this->_tpl_vars['alarm_hh']; ?>
">
<INPUT type="hidden" name="alarm_time_mm" value="<?php echo $this->_tpl_vars['alarm_time_mm']; ?>
">
<INPUT type="hidden" name="alarm_id" value="<?php echo $this->_tpl_vars['alarm_id']; ?>
">
<INPUT type="hidden" name="Send_User" value="<?php echo $this->_tpl_vars['Send_User']; ?>
">
<INPUT type="hidden" name="userCNT" value="<?php echo $this->_tpl_vars['userCNT']; ?>
">
<INPUT type="hidden" name="group_id" value="<?php echo $this->_tpl_vars['group_id']; ?>
">
<?php echo $this->_tpl_vars['strPtnCode']; ?>
<INPUT type="hidden" name="pattern_flg" value="">
<div align="center">
<p><FONT size="2"><B>
↓情報を配信する場合はこのボタンを押してください↓<br>
</B></FONT>
<INPUT type="button" name="submit_btn" value="配信" onClick="JavaScript:haisin(<?php echo $this->_tpl_vars['PHP_POST_DB_FLG']; ?>
,'<?php echo $this->_tpl_vars['strDisp_Name'][1]; ?>
','<?php echo $this->_tpl_vars['strDisp_Name'][2]; ?>
')" style="padding:4px 20px 4px 20px; ">
</p>
<hr>
<INPUT type="button" name="back" value="メニューへ戻る" onClick="JavaScript:menuBack();">
</div>
<!-- フッター表示 -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
</CENTER>
</form>
</BODY>
</HTML>