<?
@require_once('../inc/fun.inc.php');
@require_once('../inc/config.db.php');
@require_once('cookie.php');
$sql = "select * from admin where id='1'";
$result = mysql_query($sql);
$row = mysql_fetch_array($result);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body>
<form id="form1" name="form1" method="post" action="admin.php?main=yhset">
<table width="30%" border="0" cellpadding="5" cellspacing="1" bgcolor="#000000">
  <tr>
    <td colspan="2" align="center" style="font-size:16px; color:#FFF; font-weight:bold">用户密码</td>
  </tr>
  <tr>
    <td align="right" bgcolor="#FFFFFF">输入密码:</td>
    <td bgcolor="#FFFFFF"><label for="pass"></label>
    <input name="pass" type="password" id="pass" value="<?=$row["password"]?>" /></td>
  </tr>
  <tr>
    <td align="right" bgcolor="#FFFFFF">确认密码:</td>
    <td bgcolor="#FFFFFF"><label for="repass"></label>
    <input name="repass" type="password" id="repass" value="<?=$row["password"]?>" /></td>
  </tr>
  <tr>
    <td align="right" bgcolor="#FFFFFF">&nbsp;</td>
    <td bgcolor="#FFFFFF"><input type="submit" name="button" id="button" value="修改" /></td>
  </tr>
</table>
</form>
</body>
</html>