SUB0030.tpl 2.82 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 inputDataCheck(){
		if(document.frm.pass_old.value==""){
				window.alert("(旧)パスワードを入力して下さい");
				document.frm.pass_old.focus();
				return false;
		}
		if(document.frm.pass_new.value==""){
				window.alert("(新)パスワードを入力して下さい");
				document.frm.pass_new.focus();
				return false;
		}

		if(document.frm.pass_new2.value!=document.frm.pass_new.value){
				window.alert("パスワードが一致しません");
				document.frm.pass_new2.focus();
				return false;
		}

		if (confirm("この内容で情報を更新しますか?")){
			document.frm.action="SUB0031.php";
			document.frm.submit();
		}
}

{/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">
				<TR>
					<TD bgcolor="#FFCC99"><B><FONT size="2">(旧)パスワード</FONT></B></TD>
					<TD><INPUT TYPE="password" maxlength="15" size="30" type="text" name="pass_old" Value=""></TD>
				</TR>
				<TR>
					<TD bgcolor="#FFCC99"><B><FONT size="2">(新)パスワード</FONT></B></TD>
					<TD><INPUT TYPE="password" maxlength="15" size="30" type="text" name="pass_new" Value=""></TD>
				</TR>
				<TR>
					<TD bgcolor="#FFCC99"><B><FONT size="2">(新)パスワード</FONT><FONT size="2" color=#FF0000>*確認</FONT></B></TD>
					<TD><INPUT TYPE="password" maxlength="15" size="30" type="text" name="pass_new2" Value=""></TD>
				</TR>
			</TABLE>
		</td> 
	</tr> 
	<tr> 
		<td align="center">
			<FONT size="2" color=#FF0000><b>全項目の入力・選択を行わないと更新できません</b></FONT>
		</td> 
	</tr> 
	<tr> 
		<td align="center">
			<TABLE border="0" width="544">
				<TR>
					<TD width="360"><FONT size="2"><B>パスワードを変更する場合はこのボタンを押してください→</B></FONT></TD>
					<TD><INPUT type="button" name="update" value="変 更" onClick="JavaScript:inputDataCheck();"></TD>
				</TR>
			</TABLE>
		</td> 
	</tr> 
</table> 
<table width="100%" border="0"> 
	<tr>
		<td align="center"><input type="button" name="btnReturn" value="メニューへ戻る" onClick="location='MAIN0000.php'"></td> 
	</tr> 
</table>
<!-- フッター表示 -->
{include file='footer.tpl'}
</FORM>
</BODY>
</HTML>