?? mmxg.asp
字號:
<% Response.Buffer=true %>
<!--#include file="../inc/dbconn1.inc"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<% Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from system where id=1"
rs.open sql,conn,1,1 %>
<html>
<head>
<title>南大電纜后臺管理</title>
<meta content="text/html; charset=gb2312" http-equiv="Content-Type">
<meta content="zh-cn" http-equiv="Content-Language">
<style type="text/css">body { margin-left: 0px; margin-top: 20px }
p { font-family: 宋體; font-size: 9pt; line-height: 14pt }
div { font-family: 宋體; font-size: 9pt; line-height: 14pt }
a { color: #000000; text-decoration: none }
a:hover { color: #ff0000; text-decoration: underline }
a:active { color: #ff0000; text-decoration: underline }
a.top { color: #ffffff; font-family: 宋體; font-size: 9pt }
a.top:hover { color: #ffcc00 }
td { font-family: 宋體; font-size: 9pt }
.f1_v { font-family: 宋體; font-size: 9pt }
.f2_v { font-family: 宋體; font-size: 9pt }
.f2_A { font-family: 宋體; font-size: 9pt }
li { color: #ff0000; font-size: 9pt }
li.li1 { color: #ffffff; font-size: 1pt }
</style>
<SCRIPT language=JavaScript>
<!--
function checkmod()
{
if (mmxg.pwd.value=="") {
alert("請填寫您的密碼!");
mmxg.pwd.focus();
return (false);
}
else
document.mmxg.submit();
}
//-->
</SCRIPT>
<meta content="Microsoft FrontPage 4.0" name="GENERATOR">
<meta content="FrontPage.Editor.Document" name="ProgId">
</head>
<body>
<div align="center">
<table bgcolor="#808080" border="0" cellpadding="18" cellspacing="3" width="670">
<tbody>
<tr>
<td bgcolor="#ffffff" width="100%">
<div align="center">
<table bgcolor="#919793" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#FFFFFF">
<td><img src="../images/tb1.gif" width="168" height="49"></td>
<td valign="bottom">
<div align="right">[<a href="../" target="_blank">進入主頁</a>] </div>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td bgcolor="#919793" height="1"><img alt="1pix" border="0" src="../images/1px.gif" width="1" height="1"></td>
</tr>
</tbody>
</table>
</div>
<div align="center">
<table bgcolor="#e7e7e7" border="0" cellpadding="2" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="46%"> </td>
<center>
</center>
<td width="54%"> </td>
</tr>
</tbody>
</table>
</div>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%">
<table bgcolor="#FFFFFF" border="0" cellpadding="5" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="100%" height="10">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="600">
<tr>
<td width="100%" valign="top" align="center" height="20"></td>
</tr>
<tr>
<td width="100%" valign="top" align="center" height="30"><font size="3"><b>網站數據管理</b></font></td>
</tr>
<tr>
<td width="100%" valign="bottom" align="center"></td>
</tr>
<tr>
<td>
<FORM name="mmxg" action="mmxg.asp" method="post">
<table cellpadding="0" bordercolor="#FFFFFF" style="border-style: solid; border-color: #FFFFFF" cellspacing="0" align="center" width="300">
<tr>
<td width="450" height="117">
<table border="0" cellpadding="3" cellspacing="1" width="380" align="center" bgcolor="#666666">
<tr bgcolor="#FFFFFF">
<td align="right" height="28" valign="bottom" bgcolor="#eeeeee"><font size="2">用戶名:</font></td>
<td align="lift" height="28" valign="bottom"><font size="2"><font color="#FF0000"><%=rs("admin")%></font></font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="right" height="28" valign="bottom" bgcolor="#eeeeee"><font size="2">密 碼:</font></td>
<td height="28" valign="bottom">
<input type="text" name="pwd" valign="bottom" size="12" maxlength="12" value="<%=rs("pwd")%>">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td valign="top" colspan="2" height="30">
<p align="center"><font size="2">
<input type="button" value="更 新" onClick="checkmod()" name="button"></font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</div>
<center>
<table border="0" cellpadding="0" cellspacing="0" width="600">
<tr>
<td width="100%" height="5">...................................................................................................</td>
</tr>
<tr>
<td width="100%" height="20"></td>
</tr>
</table>
<center>
<div align="center">
<table border="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#f3f3f3" width="87%">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="5%">
<p align="center"></p>
</td>
<td width="95%"></td>
</tr>
</tbody>
</table>
</div>
</td>
<td bgcolor="#0012C1" width="13%">
<p align="center"><a class="top" href="javascript:window.close()">關閉窗口</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</center></center></td>
</tr>
</tbody>
</table>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="670">
<tr>
<td align="right" class="sorenge" valign="top" width="178" height="10"></td>
<td class="sbtxt" width="587" height="10"></td>
</tr>
<tr>
<td align="right" class="sorenge" valign="top" width="178"></td>
<td class="sbtxt" width="587"></td>
</tr>
</table>
</center>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>
<%
pwd=request("pwd")
if pwd="" then Response.End
rs.close
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from system where id=1"
rs.open sql,conn,3,3
rs("pwd")=pwd
rs.update
rs.close
response.write"<SCRIPT language=JavaScript>alert('密碼已經修改,按確認返回');"
response.write"javascript:window.close();</SCRIPT>"
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -