www.gusucode.com > 艺帆全站DIV+CSS体育用品公司网站源码 1.7.5源码程序 > i5808/admin_add.asp
<!--#include file="../Conn.asp" --> <!--#include file="seeion.asp"--> <!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=utf-8" /> <title>添加管理员</title> <link href="images/style.css" type="text/css" rel="stylesheet" /> <script type="text/javascript"> function check(){ if (document.add.form_password.value.length=="") { alert("密码不能为空!"); document.add.form_password.focus(); return false; } if (document.add.form_password.value!=document.add.form_password2.value) { alert("两次输入密码不一致,请重新输入!"); document.add.form_password2.focus(); return false; } return true; } </script> </head> <body> <table width="99%" border="0" align="center" cellpadding="10" cellspacing="1" > <tr> <td bgcolor="#F7F7F7"><div align="left"><strong>添加管理员</strong><span class="text2"></span></div></td> </tr> <tr> <td bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="8" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <form action="admin_add_pass.asp" method="post" name="add" id="add" onsubmit="return check()"> <tr> <td width="13%" height="30">登陆帐号</td> <td width="59%"><input name="form_admin" type="text" size="30" /></td> </tr> <tr> <td height="30">登录密码</td> <td><input name="form_password" type="password" id="form_password" size="30" /></td> </tr> <tr> <td height="30">确认密码</td> <td><input name="form_password2" type="password" id="form_password2" size="30" /></td> </tr> <tr> <td height="30">分配权限</td> <td><select name="qx" id="qx"> <option value="2">高级管理员</option> <option value="1">网站编辑</option> </select> </td> </tr> <tr> <td colspan="2" style="padding-left:100px"><input name="button" type="submit" class="btn" id="button" value="确认添加" /> <input name="button2" type="reset" class="btn" id="button2" value="重新输入" /></td> </tr> </form> </table></td> </tr> </table> </body> </html>