www.gusucode.com > 追梦翔飞数字报静态生成版 7.0 体验版码程序 > admin/admin_adminmodify.asp
<!--#include file="Admin.asp" --> <!--#include file="cf.asp" --> <!--#include file="../include/conn.asp"--> <!--#include file="../include/safe.asp"--> <% if session("admin")=request("username") then id=request.querystring("id") set rs=server.createobject("adodb.recordset") sql="select * from FangBao_Admin where id="&id rs.open sql,conn,1,1 if rs.eof then response.write"<script language=javascript>alert('服务器出错,请联系管理员!');" response.write"javascript:history.go(-1)</script>" else admin=rs("admin") password=rs("password") %> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; background-color: #F8F9FA; } --> </style> <link href="images/skin.css" rel="stylesheet" type="text/css" /> <body> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="17" height="29" valign="top" background="images/mail_leftbg.gif"><img src="images/left-top-right.gif" width="17" height="29" /></td> <td width="1212" height="29" valign="top" background="images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2"> <tr> <td height="31"><div class="titlebt">用户管理</div></td> </tr> </table></td> <td width="22" valign="top" background="images/mail_rightbg.gif"><img src="images/nav-right-bg.gif" width="16" height="29" /></td> </tr> <tr> <td height="71" valign="middle" background="images/mail_leftbg.gif"> </td> <td valign="top" bgcolor="#F7F8F9"><table width="100%" height="138" border="0" cellpadding="0" cellspacing="0"> <tr> <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="188"><div align="center"><table width="80%" height="144" border="0" cellpadding="0" cellspacing="0" class="line_table"> <form method="post" action="admin_adminsave.asp?id=<%=id%>"> <tr> <td width="4%" height="27" background="images/news-title-bg.gif"><img src="images/news-title-bg.gif" width="2" height="27"></td> <td width="96%" background="images/news-title-bg.gif" class="left_bt2">修改管理员</td> </tr> <tr> <td height="102" colspan="2" valign="middle"><table width="311" height="78" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="62"><div align="center" class="left_ts">用户名:</div></td> <td width="249"><input name="admin" type="text" id="admin" value="<%=admin%>" size="30" readonly></td> </tr> <tr> <td><div align="center"><span class="left_ts">原密码:</span></div></td> <td width="249"><input type="text" name="oldpwd" id="oldpwd" size="30" /></td> </tr> <tr> <td><div align="center" class="left_ts">新密码:</div></td> <td><input type="text" name="password" id="password" size="30" /></td> </tr> </table> <p align="center"><input type="hidden" value="edit" name="act"> <input type="submit" value="修 改" name="B1" /> </p></td> </tr> <tr> <td height="5" colspan="2"> </td> </tr> </form> </table> </div></td> </tr> </table></td> </tr> </table></td> <td background="images/mail_rightbg.gif"> </td> </tr> <tr> <td valign="middle" background="images/mail_leftbg.gif"><img src="images/buttom_left2.gif" width="17" height="17" /></td> <td height="17" valign="top" background="images/buttom_bgs.gif"><img src="images/buttom_bgs.gif" width="17" height="17" /></td> <td background="images/mail_rightbg.gif"><img src="images/buttom_right2.gif" width="16" height="17" /></td> </tr> </table> <% end if rs.close set rs=nothing end if %>