admin/admin_cat.aspx

(开头部分) 3KB

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

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

<!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:3px solid pink;
            border-collapse:collapse;
            margin:30px auto;
         }
         table td
         {
             border:3px solid pink;
             padding:2px;  
          }
     </style>
     <script type="text/javascript">
         window.onload = function () {
             var btnFirst = document.getElementById("first");
             btnFirst.onclick = function () {
                 window.location = "admin_cat.aspx?index=1";
             }
             var btnLast = document.getElementById("last")
             btnLast.onclick = function () {
                 var pageCount = document.getElementById("pageCount").value;
                 window.location = "admin_cat.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_cat.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_cat.aspx?index=" + currentIndex;
                 }
             }
         }
        </script>
</head>
后面还有 15 行代码,购买后查看完整代码

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

AI 解读

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

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