Default.aspx.cs

(开头部分) 17KB

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

using System;
using System.Linq;
using System.Web;
using Models;
using System.Text.RegularExpressions;
using System.Web.UI.WebControls;

   public partial class mydefault : System.Web.UI.Page
	{
        public string title = "", content = "", from = "", YX_Addtime = "";
        public int textnum = 0;

        protected void Page_Load(object sender, EventArgs e)
        {
            Response.CacheControl = "no-cache";


            if (!Page.IsPostBack)
            {


                if (!string.IsNullOrEmpty(Request.Params["type"]))
                {
                    switch (Request.Params["type"])
                    {
                        case "read":
                            { Loadread(); break; }
                        case "search":
                            { LoadSearch(); break; }
                        case "list":
                            { LoadList(); break; }

                        case "myForm":
                            { LoadmyForm(); break; }

                        case "Form":
                            { LoadForm(); break; }

                    }       
                }
                else 
                {

                    LoadData();
                }
               

            }
        }

   //主页的     

        private void LoadData()
        {
            TextHandle th = new TextHandle();

            string str = "";
            if (!string.IsNullOrEmpty(Request.Params["m"]))
            {
                str = th.GetModText("/mindex.htm") + " <!--Mindex.htm (m.50cms.com)-->";
后面还有 394 行代码,解锁后查看完整代码

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

AI 解读

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

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