html_l.aspx.cs
(开头部分) 5KB这里只显示每个文件的开头 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;
namespace web
{
public partial class __l : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (Request.QueryString["id"] != null)
{
int id = Convert.ToInt32(Request.QueryString["id"]);
string o = new AcsHelper().ExecuteScalar("select type from type_two where id = (select type_two_id from merchandise where id =" + id + ")");
//if (o != "")
//{
// if (o.ToString() == "3")
// {
// Response.Redirect("p_l.aspx?id=" + id);
// }
//}
new AcsHelper().ExecuteNonQuery("update merchandise set llint=llint+1 where id=" + id);
string tid = new access().ExecuteScalar("select type from type_two where id = (select type_two_id from merchandise where id=" + id + ")");
if (tid == "2")
{
this.Literal4.Text = "上一篇文章";
this.Literal5.Text = "下一篇文章";
}
else
{
this.Literal4.Text = "上一个";
this.Literal5.Text = "下一个";
}
string sqlstring = "select * from Merchandise where id=" + id.ToString();
string tit = "";
string name = "";
using (DataTable d = new access().ExecuteDataTable(sqlstring))
{
this.Repeater1.DataSource = d;
this.Repeater1.DataBind();
foreach (DataRow r in d.Rows)
{
this.Literal1.Text = r["name"].ToString();
if (r["x_img"] != null)
{
if (r["x_img"].ToString() != "")
{
this.Literal2.Text = "<img " + get.imgwh(r["x_img"].ToString(), 580, 580) + " />";
后面还有 87 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。