ad88/login.aspx

(开头部分) 5KB

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

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

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台管理系统</title>
    <link rel="stylesheet" type="text/css" href="ext/resources/css/ext-all.css" />
    <script type="text/javascript" src="ext/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="ext/ext-all.js"></script>
    <script language="JavaScript">
<!--
        if (self != top) top.location.href = window.location.href;
//-->
    </script>
    <script type="text/javascript">
        Ext.onReady(function () {
            //使用表单提示
            Ext.QuickTips.init();
            Ext.form.Field.prototype.msgTarget = 'side';

            //定义表单
            var simple = new Ext.FormPanel({
                labelWidth: 75,
                baseCls: 'x-plain',
                defaults: { width: 150 },
                defaultType: 'textfield', //默认字段类型

                buttons: [{
                    id: 'btnSubmit',
                    text: '登陆',
                    type: 'submit',
                    //定义表单提交事件
                    handler: goLogin
                }, {
                    text: '取消',
                    handler: function () { simple.form.reset(); } //重置表单
                }],

                //定义表单元素
                items: [{
                    fieldLabel: '帐户',
                    name: 'name', //元素名称
                    //anchor:'95%',//也可用此定义自适应宽度
                    allowBlank: false, //不允许为空
                    value: '<%=loginname %>',
                    blankText: '帐户不能为空'//错误提示内容
                }, {
                    inputType: 'password',
                    fieldLabel: '密码',
                    //anchor:'95%',
                    name: 'pws',
                    allowBlank: false,
                    blankText: '密码不能为空',

                    enableKeyEvents: true,
                    listeners: {
                        'keypress': function (field, e) {
                            if (e.getKey() == Ext.EventObject.ENTER) {
                                goLogin();
                            }
后面还有 78 行代码,购买后查看完整代码

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

AI 解读 AI

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

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