【php开源代码栏目提醒】:网学会员为广大网友收集整理了,mod_passwd.php,希望对大家有所帮助!
<?
include_once("sql_connect.php");
include_once("my_msg.php");
?>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=big5">
<title>恨瞶员э会员盞码</title></head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<?if (isset($_COOKIE['cookie_chk'])) {
if($_COOKIE['cookie_chk']!="adm_logined"){
my_msg("祅录ア败请穝祅录","login.html");
}
}else{
my_msg("祅ア败请穝祅","login.html");
}
$sqlstr="select id from member where rank=1 and status =1";
$result=my
sql_query($sqlstr,$link);?>
<h1 align="center">选择璶э盞码会员</h1><center>
<form name="form1" action=mod_passwd_chk.php method=post>
<SELECT name="mod_id" size="1">
<? while($row =
mysql_fetch_array($result, MYSQL_BOTH)){
echo "<OPTION>".$row["id"]; }
?>
</SELECT></p>
请输这个会员穝盞码<input type="password" name="passwd"></p>
请蝋输这个会员穝盞码谔认<input type="pass
word" name="repasswd"></p>
<input type="submit" name="癳"><input type="reset" name="设">
</p>
</form><br><br>
<h3 align="center"><a href=adm.php>垫单</a></h3>
<h3 align="center"><a href=login.php>穝祅录</a></h3></center>
</html>