|
Server : Microsoft-IIS/10.0 System : Windows NT EBS-6136 10.0 build 17763 (Windows Server 2016) i586 User : jxgj ( 0) PHP Version : 7.0.33 Disable Function : passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server Directory : D:/tmp_aspnet/root/63ee1760/9e6b534b/ |
?#pragma checksum "D:\wwwroot\ladderin\wwwroot\p_tool_z\views.ashx" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9CE3D4F3B38FB3B82EFD05245FFECCB681F38567"
#line 1 "D:\wwwroot\ladderin\wwwroot\p_tool_z\views.ashx"
using System;
using System.Web;
public class views : IHttpHandler {
public void ProcessRequest (HttpContext r) {
r.Response.ContentType = "text/plain";
int did = int.Parse(r.Request.QueryString["id"]);
string dtable = PZ.DAL.Tools.CheckStr(r.Request.QueryString["table"]);
new PZ.DAL.MainDB().ExecSQL("update [" + dtable + "] set [views]=views+1 where id=" + did);
r.Response.Write("var views=" + new PZ.DAL.MainDB().GetString("select views from " + dtable + " where id=" + did) + ";");
}
public bool IsReusable {
get {
return false;
}
}
}
#line default
#line hidden