CommWEB/login.aspx

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Title="" Language="C#" MasterPageFile="~/share/Site1.Master" AutoEventWireup="true"
    CodeBehind="login.aspx.cs" Inherits="CommLeiWeb.login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="inc/Script/pub.js" type="text/javascript"></script>
   
        <script type="text/javascript">
        function CheckLogin() {
            var ret = true;
            var str = "";
            $id("strinfo").innerHTML = "";

            ErrorStr = new Array(); //错误消息

            if (!IsEmpty($id("txt_name").value)) {
                ErrorStr.push("用户名不能为空,请输入用户名!");
            }

            if (!IsEmpty($id("txt_password").value)) {
                ErrorStr.push("密码不能为空,请输入密码!");
            }

            if (!IsEmpty($id("txt_verify").value)) {
                ErrorStr.push("验证码不能为空,请输入验证码!");
            }

            if (ErrorStr.length != 0) {
                str = "<ul>";
                for (var i = 0; i < ErrorStr.length; i++) {
                    str = str + "<li>" + ErrorStr[i] + "</li>";
                }
                str = str + "</ul>";
                $id("strinfo").innerHTML = str;
                $id("strinfo").style.display = "block";
                ret = false;
            }
            else {
                $id("strinfo").innerHTML = "";
                $id("strinfo").style.display = "none";
            }

            return ret;
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentMain" runat="server">
    <div id="strinfo" class="mbox pbox" style="display:none;"></div>
    <fieldset id="Fieldset1" class="Fieldsetbox mbox pbox">
        <legend class="fsTitle">前台用户登录</legend>
        <table width="526" border="0" cellpadding="0" cellspacing="5">
            <tr>
                <td width="87">
                    <div align="right" class="f14">
                        用户名</div>
                </td>
                <td width="161">
                    <input type="text" name="txt_name" autocomplete="off" class="inputbox" style="width: 150px;"  id="txt_name" />
                </td>
                <td width="258" class="tcgray f14">
                    &nbsp;
后面还有 53 行代码,购买后查看完整代码

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

AI 解读 AI

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

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