admin/admin_AddDayHot.aspx

(开头部分) 4KB

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

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

<!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">
<head>
    <title>新增每日推荐菜式</title>
    <style type="text/css">
        table
        {
            border: 2px solid blue;
            border-collapse: collapse;
            margin: 15px auto;
            font-family: "微软雅黑";
        }
        table td
        {
            padding: 8px;
            border: 2px solid blue;
        }
    </style>
    <script type="text/javascript">
        window.onload = function () {
            var btnFirst = document.getElementById("first");
            btnFirst.onclick = function () {
                window.location = "admin_AddDayHot.aspx?index=1";
            }
            var btnLast = document.getElementById("last")
            btnLast.onclick = function () {
                var pageCount = document.getElementById("pageCount").value;
                window.location = "admin_AddDayHot.aspx?index=" + pageCount;
            }
            var btnPrev = document.getElementById("prev");
            btnPrev.onclick = function () {
                var currentIndex = document.getElementById("currentIndex").value;
                currentIndex = parseInt(currentIndex);
                currentIndex--;
                if (currentIndex < 1) {
                    alert("现在已经是首页了.不能再上一页了!")
                }
                else {
                    window.location = "admin_AddDayHot.aspx?index=" + currentIndex;
                }
            }
            var btnNext = document.getElementById("next");
            btnNext.onclick = function () {
                var currentIndex = document.getElementById("currentIndex").value;
                currentIndex = parseInt(currentIndex);
                currentIndex++;
                var pageCount = document.getElementById("pageCount").value;
                pageCount = parseInt(pageCount);
                if (currentIndex > pageCount) {
                    alert("现在已经是最后一页了,不能再下页了!");
                }
                else {
                    window.location = "admin_AddDayHot.aspx?index=" + currentIndex;
                }
            }
        }
        //删除数据脚本方法
后面还有 54 行代码,购买后查看完整代码

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

AI 解读

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

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