eventmod_t.tpl 1.83 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=shift_jis">
<META http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" type="text/css" href="./css/style.css">
<link rel="stylesheet" type="text/css" href="./css/{$color_css}" />
<TITLE>E_イベント管理者用画面</TITLE>
<SCRIPT LANGUAGE="JavaScript" type="text/javascript">
{literal}
<!--

function Move_Menu(){
	document.event_cal.action = "main_menu.php";
	document.event_cal.method="POST";
	document.event_cal.submit();
	return;
}

function Move_Menu1(){
	document.event_cal.action = "adminimenu.php";
	document.event_cal.method="POST";
	document.event_cal.submit();
	return;
}

function Move_LogOut(){
	document.event_cal.action = "login.php";
	document.event_cal.method="POST";
	document.event_cal.submit();
	return;
}

function Move_UpDate(){

	var	fyear= document.event_cal.fyear.value;
	var	fmon= document.event_cal.fmon.value;
	var	fday= document.event_cal.fday.value;
	var	name = document.event_cal.eventname.value;
	var	hpadrs = document.event_cal.hpadrs.value;
	var	tipword = document.event_cal.tipword.value;

	if (name.length == 0){
			alert("イベント名称を入力して下さい");
			return false
	}
	if (name.length > 200){
			alert("イベント名称は全角100文字以内で入力して下さい");
			return false
	}


	if (hpadrs.length > 500){
			alert("ホームページアドレスは半角500文字以内です");
			return false
	}

	if (tipword.length > 3000){
			alert("吹き出しメッセージが長過ぎます");
			return false
	}

	if(confirm ("登録しますか?")){
			document.event_cal.action = "eventreg.php";
			document.event_cal.method="POST";
			document.event_cal.submit();
			return;
	}

}

-->
{/literal}
</SCRIPT>
</HEAD>
<BODY >
<FORM method="POST" name="event_cal">