LIST1730.tpl
3.93 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
<!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/input_chk.js" charset="EUC-JP"></script>
<script>
{literal}
function Return_Back(){
document.frm.action="LIST1000.php";
document.frm.method="POST";
document.frm.submit();
}
function input_chk(YYYY,MM,DD,HH,TIME){
if(isNaN(document.frm.Reserva_Year.value)){
window.alert("年は数値で入力してください。");
document.frm.Reserva_Year.focus();
return false;
}else if(!document.frm.Reserva_Year.value){
window.alert("年を入力してください。");
document.frm.Reserva_Year.focus();
return false;
}else if(document.frm.Reserva_Month.value==""){
window.alert("月を選択して下さい");
document.frm.Reserva_Month.focus();
return false;
}else if(document.frm.Reserva_Date.value==""){
window.alert("日を選択して下さい");
document.frm.Reserva_Date.focus();
return false;
}else if(document.frm.Reserva_Hour.value==""){
window.alert("時を選択して下さい");
document.frm.Reserva_Hour.focus();
return false;
}else if(document.frm.Reserva_Minute.value==""){
window.alert("分を選択して下さい");
document.frm.Reserva_Minute.focus();
return false;
}
if (date_chk(document.frm.Reserva_Year.value,document.frm.Reserva_Month.value,document.frm.Reserva_Date.value)==false) {
document.frm.document.frm.Reserva_Year.focus();
return false;
}
if (confirm("この日時にメール配信します。\nよろしいですか?")){
document.frm.action="LIST1731.php";
document.frm.method="POST";
document.frm.submit();
}
}
function POP_Calendar(frm,yyyy,mm,dd,sele_year,sele_mon,sele_date) {
window.open("../include/calendar.php?frm="+frm+"&yyyy="+yyyy+"&mm="+mm+"&dd="+dd+"&main_year="+sele_year+"&main_mon="+sele_mon+"&strMainDate="+sele_date,"カレンダー",'width=350,height=230');
}
{/literal}
</script>
</HEAD>
<BODY bgcolor="White">
<FORM name="frm">
<!-- ヘッダー表示 -->
{include file='header.tpl'}
<!-- メニュー表示 -->
{include file='menu.tpl'}
<!-- 一覧表示 -->
<table width="100%" border="0">
<tr>
<th><B><font color="blue" size="5">後日配信設定</font></B></th>
</tr>
</table>
<hr />
<table width="100%" border="0">
<tr>
<td align="center">
<TABLE border=1 bordercolor="#008080" width="544">
<TD bgcolor="#FFCC99"><B><FONT size="2">配信日時</FONT></B></TD>
<TD>
<FONT size="2">
<INPUT size="5" maxlength="4" type="text" name="Reserva_Year" Value="{$Reserva_Year}">年
<SELECT name="Reserva_Month">{$Month_Data}</SELECT>月
<SELECT name="Reserva_Date">{$Day_Data}</SELECT>日
<SELECT name="Reserva_Hour">{$Hour_Data}</SELECT>時
<SELECT name="Reserva_Minute">{$Minute_Data}</SELECT>分
<a href=JavaScript:POP_Calendar('Frm','Reserva_Year','Reserva_Month','Reserva_Date',document.Frm.Reserva_Year.value,document.Frm.Reserva_Month.options[document.Frm.Reserva_Month.selectedIndex].value,document.Frm.Reserva_Year.value+document.Frm.Reserva_Month.options[document.Frm.Reserva_Month.selectedIndex].value+document.Frm.Reserva_Date.options[document.Frm.Reserva_Date.selectedIndex].value);>
<img src=../include/cl001.gif height=25 width=25 alt=カレンダー border=0></A>
</FONT>
</TD>
</TR>
</TABLE>
</td>
</tr>
<tr>
<td align="center">
<FONT SIZE=2> 配信日を設定する場合はこのボタンを押してください⇒</FONT>
<input type="button" value=" 設 定 " onClick="return input_chk();">
</td>
</tr>
</table>
<table width="100%" border="0">
<tr>
<td align="center"><INPUT type="button" name="back" value="戻 る" onClick="JavaScript:Return_Back();"></td>
</tr>
</table>
<INPUT type="hidden" name="mail_id" value="{$mail_id}">
<!-- フッター表示 -->
{include file='footer.tpl'}
</FORM>
</BODY>
</HTML>