|
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/826e9916/5874ee3e/ |
?#pragma checksum "D:\wwwroot\west202004\wwwroot\aspx\main\goods_show.aspx" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "35EE8C0A06F1DD50791FBB0D4D7635C9DFBA89E2"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具天生。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且若是
// 沉新天生代码,这些更改将会迷失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace ASP {
#line 332 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Linq;
#line default
#line hidden
#line 339 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.Security;
#line default
#line hidden
#line 2 "D:\wwwroot\west202004\wwwroot\aspx\main\goods_show.aspx"
using System.Collections.Generic;
#line default
#line hidden
#line 334 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Text.RegularExpressions;
#line default
#line hidden
#line 342 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.UI.WebControls;
#line default
#line hidden
#line 345 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Xml.Linq;
#line default
#line hidden
#line 341 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.UI;
#line default
#line hidden
#line 5 "D:\wwwroot\west202004\wwwroot\aspx\main\goods_show.aspx"
using DTcms.Common;
#line default
#line hidden
#line 326 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System;
#line default
#line hidden
#line 344 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.UI.HtmlControls;
#line default
#line hidden
#line 335 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web;
#line default
#line hidden
#line 327 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Collections;
#line default
#line hidden
#line 331 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Configuration;
#line default
#line hidden
#line 330 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.ComponentModel.DataAnnotations;
#line default
#line hidden
#line 3 "D:\wwwroot\west202004\wwwroot\aspx\main\goods_show.aspx"
using System.Text;
#line default
#line hidden
#line 340 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.Profile;
#line default
#line hidden
#line 336 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.Caching;
#line default
#line hidden
#line 4 "D:\wwwroot\west202004\wwwroot\aspx\main\goods_show.aspx"
using System.Data;
#line default
#line hidden
#line 343 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.UI.WebControls.WebParts;
#line default
#line hidden
#line 329 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Collections.Specialized;
#line default
#line hidden
#line 338 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.SessionState;
#line default
#line hidden
#line 337 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.DynamicData;
#line default
#line hidden
[System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
public class aspx_main_goods_show_aspx : global::DTcms.Web.UI.Page.article_show, System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler {
private static bool @__initialized;
private static object @__fileDependencies;
#line 7 "D:\wwwroot\west202004\wwwroot\aspx\main\goods_show.aspx"
override protected void OnInit(EventArgs e)
{
/*
This page was created by DTcms Template Engine at 2020-04-19 17:32:21.
本页面代码由DTcms模板引擎天生于 2020-04-19 17:32:21.
*/
base.channel = "goods";
base.OnInit(e);
StringBuilder templateBuilder = new StringBuilder(220000);
templateBuilder.Append("<!doctype html>\r\n<html>\r\n<head>\r\n<meta charset=\"utf-8\">\r\n");
string category_title = get_category_title(model.category_id,"购物商城");
templateBuilder.Append("\r\n<title>");
templateBuilder.Append(Utils.ObjectToStr(model.title));
templateBuilder.Append(" - ");
templateBuilder.Append(Utils.ObjectToStr(category_title));
templateBuilder.Append(" - ");
templateBuilder.Append(Utils.ObjectToStr(site.name));
templateBuilder.Append("</title>\r\n<meta name=\"keywords\" content=\"");
templateBuilder.Append(Utils.ObjectToStr(model.seo_keywords));
templateBuilder.Append("\" />\r\n<meta name=\"description\" content=\"");
templateBuilder.Append(Utils.ObjectToStr(model.seo_description));
templateBuilder.Append("\" />\r\n<link href=\"");
templateBuilder.Append("/templates/main");
templateBuilder.Append("/css/style.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"");
templateBuilder.Append(Utils.ObjectToStr(config.webpath));
templateBuilder.Append("scripts/jquery/jquery-1.11.2.min.js\"></");
templateBuilder.Append("script>\r\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"");
templateBuilder.Append(Utils.ObjectToStr(config.webpath));
templateBuilder.Append("scripts/jquery/jquery.jqzoom.js\"></");
templateBuilder.Append("script>\r\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"");
templateBuilder.Append("/templates/main");
templateBuilder.Append("/js/common.js\"></");
templateBuilder.Append("script>\r\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"");
templateBuilder.Append("/templates/main");
templateBuilder.Append("/js/picture.js\"></");
templateBuilder.Append("script>\r\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"");
templateBuilder.Append("/templates/main");
templateBuilder.Append("/js/cart.js\"></");
templateBuilder.Append("script>\r\n<script type=\"text/javascript\">\r\n$(function(){\r\n //TAB切换\r\n tabs('#goodsTabs','click');\r\n //智能浮动层\r\n $(\"#tabHead\").smartFloat();\r\n //初始化规格事务\r\n initGoodsSpec('");
templateBuilder.Append(Utils.ObjectToStr(config.webpath));
templateBuilder.Append("tools/submit_ajax.ashx?action=get_article_goods_info&channel_id=");
templateBuilder.Append(Utils.ObjectToStr(model.channel_id));
templateBuilder.Append("');\r\n});\r\n</");
templateBuilder.Append("script>\r\n</head>\r\n\r\n<body id=\"goods\">\r\n<!--页面头部-->\r\n");
templateBuilder.Append("<div class=\"header\">\r\n <div class=\"head-top\">\r\n <div class=\"section\">\r\n <div class=\"left-box\">\r\n <span>客服(QQ:2258784815)</span>\r\n\r\n </div>\r\n <script type=\"text/javascript\">\r\n $.ajax({\r\n type: \"POST\",\r\n url: \"");
templateBuilder.Append(Utils.ObjectToStr(config.webpath));
templateBuilder.Append("tools/submit_ajax.ashx?action=user_check_login\",\r\n dataType: \"json\",\r\n timeout: 20000,\r\n success: function (data, textStatus) {\r\n if (data.status == 1) {\r\n $(\"#menu\").prepend('<a href=\"");
templateBuilder.Append(linkurl("usercenter","exit"));
templateBuilder.Append("\">退出</a><strong>|</strong>');\r\n $(\"#menu\").prepend('<a href=\"");
templateBuilder.Append(linkurl("usercenter","index"));
templateBuilder.Append("\">代理中心</a><strong>|</strong>');\r\n } else {\r\n $(\"#menu\").prepend('<a href=\"");
templateBuilder.Append(linkurl("register"));
templateBuilder.Append("\">注册</a><strong>|</strong>');\r\n $(\"#menu\").prepend('<a href=\"");
templateBuilder.Append(linkurl("login"));
templateBuilder.Append("\">代理入口</a><strong>|</strong>');\r\n }\r\n }\r\n });\r\n </");
templateBuilder.Append("script>\r\n <div id=\"menu\" class=\"right-box\">\r\n <a href=\"http://wpa.qq.com/msgrd?v=3&uin=2258784815&site=qq&menu=yes\"><i class=\"iconfont icon-phone\"></i>联系918博天堂</a><strong>|</strong>\r\n <!--<a href=\"");
templateBuilder.Append(linkurl("feedback"));
templateBuilder.Append("\" title=\"反馈\"><i class=\"iconfont icon-comment\"></i>反馈</a>-->\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"head-nav\">\r\n <div class=\"section\">\r\n <div class=\"logo\">\r\n <a href=\"");
templateBuilder.Append(linkurl("index"));
templateBuilder.Append("\"><img src=\"");
templateBuilder.Append("/templates/main");
templateBuilder.Append("/images/logo2.png\" /></a>\r\n </div>\r\n </div>\r\n </div>\r\n</div>");
templateBuilder.Append("\r\n<!--/页面头部-->\r\n\r\n<!--当前地位-->\r\n");
string category_nav = get_category_menu("goods_list", model.category_id);
templateBuilder.Append("\r\n<div class=\"section\">\r\n <div class=\"location\">\r\n <span>当前地位:</span>\r\n <a href=\"");
templateBuilder.Append(linkurl("index"));
templateBuilder.Append("\">首页</a> >\r\n <a href=\"");
templateBuilder.Append(linkurl("goods_show",102));
templateBuilder.Append("\">采办授权</a>\r\n </div>\r\n</div>\r\n<!--/当前地位-->\r\n\r\n<div class=\"section clearfix\">\r\n\r\n <!--页面右边-->\r\n <div >\r\n <div class=\"bg-wrap\">\r\n <!--购物车头部-->\r\n <div class=\"cart-head clearfix\">\r\n <h2><i class=\"iconfont icon-cart\"></i>我的购物车</h2>\r\n <div class=\"cart-setp\">\r\n <ul>\r\n <li class=\"first active\">\r\n <div class=\"progress\">\r\n <span>1</span>\r\n 放进购物车\r\n </div>\r\n </li>\r\n <li>\r\n <div class=\"progress\">\r\n <span>2</span>\r\n 填写订单信息\r\n </div>\r\n </li>\r\n <li class=\"last\">\r\n <div class=\"progress\">\r\n <span>3</span>\r\n 支付/确认订单\r\n </div>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <!--购物车头部-->\r\n \r\n\r\n <div class=\"goods-box clearfix\">\r\n <!--商品图片-->\r\n <div class=\"goods-pic\">\r\n <!--幻灯片-->\r\n <div class=\"pic-box\">\r\n <div class=\"pic-preview\">\r\n <span class=\"jqzoom\">\r\n <img />\r\n </span>\r\n </div>\r\n <!--缩略图-->\r\n <div class=\"pic-scroll\" style=\"display:none;\">\r\n <a class=\"prev\"><</a>\r\n <a class=\"next\">></a>\r\n <div class=\"items\">\r\n <ul>\r\n ");
if (model.albums!=null)
{
foreach(DTcms.Model.article_albums modelt in model.albums)
{
templateBuilder.Append("\r\n <li><img bimg=\"");
templateBuilder.Append(Utils.ObjectToStr(modelt.thumb_path));
templateBuilder.Append("\" src=\"");
templateBuilder.Append(Utils.ObjectToStr(modelt.original_path));
templateBuilder.Append("\" onmousemove=\"preview(this);\"/></li>\r\n ");
} //end for if
} //end for if
templateBuilder.Append("\r\n </ul>\r\n </div>\r\n </div>\r\n <!--缩略图-->\r\n </div>\r\n <!--/幻灯片-->\r\n </div>\r\n <!--/商品图片-->\r\n \r\n <!--商品信息-->\r\n <div class=\"goods-spec\">\r\n <script type=\"text/javascript\" src=\"");
templateBuilder.Append(Utils.ObjectToStr(config.webpath));
templateBuilder.Append("tools/submit_ajax.ashx?action=view_article_click&channel_id=");
templateBuilder.Append(Utils.ObjectToStr(model.channel_id));
templateBuilder.Append("&id=");
templateBuilder.Append(Utils.ObjectToStr(model.id));
templateBuilder.Append("&click=1&hide=1\"></");
templateBuilder.Append("script>\r\n <h1>");
templateBuilder.Append(Utils.ObjectToStr(model.title));
templateBuilder.Append("</h1>\r\n <p class=\"subtitle\">" + Utils.ObjectToStr(model.fields["sub_title"]) + "</p>\r\n <div class=\"spec-box\">\r\n <dl>\r\n <dt>编号</dt>\r\n <dd id=\"commodityGoodsNo\">" + Utils.ObjectToStr(model.fields["goods_no"]) + "</dd>\r\n </dl>\r\n <dl>\r\n <dt>市场价</dt>\r\n <dd><s id=\"commodityMarketPrice\">?" + Utils.ObjectToStr(model.fields["market_price"]) + "</s></dd>\r\n </dl>\r\n <dl>\r\n <dt>销售价</dt>\r\n <dd><em class=\"price\" id=\"commoditySellPrice\">?" + Utils.ObjectToStr(model.fields["sell_price"]) + "</em></dd>\r\n </dl>\r\n </div>\r\n \r\n <div class=\"spec-box line\" id=\"goodsSpecBox\">\r\n <!--商品规格-->\r\n ");
List<DTcms.Model.article_goods_spec> specList = get_article_goods_spec(model.channel_id, model.id, "parent_id=0");
if (specList!=null)
{
foreach(DTcms.Model.article_goods_spec modelt1 in specList)
{
templateBuilder.Append("\r\n <dl>\r\n <dt>");
templateBuilder.Append(Utils.ObjectToStr(modelt1.title));
templateBuilder.Append("</dt>\r\n <dd>\r\n <ul class=\"items\">\r\n <!--规格选项-->\r\n ");
List<DTcms.Model.article_goods_spec> itemList = get_article_goods_spec(model.channel_id, model.id, "parent_id="+modelt1.spec_id);
if (itemList!=null)
{
foreach(DTcms.Model.article_goods_spec modelt2 in itemList)
{
templateBuilder.Append("\r\n <li>\r\n <a specid=\"");
templateBuilder.Append(Utils.ObjectToStr(modelt2.spec_id));
templateBuilder.Append("\" title=\"");
templateBuilder.Append(Utils.ObjectToStr(modelt2.title));
templateBuilder.Append("\" href=\"javascript:;\">\r\n ");
if (modelt2.img_url!=null&&modelt2.img_url!="")
{
templateBuilder.Append("\r\n <img src=\"");
templateBuilder.Append(Utils.ObjectToStr(modelt2.img_url));
templateBuilder.Append("\" />\r\n ");
}
else
{
templateBuilder.Append("\r\n <span>");
templateBuilder.Append(Utils.ObjectToStr(modelt2.title));
templateBuilder.Append("</span>\r\n ");
} //end for if
templateBuilder.Append("\r\n </a>\r\n </li>\r\n ");
} //end for if
} //end for if
templateBuilder.Append("\r\n <!--/规格选项-->\r\n </ul>\r\n </dd>\r\n </dl>\r\n ");
} //end for if
} //end for if
templateBuilder.Append("\r\n <!--/商品规格-->\r\n </div>\r\n \r\n <div class=\"spec-box\">\r\n <dl>\r\n <dt>手机控数</dt>\r\n <dd>\r\n <div class=\"stock-box\">\r\n <input id=\"commodityChannelId\" type=\"hidden\" value=\"");
templateBuilder.Append(Utils.ObjectToStr(model.channel_id));
templateBuilder.Append("\" />\r\n <input id=\"commodityArticleId\" type=\"hidden\" value=\"");
templateBuilder.Append(Utils.ObjectToStr(model.id));
templateBuilder.Append("\" />\r\n <input id=\"commodityGoodsId\" type=\"hidden\" value=\"0\" />\r\n <input id=\"commoditySelectNum\" type=\"text\" maxlength=\"9\" value=\"100\" maxValue=\"" + Utils.ObjectToStr(model.fields["stock_quantity"]) + "\" onkeydown=\"return checkNumber(event);\" />\r\n <a class=\"add\" onclick=\"addCartNum(1);\">+</a>\r\n <a class=\"remove\" onclick=\"addCartNum(-1);\">-</a>\r\n </div>\r\n <span class=\"stock-txt\">\r\n (1控 = 1部手机)\r\n </span>\r\n </dd>\r\n </dl>\r\n <dl>\r\n <dd>\r\n <div class=\"btn-buy\" id=\"buyButton\">\r\n <button class=\"add over\" onclick=\"cartAdd(this,'");
templateBuilder.Append(Utils.ObjectToStr(config.webpath));
templateBuilder.Append("',1,'");
templateBuilder.Append(linkurl("shopping"));
templateBuilder.Append("');\" disabled=\"disabled\">当即采办</button>\r\n </div>\r\n </dd>\r\n </dl>\r\n </div>\r\n \r\n <div class=\"spec-box\">\r\n <dl>\r\n <dd>\r\n <!--分享-->\r\n ");
templateBuilder.Append(" <!-- JiaThis Button BEGIN --> \r\n <div id=\"ckepop\">\r\n <span class=\"jiathis_txt\">分享到:</span>\r\n <a class=\"jiathis_button_tqq\">腾讯</a>\r\n <a class=\"jiathis_button_tsina\">新浪</a>\r\n <a class=\"jiathis_button_renren\">人人网</a>\r\n <a class=\"jiathis_button_email\">邮件</a>\r\n <a class=\"jiathis_button_copy\">网址</a> \r\n <a href=\"http://www.jiathis.com/share/?uid=90225\" class=\"jiathis jiathis_txt jiathis_separator jtico jtico_jiathis\" target=\"_blank\">更多</a> \r\n <a class=\"jiathis_counter_style\"></a> \r\n </div> \r\n <!-- JiaThis Button END -->\r\n <script type=\"text/javascript\">var jiathis_config={data_track_clickback:true};</");
templateBuilder.Append("script> \r\n <script type=\"text/javascript\" src=\"http://v2.jiathis.com/code/jia.js?uid=1336353133859589\" charset=\"utf-8\"></");
templateBuilder.Append("script>");
templateBuilder.Append("\r\n <!--/分享-->\r\n </dd>\r\n </dl>\r\n </div>\r\n </div>\r\n <!--/商品信息-->\r\n\r\n\r\n </div>\r\n <div id=\"goodsTabs\" class=\"goods-tab bg-wrap\">\r\n <!--选项卡-->\r\n <div id=\"tabHead\" class=\"tab-head\">\r\n <ul>\r\n <li>\r\n <a class=\"selected\" href=\"javascript:;\">群控授权介绍</a>\r\n </li>\r\n </ul>\r\n </div>\r\n <!--/选项卡-->\r\n <!--选项内容-->\r\n <div class=\"tab-content entry\" style=\"display:block;\">\r\n ");
templateBuilder.Append(Utils.ObjectToStr(model.content));
templateBuilder.Append("\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n <!--页面右边-->\r\n\r\n</div>\r\n\r\n<!--页面底部-->\r\n");
templateBuilder.Append("<div class=\"footer\">\r\n <div class=\"section\">\r\n <div class=\"foot-box\" style=\"text-align:center;color:gray\">\r\n <p class=\"gray\">");
templateBuilder.Append(Utils.ObjectToStr(site.copyright));
templateBuilder.Append(" ");
templateBuilder.Append(Utils.ObjectToStr(site.crod));
templateBuilder.Append("</p>\r\n </div>\r\n </div>\r\n</div>");
templateBuilder.Append("\r\n<!--/页面底部-->\r\n</body>\r\n</html>");
Response.Write(templateBuilder.ToString());
}
#line default
#line hidden
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public aspx_main_goods_show_aspx() {
string[] dependencies;
((global::DTcms.Web.UI.Page.article_show)(this)).AppRelativeVirtualPath = "~/aspx/main/goods_show.aspx";
if ((global::ASP.aspx_main_goods_show_aspx.@__initialized == false)) {
dependencies = new string[1];
dependencies[0] = "~/aspx/main/goods_show.aspx";
global::ASP.aspx_main_goods_show_aspx.@__fileDependencies = this.GetWrappedFileDependencies(dependencies);
global::ASP.aspx_main_goods_show_aspx.@__initialized = true;
}
this.Server.ScriptTimeout = 30000000;
}
protected System.Web.Profile.DefaultProfile Profile {
get {
return ((System.Web.Profile.DefaultProfile)(this.Context.Profile));
}
}
protected System.Web.HttpApplication ApplicationInstance {
get {
return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void @__BuildControlTree(aspx_main_goods_show_aspx @__ctrl) {
#line 1 "D:\wwwroot\west202004\wwwroot\aspx\main\goods_show.aspx"
this.InitializeCulture();
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void FrameworkInitialize() {
base.FrameworkInitialize();
this.@__BuildControlTree(this);
this.AddWrappedFileDependencies(global::ASP.aspx_main_goods_show_aspx.@__fileDependencies);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override int GetTypeHashCode() {
return 5381;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override void ProcessRequest(System.Web.HttpContext context) {
base.ProcessRequest(context);
}
}
}