EasyShop/index.aspx.cs
(开头部分) 28KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MyModels;
using System.Data;
using conn;
using Common;
using ExeSql;
namespace EasyShop
{
public partial class index : System.Web.UI.Page
{
public string strSGgString = string.Empty;
public string strBGgString = string.Empty;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
web_IndexProHead_Ext IE = new web_IndexProHead_Ext();
DataSet ds = IE.GetList(" and Type=1");//获取小广告图片
for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
{
string linkurl = "http://" + ds.Tables[0].Rows[i]["LinkUrl"].ToString().Replace("http://", "");
if (string.IsNullOrEmpty(ds.Tables[0].Rows[i]["LinkUrl"].ToString()))
{
linkurl = "#";
}
strSGgString += "<div class=\"margin_t\"><a href=\"" + linkurl + "\"><img src=\"/Content/uploadImg/" + ds.Tables[0].Rows[i]["Pic"].ToString() + "\" width=\"286\" height=\"102\"/></a></div>";
if(i==1)
{
i=ds.Tables[0].Rows.Count;
}
}
DataSet bds = IE.GetList(" and Type=2");//获取大广告图片
for(int i=0;i<bds.Tables[0].Rows.Count;i++)
{
string linkurl = "http://" + ds.Tables[0].Rows[i]["LinkUrl"].ToString().Replace("http://", "");
if (string.IsNullOrEmpty(ds.Tables[0].Rows[i]["LinkUrl"].ToString()))
{
linkurl = "#";
}
strBGgString = "<a href=\"" + linkurl + "\"><img src=\"/Content/uploadImg/" + ds.Tables[0].Rows[i]["Pic"].ToString() + "\" style=\"width:1200px;height:120px;\"/></a>";
}
}
}
public string GetGradeInfo()
{
string dem = "";
//TB_MC_Class tmc = new TB_MC_Class();
//DataSet ds = new DataSet();
//ds = tmc.GetClassByShowState();
//int num = ds.Tables[0].Rows.Count;
//for (int i = 0; i < num; i++)
//{
// string ClassName = ds.Tables[0].Rows[i][1].ToString();
// string ID = ds.Tables[0].Rows[i][0].ToString();
// dem += "";
后面还有 478 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。