admin/login.aspx

(完整代码) 2KB

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="admin_login" %>

<!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">
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<head id="Head1" runat="server">
    <title>后台管理入口</title>
    <link href="../css/dntmanager.css" rel="stylesheet" type="text/css" />    
    <script type="text/javascript">
        function onSubmit() {
            if (document.getElementById('<% = txtUserName.ClientID %>').value.length < 1
                || document.getElementById('<% = txtPassWord.ClientID %>').value.length < 1) {
                document.getElementById('<% = txtPassWord.ClientID %>').focus();
                alert("用户名或密码不能为空!");
                return false;
            }
            else {
                return true;
            }
        }
    </script>
</head>
<body style="background: #f4f6f7;" onload="document.all.txtUserName.focus();">
    <form id="form1" runat="server">
    <div id="LoginBar">
        <ul>
            <span class="td1">
                <asp:Literal ID="Msg" runat="server"></asp:Literal>
                <br />
                <br />
            </span>
            <li class="LoginTop">
                <img src="../images/login-top.gif" /></li>
            <li class="FormNav">
                <dl>
                    <dt><label>用户名:</label><asp:textbox id="txtUserName" runat="server" class="nofocus" onfocus="this.className='nofocus';" onblur="this.className='nofocus';" size="25" style="width:200px"></asp:textbox></dt>
                    <dd><label>密 码:</label><asp:textbox id="txtPassWord" runat="server" class="FormBase" onfocus="this.className='FormFocus';" onblur="this.className='FormBase';" 
                                textmode="Password" size="20" style="width:200px"></asp:textbox></dd>
                        <dd>
                            <asp:Button ID="login" runat="server" Text="" OnClientClick="return onSubmit();"
                                style="width: 60px; height: 26px; border: 0;
                                background: url(../images/button.gif) no-repeat left top; cursor: pointer; margin-left: 65px;" 
                                onclick="login_Click"/></dd>
                </dl>
            </li>
            <li>
                <img src="../images/login-bottom.gif" /></li>
        </ul>
    </div>
    </form>
    <div id="copyright"><div align="center" style=" padding-top:60px;font-size:11px; font-family: Arial"><hr style="height:1; width:70%; height:1; color:#CCCCCC" />Powered by <a style="COLOR: #000000" href="http://www.mixge.com" target="_blank">Pine</a> &nbsp;&copy; 2008-2012, <a style="COLOR: #000000;font-weight:bold" href="http://www.ehp100.com" target="_blank">www.ehp100.com</a></div></div>

</body>
</html>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。