MST1211.tpl 1.7 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>
{literal}

function Disp_List(){
		document.frm.action="MST1210.php";
		document.frm.method="POST";
		document.frm.submit();
}

function Data_Touroku(pMode,group_id){
		document.frm.pMode.value=pMode;
		document.frm.group_id.value=group_id;
		document.frm.action = "MST1212.php";
		document.frm.method = "POST";
		document.frm.submit();
		return;
}


{/literal}
</script>
</HEAD>
<BODY bgcolor="White">
<FORM name="frm">
<!-- ヘッダー表示 -->
{include file='header.tpl'}
<!-- メニュー表示 -->
{include file='menu.tpl'}
<!-- 一覧表示 -->
<center>
<table width="100%" border="0">
	<tr>
		<th><B><FONT color=blue size=5>グループ登録</FONT></B></th>
	</tr>
</table>
<HR>
<INPUT type="button" name="back" value="一覧に戻る" onClick="location='MST1210.php'">
<table cellspacing="1" cellpadding="1" border="1">
	<tr>
		<td align="center" bgcolor="#FFCC99"><FONT size="2"><B>グループ名</B></FONT></td>
		<td ><INPUT maxlength="30" size="50" type="text" name="group_name" Value="{$group_name}"></td>
	</tr>
</table>
</center>

{if $group_id != ""}
	<input type="button" value= "更新" onclick="Data_Touroku(2,'{$group_id}')">
{else}
	<input type="button" value= "登録" onclick="Data_Touroku(1,'{$group_id}')">
{/if}
<!-- フッター表示 -->
{include file='footer.tpl'}
<INPUT type="hidden" name="group_id" value="">
<INPUT type="hidden" name="pMode"    value="">
</FORM>
</BODY>
</HTML>