LIST1730.tpl 3.93 KB
<!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>