FmcmsUi/js/toportread.aspx

(开头部分) 1KB

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

<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

    protected void Page_Load(object sender, EventArgs e)
    {
       
        if (Request.Form["type"] != null && Request.Form["docid"] != null)
        {
            Response.ContentType = "text/html";
            Response.Write(GetValue(int.Parse(Request.Form["type"].ToString()), int.Parse(Request.Form["docid"].ToString())));
            Response.Flush();
            Response.Close();
        }
        if (Request.Form["stype"] != null&&Request.Form["id"]!=null)
        {
            Response.ContentType = "text/html";
            Response.Write(Select(int.Parse(Request.Form["stype"].ToString()),int.Parse(Request.Form["id"].ToString())));
            Response.Flush();
            Response.Close();
        }
        
    }
    string Select(int stype,int id)
    {
        Fm.Bussiness.public_select ps = new Fm.Bussiness.public_select();
        //System.Data.DataView dv = null;
        if (stype == 0)
        {
            return ps.Getps("Fm_model_main", "topclick", "docid=" + id + "")[0]["topclick"].ToString();
        }
        else
        {
            return ps.Getps("Fm_model_main","tread","docid="+id+"")[0]["tread"].ToString(); 
        }
        
    }
    string GetValue(int type,int docid)
    {
        //
        Fm.Tags.Tags_sql sql = new Fm.Tags.Tags_sql();
        System.Data.DataView dv = (sql.GetArticleTopTread(docid,type)) as System.Data.DataView;
        if (type == 0)
        {
            return dv[0]["topclick"].ToString();
        }
        else
        {
            return dv[0]["tread"].ToString(); 
        }
    }
</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
后面还有 7 行代码,解锁后查看完整代码

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

AI 解读

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

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