admin/wzinfo/html.aspx.cs

(开头部分) 14KB

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

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.OleDb;
using System.IO;
using System.Text.RegularExpressions;
using System.Collections;
using System.Threading;

namespace web.admin.wzinfo
{
    public partial class html : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                this.TextBox3.Text = new AcsHelper().ExecuteScalar("select hm from sheng where id = 1");

                int ym = 1;//首页
                ym += Convert.ToInt32(new AcsHelper().ExecuteScalar("select count(id) from type_two"));
                ym += Convert.ToInt32(new AcsHelper().ExecuteScalar("select count(id) from merchandise"));
                int miao = Convert.ToInt32(new AcsHelper().ExecuteScalar("select miao from sheng where id = 1"));
                int shu = Convert.ToInt32(new AcsHelper().ExecuteScalar("select shu from sheng where id = 1"));
                try
                {
                    if (shu > 1)
                    {
                        ym = shu;
                    }
                    int sudu = ym / miao;

                    this.ym.Text = "您上次的全站生成一共<span style='color:red;'>" + ym + "</span>个页面,速度是一秒<span style='color:red;'>" + sudu + "</span>个页面,花费了约<span style='color:red;'>" + (ym / sudu) + "</span>秒钟时间";

                }
                catch (Exception)
                {
                }
            }
        }

        public int GetAllFiles(DirectoryInfo dir)
        {
            int j = 0;
            FileSystemInfo[] fileinfo = dir.GetFileSystemInfos();
            foreach (FileSystemInfo i in fileinfo)
            {
                if (i is DirectoryInfo)
                {
                    GetAllFiles((DirectoryInfo)i);
                }
                else
                {
                    j++;
                }
            }
            return j;
后面还有 376 行代码,购买后查看完整代码

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

AI 解读 AI

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

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