code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231 values | license stringclasses 13 values | size int64 1 2.01M |
|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace TREC.Web.aspx
{
#region 类库引用
using TRECommon;
using TREC.ECommerce;
using TREC.Entity;
#endregion
public partial class tuan :WebPageBase
{
protected void Page_Load(object sender, EventArgs e)
{
pageTitle = "-团购活动";
}
}
} | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/aspx/tuan.aspx.cs | C# | oos | 498 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace TREC.Web.aspx
{
#region 类库引用
using TRECommon;
using TREC.ECommerce;
using TREC.Entity;
#endregion
public partial class marketlist : WebPageBase
{
/// <summary>
/// 下一页连接
/// </summary>
public string NextUrl
{
get
{
if (ECommon.QueryPageIndex == AspNetPager1.PageCount)
{
return "#";
}
else
{
return string.Format(EnUrls.MarketListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex + 1, ECommon.QuerySearchArea);
}
}
}
//上一页连接
public string PrvUrl
{
get
{
if (ECommon.QueryPageIndex == 1)
{
return "#";
}
else
{
return string.Format(EnUrls.MarketListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex - 1, ECommon.QuerySearchArea);
}
}
}
public string sortTitle = "按 名 称";
public string sortDate = "按 时 间";
public string sortHot = "推荐店铺";
public List<EnWebMarket> list = new List<EnWebMarket>();
protected void Page_Load(object sender, EventArgs e)
{
pageTitle = "-家具卖场";
string orderType = "";
string orderKey = "";
string strWhere = "";
if (ECommon.QuerySearchKey != "")
{
strWhere += " and (title like '%" + ECommon.QuerySearchKey + "%')";
}
strWhere = strWhere != "" ? " and ( " + strWhere.Substring(4, strWhere.Length - 4) + " )" : "";
switch (ECommon.QuerySearchSort.ToLower())
{
case "_t1":
orderType = "desc";
orderKey = "title";
sortTitle = "名称升序";
break;
case "_t2":
orderKey = "title";
orderType = "asc";
sortTitle = "名称排序";
break;
case "_d1":
orderKey = "lastedittime";
orderType = "desc";
sortDate = "由近到远";
break;
case "_d2":
orderKey = "lastedittime";
orderType = "asc";
sortDate = "由远到近";
break;
case "_h1":
orderKey = "hits";
orderType = "desc";
sortHot = "由高到低";
break;
case "_h2":
orderKey = "hits";
orderType = "asc";
sortHot = "由低到高";
break;
}
list = ECMarket.GetWebMarketList(ECommon.QueryPageIndex, AspNetPager1.PageSize, strWhere, orderKey, orderType, out tmpPageCount);
AspNetPager1.RecordCount = tmpPageCount;
AspNetPager1.EnableUrlRewriting = true;
AspNetPager1.UrlRewritePattern = string.Format(EnUrls.MarketListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, "{0}", ECommon.QuerySearchArea);
}
/// <summary>
/// AspNetPager1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::Wuqi.Webdiyer.AspNetPager AspNetPager1;
}
} | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/aspx/marketlist.aspx.cs | C# | oos | 4,622 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace TREC.Web.aspx
{
#region 类库引用
using TRECommon;
using TREC.ECommerce;
using TREC.Entity;
#endregion
public partial class shopbrandlist :WebPageBase
{
/// <summary>
/// 下一页连接
/// </summary>
public string NextUrl
{
get
{
if (ECommon.QueryPageIndex == AspNetPager1.PageCount)
{
return "#";
}
else
{
return string.Format(EnUrls.ShopBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex + 1);
}
}
}
//上一页连接
public string PrvUrl
{
get
{
if (ECommon.QueryPageIndex == 1)
{
return "#";
}
else
{
return string.Format(EnUrls.ShopBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex - 1);
}
}
}
public string sortTitle = "按 名 称";
public string sortDate = "按 时 间";
public string sortHot = "推荐店铺";
public List<EnWebShopBrand> list = new List<EnWebShopBrand>();
protected void Page_Load(object sender, EventArgs e)
{
pageTitle = "-经销商-品牌";
string strWhere = "";
if (ECommon.QuerySearchBrand != "")
{
foreach (string s in ECommon.QuerySearchBrand.Substring(1, ECommon.QuerySearchBrand.Length - 1).Split('_'))
{
strWhere += " and id like '%" + s + "%' ";
}
}
if (ECommon.QuerySearchStyle != "")
{
foreach (string s in ECommon.QuerySearchStyle.Substring(1, ECommon.QuerySearchStyle.Length - 1).Split('_'))
{
strWhere += " and style like '%" + s + "%' ";
}
}
if (ECommon.QuerySearchMaterial != "")
{
foreach (string s in ECommon.QuerySearchMaterial.Substring(1, ECommon.QuerySearchMaterial.Length - 1).Split('_'))
{
strWhere += " and material like '%" + s + "%' ";
}
}
if (ECommon.QuerySearchSpread != "")
{
foreach (string s in ECommon.QuerySearchSpread.Substring(1, ECommon.QuerySearchSpread.Length - 1).Split('_'))
{
strWhere += " and spread like '%" + s + "%' ";
}
}
if (ECommon.QuerySearchKey != "")
{
strWhere += " and title like '%" + ECommon.QuerySearchKey + "%' ";
}
strWhere = strWhere != "" ? " and ( " + strWhere.Substring(4, strWhere.Length - 4) + " )" : "";
string orderType = "desc";
string orderKey = "hits";
switch (ECommon.QuerySearchSort.ToLower())
{
case "_t1":
orderType = "desc";
orderKey = "title";
sortTitle = "名称升序";
break;
case "_t2":
orderKey = "title";
orderType = "asc";
sortTitle = "名称排序";
break;
case "_d1":
orderKey = "lastedittime";
orderType = "desc";
sortDate = "由近到远";
break;
case "_d2":
orderKey = "lastedittime";
orderType = "asc";
sortDate = "由远到近";
break;
case "_h1":
orderKey = "hits";
orderType = "desc";
sortHot = "由高到低";
break;
case "_h2":
orderKey = "hits";
orderType = "asc";
sortHot = "由低到高";
break;
}
list = ECShop.GetWebShopBrandList(ECommon.QueryPageIndex, AspNetPager1.PageSize, strWhere, orderKey, orderType, out tmpPageCount);
AspNetPager1.RecordCount = tmpPageCount;
AspNetPager1.EnableUrlRewriting = true;
AspNetPager1.UrlRewritePattern = string.Format(EnUrls.ShopBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, "{0}");
}
/// <summary>
/// AspNetPager1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::Wuqi.Webdiyer.AspNetPager AspNetPager1;
}
} | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/aspx/shopbrandlist.aspx.cs | C# | oos | 5,831 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace TREC.Web.aspx
{
#region 类库引用
using TRECommon;
using TREC.ECommerce;
using TREC.Entity;
#endregion
public partial class promotion : WebPageBase
{
/// <summary>
/// 下一页连接
/// </summary>
public string NextUrl
{
get
{
if (ECommon.QueryPageIndex == AspNetPager1.PageCount)
{
return "#";
}
else
{//cid=$1^sid=$2^pid=$3^bid=$4^mkid=$5^area=$6^stime=$7^etime=$8^sort=$9^key=$10^page=$11
return string.Format(EnUrls.PromotionListsearch, ECommon.QueryCId, ECommon.QuerySId, ECommon.QueryPId, ECommon.QueryBId, ECommon.QueryMid, ECommon.QuerySearchArea, ECommon.QueryStime, ECommon.QueryEtime, ECommon.QuerySearchSort, ECommon.QuerySearchKey, ECommon.QueryPageIndex + 1);
}
}
}
//上一页连接
public string PrvUrl
{
get
{
if (ECommon.QueryPageIndex == 1)
{
return "#";
}
else
{
return string.Format(EnUrls.PromotionListsearch, ECommon.QueryCId, ECommon.QuerySId, ECommon.QueryPId, ECommon.QueryBId, ECommon.QueryMid, ECommon.QuerySearchArea, ECommon.QueryStime, ECommon.QueryEtime, ECommon.QuerySearchSort, ECommon.QuerySearchKey, ECommon.QueryPageIndex - 1);
}
}
}
public string sortTitle = "按 名 称";
public string sortDate = "按 时 间";
public string sortHot = "推荐活动";
public List<EnWebPromotion> list = new List<EnWebPromotion>();
protected void Page_Load(object sender, EventArgs e)
{
pageTitle = "-活动促销";
string strWhere = "";
//if (ECommon.QuerySearchBrand != "")
//{
// foreach (string s in ECommon.QuerySearchBrand.Substring(1, ECommon.QuerySearchBrand.Length - 1).Split('_'))
// {
// strWhere += " and brandxml like '%<id>" + s + "</id>%' ";
// }
//}
//strWhere = strWhere != "" ? " and ( " + strWhere.Substring(4, strWhere.Length - 4) + " )" : "";
if (ECommon.QuerySearchKey != "")
{
strWhere += " and (title like '%" + ECommon.QuerySearchKey + "%' or sku like '%" + ECommon.QuerySearchKey + "%' or brandtitle like '%" + ECommon.QuerySearchKey + "%')";
}
strWhere = strWhere != "" ? " and ( " + strWhere.Substring(4, strWhere.Length - 4) + " )" : "";
string orderType = "desc";
string orderKey = "sort";
switch (ECommon.QuerySearchSort.ToLower())
{
case "_t1":
orderType = "desc";
orderKey = "title";
sortTitle = "名称升序";
break;
case "_t2":
orderKey = "title";
orderType = "asc";
sortTitle = "名称排序";
break;
case "_d1":
orderKey = "lastedittime";
orderType = "desc";
sortDate = "由近到远";
break;
case "_d2":
orderKey = "lastedittime";
orderType = "asc";
sortDate = "由远到近";
break;
case "_h1":
orderKey = "hits";
orderType = "desc";
sortHot = "由高到低";
break;
case "_h2":
orderKey = "hits";
orderType = "asc";
sortHot = "由低到高";
break;
}
int pageCount = 0;
list = ECPromotion.GetWebPromotionList(ECommon.QueryPageIndex, AspNetPager1.PageSize, strWhere, orderKey, orderType, out pageCount);
AspNetPager1.RecordCount = pageCount;
AspNetPager1.EnableUrlRewriting = true;
AspNetPager1.UrlRewritePattern = string.Format(EnUrls.PromotionListsearch, ECommon.QueryCId, ECommon.QuerySId, ECommon.QueryPId, ECommon.QueryBId, ECommon.QueryMid, ECommon.QuerySearchArea, ECommon.QueryStime, ECommon.QueryEtime, ECommon.QuerySearchSort, ECommon.QuerySearchKey, "{0}");
}
/// <summary>
/// AspNetPager1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::Wuqi.Webdiyer.AspNetPager AspNetPager1;
}
} | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/aspx/promotion.aspx.cs | C# | oos | 5,217 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace TREC.Web.aspx
{
#region 类库引用
using TRECommon;
using TREC.ECommerce;
using TREC.Entity;
#endregion
public partial class shoplist :WebPageBase
{
/// <summary>
/// 下一页连接
/// </summary>
public string NextUrl
{
get
{
if (ECommon.QueryPageIndex == AspNetPager1.PageCount)
{
return "#";
}
else
{
return string.Format(EnUrls.ShopListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex + 1);
}
}
}
//上一页连接
public string PrvUrl
{
get
{
if (ECommon.QueryPageIndex == 1)
{
return "#";
}
else
{
return string.Format(EnUrls.ShopListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex - 1);
}
}
}
public string sortTitle = "按 名 称";
public string sortDate = "按 时 间";
public string sortHot = "推荐店铺";
public List<EnWebShop> list = new List<EnWebShop>();
protected void Page_Load(object sender, EventArgs e)
{
pageTitle = "-经销商";
string strWhere = "";
if (ECommon.QuerySearchBrand != "")
{
foreach (string s in ECommon.QuerySearchBrand.Substring(1, ECommon.QuerySearchBrand.Length - 1).Split('_'))
{
strWhere += " and brandxml like '%<id>" + s + "</id>%' ";
}
}
if (ECommon.QuerySearchStyle != "")
{
foreach (string s in ECommon.QuerySearchStyle.Substring(1, ECommon.QuerySearchStyle.Length - 1).Split('_'))
{
strWhere += " and brandxml like '%<stylevalue>" + s + "</stylevalue>%' ";
}
}
if (ECommon.QuerySearchMaterial != "")
{
foreach (string s in ECommon.QuerySearchMaterial.Substring(1, ECommon.QuerySearchMaterial.Length - 1).Split('_'))
{
strWhere += " and brandxml like '%<materialvalue>" + s + "</materialvalue>%' ";
}
}
if (ECommon.QuerySearchSpread != "")
{
foreach (string s in ECommon.QuerySearchSpread.Substring(1, ECommon.QuerySearchSpread.Length - 1).Split('_'))
{
strWhere += " and brandxml like '%<spreadvalue>" + s + "</spreadvalue>%' ";
}
}
if (ECommon.QuerySearchStaffsize != "")
{
string t = ECommon.QuerySearchStaffsize.StartsWith("_") ? ECommon.QuerySearchStaffsize.Substring(1, ECommon.QuerySearchStaffsize.Length - 1) : ECommon.QuerySearchStaffsize;
t = t.EndsWith("_") ? t.Substring(0, t.Length - 1) : t;
t = t.Replace("_", ",");
strWhere += " and staffsize in (" + t + ") ";
}
if (ECommon.QuerySearchKey != "")
{
strWhere += " and title like '%" + ECommon.QuerySearchKey + "%' ";
}
strWhere = strWhere != "" ? " and ( " + strWhere.Substring(4, strWhere.Length - 4) + " )" : "";
string orderType = "desc";
string orderKey = "hits";
switch (ECommon.QuerySearchSort.ToLower())
{
case "_t1":
orderType = "desc";
orderKey = "title";
sortTitle = "名称升序";
break;
case "_t2":
orderKey = "title";
orderType = "asc";
sortTitle = "名称排序";
break;
case "_d1":
orderKey = "lastedittime";
orderType = "desc";
sortDate = "由近到远";
break;
case "_d2":
orderKey = "lastedittime";
orderType = "asc";
sortDate = "由远到近";
break;
case "_h1":
orderKey = "hits";
orderType = "desc";
sortHot = "由高到低";
break;
case "_h2":
orderKey = "hits";
orderType = "asc";
sortHot = "由低到高";
break;
}
list = ECShop.GetWebShopList(ECommon.QueryPageIndex, AspNetPager1.PageSize, strWhere, orderKey, orderType, out tmpPageCount);
AspNetPager1.RecordCount = tmpPageCount;
AspNetPager1.EnableUrlRewriting = true;
AspNetPager1.UrlRewritePattern = string.Format(EnUrls.ShopListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, "{0}");
}
/// <summary>
/// AspNetPager1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::Wuqi.Webdiyer.AspNetPager AspNetPager1;
}
} | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/aspx/shoplist.aspx.cs | C# | oos | 6,337 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace TREC.Web.aspx
{
#region 类库引用
using TRECommon;
using TREC.ECommerce;
using TREC.Entity;
#endregion
public partial class companylist :WebPageBase
{
/// <summary>
/// 下一页连接
/// </summary>
public string NextUrl
{
get
{
if (ECommon.QueryPageIndex == AspNetPager1.PageCount)
{
return "#";
}
else
{
return string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex+1);
}
}
}
//上一页连接
public string PrvUrl
{
get
{
if (ECommon.QueryPageIndex==1)
{
return "#";
}
else
{
return string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex - 1);
}
}
}
public string sortTitle = "按 名 称";
public string sortDate = "按 时 间";
public string sortHot = "推荐厂家";
public List<EnWebCompany> list = new List<EnWebCompany>();
protected void Page_Load(object sender, EventArgs e)
{
pageTitle = "-品牌工厂";
string strWhere = "";
if (ECommon.QuerySearchBrand != "")
{
foreach (string s in ECommon.QuerySearchBrand.Substring(1,ECommon.QuerySearchBrand.Length-1).Split('_'))
{
strWhere += " and brandxml like '%<id>" + s + "</id>%' ";
}
}
if (ECommon.QuerySearchStyle != "")
{
foreach (string s in ECommon.QuerySearchStyle.Substring(1, ECommon.QuerySearchStyle.Length - 1).Split('_'))
{
strWhere += " and brandxml like '%<stylevalue>" + s + "</stylevalue>%' ";
}
}
if (ECommon.QuerySearchMaterial != "")
{
foreach (string s in ECommon.QuerySearchMaterial.Substring(1, ECommon.QuerySearchMaterial.Length - 1).Split('_'))
{
strWhere += " and brandxml like '%<materialvalue>" + s + "</materialvalue>%' ";
}
}
if (ECommon.QuerySearchSpread != "")
{
foreach (string s in ECommon.QuerySearchSpread.Substring(1, ECommon.QuerySearchSpread.Length - 1).Split('_'))
{
strWhere += " and brandxml like '%<spreadvalue>" + s + "</spreadvalue>%' ";
}
}
if (ECommon.QuerySearchStaffsize != "")
{
string t = ECommon.QuerySearchStaffsize.StartsWith("_") ? ECommon.QuerySearchStaffsize.Substring(1, ECommon.QuerySearchStaffsize.Length - 1) : ECommon.QuerySearchStaffsize;
t = t.EndsWith("_") ? t.Substring(0, t.Length - 1) : t;
t = t.Replace("_", ",");
strWhere += " and staffsize in (" + t + ") ";
}
if (ECommon.QuerySearchKey != "")
{
strWhere += " and title like '%" + ECommon.QuerySearchKey + "%' ";
}
strWhere = strWhere != "" ? " and ( " + strWhere.Substring(4, strWhere.Length - 4) + " )" : "";
string orderType = "desc";
string orderKey = "sort";
switch (ECommon.QuerySearchSort.ToLower())
{
case "_t1":
orderType = "desc";
orderKey = "title";
sortTitle = "名称升序";
break;
case "_t2":
orderKey = "title";
orderType = "asc";
sortTitle = "名称排序";
break;
case "_d1":
orderKey = "lastedittime";
orderType = "desc";
sortDate = "由近到远";
break;
case "_d2":
orderKey = "lastedittime";
orderType = "asc";
sortDate = "由远到近";
break;
case "_h1":
orderKey = "hits";
orderType = "desc";
sortHot = "由高到低";
break;
case "_h2":
orderKey = "hits";
orderType = "asc";
sortHot = "由低到高";
break;
}
list = ECCompany.GetWebCompanyList(ECommon.QueryPageIndex, AspNetPager1.PageSize, strWhere, orderKey, orderType, out tmpPageCount);
AspNetPager1.RecordCount = tmpPageCount;
AspNetPager1.EnableUrlRewriting = true;
AspNetPager1.UrlRewritePattern = string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, "{0}");
}
/// <summary>
/// AspNetPager1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::Wuqi.Webdiyer.AspNetPager AspNetPager1;
}
} | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/aspx/compnylist.aspx.cs | C# | oos | 6,376 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.shopbrandlist" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="System.Collections" %>
<%@ Register src="ascx/_resource.ascx" tagname="_resource" tagprefix="uc1" %>
<%@ Register src="ascx/_head.ascx" tagname="_head" tagprefix="uc2" %>
<%@ Register src="ascx/_foot.ascx" tagname="_foot" tagprefix="uc3" %>
<%@ Register src="ascx/_nav.ascx" tagname="_nav" tagprefix="uc4" %>
<%@ Register src="ascx/_brandletter.ascx" tagname="_brandletter" tagprefix="uc5" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=pageTitle %></title>
<uc1:_resource ID="_resource1" runat="server" />
</head>
<body>
<uc2:_head ID="_head1" runat="server" />
<uc4:_nav ID="_nav1" runat="server" />
<div class="topNav992 central">
<div class="productList1">
<div class="prlifl1">
<uc5:_brandletter ID="_brandletter1" runat="server" />
<div class="prlifl2">
<div class="prlifl20">
<div class="prli-selected"><span>您的搜索条件:</span>
<%foreach (EnSearchItem i in ECShop.GetSearchItem().FindAll(x=>x.isCur==true))
{ %>
<a href="<%=string.Format(EnUrls.ShopBrandListSearch, ECommon.QuerySearchBrand.Replace("_" + i.value, ""), ECommon.QuerySearchStyle.Replace("_" + i.value, ""), ECommon.QuerySearchMaterial.Replace("_" + i.value, ""), ECommon.QuerySearchSpread.Replace("_" + i.value, ""), ECommon.QuerySearchStaffsize.Replace("_" + i.value, ""), ECommon.QuerySearchSort.Replace("_" + i.value, ""), ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</div>
<dl class="prlifldl">
<dd>热门品牌:</dd>
<dt class="dt1">
<%int tmp = 0; foreach (EnSearchItem i in ECShop.GetSearchItem().FindAll(x => x.type == "brand" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.ShopBrandListSearch,ECommon.QuerySearchBrand+"_"+i.value,ECommon.QuerySearchStyle,ECommon.QuerySearchMaterial,ECommon.QuerySearchSpread,ECommon.QuerySearchStaffsize,ECommon.QuerySearchSort,ECommon.QuerySearchComposing,ECommon.QuerySearchKey,ECommon.QueryPageIndex) %>" <%=tmp > 26 ? "class=\"ahide\"" : "" %>><%=i.title%></a>
<%tmp++;
} %>
</dt>
<dt class="prWhole">
<a href="#">全部</a>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品风格:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECShop.GetSearchItem().FindAll(x => x.type == "style" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.ShopBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle + "_" + i.value, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品材质:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECShop.GetSearchItem().FindAll(x => x.type == "material" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.ShopBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial + "_" + i.value, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品价位:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECShop.GetSearchItem().FindAll(x => x.type == "spread" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.ShopBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread + "_" + i.value, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
</div>
</div>
<div class="productList12">
<div class="productList121">
<ul class="pr12-ti">
<li><a href="<%=EnUrls.ShopList %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","shoplist.aspx","","pr12-tia") %>">按经销商显示</a></li>
<li><a href="<%=EnUrls.ShopBrandList %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","shopbrandlist.aspx","","pr12-tia") %>">按品牌显示</a></li>
</ul>
<div class="pr12-fy"><a href="<%=NextUrl %>" class="xyy">下一页</a><span><%=ECommon.QueryPageIndex %>/<%=AspNetPager1.PageCount %></span><a href="<%=PrvUrl %>" style="float:right;"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/product_19.gif" /></a></div>
</div>
<div class="productList122"><span class="s1">快速分类</span>
<div class="pr_xl"><%=sortTitle%>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">品牌名称</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">名称降序</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t2","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">名称升序</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortDate %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">更新时间</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由近到远</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d2","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由远到近</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortHot %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">推荐厂家</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由高到低</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h2","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由低到高</a></li>
</ul>
</div>
<%--<label for="supportDIY"><input name="supprotDIY" id="supportDIY" type="checkbox" value="" /><s>支持定制</s></label>--%></div>
</div>
<div class="dealerLiM2"><strong>推荐卖场</strong> <a href="#">弗劳思丹</a> <a href="#">木之本</a> <a href="#">全友家私</a> <a href="#">玉庭家具</a> <a href="#">甘迪</a> <a href="#">斯曼克</a> <a href="#">卡瑞迪</a> <a href="#">锐驰</a> <a href="#">力排库斯</a> <a href="#">艾菲尔</a></div>
<%foreach (EnWebShopBrand b in list)
{ %>
<div class="dealerLiMc dealerLiMc1">
<div class="dealLiMc11 dealLiMc110">
<div class="demc-Mlo"><img src="<%=EnFilePath.GetBrandLogoPath(b.id.ToString(),b.logo) %>" width="105" height="38" /></div>
<ul class="demc-Mli">
<li><strong>品牌:</strong><%=b.title %></li>
<li><strong>风格:</strong><%=ECommon.GetConfigName(((int)EnumConfigModule.产品配置).ToString(), "3", b.style, ',', " ")%></li>
<li><strong>价位:</strong><%=ECommon.GetConfigName(((int)EnumConfigModule.产品配置).ToString(), "5", b.spread, ',', " ")%></li>
</ul>
</div>
<div class="dealLiMc12">
<div class="dealerLiMc12">
<ul>
<%foreach (EnWebShopBrand.BrandShop s in b.BrandShopList)
{ %>
<li>
<p class="dealLiMc1-litit c61f38"><a href="<%=string.Format(EnUrls.ShopInfoIndex,s.id) %>" target="_blank" ><%=s.title %></a><%--<img src="images/index_117.gif" width="88" height="18" />--%></p>
<p class="address"><%=ECommon.GetAreaName(s.areacode)+s.address %></p>
<p class="phone"><%=s.phone %></p>
</li>
<%} %>
</ul>
</div>
<div class="dealerLiMc13 c61f38">
<%foreach (EnWebShopBrand.BrnadPomotion p in b.BrandPomotionList)
{ %>
<%=p.title %><br />
<%} %>
<%if(b.BrandPomotionList.Count>0){ %>
<a href="#">更多促销信息查询》</a><%}else{ %>
暂无促销信息
<%} %>
</div>
</div>
<div class="productView">
<div class="br-gcs hd"><ul>
<li ><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoIndex,b.companyid) %>');" target="_blank">公司介绍</a></li>
<li ><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoBrand,b.companyid,b.id) %>');" target="_blank">品牌介绍</a></li>
<li ><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoProduct,b.companyid) %>');" target="_blank">品牌产品</a></li>
<li ><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoAddress,b.companyid) %>');" target="_blank">展厅地址</a></li>
</ul>
</div>
</div>
</div>
<%} %>
<webdiyer:aspnetpager ID="AspNetPager1" runat="server" AlwaysShow="true"
CurrentPageButtonClass="cpb" CssClass="pager"
UrlPaging="true" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
PrevPageText="上一页">
</webdiyer:aspnetpager>
<div class="clear" style="display:block; float:left; width:100%; height:6px; clear:both"></div>
</div>
</div>
<div class="productList2">
<div class="brandgz1 brandst">推荐品牌</div>
<div class="brandsUl">
<ul>
<%foreach (EnWebAggregation a in ECommon.GetShopListTopBrand())
{ %>
<li><a href="<%=a.url %>"><img src="<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>" width="<%=a.thumbw %>" height="<%=a.thumbh %>" title="<%=a.title %>" /></a></li>
<%} %>
</ul>
</div>
<div class="promotionsR2"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_62.jpg" /></div>
<div class="promotionsR1" style="margin-top:8px;">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.PromotionList) %>" target="_blank">更多</a></span>促销信息</div>
<div class="prAd1"><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=14"></script><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=15"></script></div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToCompanyList(4))%>
</div>
</div>
</div>
<uc3:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/shopbrandlist.aspx | ASP.NET | oos | 14,139 |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="productinfo.aspx.cs" Inherits="TREC.Web.aspx.productinfo" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Register src="ascx/_head.ascx" tagname="_head" tagprefix="uc1" %>
<%@ Register src="ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="ascx/_foot.ascx" tagname="_foot" tagprefix="uc3" %>
<%@ Register src="ascx/_nav.ascx" tagname="_nav" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl%>/script/jquery.validate.min.js"></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl%>/script/additional-methods.js"></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl%>/script/messages_cn.js"></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl%>/script/jquery.form.js"></script>
</head>
<body>
<uc1:_head ID="_head1" runat="server" />
<uc4:_nav ID="_nav1" runat="server" />
<div class="topNav992 central">
<div class="productDe">
<div class="productDe1"><img src="<%=EnFilePath.GetBrandLogoPath(productInfo.brandid.ToString(),productInfo.brandlogo) %>" width="105" height="38" /><font><%=productInfo.brandtitle %> <%=productInfo.stylename %> <%=productInfo.categorytitle %>(<%=productInfo.sku %>)</font> <%=productInfo.materialname %></div>
<div class="productDe2"><img src="<%=EnFilePath.GetProductThumbPath(productInfo.id.ToString(),productInfo.thumb) %>" width="549" height="412" /></div>
<div class="productDe3">
<div class="pr-de"><span>厂家指导价格:<font id="price">¥<%=productInfo.ProductAttributeInfo.markprice %></font></span></div>
<div class="pr-de">
<dl><dd>厂商:</dd><dt><strong><%=productInfo.companyname %></strong></dt></dl>
<dl><dd>品牌:</dd><dt><span class="prbj1"><strong><%=productInfo.brandtitle %></strong></span></dt></dl>
<dl><dd>风格:</dd><dt><strong><%=productInfo.stylename %></strong></dt></dl>
<dl><dd>材质:</dd><dt><select name="pmat" id="pmat" style="width:208px; height:25px;" onchange="getProductPrice('14803','pmat','psize','m')">
<%foreach (object s in productInfo.HtMaterial.Keys)
{ %>
<option><%=s.ToString() %></option>
<%} %>
</select>
</dt></dl>
<dl><dd>尺寸:</dd><dt>
<select name="psize" id="psize" style="width:208px; height:25px;" onchange="getProductPrice('14803','pmat','psize','m')">
<%foreach (object s in productInfo.HtSize.Keys)
{ %>
<option><%=s.ToString() %></option>
<%} %>
</select>
</dt></dl>
</div>
<script type="text/javascript">
function getProductPrice(p, m, s, t) {
$.ajax({
url: '<%=TREC.ECommerce.ECommon.WebUrl %>/ajax/ajaxproduct.ashx',
data: 'type=getproductprice&v=' + p + '&v2=' + $("#" + m).val() + '&v3=' + $("#" + s).val(),
success: function (data) {
if (data != "0") {
$("#price").text(data);
}
else {
$("#price").text("无此组合!");
}
}
});
}
</script>
<div class="pr-quote">
<%if (productInfo.ProductShopList.Count == 0)
{ %>
<img src="<%=ECommon.WebResourceUrlToWeb %>/images/noproductshop.jpg" />
<%}
else
{ %>
<div class="pr-quote1"><h4><%=productInfo.ProductShopInfo.title%></h4>
<p class="address"><%=ECommon.GetAreaName(productInfo.ProductShopInfo.areacode)%><%=productInfo.ProductShopInfo.address%></p>
<p class="phone"><%=productInfo.ProductShopInfo.phone%></p>
</div>
<%--<div class="pr-quote2">请来电咨询</br>本店售价<%--<span>4564元</span></div>--%>
<%} %>
</div>
<div class="pr-promotion">
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=16"></script>
</div>
</div>
</div>
<div class="productPa">
<ul class="productDetails"><li onmouseover="setTab('one',1,2)" id="one1" class="hover" >商品详细介绍</li><li onmouseover="setTab('one',2,8)" id="one2">其他展厅及报价</li></ul>
<div id="con_one_1"><div class="productPa1">
<div style="overflow:scroll; overflow-x:hidden; overflow-y:auto;">
<p>风格特点<br />
<%=m1 != null && m1.con != "" ? m1.con : "暂无描述" %>
</p>
<p> </p>
<p><br />
</p>
<p>产品细节<br />
<%=m2 != null && m2.con != "" ? m2.con : "暂无描述" %>
</p>
<p> </p>
<p><br />
</p>
<p>材质工艺<br />
<%=m3 != null && m3.con != "" ? m3.con : "暂无描述" %>
</p>
<p> </p>
<p><br />
</p>
<p>保养说明<br />
<%=m4 != null && m5.con != "" ? m5.con : "暂无描述" %>
</p>
<p> </p>
<p><br />
</p>
<%--<p>配送周期<br />
<%=m5 != null && m5.con != "" ? m5.con : "暂无描述" %>
</p>--%>
<p> </p>
</div>
</div>
<%foreach (EnWebProduct p1 in ECProduct.GetWebProductList(1, 2, " and (brandid=" + productInfo.brandid + " and categoryid=" + productInfo.categoryid + ")", "", "", out tmpPageCount))
{ %>
<div class="productPa2"><p><a href="<%=string.Format(EnUrls.ProductInfo,p1.id) %>" target="_blank"><img src="<%=EnFilePath.GetProductThumbPath(p1.id.ToString(),p1.thumb) %>" width="230" height="173" /></a></p>
<p class="titlepro"><a href="<%=string.Format(EnUrls.ProductInfo,p1.id) %>" target="_blank"><%=p1.HtmlProductName %></a></p>
<p>品牌:<span><%=p1.brandtitle %></span>价位:<span><%=p1.spreadname %></span>风格:<span><%=p1.stylename %></span></p></div>
<%} %>
</div>
<div id="con_one_2" style="display:none">
<%if (productInfo.shopMapapi != "" || productInfo.ProductShopList.Count!=0)
{ %>
<div class="productMap" id="maps"></div>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.2"></script>
<script type="text/javascript">
var map = new BMap.Map("maps");
var point;
var mapslist = "<%=productInfo.shopMapapi %>".split("|");
point = new BMap.Point(116.404, 39.915);
map.centerAndZoom(point, 6);
map.addControl(new BMap.NavigationControl());
// 编写自定义函数,创建标注
function addMarker(point) {
var marker = new BMap.Marker(point);
map.addOverlay(marker);
}
// 编写自定义函数,创建标注
function addMarker(point) {
var marker = new BMap.Marker(point);
map.addOverlay(marker);
}
// 随机向地图添加25个标注
var bounds = map.getBounds();
var sw = bounds.getSouthWest();
var ne = bounds.getNorthEast();
var lngSpan = Math.abs(sw.lng - ne.lng);
var latSpan = Math.abs(ne.lat - sw.lat);
for (var i = 0; i < mapslist.length; i++) {
var t = mapslist[i].split(",");
var point = new BMap.Point(t[0], t[1]);
addMarker(point);
}
</script>
<div class="productMap1">
<div class="productFilter">销售店铺</div>
<%foreach (ProductShop ps in productInfo.ProductShopList)
{ %>
<div class="pr-quote productDetails1">
<div class="pr-quote1">
<h4><%=ps.title %> <%--<img src="images/index_117.gif" width="88" height="18" />--%></h4>
<p class="address"><%=ECommon.GetAreaName(ps.areacode)+ps.address %></p>
<p class="phone"><%=ps.phone %></p>
</div>
<%--<div class="pr-quote2">请来电咨询<br>本店售价</span>--%>
</div>
</div>
<%} %>
</div>
<%}
else
{ %>
<div class="productMap" style=" width:991px; height:313px;"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/noproductmap.jpg" style="width:991px" /></div>
<%} %>
<div></div>
</div>
<div style="height:10px; float:left; width:100%; clear:both"></div>
<%if (productInfo.bannel!=null && productInfo.bannel.Length > 0)
{ %>
<%foreach (string s in productInfo.bannel.Split(','))
{
if (s != "")
{%>
<div class="productPaimg">
<p> </p>
<p width="987" height="495"><img src="<%=EnFilePath.GetProductBannerPath(productInfo.id.ToString(),s) %>" /></p>
<p>(<%=productInfo.sku%>)</p>
</div>
<%}
} %>
<%} %>
<div style="height:10px; float:left; width:100%; clear:both"></div>
</div>
</div>
<uc3:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/productinfo.aspx | ASP.NET | oos | 10,042 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.shop.product" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_shopnav.ascx" tagname="_shopnav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<%@ Register src="../ascx/_shopproduct.ascx" tagname="_shopproduct" tagprefix="uc5" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_taobao2010', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 767, //设置图片区域宽度(像素)
height: 331, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_shopnav ID="_shopnav1" runat="server" />
<div class="homebrandsc">
<div class="topNav992">
<div class="homebraLift">
<div class="homebraLi2" style="margin-top:0;">
<div class="productList12">
<div class="productList121">
<ul class="pr12-ti">
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pcategory","","","pr12-tia") %>" href="<%=string.Format(EnUrls.ShopInfoProductList, ECommon.QuerySId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, "", ECommon.QuerySearchCategory) %>">所有产品</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pcategory","7","","pr12-tia") %>" href="<%=string.Format(EnUrls.ShopInfoProductList, ECommon.QuerySId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, "7", ECommon.QuerySearchCategory) %>" >卧室系列</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pcategory","9","","pr12-tia") %>" href="<%=string.Format(EnUrls.ShopInfoProductList, ECommon.QuerySId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, "9", ECommon.QuerySearchCategory) %>">客厅系列</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pcategory","10","","pr12-tia") %>" href="<%=string.Format(EnUrls.ShopInfoProductList, ECommon.QuerySId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, "10", ECommon.QuerySearchCategory) %>">餐厅系列</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pcategory","11","","pr12-tia") %>" href="<%=string.Format(EnUrls.ShopInfoProductList, ECommon.QuerySId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, "11", ECommon.QuerySearchCategory) %>">书房系列</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pcategory","12","","pr12-tia") %>" href="<%=string.Format(EnUrls.ShopInfoProductList, ECommon.QuerySId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, "12", ECommon.QuerySearchCategory) %>">儿童系列</a></li>
</ul>
<div class="pr12-fy"><a href="<%=NextUrl %>" class="xyy">下一页</a><span><%=ECommon.QueryPageIndex %>/<%=AspNetPager1.PageCount %></span><a href="<%=PrvUrl %>" style="float:right;"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/product_19.gif" /></a></div>
</div>
<div class="productList122"><span class="s1">快速分类</span>
<div class="pr_xl"><%=sortTitle%>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopInfoProductList, ECommon.QuerySId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">产品名称</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopInfoProductList, ECommon.QuerySId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">名称降序</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t2","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopInfoProductList, ECommon.QuerySId,ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">名称升序</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortDate %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopInfoProductList, ECommon.QuerySId,ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">更新时间</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopInfoProductList, ECommon.QuerySId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">由近到远</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d2","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopInfoProductList, ECommon.QuerySId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">由远到近</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortHot %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopInfoProductList, ECommon.QuerySId,ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">推荐产品</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopInfoProductList, ECommon.QuerySId,ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">由高到低</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h2","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopInfoProductList, ECommon.QuerySId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">由低到高</a></li>
</ul>
</div>
<%--<label for="supportDIY"><input name="supprotDIY" id="supportDIY" type="checkbox" value="" /><s>支持定制</s></label>--%></div>
</div>
<div class="productLi_w">
<%foreach (EnWebProduct p in list)
{ %>
<div class="productPa2 productLit"><%=string.Format(EnUrls.ProductInfo,p.id) %>
<p><a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><img src="<%=EnFilePath.GetProductThumbPath(p.id.ToString(),p.thumb) %>" width="230" height="173" /></a></p>
<p class="titlepro"><a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><%=p.HtmlProductName %></a></p>
<p>品牌:<span><a href="#"><%=p.brandstitle %></a></span>价位:<span><a href="#"><%=p.spreadname%></a></span>风格:<span><a href="#"><%=p.stylename %></a></span></p>
<div class="proList">电话咨询价格,请说来自福家网</div>
</div>
<%} %>
</div>
<div style=" clear:both; height:10px; width:100%; float:left"></div>
<webdiyer:aspnetpager ID="AspNetPager1" runat="server" AlwaysShow="true"
CurrentPageButtonClass="cpb" CssClass="pager"
UrlPaging="true" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PageSize="15"
PrevPageText="上一页">
</webdiyer:aspnetpager>
</div>
</div>
<div class="homebraRight">
<uc5:_shopproduct ID="_shopproduct1" runat="server" />
<div class="homebraRight1 shopindex2">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.ShopInfoAddress,shopInfo.id) %>" target="_blank">更多</a></span>联系方式</div>
<div class="homebraRight21 c61f38">
<%--<p>所在卖场:<a href="#">建配龙</a></p>--%>
<p>名称:<strong><%=shopInfo.title %></strong><br />
经销品牌:<a href="#"><%=shopInfo.BrandName.Replace(",","") %></a></p>
<p>展厅地址:<%=ECommon.GetAreaName(shopInfo.areacode)+shopInfo.address %></p>
<p> 联系电话:<%=shopInfo.phone %></p>
<p> </p>
<div style="width:200px; height:282px; margin-left:5px; border:1px solid gray" id="maps"></div>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.2"></script>
<script type="text/javascript">
var map = new BMap.Map("maps");
map.centerAndZoom(new BMap.Point(116.404, 39.915), 11);
var local = new BMap.LocalSearch(map, {
renderOptions: { map: map }
});
local.search("<%=ECommon.GetAreaName(shopInfo.areacode)+shopInfo.address %>");
</script>
</div>
</div>
<div class="homebraRight1 homebraRight3">
<div class="promotions"><span><a href="#">更多</a></span>促销信息</div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToShop(3,shopInfo.id)) %>
</div>
</div>
</div>
</div>
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/shop/product.aspx | ASP.NET | oos | 13,112 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.shop.promotion" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_shopnav.ascx" tagname="_shopnav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<%@ Register src="../ascx/_shopproduct.ascx" tagname="_shopproduct" tagprefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_taobao2010', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 767, //设置图片区域宽度(像素)
height: 331, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_shopnav ID="_shopnav1" runat="server" />
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/shop/promotion.aspx | ASP.NET | oos | 1,622 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.shop.address" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_shopnav.ascx" tagname="_shopnav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<%@ Register src="../ascx/_shopproduct.ascx" tagname="_shopproduct" tagprefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_taobao2010', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 767, //设置图片区域宽度(像素)
height: 331, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_shopnav ID="_shopnav1" runat="server" />
<div class="homebrandsc">
<div class="topNav992">
<div class="homebraLift">
<div class="homebraLi2" style="margin-top:0;">
<div class="brandsDealer-map" id="maps"></div>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.2"></script>
<script type="text/javascript">
var map = new BMap.Map("maps");
map.centerAndZoom(new BMap.Point(116.404, 39.915), 11);
var local = new BMap.LocalSearch(map, {
renderOptions: { map: map }
});
local.search("<%=ECommon.GetAreaName(shopInfo.areacode)+shopInfo.address %>");
</script>
<div class="braAbout c61f38">
<div class="braabtitle">联系方式</div>
<div class="braAboutlx">
<%if (shopInfo.marketid != null && shopInfo.marketid != 0)
{ %>
所在卖场:<a href="#"><%=shopInfo.marketname %></a><br />
<%} %>
名称:<strong><%=shopInfo.title %></strong><br />
经销品牌:<a href="#"><%=shopInfo.BrandName.Replace(",","") %></a><br />
展厅地址:<%=shopInfo.address %><br />
联系电话:<%=shopInfo.phone %><br />
联系人:<%=shopInfo.linkman %>
</div>
</div>
</div>
</div>
<div class="homebraRight">
<uc5:_shopproduct ID="_shopproduct1" runat="server" />
<div class="homebraRight1 homebraRight3">
<div class="promotions"><span><a href="#">更多</a></span>促销信息</div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToShop(3,shopInfo.id)) %>
</div>
</div>
</div>
</div>
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/shop/address.aspx | ASP.NET | oos | 3,411 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.shop.index" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_shopnav.ascx" tagname="_shopnav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<%@ Register src="../ascx/_shopproduct.ascx" tagname="_shopproduct" tagprefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_games_tb', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 300, //设置图片区域宽度(像素)
height: 225, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_shopnav ID="_shopnav1" runat="server" />
<div class="homebrandsc">
<div class="topNav992">
<div class="homebraLift">
<div class="shopindex1">
<div class="shopindex11" id="">
<div id="fjwcontainer" class="" >
<ul class="pic">
<%if (!string.IsNullOrEmpty(shopInfo.bannel))
{ %>
<%foreach (string s in shopInfo.bannel.Split(','))
{ %>
<%if (s != "")
{ %>
<li><a href="#" target="_blank"><img width="300" height="255" src="<%=EnFilePath.GetShopBannerPath(shopInfo.id.ToString(), s)%>" alt="<%=shopInfo.title %>" /></a></li>
<%}%>
<%} %>
<%}else{%><li><a href="#" target="_blank"><img width="300" height="255" src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/noshop.jpg" alt="<%=shopInfo.title %>" /></a></li> <%}%>
</ul>
</div>
</div>
<div class="shopindex12">
<ul>
<%int t=1;foreach(EnWebPromotion pm in ECPromotion.GetWebTopPromotionListToShop(11,shopInfo.id)){ %>
<%if(t==1){ %> <li class="sho1"><span><%=DateTime.Parse(pm.startdatetime.ToString()).ToShortDateString()%></span><a href="<%=string.Format(EnUrls.PromotionInfo,pm.id) %>" target="_blank"><%=pm.title %></a></li><%}else{ %>
<li><span><%=DateTime.Parse(pm.startdatetime.ToString()).ToShortDateString()%></span><a href="<%=string.Format(EnUrls.PromotionInfo,pm.id) %>" target="_blank"><%=pm.title %></a></li>
<%} %>
<%t++;} %>
<%if (t == 1)
{ %><li class="sho1"><span></span><a href="javascript:;" target="_blank">暂无优惠活动</a></li><%} %>
</ul>
</div>
</div>
<div class="homebraLi2">
<div class="homebraLi21"> <span class="spana1"><a href="#">更多</a></span> <strong>推荐产品</strong> </div>
<%foreach (EnWebProduct p in ECProduct.GetWebProductList(1, 12, " and brandid in(" + shopInfo.BrandIdList + ") and brandid!=0", "hits", "desc", out tmpPageCount))
{ %>
<div class="productPa2 productLit">
<p><a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><img src="<%=EnFilePath.GetProductThumbPath(p.id.ToString(),p.thumb) %>" width="230" height="173" /></a></p>
<p class="titlepro"><a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><%=p.HtmlProductName %></a></p>
<p>品牌:<span><a href="#"><%=p.brandstitle %></a></span>价位:<span><a href="#"><%=p.spreadname%></a></span>风格:<span><a href="#"><%=p.stylename %></a></span></p>
<div class="proList">电话咨询价格,请说来自福家网</div>
</div>
<%} %>
<div class="homebraLi23"><a href="<%=string.Format(EnUrls.ShopInfoProduct,shopInfo.id) %>">查看所有产品</a></div>
</div>
</div>
<div class="homebraRight">
<uc5:_shopproduct ID="_shopproduct1" runat="server" />
<div class="homebraRight1 shopindex2">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.ShopInfoAddress,shopInfo.id) %>" target="_blank">更多</a></span>联系方式</div>
<div class="homebraRight21 c61f38">
<%--<p>所在卖场:<a href="#">建配龙</a></p>--%>
<p>名称:<strong><%=shopInfo.title %></strong><br />
经销品牌:<a href="#"><%=shopInfo.BrandName.Replace(",","") %></a></p>
<p>展厅地址:<%=ECommon.GetAreaName(shopInfo.areacode)+shopInfo.address %></p>
<p> 联系电话:<%=shopInfo.phone %></p>
<p> </p>
<div style="width:200px; height:282px; margin-left:5px; border:1px solid gray" id="maps"></div>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.2"></script>
<script type="text/javascript">
var map = new BMap.Map("maps");
map.centerAndZoom(new BMap.Point(116.404, 39.915), 11);
var local = new BMap.LocalSearch(map, {
renderOptions: { map: map }
});
local.search("<%=ECommon.GetAreaName(shopInfo.areacode)+shopInfo.address %>");
</script>
</div>
</div>
</div>
</div>
</div>
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/shop/index.aspx | ASP.NET | oos | 6,194 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.shop.index2" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc1" %>
<%@ Register src="../ascx/_head.ascx" tagname="_head" tagprefix="uc2" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc3" %>
<%@ Register src="../ascx/_nav.ascx" tagname="_nav" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc1:_resource ID="_resource1" runat="server" />
</head>
<body>
<uc2:_head ID="_head1" runat="server" />
<uc4:_nav ID="_nav1" runat="server" />
<div class="topNav992">
<div class="nullInfo">
<div class="nullText">
<div class="nullTextTitle"> <%=shopInfo.title%></div>
<table class="c" cellpadding="0" cellspacing="0">
<tr>
<td style=" line-height:25px; height:25px;"> </td>
</tr>
<tr>
<td><span class="i">该店铺的信息不完整</span></td>
</tr>
<tr>
<td>获得更多商业机会,建议升级会员级别</td>
</tr>
<tr>
<td>咨询电话:400-6066-818</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</div>
<div class="nullError">
<p class="p1">对不起,您目前访问的厂家暂有部分信息不全。<br>我们将尽快完善本卖场信息资料。</p>
<p class="p2">如需咨询,请拨打客服热线400-6066-818</p>
<p class="p3">您也可以去其它地方逛逛: <a href="/">卖场首页</a> | <a href="/">品牌首页 </a></p>
</div>
</div>
</div>
<uc3:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/shop/index2.aspx | ASP.NET | oos | 2,160 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.companylist" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="System.Collections" %>
<%@ Register src="ascx/_resource.ascx" tagname="_resource" tagprefix="uc1" %>
<%@ Register src="ascx/_head.ascx" tagname="_head" tagprefix="uc2" %>
<%@ Register src="ascx/_foot.ascx" tagname="_foot" tagprefix="uc3" %>
<%@ Register src="ascx/_nav.ascx" tagname="_nav" tagprefix="uc4" %>
<%@ Register src="ascx/_brandletter.ascx" tagname="_brandletter" tagprefix="uc5" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=pageTitle %></title>
<uc1:_resource ID="_resource1" runat="server" />
</head>
<body>
<uc2:_head ID="_head1" runat="server" />
<uc4:_nav ID="_nav1" runat="server" />
<div class="topNav992 central">
<div class="productList1">
<uc5:_brandletter ID="_brandletter1" runat="server" />
<div class="prlifl2">
<div class="prlifl20">
<div class="prli-selected"><span>您的搜索条件:</span>
<%foreach (EnSearchItem i in ECCompany.GetSearchItem().FindAll(x=>x.isCur==true))
{ %>
<a href="<%=string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand.Replace("_" + i.value, ""), ECommon.QuerySearchStyle.Replace("_" + i.value, ""), ECommon.QuerySearchMaterial.Replace("_" + i.value, ""), ECommon.QuerySearchSpread.Replace("_" + i.value, ""), ECommon.QuerySearchStaffsize.Replace("_" + i.value, ""), ECommon.QuerySearchSort.Replace("_" + i.value, ""), ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</div>
<dl class="prlifldl">
<dd>热门品牌:</dd>
<dt class="dt1">
<%int tmp = 0; foreach (EnSearchItem i in ECCompany.GetSearchItem().FindAll(x => x.type == "brand" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.CompanyListSearch,ECommon.QuerySearchBrand+"_"+i.value,ECommon.QuerySearchStyle,ECommon.QuerySearchMaterial,ECommon.QuerySearchSpread,ECommon.QuerySearchStaffsize,ECommon.QuerySearchSort,ECommon.QuerySearchComposing,ECommon.QuerySearchKey,ECommon.QueryPageIndex) %>" <%=tmp > 26 ? "class=\"ahide\"" : "" %>><%=i.title%></a>
<% tmp++;
} %>
</dt>
<dt class="prWhole">
<a href="#">全部</a>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品风格:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECCompany.GetSearchItem().FindAll(x => x.type == "style" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle + "_" + i.value, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品材质:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECCompany.GetSearchItem().FindAll(x => x.type == "material" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial + "_" + i.value, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品价位:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECCompany.GetSearchItem().FindAll(x => x.type == "spread" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread + "_" + i.value, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<dl class="prlifldl">
<dd>工厂规模:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECCompany.GetSearchItem().FindAll(x => x.type == "staffsize" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize + "_" + i.value, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
</div>
</div>
<div class="productList12">
<div class="productList121">
<ul class="pr12-ti">
<li><a href="<%=EnUrls.CompanyList %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","companylist.aspx","","pr12-tia") %>">按工厂显示</a></li>
<li><a href="<%=EnUrls.CompanyBrandList %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","companybrandlist.aspx","","pr12-tia") %>">按品牌显示</a></li>
</ul>
<div class="pr12-fy"><a href="<%=NextUrl %>" class="xyy">下一页</a><span><%=ECommon.QueryPageIndex %>/<%=AspNetPager1.PageCount %></span><a href="<%=PrvUrl %>" style="float:right;"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/product_19.gif" /></a></div>
</div>
<div class="productList122"><span class="s1">快速分类</span>
<div class="pr_xl"><%=sortTitle%>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">厂家名称</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">名称降序</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t2","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">名称升序</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortDate %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">更新时间</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由近到远</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d2","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由远到近</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortHot %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">推荐厂家</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由高到低</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h2","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由低到高</a></li>
</ul>
</div>
<%--<label for="supportDIY"><input name="supprotDIY" id="supportDIY" type="checkbox" value="" /><s>支持定制</s></label>--%></div>
</div>
<%foreach (EnWebCompany c in list)
{ %>
<div class="brandsgc">
<div class="brandsgc0">
<div class="brandsgc01"><a href="<%=string.Format(EnUrls.CompanyInfoIndex,c.id) %>" target="_blank"><img class="scrollLoading" src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/common/white.gif" data-url="<%=EnFilePath.GetCompanyThumbPath(c.id.ToString(),c.thumb) %>" width="141" height="106" /></a></div>
<div class="brandsgc02">
<h3><a href="<%=string.Format(EnUrls.CompanyInfoIndex,c.id) %>" target="_blank"><%=c.title %></a></h3>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><strong>旗下品牌:</strong><%=c.BrandName.Replace(",", " ") %></td>
<td><strong>工厂规模:</strong><%=ECommon.GetConfigName(((int)EnumConfigModule.工厂配置).ToString(), "2", c.staffsize.ToString(), ',', " ")%></td>
</tr>
<tr>
<td><strong>产品风格:</strong><%=ECommon.GetConfigName(((int)EnumConfigModule.产品配置).ToString(), "3", c.StyleName, ',', " ")%></td>
<td><strong>产品价位:</strong><%=ECommon.GetConfigName(((int)EnumConfigModule.产品配置).ToString(), "5", c.SpreadName, ',', " ")%></td>
<td> </td>
</tr>
</table>
<div><%=c.descript != null && TRECommon.HTMLUtils.GetAllTextFromHTML(c.descript).Length > 100 ? TRECommon.HTMLUtils.GetAllTextFromHTML(c.descript).Substring(0, 99) : TRECommon.HTMLUtils.GetAllTextFromHTML(c.descript)%></div>
<p>地址:<font><%=ECommon.GetAreaName(c.areacode) %><%=c.address %></font></p>
</div>
<div class="brandsgc03">
<%foreach (CompanyBrand b in c.CompanyBrandList)
{ %>
<a href="<%=string.Format(EnUrls.CompanyInfoBrand,c.id,b.id) %>" target="_blank"><img class="scrollLoading" src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/common/white.gif" data-url="<%=EnFilePath.GetBrandLogoPath(b.id,b.thumb) %>" width="105" height="38" /></a>
<%} %>
</div>
</div>
<div class="productView">
<div class="br-gcs hd">
<ul>
<li ><a href="#" >公司介绍</a></li>
<li ><a href="#" >展厅地址</a></li>
<li ><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoProduct,c.id) %>');" target="_parent" >产品展示</a></li>
</ul>
</div>
<div class="br-jj bd">
<div class="item" >
<p class="p1">品牌厂家介绍:</p>
<p>
<%=c.descript == null || TRECommon.HTMLUtils.GetAllTextFromHTML(c.descript).Length == 0 ? "暂无介绍" : TRECommon.HTMLUtils.GetAllTextFromHTML(c.descript) %>
</p>
</div>
<div class="item" >
<p class="p1"><a href="#" class="br-gcsa">经销商</a></p>
<ul class="braAboutjli">
<%if(c.CompanyShopList==null || c.CompanyShopList.Count==0){ %>
<li>暂无经销商</li>
<%} %>
<%foreach (CompanyShop s in c.CompanyShopList)
{ %>
<li>
<p class="haui"><a href="<%=string.Format(EnUrls.ShopInfoIndex,s.id) %>" target="_blank" style="color:#b1051b;"><%=s.title %> <img class="scrollLoading" src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/common/white.gif" data-url="<%=EnFilePath.GetShopThumbPath(s.id.ToString(),s.thumb) %>" width="170px" height="130px" /></a></p>
<p class="address">长逸路15号建配龙6楼</p>
<p class="phone">王丽君 13269291819</p>
</li>
<%} %>
</ul>
</div>
</div>
</div>
</div>
<%} %>
<webdiyer:aspnetpager ID="AspNetPager1" runat="server" AlwaysShow="true"
CurrentPageButtonClass="cpb" CssClass="pager"
UrlPaging="true" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
PrevPageText="上一页">
</webdiyer:aspnetpager>
</div>
<div class="productList2">
<div class="brandgz1 brandst">推荐品牌</div>
<div class="brandsUl">
<ul>
<%foreach (EnWebAggregation a in ECommon.GetCompanyListTopBrand())
{ %>
<li><a href="<%=a.url %>"><img src="<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>" width="<%=a.thumbw %>" height="<%=a.thumbh %>" title="<%=a.title %>" /></a></li>
<%} %>
</ul>
</div>
<div class="promotionsR2"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_62.jpg" /></div>
<div class="promotionsR1" style="margin-top:8px;">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.PromotionList) %>" target="_blank">更多</a></span>促销信息</div>
<div class="prAd1"><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=14"></script><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=15"></script></div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToCompanyList(4))%>
</div>
</div>
</div>
<uc3:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/companylist.aspx | ASP.NET | oos | 15,750 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.company.about" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_companynav.ascx" tagname="_companynav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<%@ Register src="../ascx/_companyproduct.ascx" tagname="_companyproduct" tagprefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_taobao2010', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 767, //设置图片区域宽度(像素)
height: 331, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_companynav ID="_companynav1" runat="server" />
<div class="homebrandsc">
<div class="topNav992">
<div class="homebraLift">
<div class="homebraLi2" style="margin-top:0;">
<div class="braAbout">
<div class="braabtitle"><%=companyInfo.title %>-简介</div>
<div class="homebraLi22">
<div style="float:left; margin-right:15px;"><img src="<%=EnFilePath.GetCompanyThumbPath(companyInfo.id.ToString(),companyInfo.thumb) %>" width="141" height="106" /></div>
<div class="homebraLi221">
<%=companyInfo.descript %>
</div>
</div>
</div>
<div class="braAbout">
<div class="braabtitle"><span class="spana1"><a href="#">查看详细介绍</a></span>旗下品脾</div>
<%foreach(CompanyBrand b in companyInfo.CompanyBrandList){ %>
<div class="braAbout1">
<div class="braAbout10">
<div class="braAbout11">
<div class="braAbout111"><img src="<%=EnFilePath.GetBrandLogoPath(b.id.ToString(),b.thumb) %>" width="105" height="38" /></div>
<div class="braAbout112"><%=b.descript %></div>
</div>
<ul class="braAbout12">
<%foreach(EnWebProduct p in ECProduct.GetWebProductList(1,4," and brandid="+b.id,"","",out tmpPageCount)){ %>
<li>
<p><a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><img src="<%=EnFilePath.GetProductThumbPath(p.id.ToString(),p.thumb) %>" width="175" height="131" /></a></p>
<p><strong><a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><%=p.categorytitle %>(<%=p.sku %>)</a></strong></p>
</li>
<%} %>
</ul>
<div class="productView" >
<div class="br-gcs hd">
<ul>
<li><a href="#">品牌介绍</a></li>
<li ><a href="#">经销商</a></li>
<li ><a href="#"> 促销信息</a></li>
</ul>
</div>
</div>
</div>
</div>
<%} %>
</div>
<div class="braAbout" style="display:none">
<div class="braabtitle"><span class="spana1"><a href="#">查看所有证书</a></span>认证证书</div>
<div class="braAboutzs" id="braAboutzs">
<ul>
<li><a href="images/brands_04.jpg"><img src="images/brands_04.jpg" width="88" height="121" /></a></li>
<li><a href="images/brands_04.jpg"><img src="images/brands_04.jpg" width="88" height="121" /></a></li>
<li><a href="images/brands_04.jpg"><img src="images/brands_04.jpg" width="88" height="121" /></a></li>
<li><a href="images/brands_04.jpg"><img src="images/brands_04.jpg" width="88" height="121" /></a></li>
</ul>
</div>
</div>
<div class="braAbout">
<div class="braabtitle">联系方式</div>
<div class="braAboutlx">
<div style="float:right; width:245px; height:199px; border:1px solid gray" id="maps"></div>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.2"></script>
<script type="text/javascript">
var map = new BMap.Map("maps");
map.centerAndZoom(new BMap.Point(116.404, 39.915), 11);
var local = new BMap.LocalSearch(map, {
renderOptions: { map: map }
});
local.search("<%=ECommon.GetAreaName(companyInfo.areacode)+companyInfo.address %>");
</script>
联系人: <%=companyInfo.title %> <br />
电话: <%=companyInfo.phone %> <br />
传真: <%=companyInfo.fax %> <br />
地址: <%=ECommon.GetAreaName(companyInfo.areacode)+companyInfo.address %><br />
公司主页:<a href="<%=companyInfo.homepage %>" style="color:#a61329;"><%=companyInfo.homepage %></a></div>
</div>
</div>
</div>
<div class="homebraRight">
<uc5:_companyproduct ID="_companyproduct1" runat="server" />
<div class="homebraRight1 homebraRight2">
<div class="promotions"><span><a href="#">更多</a></span>联系方式</div>
<div class="homebraRight21">联系人: <%=companyInfo.linkman %><br />
电话: <%=companyInfo.phone %><br />
传真: <%=companyInfo.fax %><br />
地址: <%=companyInfo.address %></div>
</div>
<div class="homebraRight1 homebraRight3">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.PromotionList) %>">更多</a></span>促销信息</div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToCompany(3, companyInfo.id))%>
</div>
</div>
</div>
</div>
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/company/about.aspx | ASP.NET | oos | 6,625 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.company.credit" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_companynav.ascx" tagname="_companynav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<%@ Register src="../ascx/_companyproduct.ascx" tagname="_companyproduct" tagprefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_taobao2010', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 767, //设置图片区域宽度(像素)
height: 331, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_companynav ID="_companynav1" runat="server" />
<div class="homebrandsc">
<div class="topNav992">
<div class="homebraLift">
<div class="homebraLi2" style="margin-top:0;">
<div class="brandjs">
<div class="brandjs1">
<ul class="ul1">
<li><a href="#" class="brandjs1a">工厂证书</a></li>
<li><a href="#"><img src="images/index_92.jpg" width="105" height="38" /></a></li>
<li><a href="#"><img src="images/homebrands_17.jpg" width="105" height="38" /></a></li>
</ul>
<span class="s1">葛罗瑞亚介绍</span></div>
<div class="braAbout">
<div class="braabtitle">授权证书</div>
</div>
<div class="brandjs2">
<div class="infiniteCarousel2" id="infiniteCarousel">
<div class="wrapper">
<ul>
<li><img src="images/brands_10.jpg" /></li>
<li><img src="images/brands_10.jpg" /></li>
<li><img src="images/brands_10.jpg" /></li>
</ul>
</div>
</div>
</div>
</div>
<div class="braAbout">
<div class="braabtitle">质量认证</div>
<div class="brandstu1" id="braAboutzs">
<ul>
<li><p class="tu1"><a href="images/brands_17.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_10.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_17.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_17.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_10.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_17.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_17.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_10.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_17.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_17.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_10.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_17.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_17.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_10.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_17.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_17.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_10.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
<li><p class="tu1"><a href="images/brands_17.jpg" title="证书名证书证书证书证证书名证书名证书名证书名"><img src="images/brands_04.jpg" width="88" height="121" /></a></p><p>证书名证书证书证书证证书名证书名证书名证书名</p></li>
</ul>
</div>
</div>
<div class="hForum222" style="margin-bottom:60px;">
<ul class="hForum2221">
<li><a href="#" class="hForum222110">首页</a></li>
<li><a href="#" class="hForum222110">上一页</a></li>
<li><a href="#" class="hForum2221a">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li><a href="#">...157</a></li>
<li><a href="#">下一页</a></li>
<li><a href="#">最后一页</a></li>
</ul>
</div>
</div>
</div>
<div class="homebraRight">
<uc5:_companyproduct ID="_companyproduct1" runat="server" />
<div class="homebraRight1 homebraRight3">
<div class="promotions"><span><a href="#">更多</a></span>促销信息</div>
<div class="promotions2">
<h3>德尔地板跌爆眼球的抄底团购全场6.4折起 </h3>
<p class="time">截至日期:2011-12-31</p>
<p class="address">长逸路15号建配龙6楼1148-1149</p>
<p class="phone">王丽君 13269291819</p>
</div>
<div class="promotions2">
<h3>德尔地板跌爆眼球的抄底团购全场6.4折起 </h3>
<p class="time">截至日期:2011-12-31</p>
<p class="address">长逸路15号建配龙6楼1148-1149</p>
<p class="phone">王丽君 13269291819</p>
</div>
<div class="promotions2">
<h3>德尔地板跌爆眼球的抄底团购全场6.4折起 </h3>
<p class="time">截至日期:2011-12-31</p>
<p class="address">长逸路15号建配龙6楼1148-1149</p>
<p class="phone">王丽君 13269291819</p>
</div>
</div>
<div class="homebraRight1 homebraRight2">
<div class="promotions"><span><a href="#">更多</a></span>最新产品</div>
<div class="brandsproduct">
<p><a href="#"><img src="images/brands_03.gif" /></a></p>
<p><a href="#">三人沙发(TS01003)</a></p>
</div>
<div class="brandsproduct">
<p><a href="#"><img src="images/brands_03.gif" /></a></p>
<p><a href="#">三人沙发(TS01003)</a></p>
</div>
<div class="brandsproduct">
<p><a href="#"><img src="images/brands_03.gif" /></a></p>
<p><a href="#">三人沙发(TS01003)</a></p>
</div>
<div class="brandsproduct">
<p><a href="#"><img src="images/brands_03.gif" /></a></p>
<p><a href="#">三人沙发(TS01003)</a></p>
</div>
</div>
</div>
</div>
</div>
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/company/credit.aspx | ASP.NET | oos | 10,533 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.company.brand" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_companynav.ascx" tagname="_companynav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<%@ Register src="../ascx/_companyproduct.ascx" tagname="_companyproduct" tagprefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_taobao2010', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 767, //设置图片区域宽度(像素)
height: 331, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
<script type="text/javascript">
$(function () {
if ("<%=ECommon.QuerySearchBrand %>" == "") {
$($("#brandNav li:first-child a")).addClass("brandjs1a")
}
})
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_companynav ID="_companynav1" runat="server" />
<div class="homebrandsc">
<div class="topNav992">
<div class="homebraLift">
<div class="homebraLi2" style="margin-top:0;">
<div class="brandjs">
<div class="brandjs1">
<ul class="ul1" id="brandNav">
<%foreach (CompanyBrand b in companyInfo.CompanyBrandList)
{ %>
<li><a href="<%=string.Format(EnUrls.CompanyInfoBrandList,ECommon.QueryCId,b.id)%>" class="<%=UiCommon.QueryStringCur("brand", b.id.ToString(), "", "brandjs1a") %>"><img src="<%=EnFilePath.GetBrandLogoPath(b.id.ToString(),b.thumb) %>" width="105" height="38" /></a></li>
<%} %>
</ul>
<span class="s1">品牌介绍</span></div>
<div class="brandjs2">
<%=BrandDescript %>
</div>
</div>
<div class="braAbout">
<div class="braabtitle"><span class="spana1"><a href="#">查看全部产品</a></span>相关产品</div>
<ul class="braAbout12">
<%foreach(EnWebProduct p in ECProduct.GetWebProductList(1,4," and brandid="+BrandId,"","",out tmpPageCount)){ %>
<li>
<p><a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><img src="<%=EnFilePath.GetProductThumbPath(p.id.ToString(), p.thumb) %>" height="131" width="175" /></a></p>
<p><strong><a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><%=p.categorytitle %>(<%=p.sku %>)</a></strong></p>
</li>
<%} %>
</ul>
</div>
<div class="braAbout">
<div class="braabtitle"><span class="spana1"><a href="#">查看全部经销商</a></span>相关经销商</div>
<div class="brandjs3">
<%foreach(CompanyShop s in companyInfo.CompanyShopList){ %>
<div class="brandjs31"><span><img src="<%=EnFilePath.GetShopThumbPath(s.id.ToString(),s.thumb) %>" width="74" height="56" /></span>
<p class="haui"><a href="<%=string.Format(EnUrls.ShopInfoIndex,s.id) %>" target="_blank" style="color:#b1051b;"><%=s.title %> <%--<img src="images/index_117.gif" />--%></a></p>
<p class="address"><%=s.address %></p>
<p class="phone"><%=s.phone %></p>
</div>
<%} %>
<%if (companyInfo.CompanyShopList.Count == 0)
{ %>
暂无经销商
<%} %>
</div>
</div>
</div>
</div>
<div class="homebraRight">
<uc5:_companyproduct ID="_companyproduct1" runat="server" />
<div class="homebraRight1 homebraRight3">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.PromotionList) %>">更多</a></span>促销信息</div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToCompany(3, companyInfo.id))%>
</div>
</div>
</div>
</div>
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/company/brand.aspx | ASP.NET | oos | 4,815 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.company.news" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_companynav.ascx" tagname="_companynav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<%@ Register src="../ascx/_companyproduct.ascx" tagname="_companyproduct" tagprefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_taobao2010', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 767, //设置图片区域宽度(像素)
height: 331, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_companynav ID="_companynav1" runat="server" />
<div class="homebrandsc">
<div class="topNav992">
<div class="homebraLift">
<div class="homebraLi2" style="margin-top:0;">
<ul class="brandsNew">
<li>
<h3><a href="#">公司新闻标题公司新闻标题</a> 2012.12.03</h3>
<p>正如每位父亲谈到自己孩子时难掩骄傲,谈到摩恩,低调内敛的他也会滔滔不绝,自豪感流于言表。从98年进入摩恩任职市场部经理,到如今负责整个亚太区的副总裁及中国总经理搜狗,他建立起了中国摩恩公司,并见证了摩恩在亚太地区的每一步发展。</p>
<p> </p>
<p>1994年,摩恩进入中国市场,上海建立了第一家销售公司天龙八部, 随后的几年又在北京、广州和重庆设立了办事处.1996年,摩恩在中国成立了合资工厂,表明了摩恩对中国市场的信心及在中国长期发展的决心.回顾在中国十多年的发展历程,他说:“我们拥有三大无法复制的核心优势”。 </p>
</li>
<li>
<h3><a href="#">公司新闻标题公司新闻标题</a> 2012.12.03</h3>
<p>正如每位父亲谈到自己孩子时难掩骄傲,谈到摩恩,低调内敛的他也会滔滔不绝,自豪感流于言表。从98年进入摩恩任职市场部经理,到如今负责整个亚太区的副总裁及中国总经理搜狗,他建立起了中国摩恩公司,并见证了摩恩在亚太地区的每一步发展。</p>
<p> </p>
<p>1994年,摩恩进入中国市场,上海建立了第一家销售公司天龙八部, 随后的几年又在北京、广州和重庆设立了办事处.1996年,摩恩在中国成立了合资工厂,表明了摩恩对中国市场的信心及在中国长期发展的决心.回顾在中国十多年的发展历程,他说:“我们拥有三大无法复制的核心优势”。 </p>
</li>
<li>
<h3><a href="#">公司新闻标题公司新闻标题</a> 2012.12.03</h3>
<p>正如每位父亲谈到自己孩子时难掩骄傲,谈到摩恩,低调内敛的他也会滔滔不绝,自豪感流于言表。从98年进入摩恩任职市场部经理,到如今负责整个亚太区的副总裁及中国总经理搜狗,他建立起了中国摩恩公司,并见证了摩恩在亚太地区的每一步发展。</p>
<p> </p>
<p>1994年,摩恩进入中国市场,上海建立了第一家销售公司天龙八部, 随后的几年又在北京、广州和重庆设立了办事处.1996年,摩恩在中国成立了合资工厂,表明了摩恩对中国市场的信心及在中国长期发展的决心.回顾在中国十多年的发展历程,他说:“我们拥有三大无法复制的核心优势”。 </p>
</li>
<li>
<h3><a href="#">公司新闻标题公司新闻标题</a> 2012.12.03</h3>
<p>正如每位父亲谈到自己孩子时难掩骄傲,谈到摩恩,低调内敛的他也会滔滔不绝,自豪感流于言表。从98年进入摩恩任职市场部经理,到如今负责整个亚太区的副总裁及中国总经理搜狗,他建立起了中国摩恩公司,并见证了摩恩在亚太地区的每一步发展。</p>
<p> </p>
<p>1994年,摩恩进入中国市场,上海建立了第一家销售公司天龙八部, 随后的几年又在北京、广州和重庆设立了办事处.1996年,摩恩在中国成立了合资工厂,表明了摩恩对中国市场的信心及在中国长期发展的决心.回顾在中国十多年的发展历程,他说:“我们拥有三大无法复制的核心优势”。 </p>
</li>
<li>
<h3><a href="#">公司新闻标题公司新闻标题</a> 2012.12.03</h3>
<p>正如每位父亲谈到自己孩子时难掩骄傲,谈到摩恩,低调内敛的他也会滔滔不绝,自豪感流于言表。从98年进入摩恩任职市场部经理,到如今负责整个亚太区的副总裁及中国总经理搜狗,他建立起了中国摩恩公司,并见证了摩恩在亚太地区的每一步发展。</p>
<p> </p>
<p>1994年,摩恩进入中国市场,上海建立了第一家销售公司天龙八部, 随后的几年又在北京、广州和重庆设立了办事处.1996年,摩恩在中国成立了合资工厂,表明了摩恩对中国市场的信心及在中国长期发展的决心.回顾在中国十多年的发展历程,他说:“我们拥有三大无法复制的核心优势”。 </p>
</li>
<li>
<h3><a href="#">公司新闻标题公司新闻标题</a> 2012.12.03</h3>
<p>正如每位父亲谈到自己孩子时难掩骄傲,谈到摩恩,低调内敛的他也会滔滔不绝,自豪感流于言表。从98年进入摩恩任职市场部经理,到如今负责整个亚太区的副总裁及中国总经理搜狗,他建立起了中国摩恩公司,并见证了摩恩在亚太地区的每一步发展。</p>
<p> </p>
<p>1994年,摩恩进入中国市场,上海建立了第一家销售公司天龙八部, 随后的几年又在北京、广州和重庆设立了办事处.1996年,摩恩在中国成立了合资工厂,表明了摩恩对中国市场的信心及在中国长期发展的决心.回顾在中国十多年的发展历程,他说:“我们拥有三大无法复制的核心优势”。 </p>
</li>
<li>
<h3><a href="#">公司新闻标题公司新闻标题</a> 2012.12.03</h3>
<p>正如每位父亲谈到自己孩子时难掩骄傲,谈到摩恩,低调内敛的他也会滔滔不绝,自豪感流于言表。从98年进入摩恩任职市场部经理,到如今负责整个亚太区的副总裁及中国总经理搜狗,他建立起了中国摩恩公司,并见证了摩恩在亚太地区的每一步发展。</p>
<p> </p>
<p>1994年,摩恩进入中国市场,上海建立了第一家销售公司天龙八部, 随后的几年又在北京、广州和重庆设立了办事处.1996年,摩恩在中国成立了合资工厂,表明了摩恩对中国市场的信心及在中国长期发展的决心.回顾在中国十多年的发展历程,他说:“我们拥有三大无法复制的核心优势”。 </p>
</li>
<li>
<h3><a href="#">公司新闻标题公司新闻标题</a> 2012.12.03</h3>
<p>正如每位父亲谈到自己孩子时难掩骄傲,谈到摩恩,低调内敛的他也会滔滔不绝,自豪感流于言表。从98年进入摩恩任职市场部经理,到如今负责整个亚太区的副总裁及中国总经理搜狗,他建立起了中国摩恩公司,并见证了摩恩在亚太地区的每一步发展。</p>
<p> </p>
<p>1994年,摩恩进入中国市场,上海建立了第一家销售公司天龙八部, 随后的几年又在北京、广州和重庆设立了办事处.1996年,摩恩在中国成立了合资工厂,表明了摩恩对中国市场的信心及在中国长期发展的决心.回顾在中国十多年的发展历程,他说:“我们拥有三大无法复制的核心优势”。 </p>
</li>
<li>
<h3><a href="#">公司新闻标题公司新闻标题</a> 2012.12.03</h3>
<p>正如每位父亲谈到自己孩子时难掩骄傲,谈到摩恩,低调内敛的他也会滔滔不绝,自豪感流于言表。从98年进入摩恩任职市场部经理,到如今负责整个亚太区的副总裁及中国总经理搜狗,他建立起了中国摩恩公司,并见证了摩恩在亚太地区的每一步发展。</p>
<p> </p>
<p>1994年,摩恩进入中国市场,上海建立了第一家销售公司天龙八部, 随后的几年又在北京、广州和重庆设立了办事处.1996年,摩恩在中国成立了合资工厂,表明了摩恩对中国市场的信心及在中国长期发展的决心.回顾在中国十多年的发展历程,他说:“我们拥有三大无法复制的核心优势”。 </p>
</li>
</ul>
<div class="hForum222" style="margin-bottom:60px;">
<ul class="hForum2221">
<li><a href="#" class="hForum222110">首页</a></li>
<li><a href="#" class="hForum222110">上一页</a></li>
<li><a href="#" class="hForum2221a">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li><a href="#">...157</a></li>
<li><a href="#">下一页</a></li>
<li><a href="#">最后一页</a></li>
</ul>
</div>
</div>
</div>
<uc5:_companyproduct ID="_companyproduct1" runat="server" />
</div>
</div>
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/company/news.aspx | ASP.NET | oos | 10,752 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.company.product" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_companynav.ascx" tagname="_companynav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<%@ Register src="../ascx/_companyproduct.ascx" tagname="_companyproduct" tagprefix="uc5" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_taobao2010', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 767, //设置图片区域宽度(像素)
height: 331, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_companynav ID="_companynav1" runat="server" />
<div class="homebrandsc">
<div class="topNav992">
<div class="homebraLift">
<div class="homebraLi2" style="margin-top:0;">
<div class="productList12" style="height:65px; ">
<div class="productList121">
<ul class="pr12-ti">
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pcategory","","","pr12-tia") %>" href="<%=string.Format(EnUrls.CompanyInfoProductList, ECommon.QueryCId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, "", ECommon.QuerySearchCategory) %>">所有产品</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pcategory","7","","pr12-tia") %>" href="<%=string.Format(EnUrls.CompanyInfoProductList, ECommon.QueryCId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, "7", ECommon.QuerySearchCategory) %>" >卧室系列</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pcategory","9","","pr12-tia") %>" href="<%=string.Format(EnUrls.CompanyInfoProductList, ECommon.QueryCId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, "9", ECommon.QuerySearchCategory) %>">客厅系列</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pcategory","10","","pr12-tia") %>" href="<%=string.Format(EnUrls.CompanyInfoProductList, ECommon.QueryCId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, "10", ECommon.QuerySearchCategory) %>">餐厅系列</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pcategory","11","","pr12-tia") %>" href="<%=string.Format(EnUrls.CompanyInfoProductList, ECommon.QueryCId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, "11", ECommon.QuerySearchCategory) %>">书房系列</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pcategory","12","","pr12-tia") %>" href="<%=string.Format(EnUrls.CompanyInfoProductList, ECommon.QueryCId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, "12", ECommon.QuerySearchCategory) %>">儿童系列</a></li>
</ul>
<div class="pr12-fy"><a href="<%=NextUrl %>" class="xyy">下一页</a><span><%=ECommon.QueryPageIndex %>/<%=AspNetPager1.PageCount %></span><a href="<%=PrvUrl %>" style="float:right;"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/product_19.gif" /></a></div>
</div>
<div class="productList122"><span class="s1">快速分类</span>
<div class="pr_xl"><%=sortTitle%>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyInfoProductList, ECommon.QueryCId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">产品名称</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyInfoProductList, ECommon.QueryCId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">名称降序</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t2","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyInfoProductList, ECommon.QueryCId,ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">名称升序</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortDate %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyInfoProductList, ECommon.QueryCId,ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">更新时间</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyInfoProductList, ECommon.QueryCId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">由近到远</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d2","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyInfoProductList, ECommon.QueryCId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">由远到近</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortHot %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyInfoProductList, ECommon.QueryCId,ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">推荐产品</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyInfoProductList, ECommon.QueryCId,ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">由高到低</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h2","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyInfoProductList, ECommon.QueryCId, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">由低到高</a></li>
</ul>
</div>
<%--<label for="supportDIY"><input name="supprotDIY" id="supportDIY" type="checkbox" value="" /><s>支持定制</s></label>--%></div>
</div>
<div class="productList12" style="background:none;">
<%foreach (EnWebProduct p in list)
{ %>
<div class="productPic productPic1 productPic0">
<div class="productPic1">
<div class="productPic11"><a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><img src="<%=EnFilePath.GetProductThumbPath(p.id.ToString(),p.thumb) %>" height="173" width="230" /></a></div>
<div class="productPic12 c61f38" style="padding-top:10px;">
<h4><a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><%=p.HtmlProductName %></a></h4>
<p><strong>品牌:</strong><%=p.brandstitle %> <strong>风格:</strong><%=p.stylename %> </p>
<p> <strong>材质:</strong><select name="" style="width:208px; height:25px;">
<%foreach (ProductAttribute a in p.ProductAttributeList)
{ %>
<option><%=a.productmaterial %></option>
<%} %>
</select></p>
<p> <strong>尺寸:</strong><select name="select" style="width:208px; height:25px;">
<%foreach (ProductAttribute a in p.ProductAttributeList)
{ %>
<option><%=a.productlength+"*"+a.productwidth+"*"+a.productlength %></option>
<%} %>
</select>
</p>
<p> <strong>颜色:</strong><%=p.ProductAttributeInfo.productcolortitle %></p>
<h4><a style="text-decoration:none" href="javascript:;">指导价:<%=p.ProductAttributeInfo.markprice %></a></h4>
</div>
<%if (p.ProductShopList != null && p.ProductShopList.Count != 0)
{ %>
<div class="productPic13">
<div class="productPic131">
<p class="Dealer1"><strong><a href="#"><%=p.ProductShopInfo.title%></a></strong><a href="#"><%--<img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_117.gif" style="margin-top:2px;"/>--%> </a></p>
<p class="address"><%=p.ProductShopInfo.address%></p>
<p class="phone"><%=p.ProductShopInfo.phone%></p>
<p class="productPicdh">电话咨询价格,请说来自福家网</p>
</div>
<%--<div class="productPic132">
<p>优惠信息:</p>
<p><a href="#" style="color:#2953a6; text-decoration:underline;">德尔地板跌爆眼球的抄底团购全场 6.4折起 12.03</a></p>
</div>--%>
</div>
<%}
else {
%>
<div style="padding-left:8px; margin-right:5px;" class="productPic13">
<img style="margin-left:3px; margin-top:15px;" src="<%=ECommon.WebResourceUrlToWeb %>/images/noproductlistshop.gif">
</div>
<% } %>
</div>
<div class="productView">
<div class="br-gcs hd"><ul>
<li><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoIndex,p.companyid) %>');" target="_parent">厂家介绍</a></li>
<li><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoBrandList,p.companyid,p.brandid) %>');" target="_parent">品牌介绍</a></li>
<li><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoAddress,p.companyid) %>');" target="_parent">推荐店铺</a></li>
</ul>
</div>
</div>
</div>
<%} %>
<webdiyer:aspnetpager ID="AspNetPager1" runat="server" AlwaysShow="true"
CurrentPageButtonClass="cpb" CssClass="pager"
UrlPaging="true" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
PrevPageText="上一页">
</webdiyer:aspnetpager>
</div>
</div>
</div>
<div class="homebraRight">
<uc5:_companyproduct ID="_companyproduct1" runat="server" />
<div class="homebraRight1 homebraRight3">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.PromotionList) %>">更多</a></span>促销信息</div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToCompany(3, companyInfo.id))%>
</div>
</div>
</div>
</div>
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/company/product.aspx | ASP.NET | oos | 14,718 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.company.address" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_companynav.ascx" tagname="_companynav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<%@ Register src="../ascx/_companyproduct.ascx" tagname="_companyproduct" tagprefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_taobao2010', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 767, //设置图片区域宽度(像素)
height: 331, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
<script type="text/javascript">
$(function () {
if ("<%=ECommon.QuerySearchBrand %>" == "") {
$($("#brandNav li:first-child a")).addClass("brandjs1a")
}
})
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_companynav ID="_companynav1" runat="server" />
<div class="homebrandsc">
<div class="topNav992">
<div class="homebraLift">
<div class="homebraLi2" style="margin-top:0;">
<div class="brandjs1">
<ul class="ul1" id="brandNav">
<%foreach (CompanyBrand b in companyInfo.CompanyBrandList)
{ %>
<li><a href="<%=string.Format(EnUrls.CompanyInfoAddressList,ECommon.QueryCId,b.id,"1")%>" class="<%=UiCommon.QueryStringCur("brand", b.id.ToString(), "", "brandjs1a") %>"><img src="<%=EnFilePath.GetBrandLogoPath(b.id.ToString(),b.thumb) %>" width="105" height="38" /></a></li>
<%} %>
</ul>
<span class="s1"><%=BrandTitle %>-相关经销商地址 </span>
<div class="brandsPromotion"></div></div>
<%if (list.Count == 0)
{ %>
<img src="<%=ECommon.WebResourceUrlToWeb %>/images/noinfo.jpg" />
<%} %>
<div class="brandsDealer-map"><img src="<%=ECommon.WebResourceUrl %>/images/brands_11.jpg" /></div>
<%foreach (EnWebShop s in list)
{ %>
<div class="brandsDealer">
<div class="dealerEn">A</div>
<div class="brandsDealerBj">
<div class="brandsDealer1"><a href="#"><img src="<%=EnFilePath.GetShopThumbPath(s.id.ToString(),s.thumb) %>" width="141" height="106" /></a></div>
<div class="brandsDealer2">
<p class="Dealer1"><strong><a href="#"><%=s.title %></a></strong><%--<a href="#"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_117.gif" style="margin-top:2px;"/></a>--%></p>
<p><strong>经销品牌</strong>:<font><%=s.BrandName.Replace(",", " ") %></font> <strong>品牌风格:</strong><font><%=ECommon.GetConfigName(((int)EnumConfigModule.产品配置).ToString(), "3", s.StyleName, ',', " ")%></font></p>
<p><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_121.gif" style=" float:left; margin:4px 5px 0 0"/><%=s.address %></p>
<div><%=s.phone %></div><div class="lianxifl">联系时,请说是在福家网上看到的,谢谢!</div>
</div>
<div class="brandsgc03"><a href="#"><img src="<%=EnFilePath.GetBrandLogoPath(s.ShopBrandInfo.id,s.ShopBrandInfo.thumb) %>" width="105" height="38" /></a></div>
</div>
<div class="productView">
<div class="br-gcs hd"><ul>
<li><a href="#">公司介绍</a></li>
<li><a href="#">展厅地址</a></li>
<li><a href="#">产品展示</a></li>
</ul>
</div>
<div class="br-jj bd">
<div class="item">
<%=s.descript %>
</div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
</div>
</div>
<%} %>
<webdiyer:aspnetpager ID="AspNetPager1" runat="server" AlwaysShow="true"
CurrentPageButtonClass="cpb" CssClass="pager"
UrlPaging="true" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
PrevPageText="上一页">
</webdiyer:aspnetpager>
</div>
</div>
<div class="homebraRight">
<uc5:_companyproduct ID="_companyproduct1" runat="server" />
<div class="homebraRight1 homebraRight3">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.PromotionList) %>">更多</a></span>促销信息</div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToCompany(3, companyInfo.id))%>
</div>
</div>
</div>
</div>
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/company/address.aspx | ASP.NET | oos | 5,567 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.company.index" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_companynav.ascx" tagname="_companynav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<%@ Register src="../ascx/_companyproduct.ascx" tagname="_companyproduct" tagprefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_taobao2010', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 767, //设置图片区域宽度(像素)
height: 331, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_companynav ID="_companynav1" runat="server" />
<div class="homebrandsc">
<div class="topNav992">
<div class="homebraLift">
<div class="homebraLi1">
<%if (!string.IsNullOrEmpty(CompanyPageBase.companyInfo.bannel))
{ %>
<div id="fjwcontainer" class="" >
<ul class="pic">
<%foreach (string s in companyInfo.bannel.Split(','))
{ %>
<li><a href="#" target="_blank"><img height="400" width="767" src="<%=EnFilePath.GetCompanyBannerPath(companyInfo.id.ToString(),s)%>" alt="<%=companyInfo.title %>" /></a></li>
<%} %>
</ul>
</div>
<%} %>
</div>
<div class="homebraLi2">
<div class="homebraLi21">
<span class="spana1"><a href="#">更多</a></span>
<strong>厂商介绍</strong>
</div>
<div class="homebraLi22">
<div style="float:left; margin-right:15px;"><img src="<%=EnFilePath.GetCompanyThumbPath(companyInfo.id.ToString(),companyInfo.thumb) %>" width="141" height="106" /></div>
<div class="homebraLi221">
<%=companyInfo.descript != null && companyInfo.descript.Length > 424 ? companyInfo.descript.Substring(0, 423) + ".." : companyInfo.descript%>
</div>
</div>
</div>
<div class="homebraLi2">
<div class="homebraLi21">
<span class="spana1"><a href="#">更多</a></span>
<strong>推荐产品</strong>
</div>
<%foreach(EnWebProduct p in ECProduct.GetWebProductList(1,12," and brandid in ("+companyInfo.BrandIdList+")","hits","desc",out tmpPageCount)){ %>
<div class="productPa2 productLit">
<p>
<a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><img src="<%=EnFilePath.GetProductThumbPath(p.id.ToString(), p.thumb) %>" width="230" height="173" /></a></p>
<p class="titlepro">
<a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><%=p.HtmlProductName %><br /></a></p>
<p>
品牌:<span><a href="#"><%=p.brandstitle %></a></span>风格:<span><a href="#"><%=p.stylename %></a></span></p>
<div class="proList">
电话咨询价格,请说来自福家网
<div class="productLitc">
<div class="productLiph">
<h4>
<a href="#"><%=p.ProductShopInfo.title %></a>
<%--<img src="images/index_117.gif" width="88" height="18" />--%></h4>
<p class="address"><%=p.ProductShopInfo.address %></p>
<p class="phone"><%=p.ProductShopInfo.phone %></p>
</div>
<div class="productLiph2">
<a href="#">其他商铺</a><a href="#">促销信息</a><a href="#">品牌介绍</a></div>
</div>
</div>
</div>
<%} %>
<div class="homebraLi23"><a href="<%=string.Format(EnUrls.CompanyInfoProduct,companyInfo.id) %>">查看所有产品</a></div>
</div>
</div>
<div class="homebraRight">
<uc5:_companyproduct ID="_companyproduct1" runat="server" />
<div class="homebraRight1 homebraRight2">
<div class="promotions"><span><a href="#">更多</a></span>联系方式</div>
<div class="homebraRight21">联系人: <%=companyInfo.linkman %><br />
电话: <%=companyInfo.phone %><br />
传真: <%=companyInfo.fax %><br />
地址: <%=companyInfo.address %></div>
</div>
<div class="homebraRight1 homebraRight3">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.PromotionList) %>">更多</a></span>促销信息</div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToCompany(3, companyInfo.id))%>
</div>
</div>
</div>
</div>
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/company/index.aspx | ASP.NET | oos | 5,663 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.company.index2" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc1" %>
<%@ Register src="../ascx/_head.ascx" tagname="_head" tagprefix="uc2" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc3" %>
<%@ Register src="../ascx/_nav.ascx" tagname="_nav" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc1:_resource ID="_resource1" runat="server" />
</head>
<body>
<uc2:_head ID="_head1" runat="server" />
<uc4:_nav ID="_nav1" runat="server" />
<div class="topNav992">
<div class="nullInfo">
<div class="nullText">
<div class="nullTextTitle"> <%=companyInfo.title %></div>
<table class="c" cellpadding="0" cellspacing="0">
<tr>
<td style=" line-height:25px; height:25px;"> </td>
</tr>
<tr>
<td><span class="i">该厂家的信息不完整</span></td>
</tr>
<tr>
<td>获得更多商业机会,建议升级会员级别</td>
</tr>
<tr>
<td>咨询电话:400-6066-818</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</div>
<div class="nullError">
<p class="p1">对不起,您目前访问的厂家暂有部分信息不全。<br>我们将尽快完善本卖场信息资料。</p>
<p class="p2">如需咨询,请拨打客服热线400-6066-818</p>
<p class="p3">您也可以去其它地方逛逛: <a href="/">卖场首页</a> | <a href="/">品牌首页 </a></p>
</div>
</div>
</div>
<uc3:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/company/index2.aspx | ASP.NET | oos | 2,167 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.promotioninfo" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="ascx/_head.ascx" tagname="_head" tagprefix="uc1" %>
<%@ Register src="ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="ascx/_foot.ascx" tagname="_foot" tagprefix="uc3" %>
<%@ Register src="ascx/_nav.ascx" tagname="_nav" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script src="<%=TREC.ECommerce.ECommon.WebResourceUrl%>/script/jquery.jcountdown1.3.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
var newDateObj = new Date(Date.parse("<%=promotionInfo.enddatetime.ToString().Replace('-','/')%>"));
$("#time1").countdown({
date: (new Date())
});
})
</script>
</head>
<body>
<uc1:_head ID="_head1" runat="server" />
<uc4:_nav ID="_nav1" runat="server" />
<div class="topNav992 central">
<div class="productList1">
<div class="prlifl1 qtPromoxx5 c61f38"><a href="<%=string.Format(EnUrls.PromotionList) %>">返回列表页</a> </div>
<div class="qtPromoxx6">
<div class="qtPromoxx61">
<div class="qtPromoxx611">
<h1><%=promotionInfo.title%></h1>
<p class="time1" id="time1"></p>
</div>
</div>
<div class="qtPromoxx62">
<%=promotionInfo.descript%>
</div>
</div>
</div>
<div class="productList2">
<div class="brandgz1 brandst">推荐品牌</div>
<div class="brandsUl">
<ul>
<%foreach (EnWebAggregation a in ECommon.GetCompanyListTopBrand())
{ %>
<li><a href="<%=a.url %>"><img src="<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>" width="<%=a.thumbw %>" height="<%=a.thumbh %>" title="<%=a.title %>" /></a></li>
<%} %>
</ul>
</div>
<div class="promotionsR2"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_62.jpg" /></div>
<div class="promotionsR1" style="margin-top:8px;">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.PromotionList) %>" target="_blank">更多</a></span>促销信息</div>
<div class="prAd1"><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=14"></script><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=15"></script></div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionList(5))%>
</div>
</div>
</div>
<uc3:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/promotioninfo.aspx | ASP.NET | oos | 3,004 |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="tuan.aspx.cs" Inherits="TREC.Web.aspx.tuan" %>
<%@ Register src="ascx/_head.ascx" tagname="_head" tagprefix="uc1" %>
<%@ Register src="ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="ascx/_foot.ascx" tagname="_foot" tagprefix="uc3" %>
<%@ Register src="ascx/_nav.ascx" tagname="_nav" tagprefix="uc4" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Import Namespace="TREC.ECommerce" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<link rel="stylesheet" type="text/css" href=<%="\""+TREC.ECommerce.ECommon.WebResourceUrl%>/css/jquery.jcarousel.css" />
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl%>/script/jquery.jcarousel.pack.js"></script>
<script type="text/javascript">
$(function () {
jQuery('.mycarousel').jcarousel({ auto: "1" });
});
</script>
<style type="text/css">
.tuan{float:left; width:327px; border:1px solid #CFCFCF; padding:0px 0px 10px 0px; margin:0px 10px 10px 0px;}
.destInfo2 {border-top:1px dotted #989898;}
.destInfo{float:left; width:317px; margin:0px 5px;}
.destInfo p{ display:block; float:left; margin-top:10px;}
.destInfo p.p1{width:105px; height:50px;}
.destInfo p.p2{ background:url("http://www.fujiawang.com/images/t4_2.gif"); width:204px; height:35px; float:right; }
.destInfo p.p2 i{ font-family:"Microsoft YaHei";font-size:30px;text-shadow:#000 1px 1px 1px;font-size:20px;font-style:normal; color:#fff; margin-left:25px; margin-top:3px;}
.destInfo p.p3{height:15px; float:right; margin-right:10px;}
.destInfo span.t{font-weight:bold;font-family:"Microsoft YaHei";font-size:18px;text-shadow:#eee 1px 1px 1px;color:#c10015; margin-left:5px; }
div.fla{float:left; width:100%; margin:18px 0px 5px 0px;}
div.f1{background:url('<%=TREC.ECommerce.ECommon.WebResourceUrl%>/web/images/t_fla_t1.gif'); width:300px; float:left; height:14px; margin-top:10px;}
div.f2{background:url('<%=TREC.ECommerce.ECommon.WebResourceUrl%>/web/images/t_fla_t2.gif'); height:14px; float:left; }
span.f3{display:block; float:left; background:url('<%=TREC.ECommerce.ECommon.WebResourceUrl%>/web/images/t_fla_t3.gif');width:32px; height:14px; }
div.i1{display:block; float:left; width:300px; margin-top:10px;}
div.i1 span{line-height:25px; height:25px; float:left; display:block; text-align:center; background:url('<%=TREC.ECommerce.ECommon.WebResourceUrl%>/web/images/t_i_3.gif') no-repeat; background-position:center;}
div.i1 span a{ font-weight:bold;}
div.i1 span.cur{background:url('<%=TREC.ECommerce.ECommon.WebResourceUrl%>/web/images/t_i_1.gif') no-repeat; background-position:center;}
div.i1 span.cur a{color:#fff; font-weight:bold;}
div.i1 span.cur_on{background:url('<%=TREC.ECommerce.ECommon.WebResourceUrl%>/web/images/t_i_2.gif') no-repeat; background-position:center;}
div.i1 span.cur_on a{color:#fff;}
div.groupInfo{width:976px; float:left; height:149px; border:2px solid #b31528;background:url('<%=TREC.ECommerce.ECommon.WebResourceUrl%>/web/images/groupInfo_bg.gif') no-repeat; background-position:right;}
div.groupInfo .conBox{border:2px solid #ffe7a5; height:145px; width:850px; float:left; border-right:none;}
div.groupInfo .conTitle{color:#d00000; font-size:16px; float:left; margin-left:10px; font-weight:bold; height:30px; line-height:30px; }
.conBox .con{background:url('<%=TREC.ECommerce.ECommon.WebResourceUrl%>/web/images/groupInfo_con_bg.png') no-repeat; margin-left:10px; width:743px; height:91px; float:left;}
.con .fla,.con .infoT,.con .infoB{float:left; margin-top:20px; margin-left:20px;}
.infoT p,.infoT span{ line-height:20px; height:20px; color:#636363;}
.infoT span{ font-weight:bold;color:#cf293b; margin:0px 3px;}
</style>
</head>
<body>
<form id="form1" runat="server">
<uc1:_head ID="_head1" runat="server" />
<uc4:_nav ID="_nav1" runat="server" />
<div class="topNav992" style="margin-top:20px;">
<%foreach(EnWebPromotionInfoList i in ECPromotionDef.GetWebPromotionInfoList(1,100,"","","",out ECommon.tmpPageCount)){ %>
<div class="tuan">
<div class="destImg">
<ul class="mycarousel" class="jcarousel-skin-tango" style="width:327px; height:260px;">
<li style="width:327px; height:260px;"><a href="javascript:;"><img src="http://www.fujiawang.com/files/Group/SmallShow/2011122817312715.jpg" width="327px" height="260px" /></a></li>
<li style="width:327px; height:260px;"><a href="javascript:;"><img src="http://www.fujiawang.com/files/Group/Silde/2011122817173690.jpg" width="327px" height="260px" /></a></li>
</ul>
</div>
<div class="destInfo">
<p class="p1"><img src="http://www.jiajuks.com//upload/brand/logo/328/2012032516584655.gif" width="105" height="38" /></p>
<p class="p2"><i>暂未开团</i></p>
<p class="p3"><strong>开团日期:</strong>2011-10-10</p>
</div>
<div class="destInfo destInfo2">
<span class="t"><%=i.title %></span>
</div>
<div class="destInfo">
<div class="fla" >
<div class="i1">
<%for (int j = 0; j < i.stagecount; j++)
{ %>
<%if (j < int.Parse(i.curstage))
{ %>
<span style="width:<%=Math.Round((decimal)300/5, 2) %>px; " class="cur_on"><a href="#"><%=j %>折</a></span>
<%} %>
<%if (j == int.Parse(i.curstage))
{ %>
<span style="width:<%=Math.Round((decimal)300/5, 2) %>px; " class="cur"><a href="#"><%=j %>折</a></span>
<%} %>
<%if (j > int.Parse(i.curstage))
{ %>
<span style="width:<%=Math.Round((decimal)300/5, 2) %>px; "><a href="#"><%=j %>折</a></span>
<%} %>
<%} %>
</div>
<div class="f1">
<div class="f2" style="width:<%=(Math.Round((decimal)3 / 5, 2)*300).ToString()%>px"> </div>
<span class="f3"><a href="#"><%=(Math.Round((decimal)int.Parse(i.curstage) / int.Parse(i.stagecount.ToString()), 2)*300).ToString()%></a></span>
</div>
</div>
</div>
</div>
<%} %>
<br><br><br>
<%if (ECPromotionDef.ExtWebPromotionDefByBrand(56,52)>0){ %>
<div class="groupInfo">
<div class="conBox">
<div class="conTitle">本品牌参与拼团活动</div>
<div class="con">
<div class="fla" style="width:310px;">
<div class="i1">
<%for (int j = 0; j < 5; j++)
{ %>
<%if (j < 3)
{ %>
<span style="width:<%=Math.Round((decimal)300/5, 2) %>px; " class="cur_on"><a href="#"><%=j %>折</a></span>
<%} %>
<%if (j == 3)
{ %>
<span style="width:<%=Math.Round((decimal)300/5, 2) %>px; " class="cur"><a href="#"><%=j %>折</a></span>
<%} %>
<%if (j > 3)
{ %>
<span style="width:<%=Math.Round((decimal)300/5, 2) %>px; "><a href="#"><%=j %>折</a></span>
<%} %>
<%} %>
</div>
<div class="f1">
<div class="f2" style="width:<%=(Math.Round((decimal)3 / 5, 2)*300).ToString()%>px"> </div>
<span class="f3"><a href="#"> </a></span>
</div>
</div>
<div class="infoT">
<p>目前折扣力度:<span>4</span>折</p>
<p>目前报名人数:<span>452</span>人</p>
<p>目前预计金额:<span>5224412.4</span>元</p>
</div>
<div class="infoB">
<a href="javascript:;"><img src="<%=TREC.ECommerce.ECommon.WebResourceUrl%>/web/images/groupInfo_baoming.png" width="196px" height="62px" /></a>
</div>
</div>
</div>
</div>
<%} %>
</div>
<uc3:_foot ID="_foot1" runat="server" />
</form>
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/tuan.aspx | ASP.NET | oos | 8,734 |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="loginout.aspx.cs" Inherits="TREC.Web.aspx.loginout" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/loginout.aspx | ASP.NET | oos | 448 |
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="_nav.ascx.cs" Inherits="TREC.Web.aspx.ascx._marketnav" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<div class="topNav992 homebrandsNav">
<div class="homebrandsNav1">
<h1><%=MarketPageBase.marketInfo.title %></h1>
<div class="homebrandsNav11"><strong>地址:</strong><font><%=MarketPageBase.marketInfo.address %></font> <strong>联系方式:</strong><font><%=MarketPageBase.marketInfo.phone%></font></div>
<div class="homebrandsNav12"><a href="#"><%if (!string.IsNullOrEmpty(MarketPageBase.marketInfo.logo)) { %><img src="<%=EnFilePath.GetMarketLogoPath(MarketPageBase.marketInfo.id.ToString(),MarketPageBase.marketInfo.logo) %>" width="105" height="38" /><%} %></a></div>
</div>
<%if (TREC.ECommerce.UiCommon.QueryStringCur("pageName", "index.aspx", "", "homebrandsNava") == "homebrandsNava" && !string.IsNullOrEmpty(MarketPageBase.marketInfo.thumb))
{%>
<div class="marketBanner"><img src="<%=EnFilePath.GetMarketThumbPath(MarketPageBase.marketInfo.id.ToString(),MarketPageBase.marketInfo.thumb)%>" width="990" height="402" /></div>
<%} %>
<div class="homebrandsNav2">
<dl>
<dd><a href="<%=string.Format(EnUrls.MarketInfoIndex,ECommon.QueryMid) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "index.aspx", "", "homebrandsNava")%>">首页</a></dd>
<dt><img src="<%=ECommon.WebResourceUrlToWeb %>/images/homebrands_24.gif" /></dt>
<dd><a href="<%=string.Format(EnUrls.MarketInfoAbout,ECommon.QueryMid) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "about.aspx", "", "homebrandsNava")%>">卖场介绍</a></dd>
<dt><a href="#"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/homebrands_24.gif" /></a></dt>
<dd><a href="<%=string.Format(EnUrls.MarketInfoBrand,ECommon.QueryMid) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "brand.aspx", "", "homebrandsNava")%>">入驻品牌</a></dd>
<dt><img src="<%=ECommon.WebResourceUrlToWeb %>/images/homebrands_24.gif" /></dt>
<dd><a href="<%=string.Format(EnUrls.MarketInfoProduct,ECommon.QueryMid) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "product.aspx", "", "homebrandsNava")%>">全部产品</a></dd>
<dt><img src="<%=ECommon.WebResourceUrlToWeb %>/images/homebrands_24.gif" /></dt><%--
<dd><a href="<%=string.Format(EnUrls.MarketInfoNews,ECommon.QueryMid) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "news.aspx", "", "homebrandsNava")%>">品牌新闻</a></dd>
<dt><img src="<%=ECommon.WebResourceUrlToWeb %>/images/homebrands_24.gif" /></dt>
<dd><a href="<%=string.Format(EnUrls.MarketInfoPromotion,ECommon.QueryMid) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "promotion.aspx", "", "homebrandsNava")%>">促销信息</a></dd>
<dt><img src="<%=ECommon.WebResourceUrlToWeb %>/images/homebrands_24.gif" /></dt>--%>
<dd><a href="<%=string.Format(EnUrls.MarketInfoAddress,ECommon.QueryMid) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "address.aspx", "", "homebrandsNava")%>">卖场地址</a></dd>
</dl>
</div>
</div> | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/ascx/_marketnav.ascx | ASP.NET | oos | 3,300 |
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="_resource.ascx.cs" Inherits="TREC.Web.aspx.ascx._resource" %>
<link rel="Stylesheet" type="text/css" href="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/css/index.css" />
<link rel="Stylesheet" type="text/css" href="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/css/common.css" />
<link rel="icon" href="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/jiajukuaiso.ico" type="image/x-icon" />
<link rel="shortcut icon" href="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/jiajukuaiso.ico" type="image/x-icon" />
<!--[if lte IE 6]>
<style type="text/css">
body { behavior:url("<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/css/csshover.htc"); }
</style>
<![endif]-->
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl %>/script/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl %>/script/soglobal.js?v2"></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl %>/script/socommon.js"></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl %>/script/myfocus-1.2.4.min.js" ></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl %>/script/jquery.inputlabel.js" ></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl %>/script/jquery.scrollLoading.js" ></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl %>/script/oms_autocomplate.js"></script>
<script>
<!--
function setTab(name, cursel, n) {
for (i = 1; i <= n; i++) {
var menu = document.getElementById(name + i);
var con = document.getElementById("con_" + name + "_" + i);
menu.className = i == cursel ? "hover" : "";
con.style.display = i == cursel ? "block" : "none";
}
}
//-->
</script>
<script type="text/javascript">
$(function () {
$("img.scrollLoading").scrollLoading();
})
</script> | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/ascx/_resource.ascx | ASP.NET | oos | 2,085 |
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="_nav.ascx.cs" Inherits="TREC.Web.aspx.ascx._companynav" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<div class="topNav992 homebrandsNav">
<div class="homebrandsNav1">
<h1><%=CompanyPageBase.companyInfo.title %></h1>
<div class="homebrandsNav11"><strong>旗下品牌:</strong><font><%=CompanyPageBase.companyInfo.BrandName.Replace(",", " ") %></font><%-- <strong>工厂规模:</strong><font><%=ECommon.GetConfigName(((int)EnumConfigModule.工厂配置).ToString(), "2", CompanyPageBase.companyInfo.staffsize.ToString(), ',', " ")%></font>--%></div>
<div class="homebrandsNav12">
<%foreach (CompanyBrand b in CompanyPageBase.companyInfo.CompanyBrandList)
{ %>
<a href="<%=string.Format(EnUrls.CompanyInfoBrandList,ECommon.QueryCId,b.id)%>"><img src="<%=EnFilePath.GetBrandLogoPath(b.id,b.thumb) %>" width="105" height="38" /></a>
<%} %>
</div>
</div>
<div class="homebrandsNav2">
<dl>
<dd><a href="<%=string.Format(EnUrls.CompanyInfoIndex,ECommon.QueryCId) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "index.aspx", "", "homebrandsNava")%>">首页</a></dd><dt><img src="<%=ECommon.WebResourceUrlToWeb %>/images/homebrands_24.gif" /></dt>
<dd><a href="<%=string.Format(EnUrls.CompanyInfoAbout,ECommon.QueryCId) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "about.aspx", "", "homebrandsNava")%>">厂商介绍</a></dd><dt><a href="#"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/homebrands_24.gif" /></a></dt>
<%
if (CompanyPageBase.companyInfo.CompanyBrandList!=null && CompanyPageBase.companyInfo.CompanyBrandList.Count != 0)
{
%>
<dd><a href="<%=string.Format(EnUrls.CompanyInfoBrand,ECommon.QueryCId) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "brand.aspx", "", "homebrandsNava")%>">品牌介绍</a></dd><dt><img src="<%=ECommon.WebResourceUrlToWeb %>/images/homebrands_24.gif" /></dt>
<dd><a href="<%=string.Format(EnUrls.CompanyInfoProduct,ECommon.QueryCId) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "product.aspx", "", "homebrandsNava")%>">全部产品</a></dd><dt><img src="<%=ECommon.WebResourceUrlToWeb %>/images/homebrands_24.gif" /></dt>
<%
}
%>
<%--
<dd><a href="<%=string.Format(EnUrls.CompanyInfoNews,ECommon.QueryCId) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "news.aspx", "", "homebrandsNava")%>">品牌新闻</a></dd><dt><img src="<%=ECommon.WebResourceUrlToWeb %>/images/homebrands_24.gif" /></dt>
<dd><a href="<%=string.Format(EnUrls.CompanyInfoCredit,ECommon.QueryCId) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "credit.aspx", "", "homebrandsNava")%>">认证证书</a></dd><dt><img src="<%=ECommon.WebResourceUrlToWeb %>/images/homebrands_24.gif" /></dt>--%>
<dd><a href="<%=string.Format(EnUrls.CompanyInfoAddress,ECommon.QueryCId) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "address.aspx", "", "homebrandsNava")%>">展厅地址</a></dd>
</dl>
<div>共有产品(<%=CompanyPageBase.companyInfo.productcount %>)</div>
</div>
</div> | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/ascx/_companynav.ascx | ASP.NET | oos | 3,336 |
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="_companyproduct.ascx.cs" Inherits="TREC.Web.aspx.ascx._companyproduct" %>
<div class="homebraRight1">
<div class="homebraRight11">
<P class="bra-xz">
<select name="pi_brand" id="pi_brand" onchange="categoryChange()" ></select>
</P>
<P class="bra-xz">
<select name="pi_brands" id="pi_brands" onchange="categoryChange()"></select>
</P>
<P class="bra-xz">
<select name="pi_pcategory" id="pi_pcategory" onchange="categoryChange()"></select>
</P>
<P class="bra-xz">
<input name="" type="text" />
</P>
<div class="homebraLi23"><a href="#">搜索产品</a></div>
</div>
<ul class="homebraRight12" id="pi_categorylist"></ul>
</div>
<script type="text/javascript">
categoryChange();
function categoryChange() {
if (($("#pi_brand").val() == "" || $("#pi_brand").val() == null) && ($("#pi_brands").val() == "" || $("#pi_brands").val() == null) && ($("#pi_pcategory").val() == "" || $("#pi_pcategory").val() == null)) {
$("#pi_brand,#pi_brands,#pi_pcategory").html("");
$("#pi_brand").append("<option value=>----请选择品牌----</option>");
$("#pi_brands").append("<option value=>----请选择系列----</option>");
$("#pi_pcategory").append("<option value=>----请选择分类----</option>");
$("#pi_categorylist").html("").hide().show().html("");
}
$.ajax({
url: "<%=TREC.ECommerce.ECommon.WebUrl %>/ajax/ajaxproduct.ashx",
data: "type=getcompanyproductsearchitem&v=" + $("#pi_brand").val() + "&v2=" + $("#pi_brands").val() + "&v3=" + $("#pi_pcategory").val() + "&c=<%=TREC.ECommerce.CompanyPageBase.companyInfo.id %>",
dataType: "json",
success: function (data) {
if (data != "") {
if (($("#pi_brand").val() == "" || $("#pi_brand").val() == null) && ($("#pi_brands").val() == "" || $("#pi_brands").val() == null) && ($("#pi_pcategory").val() == "" || $("#pi_pcategory").val() == null)) {
$.each(data, function (i) {
if (data[i].type == "brand") {
$("#pi_brand").append("<option value=\"" + data[i].v + "\">" + data[i].n + "</option>");
}
if (data[i].type == "brands") {
$("#pi_brands").append("<option value=\"" + data[i].v + "\">" + data[i].n + "</option>");
}
if (data[i].type == "pcategory") {
$("#pi_pcategory").append("<option value=\"" + data[i].v + "\">" + data[i].n + "</option>");
}
if (data[i].type == "category") {
$("#pi_categorylist").append("<li><a href=\"#\">" + data[i].n + "(" + data[i].count + ")</a></li>");
}
});
} else {
$("#pi_categorylist").html("").hide().show().html("");
$.each(data, function (i) {
if (data[i].type == "category") {
$("#pi_categorylist").append("<li><a href=\"#\">" + data[i].n + "(" + data[i].count + ")</a></li>");
}
});
}
if ("<%=TREC.ECommerce.ECommon.QuerySearchPCategory %>" != "") {
$("#pi_pcategory").val("<%=TREC.ECommerce.ECommon.QuerySearchPCategory %>");
}
}
}
});
}
</script> | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/ascx/_companyproduct.ascx | ASP.NET | oos | 3,920 |
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="_nav.ascx.cs" Inherits="TREC.Web.aspx.ascx._shopnav" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<div class="topNav992 homebrandsNav">
<div class="homebrandsNav1">
<h1><%=ShopPageBase.shopInfo.title %></h1>
<div class="homebrandsNav11"><strong>旗下品牌:</strong><font><%=ShopPageBase.shopInfo.BrandName.Replace(",", " ")%></font><%-- <strong>工厂规模:</strong><font><%=ECommon.GetConfigName(((int)EnumConfigModule.工厂配置).ToString(), "2", CompanyPageBase.companyInfo.staffsize.ToString(), ',', " ")%></font>--%></div>
<div class="homebrandsNav12">
<%foreach (ShopBrand b in ShopPageBase.shopInfo.ShopBrandList)
{ %>
<a href="<%=string.Format(EnUrls.CompanyInfoBrandList,b.companyid,b.id)%>" target="_blank"><img src="<%=EnFilePath.GetBrandLogoPath(b.id,b.thumb) %>" width="105" height="38" /></a>
<%} %>
</div>
</div>
<div class="homebrandsNav2">
<dl>
<dd><a href="<%=string.Format(EnUrls.ShopInfoIndex,ECommon.QuerySId) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "index.aspx", "", "homebrandsNava")%>">首页</a></dd><dt><img src="<%=ECommon.WebResourceUrlToWeb %>/images/homebrands_24.gif" /></dt>
<dd><a href="<%=string.Format(EnUrls.ShopInfoProduct,ECommon.QuerySId) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "product.aspx", "", "homebrandsNava")%>">全部产品</a></dd><dt><img src="<%=ECommon.WebResourceUrlToWeb %>/images/homebrands_24.gif" /></dt><%--
<dd><a href="<%=string.Format(EnUrls.ShopInfoPromotion,ECommon.QuerySId) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "promotion.aspx", "", "homebrandsNava")%>">促销信息</a></dd><dt><a href="#"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/homebrands_24.gif" /></a></dt>--%>
<dd><a href="<%=string.Format(EnUrls.ShopInfoAddress,ECommon.QuerySId) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName", "address.aspx", "", "homebrandsNava")%>">联系方式</a></dd>
</dl>
<div>共有产品(<%=ShopPageBase.shopInfo.productcount %>)</div>
</div>
</div>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/ascx/_shopnav.ascx | ASP.NET | oos | 2,246 |
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="_head.ascx.cs" Inherits="TREC.Web.aspx.ascx._head" %>
<div class="topNav">
<div class="topNav992 top">
<div class="topCity"><span>全国</span>
<div class="topCity1"><a href="#" class="a1"></a>
<ul class="topCity12"><a href="#">全国</a><%--<a href="#">上海</a><a href="#">广州</a><a href="#">深圳</a>--%></ul>
</div>
</div>
<div class="topLogin"><img src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/index_04.gif" />
<%if (TRECommon.CookiesHelper.GetCookie("mid") != "" && TRECommon.CookiesHelper.GetCookie("mname") != "" && TRECommon.CookiesHelper.GetCookie("mpwd") != "")
{ %>
<a href="javascript:;">您好:<strong>[<%=TRECommon.CookiesHelper.GetCookie("mname") != "" && TRECommon.CookiesHelper.GetCookie("mname").Length > 7 ? TRECommon.CookiesHelper.GetCookie("mname").Substring(0, 7) + ".." : TRECommon.CookiesHelper.GetCookie("mname") %>]</strong></a>
<a href="<%=TREC.ECommerce.ECommon.WebUrl %>/suppler/default.aspx">[系统]</a>
<a href="<%=TREC.ECommerce.ECommon.WebUrl %>/loginout.aspx">[退出]</a>
<%}else{ %>
<a href="<%=TREC.ECommerce.ECommon.WebUrl %>/login.aspx">供应商登录</a> /
<a href="<%=TREC.ECommerce.ECommon.WebUrl %>/reg.aspx">申请入驻</a> /
<%} %>
</div>
</div> | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/ascx/_head.ascx | ASP.NET | oos | 1,507 |
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="_companyproduct.ascx.cs" Inherits="TREC.Web.aspx.ascx._shopproduct" %>
<div class="homebraRight1">
<div class="homebraRight11">
<P class="bra-xz">
<select name="pi_brand" id="pi_brand" onchange="categoryChange()" ></select>
</P>
<P class="bra-xz">
<select name="pi_brands" id="pi_brands" onchange="categoryChange()"></select>
</P>
<P class="bra-xz">
<select name="pi_pcategory" id="pi_pcategory" onchange="categoryChange()"></select>
</P>
<P class="bra-xz">
<input name="" type="text" />
</P>
<div class="homebraLi23"><a href="#">搜索产品</a></div>
</div>
<ul class="homebraRight12" id="pi_categorylist"></ul>
</div>
<script type="text/javascript">
categoryChange();
function categoryChange() {
if (($("#pi_brand").val() == "" || $("#pi_brand").val() == null) && ($("#pi_brands").val() == "" || $("#pi_brands").val() == null) && ($("#pi_pcategory").val() == "" || $("#pi_pcategory").val() == null)) {
$("#pi_brand,#pi_brands,#pi_pcategory").html("");
$("#pi_brand").append("<option value=>----请选择品牌----</option>");
$("#pi_brands").append("<option value=>----请选择系列----</option>");
$("#pi_pcategory").append("<option value=>----请选择分类----</option>");
$("#pi_categorylist").html("").hide().show().html("");
}
$.ajax({
url: "<%=TREC.ECommerce.ECommon.WebUrl %>/ajax/ajaxproduct.ashx",
data: "type=getshopproductsearchitem&v=" + $("#pi_brand").val() + "&v2=" + $("#pi_brands").val() + "&v3=" + $("#pi_pcategory").val() + "&c=<%=TREC.ECommerce.ShopPageBase.shopInfo.id %>",
dataType: "json",
success: function (data) {
if (data != "") {
if (($("#pi_brand").val() == "" || $("#pi_brand").val() == null) && ($("#pi_brands").val() == "" || $("#pi_brands").val() == null) && ($("#pi_pcategory").val() == "" || $("#pi_pcategory").val() == null)) {
$.each(data, function (i) {
if (data[i].type == "brand") {
$("#pi_brand").append("<option value=\"" + data[i].v + "\">" + data[i].n + "</option>");
}
if (data[i].type == "brands") {
$("#pi_brands").append("<option value=\"" + data[i].v + "\">" + data[i].n + "</option>");
}
if (data[i].type == "pcategory") {
$("#pi_pcategory").append("<option value=\"" + data[i].v + "\">" + data[i].n + "</option>");
}
if (data[i].type == "category") {
$("#pi_categorylist").append("<li><a href=\"#\">" + data[i].n + "(" + data[i].count + ")</a></li>");
}
});
} else {
$("#pi_categorylist").html("").hide().show().html("");
$.each(data, function (i) {
if (data[i].type == "category") {
$("#pi_categorylist").append("<li><a href=\"#\">" + data[i].n + "(" + data[i].count + ")</a></li>");
}
});
}
if ("<%=TREC.ECommerce.ECommon.QuerySearchPCategory %>" != "") {
$("#pi_pcategory").val("<%=TREC.ECommerce.ECommon.QuerySearchPCategory %>");
}
}
}
});
}
</script> | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/ascx/_shopproduct.ascx | ASP.NET | oos | 3,908 |
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="_nav.ascx.cs" Inherits="TREC.Web.aspx.ascx._nav" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Import Namespace="TREC.ECommerce" %>
<div class="topNav992 logo">
<div class="logo1"><a href="<%=TREC.ECommerce.ECommon.WebUrl %>"><img src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/index_12.jpg" alt="" /><img src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/index_13.jpg" alt="" /></a></div>
<div class="topSearch" id="topSearch">
<div class="topSearch1">
<a href="#"><img src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/index_21.gif" /></a><span id="searchTypeDisplay">搜品牌</span>
<ol id="searchTypeList">
<a href="javascript:;" title="brand" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("searchtype", "brand", "", "Searcha")%><%=TREC.ECommerce.UiCommon.QueryStringCur("searchtype", "", "", "Searcha")%>">搜品牌</a>
<a href="javascript:;" title="distributor" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("searchtype", "distributor", "", "Searcha")%>">搜经销商</a>
<a href="javascript:;" title="product" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("searchtype", "product", "", "Searcha")%>">搜产品</a>
<a href="javascript:;" title="market" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("searchtype", "market", "", "Searcha")%>">搜卖场</a>
<a href="javascript:;" title="information" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("searchtype", "information", "", "Searcha")%>">搜咨讯</a>
</ol>
</div>
<input name="searchKey" type="text" class="topSearch2" id="searchKey" />
<a href="javascript:;" class="topSearch3" id="topSearchBtn"></a>
<script type="text/javascript">
$(function () {
if ("<%=ECommon.QuerySearchKey %>" != "") {
$("#searchKey").val("<%=ECommon.QuerySearchKey %>");
}
$("#searchKey").oms_autocomplate({ url: "/ajax/search.ashx", inputWidth: 339, inputHeight: 32, paramTypeSelector: "#searchTypeList>a.Searcha" });
})
$("#topSearchBtn").click(function () {
//window.top.location = "<%=EnUrls.Search%>".format($("#searchFootTypeList").find("a.coselia").attr("title"), $("#searchFootKey").val().replace(/\-/g, "_"));
window.top.location = "<%=ECommon.WebUrl %>" + "/search.aspx?type=" + $("#searchTypeList").find("a.Searcha").attr("title") + "&key=" + $("#searchKey").val().replace(/\-/g, "_");
});
</script>
</div>
</div>
<div class="topNav992 nav">
<ul class="nav1">
<li><a href="/" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","index.aspx,login.aspx,reg.aspx","","active") %>">首页</a></li>
<li><a href="<%=TREC.ECommerce.ECommon.WebUrl %>/company/list.aspx" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","companylist.aspx,companybrandlist.aspx","","active") %>">品牌厂商</a></li>
<li><a href="<%=TREC.ECommerce.ECommon.WebUrl %>/shop/list.aspx" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","shoplist.aspx,shopbrandlist.aspx","","active") %>">经销商</a></li>
<li><a href="<%=TREC.ECommerce.ECommon.WebUrl %>/product/list.aspx" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","productlist.aspx","","active") %> <%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","productInfo.aspx","","active") %>">产品</a></li>
<li><a href="<%=TREC.ECommerce.ECommon.WebUrl %>/market/list.aspx" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","marketlist.aspx","","active") %>">家具卖场</a></li>
<li><a href="<%=TREC.ECommerce.ECommon.WebUrl %>/promotion/list.aspx" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","promotion.aspx,promotioninfo.aspx","","active") %>">优惠资讯</a></li>
<%--<li><a href="<%=TREC.ECommerce.ECommon.WebUrl %>/cooperationlist.aspx" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","cooperationlist.aspx","","active") %>">招商</a></li>--%>
<li><a href="<%=TREC.ECommerce.ECommon.WebUrl %>/tuan.aspx" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","pingtuan.aspx","special","active") %>" target="_blank">家具拼团</a></li>
<%--<li><a href="http://www.fujiawang.com/PinTuan/index.aspx" class="special" target="_blank">家具拼团</a></li>--%>
</ul>
</div>
</div>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/ascx/_nav.ascx | ASP.NET | oos | 4,762 |
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="_headA.ascx.cs" Inherits="TREC.Web.aspx.ascx._headA" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Import Namespace="TREC.ECommerce" %>
<div class="homebrandst zhucetop1">
<div class="topNav992">
<div class="homepplogo"><a href="<%=TREC.ECommerce.ECommon.WebUrl %>"><img src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/homebrands_03.gif" /><img src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/homebrands_05.gif" style="margin-left:24px;"/></a></div>
<div class="topSearch homeppSearch">
<div class="topSearch1"><a href="#"><img src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/index_21.gif" /></a><span id="searchTypeDisplay">搜品牌</span>
<ol id="searchTypeList">
<a href="#" title="brand" class="Searcha">搜品牌</a>
<a href="#" title="distributor">搜经销商</a>
<a href="#" title="product">搜产品</a>
<a href="#" title="market">搜卖场</a>
<a href="#" title="information">搜活动</a>
</ol>
</div>
<input name="searchKey" type="text" class="topSearch2" id="searchKey" />
<a href="#" class="topSearch3" id="topSearchBtn"></a> </div>
<script type="text/javascript">
$(function () {
if ("<%=ECommon.QuerySearchKey %>" != "") {
$("#searchKey").val("<%=ECommon.QuerySearchKey %>");
}
})
$("#topSearchBtn").click(function () {
//window.top.location = "<%=EnUrls.Search%>".format($("#searchFootTypeList").find("a.coselia").attr("title"), $("#searchFootKey").val().replace(/\-/g, "_"));
window.top.location = "<%=ECommon.WebUrl %>" + "/search.aspx?type=" + $("#searchTypeList").find("a.Searcha").attr("title") + "&key=" + $("#searchKey").val().replace(/\-/g, "_");
});
</script>
<div class="topLogin"><img src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/index_04.gif" />
<%if (TRECommon.CookiesHelper.GetCookie("mid") != "" && TRECommon.CookiesHelper.GetCookie("mname") != "" && TRECommon.CookiesHelper.GetCookie("mpwd") != "")
{ %>
<a href="javascript:;">您好:<strong>[<%=TRECommon.CookiesHelper.GetCookie("mname") != "" && TRECommon.CookiesHelper.GetCookie("mname").Length > 7 ? TRECommon.CookiesHelper.GetCookie("mname").Substring(0, 7) + ".." : TRECommon.CookiesHelper.GetCookie("mname") %>]</strong></a>
<a href="<%=TREC.ECommerce.ECommon.WebUrl %>/suppler/default.aspx">[系统]</a>
<a href="<%=TREC.ECommerce.ECommon.WebUrl %>/loginout.aspx">[退出]</a>
<%}else{ %>
<a href="<%=TREC.ECommerce.ECommon.WebUrl %>/login.aspx">供应商登录</a> /
<a href="<%=TREC.ECommerce.ECommon.WebUrl %>/reg.aspx">申请入驻</a> /
<%} %>
</div>
</div>
</div> | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/ascx/_headA.ascx | ASP.NET | oos | 3,089 |
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="_foot.ascx.cs" Inherits="TREC.Web.aspx.ascx._foot" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Import Namespace="TREC.ECommerce" %>
<div class="coSearch">
<div class="coSearch1">
<dl class="coseli" id="searchFootTypeList">
<dd><a href="javascript:;" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("searchtype", "product", "", "coselia")%><%=TREC.ECommerce.UiCommon.QueryStringCur("searchtype", "", "", "coselia")%>" title="product">产品</a></dd>
<dt></dt>
<dd><a href="javascript:;" title="brand" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("searchtype", "brand", "", "coselia")%>">厂商/品牌</a></dd>
<dt></dt>
<dd><a href="javascript:;" title="distributor" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("searchtype", "distributor", "", "coselia")%>">经销商</a></dd>
<dt></dt>
<dd><a href="javascript:;" title="market" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("searchtype", "market", "", "coselia")%>">家具卖场</a></dd>
<dt></dt>
<dd><a href="javascript:;" title="information" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("searchtype", "information", "", "coselia")%>">优惠</a></dd>
</dl>
<div class="coSearch11"><input type="text" class="souinput" id="searchFootKey" name="searchFootKey" /><input name="footSearchButton" id="footSearchButton" type="button" class="soubutton" /></div>
</div>
</div>
<div class="copyright">
<p><a href="#"><%--<img src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/index_138.gif" width="45" height="13" /></a> --%>Copyright © <a href="#">家具快搜</a> 沪ICP备06038702号</p>
<p><img src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/index_130.jpg" /> <a href="#"><img src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/index-08.jpg" /></a> <a href="#"><img src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/index-09.jpg" /></a> <a href="#"><img src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/index-10.jpg" /></a></p>
</div>
<script type="text/javascript">
$(function () {
$("#searchFootKey").inputLabel("请择相应选项搜索").oms_autocomplate({ url: "/ajax/search.ashx", inputWidth: 434, inputHeight: 39, paramTypeSelector: "#searchFootTypeList a.coselia" });
if ("<%=ECommon.QuerySearchKey %>" != "") {
$("#searchFootKey").val("<%=ECommon.QuerySearchKey %>");
}
$(".coseli").find("a").click(function () {
$(".coseli").find("a").removeClass("coselia");
$(this).addClass("coselia");
})
$("#footSearchButton").click(function () {
//window.top.location = "<%=EnUrls.Search%>".format($("#searchFootTypeList").find("a.coselia").attr("title"), $("#searchFootKey").val().replace(/\-/g, "_"));
window.top.location = "<%=ECommon.WebUrl %>" + "/search.aspx?type=" + $("#searchFootTypeList").find("a.coselia").attr("title") + "&key=" + $("#searchFootKey").val().replace(/\-/g, "_");
});
})
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-29901941-1']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/ascx/_foot.ascx | ASP.NET | oos | 3,666 |
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="_brandletter.ascx.cs" Inherits="TREC.Web.aspx.ascx._brandletter" %>
<div class="prlifl1">
<div class="pren">
<ul>
<%foreach (string s in letterIndex)
{ %>
<li><a href="#" class="<%=dtBrandLetterIndex.Select("letter='" +s.ToLower()+"'").Length>0?"a1":"noprena" %>"><%=s %></a><div class="prentc" alphaid="<%=s %>">
<ul id="brandletter">
<%foreach (System.Data.DataRow dr in dtBrandLetterIndex.Select("letter='" +s.ToLower()+"'"))
{ %>
<li><a href="javascript:;" onclick="javascript:window.open('/company/<%=dr["companyid"]%>/brand-<%=dr["id"]%>.aspx');" ><%=dr["title"] != null && dr["title"].ToString() != "" && dr["title"].ToString().Length > 4 ? dr["title"].ToString().Substring(0, 4) : dr["title"]%></a></li>
<%} %>
</ul>
</div></li>
<%} %>
</ul>
</div>
<div class="prsq"><a href="#">收起</a></div>
</div> | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/ascx/_brandletter.ascx | ASP.NET | oos | 1,047 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.market.about" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_marketnav.ascx" tagname="_marketnav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_games_tb', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 300, //设置图片区域宽度(像素)
height: 225, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_marketnav ID="_marketnav1" runat="server" />
<div class="marketdesc">
<div class="topNav992">
<div class="homebraLift">
<div style="margin-top:0;border:0;" class="homebraLi2">
<div class="braAbout">
<div class="braabtitle"><%=marketInfo.title %></div>
<div class="homebraLi22">
<%--<div style="float:left; margin-right:15px;"><img src="<%=EnFilePath.GetMarketSurfacePath(marketInfo.id.ToString(),marketInfo.surface) %>" height="346" width="219"></div>--%>
<div class="homebraLi221" style="width:738px;">
<%=marketInfo.descript %>
</div>
</div>
</div>
<div class="braAbout" style="display:none">
<div class="braabtitle">联系方式</div>
<div class="braAboutlx">
<div style="float:right;"><%--<img width="245" height="199" src="<%=ECommon.WebResourceUrlToWeb %>/images/brands_05.jpg"><p class="p1">将地址发送短信至手机</p>--%></div>
<b>所属区县</b>:<%=marketInfo.areacode %> <br>
<b>地址</b>:<%=marketInfo.address %> <br>
<b>乘车路线</b>:<%=marketInfo.busroute %><br>
<b>咨询电话</b>:<%=marketInfo.zphone %> <br>
<b>投诉电话</b>:<%=marketInfo.phone %><br>
<b>营业时间</b>:<%=marketInfo.hours %><br>
<b>营业面积</b>:<%=marketInfo.cbm %><br>
<a href="#" style="color:#b70d01;text-decoration:underline;">更多联系方式</a><br>
</div>
</div>
<div class="braAbout" style="display:none">
<div class="braabtitle"><span class="spana1"><a href="#">卖场照片</a></span>卖场照片</div>
<div id="braAboutzs" class="braAboutzs">
<ul>
<%if (marketInfo.desimage != null)
{ %>
<%foreach (string s in marketInfo.desimage.Split(','))
{ %>
<%if (s != "")
{ %>
<li><a href="javascript:;"><img width="88" height="121" src="<%=EnFilePath.GetMarketDescriptPath(marketInfo.id.ToString(),s) %>"></a></li>
<%} %>
<%} %>
<%}else{ %>
<li><a href="javascript:;"><img width="88" height="121" src=" <%=ECommon.WebResourceUrlToWeb %>/images/noshop.jpg"></a></li>
<%} %>
</ul>
</div>
</div>
<div class="braAbout">
<div class="braabtitle"><span class="spana1"><a href="<%=string.Format(EnUrls.MarketInfoBrand,marketInfo.id) %>">查看全部入驻品牌</a></span>入驻品牌</div>
<div class="brandjs3">
<%foreach (EnWebMarket.MarketShop s in marketInfo.MarketShopList)
{ %>
<div class="brandjs31"><span><img width="74" height="56" src="<%=EnFilePath.GetShopThumbPath(s.id.ToString(),s.thumb) %>"></span>
<p class="haui"><a style="color:#b1051b;" href="#"><%=s.title%> <%--<img src="images/index_117.gif">--%></a></p>
<p class="address"><%=s.address%></p>
<p class="phone"><%=s.phone%></p>
</div>
<%} %>
</div>
</div>
</div>
</div>
<div class="homebraRight">
<div class="homebraRight1 homebraRight3" style="margin:0">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.MarketInfoBrand,marketInfo.id) %>">更多</a></span>推荐入驻品牌</div>
<ul>
<%foreach (EnWebMarket.MarketBrand b in marketInfo.MarketBrandList)
{ %>
<li><a href="<%=string.Format(EnUrls.CompanyInfoBrandList,b.companyid,b.id) %>"><img src="<%=EnFilePath.GetBrandLogoPath(b.id,b.logo) %>" width="105" height="38"></a></li>
<%} %>
</ul>
</div>
<div class="homebraRight1 homebraRight3">
<div class="promotions"><span><a href="<%=EnUrls.PromotionList%>">更多</a></span>促销信息</div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToMarket(4,marketInfo.id))%>
</div>
</div>
</div>
</div>
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/market/about.aspx | ASP.NET | oos | 5,690 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.market.brand" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_marketnav.ascx" tagname="_marketnav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_games_tb', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 300, //设置图片区域宽度(像素)
height: 225, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_taobao2010', //风格应用的名称
path: 'http://www.fujiawang.com/js/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 466, //设置图片区域宽度(像素)
height: 195, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
<script type="text/javascript">
$(function () {
marketFloorEvent();
});
function marketFloorEvent() {
marketTab('marketFloorTrim1');
}
function marketTab(obj) {
$('.' + obj + '>.hd>ul>li').click(function () {
var o = $(this);
var objPa = o.parent('ul');
var objSib = objPa.find('li');
var index = objSib.index(o);
objSib.removeClass('on');
o.addClass('on');
var objItemList = objPa.parent('.hd').siblings('.bd');
objItemList.find('.item').hide();
var itemTarget = objItemList.find('.item').eq(index);
itemTarget.show();
return false;
});
}
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_marketnav ID="_marketnav1" runat="server" />
<div class="homebrandsc">
<div class="topNav992 central" style="background:#fff;">
<div class="productList1">
<div class="marketFloor" >
<div class="marketFloorTrim1" id="marketFloorTrim1" style="width:755px">
<div class="hd r">
<ul>
<%foreach (EnWebMarket.MarketStorey s in marketInfo.MarketStoreyList)
{ %>
<li><a href="#"><%=s.title %></a></li>
<%} %>
</ul>
</div>
<div class="bd l" style="width:721px" id="topstorey">
<%foreach (EnWebMarket.MarketStorey s in marketInfo.MarketStoreyList)
{ %>
<div class="item"><img src="<%=EnFilePath.GetMarketStoreyThumbPath(s.id,s.thumb)%>" /><p>点击放大<%=s.title %>楼层图</p></div>
<%} %>
<script type="text/javascript">
$("#topstorey").find(".item:first").css("display", "block");
</script>
</div>
</div>
<div class="clearfix"></div>
</div>
<div class="productList12">
<div class="productList121">
<ul class="pr12-ti pr12-tiTrim1">
<li class="li0"><a href="<%=string.Format(EnUrls.MarketInfoBrandList, ECommon.QueryMid, "", ECommon.QuerySearchSort, ECommon.QueryPageIndex) %>" class="<%=UiCommon.QueryStringCur("msid", "", "", "pr12-tia pr12-tiaTrim1") %>">所有楼层</a></li>
<%--<li><a href="#" class="pr12-tia pr12-tiaTrim1">1楼</a></li>--%>
<%foreach (EnWebMarket.MarketStorey s in marketInfo.MarketStoreyList)
{ %>
<li><a href="<%=string.Format(EnUrls.MarketInfoBrandList, ECommon.QueryMid, s.id, ECommon.QuerySearchSort, ECommon.QueryPageIndex) %>" class="<%=UiCommon.QueryStringCur("msid", s.id.ToString(), "", "pr12-tia pr12-tiaTrim1") %>"><%=s.title %></a></li>
<%} %>
</ul>
<div class="pr12-fy"><a href="<%=NextUrl %>" class="xyy">下一页</a><span><%=ECommon.QueryPageIndex %>/<%=AspNetPager1.PageCount %></span><a href="<%=PrvUrl %>" style="float:right;"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/product_19.gif" /></a></div>
</div>
<div class="productList122"><span class="s1">快速分类</span>
<div class="pr_xl"><%=sortTitle%>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoBrandList,ECommon.QueryMid, ECommon.QuerySearchMarketStorey, "_t1", ECommon.QueryPageIndex) %>">产品名称</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoBrandList,ECommon.QueryMid, ECommon.QuerySearchMarketStorey,"_t1",ECommon.QueryPageIndex) %>">名称降序</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t2","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoBrandList,ECommon.QueryMid, ECommon.QuerySearchMarketStorey,"_t2",ECommon.QueryPageIndex) %>">名称升序</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortDate %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoBrandList,ECommon.QueryMid, ECommon.QuerySearchMarketStorey,"_d1",ECommon.QueryPageIndex) %>">更新时间</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoBrandList,ECommon.QueryMid, ECommon.QuerySearchMarketStorey,"_d1",ECommon.QueryPageIndex) %>">由近到远</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d2","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoBrandList,ECommon.QueryMid, ECommon.QuerySearchMarketStorey, "_d2",ECommon.QueryPageIndex) %>">由远到近</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortHot %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoBrandList,ECommon.QueryMid, ECommon.QuerySearchMarketStorey,"_h1",ECommon.QueryPageIndex) %>">推荐产品</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoBrandList,ECommon.QueryMid, ECommon.QuerySearchMarketStorey,"_h1",ECommon.QueryPageIndex) %>">由高到低</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h2","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoBrandList,ECommon.QueryMid, ECommon.QuerySearchMarketStorey,"_h2",ECommon.QueryPageIndex) %>">由低到高</a></li>
</ul>
</div>
<%--<label for="supportDIY"><input name="supprotDIY" id="supportDIY" type="checkbox" value="" /><s>支持定制</s></label>--%></div>
</div>
<%--<div class="d0" style="padding:10px 20px 0;"><strong>卖场推荐品牌</strong> <a href="#" target="_blank">弗劳思丹</a> <a href="#" target="_blank">木之本</a> <a href="#" target="_blank">全友家私</a> <a href="#" target="_blank">玉庭家具</a> <a href="#" target="_blank">甘迪</a> <a href="#" target="_blank">斯曼克</a> <a href="#" target="_blank">卡瑞迪</a> <a href="#" target="_blank">锐驰</a> <a href="#" target="_blank">力排库斯</a> <a href="#" target="_blank">艾菲尔</a></div>--%>
<%foreach (EnWebMarketStoreyShop s in list)
{ %>
<div class="brandsDealer">
<div class="dealerEn">A</div>
<div class="brandsDealerBj">
<div class="brandsDealer1"><a href="#"><img src="<%=EnFilePath.GetShopThumbPath(s.shopid.ToString(),s.shopthumb) %>" width="141" height="106" /></a></div>
<div class="brandsDealer2">
<p class="Dealer1"><strong><a href="#"><%=s.shoptitle %></a></strong><%--<a href="#"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_117.gif" style="margin-top:2px;"/></a>--%></p>
<p><strong>经销品牌</strong>:<font><%=s.BrandName.Replace(",", " ") %></font> <strong>品牌风格:</strong><font><%=s.StyleName %></font></p>
<p><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_121.gif" style=" float:left; margin:4px 5px 0 0"/><%=s.shopaddress %></p>
<div><%=s.shopphone %></div><div class="lianxifl">联系时,请说是在福家网上看到的,谢谢!</div>
</div>
<div class="brandsgc03">
<%foreach (EnWebMarketStoreyShop.MarketStoreyShopBrand b in s.MarketStoreyShopBrandList)
{ %>
<a href="#"><img src="<%=EnFilePath.GetBrandLogoPath(b.id.ToString(),b.thumb) %>" width="105" height="38" /></a>
<%} %>
</div>
</div>
<div class="productView">
<div class="br-gcs hd"><ul>
<li><a href="#">公司介绍</a></li>
<li><a href="#">展厅地址</a></li>
<li><a href="#">产品展示</a></li>
</ul>
</div>
</div>
</div>
<%} %>
<webdiyer:aspnetpager ID="AspNetPager1" runat="server" AlwaysShow="true"
CurrentPageButtonClass="cpb" CssClass="pager"
UrlPaging="true" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
PrevPageText="上一页">
</webdiyer:aspnetpager>
</div>
<div class="productList2">
<div class="homebraRight">
<div class="homebraRight1 homebraRight3" style="margin:0">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.MarketInfoBrand,marketInfo.id) %>">更多</a></span>推荐入驻品牌</div>
<ul>
<%foreach (EnWebMarket.MarketBrand b in marketInfo.MarketBrandList)
{ %>
<li><a href="<%=string.Format(EnUrls.CompanyInfoBrandList,b.companyid,b.id) %>"><img src="<%=EnFilePath.GetBrandLogoPath(b.id,b.logo) %>" width="105" height="38"></a></li>
<%} %>
</ul>
</div>
<div class="homebraRight1 homebraRight3">
<div class="promotions"><span><a href="<%=EnUrls.PromotionList%>">更多</a></span>促销信息</div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToMarket(4,marketInfo.id))%>
</div>
</div>
</div>
</div>
</div>
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/market/brand.aspx | ASP.NET | oos | 11,505 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.market.news" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_marketnav.ascx" tagname="_marketnav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_games_tb', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 300, //设置图片区域宽度(像素)
height: 225, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_marketnav ID="_marketnav1" runat="server" />
<div class="marketdesc" style="background:#eeedea;">
<div class="topNav992">
<div class="homebraLift">
<div style="margin-top:0;" class="homebraLi2">
<div class="brandsDealer shopindex3">
<div class="brandsProm1">
<h2 class="c61f38"><a href="#">玉兔迎春享柏森臻品 邀您双人畅游港澳4天3晚</a> <span>2012.12.03</span></h2>
<p>柏林世家橱柜,德国名牌,绝佳品质,优雅生活!手柏林世家,推出新一轮国庆抄底团购:10月2日,柏林世家橱柜全场9折,前5名8.5折,代金券再全单8折,震撼6.8折!除此外,下单的客户还有许多惊喜等着你,赶快报名来参。</p>
</div>
</div>
<div class="brandsDealer shopindex3">
<div class="brandsProm1">
<h2 class="c61f38"><a href="#">玉兔迎春享柏森臻品 邀您双人畅游港澳4天3晚</a> <span>2012.12.03</span></h2>
<p>柏林世家橱柜,德国名牌,绝佳品质,优雅生活!手柏林世家,推出新一轮国庆抄底团购:10月2日,柏林世家橱柜全场9折,前5名8.5折,代金券再全单8折,震撼6.8折!除此外,下单的客户还有许多惊喜等着你,赶快报名来参。</p>
</div>
</div>
<div class="brandsDealer shopindex3">
<div class="brandsProm1">
<h2 class="c61f38"><a href="#">玉兔迎春享柏森臻品 邀您双人畅游港澳4天3晚</a> <span>2012.12.03</span></h2>
<p>柏林世家橱柜,德国名牌,绝佳品质,优雅生活!手柏林世家,推出新一轮国庆抄底团购:10月2日,柏林世家橱柜全场9折,前5名8.5折,代金券再全单8折,震撼6.8折!除此外,下单的客户还有许多惊喜等着你,赶快报名来参。</p>
</div>
</div>
<div class="brandsDealer shopindex3">
<div class="brandsProm1">
<h2 class="c61f38"><a href="#">玉兔迎春享柏森臻品 邀您双人畅游港澳4天3晚</a> <span>2012.12.03</span></h2>
<p>柏林世家橱柜,德国名牌,绝佳品质,优雅生活!手柏林世家,推出新一轮国庆抄底团购:10月2日,柏林世家橱柜全场9折,前5名8.5折,代金券再全单8折,震撼6.8折!除此外,下单的客户还有许多惊喜等着你,赶快报名来参。</p>
</div>
</div>
<div class="brandsDealer shopindex3">
<div class="brandsProm1">
<h2 class="c61f38"><a href="#">玉兔迎春享柏森臻品 邀您双人畅游港澳4天3晚</a> <span>2012.12.03</span></h2>
<p>正如每位父亲谈到自己孩子时难掩骄傲,谈到摩恩,低调内敛的他也会滔滔不绝,自豪感流于言表。从98年进入摩恩任职市场部经理,到如今负责整个亚太区的副总裁及中国总经理搜狗,他建立起了中国摩恩公司,并见证了摩恩在亚太地区的每一步发展。<br /><br />
1994年,摩恩进入中国市场,上海建立了第一家销售公司天龙八部, 随后的几年又在北京、广州和重庆设立了办事处.1996年,摩恩在中国成立了合资工厂,表明了摩恩对中国市场的信心及在中国长期发展的决心.回顾在中国十多年的发展历程,他说:“我们拥有三大无法复制的核心优势”。 </p>
</div>
</div>
<div class="brandsDealer shopindex3">
<div class="brandsProm1">
<h2 class="c61f38"><a href="#">玉兔迎春享柏森臻品 邀您双人畅游港澳4天3晚</a> <span>2012.12.03</span></h2>
<p>柏林世家橱柜,德国名牌,绝佳品质,优雅生活!手柏林世家,推出新一轮国庆抄底团购:10月2日,柏林世家橱柜全场9折,前5名8.5折,代金券再全单8折,震撼6.8折!除此外,下单的客户还有许多惊喜等着你,赶快报名来参。</p>
</div>
</div>
<div class="brandsDealer shopindex3">
<div class="brandsProm1">
<h2 class="c61f38"><a href="#">玉兔迎春享柏森臻品 邀您双人畅游港澳4天3晚</a> <span>2012.12.03</span></h2>
<p>柏林世家橱柜,德国名牌,绝佳品质,优雅生活!手柏林世家,推出新一轮国庆抄底团购:10月2日,柏林世家橱柜全场9折,前5名8.5折,代金券再全单8折,震撼6.8折!除此外,下单的客户还有许多惊喜等着你,赶快报名来参。</p>
</div>
</div>
<div class="brandsDealer shopindex3">
<div class="brandsProm1">
<h2 class="c61f38"><a href="#">玉兔迎春享柏森臻品 邀您双人畅游港澳4天3晚</a> <span>2012.12.03</span></h2>
<p>柏林世家橱柜,德国名牌,绝佳品质,优雅生活!手柏林世家,推出新一轮国庆抄底团购:10月2日,柏林世家橱柜全场9折,前5名8.5折,代金券再全单8折,震撼6.8折!除此外,下单的客户还有许多惊喜等着你,赶快报名来参。</p>
</div>
</div>
<div class="brandsDealer shopindex3">
<div class="brandsProm1">
<h2 class="c61f38"><a href="#">玉兔迎春享柏森臻品 邀您双人畅游港澳4天3晚</a> <span>2012.12.03</span></h2>
<p>柏林世家橱柜,德国名牌,绝佳品质,优雅生活!手柏林世家,推出新一轮国庆抄底团购:10月2日,柏林世家橱柜全场9折,前5名8.5折,代金券再全单8折,震撼6.8折!除此外,下单的客户还有许多惊喜等着你,赶快报名来参。</p>
</div>
</div>
<div class="brandsDealer shopindex3">
<div class="brandsProm1">
<h2 class="c61f38"><a href="#">玉兔迎春享柏森臻品 邀您双人畅游港澳4天3晚</a> <span>2012.12.03</span></h2>
<p>柏林世家橱柜,德国名牌,绝佳品质,优雅生活!手柏林世家,推出新一轮国庆抄底团购:10月2日,柏林世家橱柜全场9折,前5名8.5折,代金券再全单8折,震撼6.8折!除此外,下单的客户还有许多惊喜等着你,赶快报名来参。</p>
</div>
</div>
<div style="margin-bottom:60px;" class="hForum222">
<ul class="hForum2221">
<li><a class="hForum222110" href="#">首页</a></li>
<li><a class="hForum222110" href="#">上一页</a></li>
<li><a class="hForum2221a" href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li><a href="#">...157</a></li>
<li><a href="#">下一页</a></li>
<li><a href="#">最后一页</a></li>
</ul>
</div>
</div>
</div>
<div class="homebraRight">
<div class="homebraRight1 homebraRight2">
<div class="promotions"><span><a href="#">更多</a></span>最新产品</div>
<div class="brandsproduct">
<p><a href="#"><img src="images/brands_03.gif"></a></p>
<p><a href="#">三人沙发(TS01003)</a></p>
</div>
<div class="brandsproduct">
<p><a href="#"><img src="images/brands_03.gif"></a></p>
<p><a href="#">三人沙发(TS01003)</a></p>
</div>
<div class="brandsproduct">
<p><a href="#"><img src="images/brands_03.gif"></a></p>
<p><a href="#">三人沙发(TS01003)</a></p>
</div>
<div class="brandsproduct">
<p><a href="#"><img src="images/brands_03.gif"></a></p>
<p><a href="#">三人沙发(TS01003)</a></p>
</div>
</div>
<div class="homebraRight1 homebraRight3">
<div class="promotions"><span><a href="#">更多</a></span>促销信息</div>
<div class="promotions2">
<h3>德尔地板跌爆眼球的抄底团购全场6.4折起 </h3>
<p class="time">截至日期:2011-12-31</p>
<p class="address">长逸路15号建配龙6楼1148-1149</p>
<p class="phone">王丽君 13269291819</p>
</div>
<div class="promotions2">
<h3>德尔地板跌爆眼球的抄底团购全场6.4折起 </h3>
<p class="time">截至日期:2011-12-31</p>
<p class="address">长逸路15号建配龙6楼1148-1149</p>
<p class="phone">王丽君 13269291819</p>
</div>
<div class="promotions2">
<h3>德尔地板跌爆眼球的抄底团购全场6.4折起 </h3>
<p class="time">截至日期:2011-12-31</p>
<p class="address">长逸路15号建配龙6楼1148-1149</p>
<p class="phone">王丽君 13269291819</p>
</div>
</div>
</div>
</div>
</div>
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/market/news.aspx | ASP.NET | oos | 10,754 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.market.product" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_marketnav.ascx" tagname="_marketnav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_games_tb', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 300, //设置图片区域宽度(像素)
height: 225, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
$(function () {
SoPopVerification(); //弹出联系方式
});
function SoPopVerification() {
$('#braAboutzs a').lightBox({ fixedNavigation: true });
}
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_marketnav ID="_marketnav1" runat="server" />
<div class="marketdesc" style="background:#eeedea">
<div class="topNav992 central" style="background:#fff;">
<div class="productList1" >
<div class="prlifl1">
<div class="prlifl1">
<div class="pren">
<ul>
<%foreach (string s in letterIndex)
{ %>
<li><a href="#" class="<%=dtBrandLetterIndex.Select("letter='" +s.ToLower()+"'").Length>0?"a1":"noprena" %>"><%=s %></a><div class="prentc" alphaid="<%=s %>">
<ul id="brandletter">
<%foreach (System.Data.DataRow dr in dtBrandLetterIndex.Select("letter='" +s.ToLower()+"'"))
{ %>
<li><a href="javascript:;" onclick="javascript:window.open('/company/<%=dr["companyid"]%>/brand-<%=dr["id"]%>.aspx');" ><%=dr["title"] != null && dr["title"].ToString() != "" && dr["title"].ToString().Length > 4 ? dr["title"].ToString().Substring(0, 4) : dr["title"]%></a></li>
<%} %>
</ul>
</div></li>
<%} %>
</ul>
</div>
<div class="prsq"><a href="#">收起</a></div>
</div>
</div>
<div class="prlifl2">
<div class="prlifl20">
<div class="prli-selected"><span>您的搜索条件:</span>
<%foreach (EnSearchItem i in ECProduct.GetMarketSearchItem(marketInfo.id.ToString()).FindAll(x => x.isCur == true))
{ %>
<a href="<%=string.Format(EnUrls.MarketInfoProductList, ECommon.QueryMid, ECommon.QuerySearchBrand.Replace("_" + i.value, ""), ECommon.QuerySearchStyle.Replace("_" + i.value, ""), ECommon.QuerySearchMaterial.Replace("_" + i.value, ""), ECommon.QuerySearchSpread.Replace("_" + i.value, ""), ECommon.QuerySearchColor.Replace("_" + i.value, ""), ECommon.QuerySearchSort.Replace("_" + i.value, ""), ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex,ECommon.QuerySearchType.Replace("_" + i.value, ""),ECommon.QuerySearchPCategory.Replace("_" + i.value, ""),ECommon.QuerySearchCategory.Replace("_" + i.value, ""))%>"><%=i.title %></a>
<%} %>
</div>
<dl class="prlifldl">
<dd>热门品牌:</dd>
<dt>
<%foreach (EnSearchItem i in ECProduct.GetMarketSearchItem(marketInfo.id.ToString()).FindAll(x => x.type == "brand" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.MarketInfoProductList, ECommon.QueryMid,ECommon.QuerySearchBrand+"_"+i.value,ECommon.QuerySearchStyle,ECommon.QuerySearchMaterial,ECommon.QuerySearchSpread,ECommon.QuerySearchColor,ECommon.QuerySearchSort,ECommon.QuerySearchComposing,ECommon.QuerySearchKey,ECommon.QueryPageIndex,ECommon.QuerySearchType,ECommon.QuerySearchPCategory,ECommon.QuerySearchCategory) %>"><%=i.title %></a>
<%} %>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品风格:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECProduct.GetMarketSearchItem(marketInfo.id.ToString()).FindAll(x => x.type == "style" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.MarketInfoProductList, ECommon.QueryMid, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle + "_" + i.value, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchColor, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex,ECommon.QuerySearchType,ECommon.QuerySearchPCategory,ECommon.QuerySearchCategory)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品材质:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECProduct.GetMarketSearchItem(marketInfo.id.ToString()).FindAll(x => x.type == "material" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.MarketInfoProductList, ECommon.QueryMid, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial + "_" + i.value, ECommon.QuerySearchSpread, ECommon.QuerySearchColor, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex,ECommon.QuerySearchType,ECommon.QuerySearchPCategory,ECommon.QuerySearchCategory)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品价位:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECProduct.GetMarketSearchItem(marketInfo.id.ToString()).FindAll(x => x.type == "spread" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.MarketInfoProductList, ECommon.QueryMid, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread + "_" + i.value, ECommon.QuerySearchColor, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex,ECommon.QuerySearchType,ECommon.QuerySearchPCategory,ECommon.QuerySearchCategory)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品颜色:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECProduct.GetMarketSearchItem(marketInfo.id.ToString()).FindAll(x => x.type == "color" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.MarketInfoProductList, ECommon.QueryMid, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchColor+ "_" + i.value, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex,ECommon.QuerySearchType,ECommon.QuerySearchPCategory,ECommon.QuerySearchCategory)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<%if(ECommon.QuerySearchCategory!=""){ %>
<dl class="prlifldl">
<dd>产品类型:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECProduct.GetMarketProductSearchTypeItem(marketInfo.id.ToString()).FindAll(x => x.type == "type" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.MarketInfoProductList, ECommon.QueryMid, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchColor, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex,ECommon.QuerySearchType+ "_" + i.value,ECommon.QuerySearchPCategory,ECommon.QuerySearchCategory)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<%} %>
</div>
</div>
<div class="productList12">
<div class="productList121">
<ul class="pr12-ti">
<li><a href="<%=string.Format(EnUrls.MarketInfoProductList, ECommon.QueryMid, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchColor, ECommon.QuerySearchSort, "",ECommon.QuerySearchKey, 1, ECommon.QuerySearchType, "", "") %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("composing","","","pr12-tia") %>">所有产品</a></li>
<li><a href="<%=string.Format(EnUrls.MarketInfoProductList,ECommon.QueryMid, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchColor, ECommon.QuerySearchSort, "recomm", ECommon.QuerySearchKey, 1, ECommon.QuerySearchType, "", "") %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("composing","recomm","","pr12-tia") %>">热门产品</a></li>
</ul>
<div class="pr12-fy"><a href="<%=NextUrl %>" class="xyy">下一页</a><span><%=ECommon.QueryPageIndex %>/<%=AspNetPager1.PageCount %></span><a href="<%=PrvUrl %>" style="float:right;"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/product_19.gif" /></a></div>
</div>
<div class="productList122"><span class="s1">快速分类</span>
<div class="pr_xl"><%=sortTitle%>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoProductList,ECommon.QueryMid, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">产品名称</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoProductList,ECommon.QueryMid, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">名称降序</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t2","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoProductList,ECommon.QueryMid, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">名称升序</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortDate %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoProductList,ECommon.QueryMid, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">更新时间</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoProductList,ECommon.QueryMid, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">由近到远</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d2","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoProductList,ECommon.QueryMid, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">由远到近</a></li>
</ul>
</div>
<div class="pr_xl" style="display:none"><%=sortHot %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoProductList,ECommon.QueryMid, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">推荐产品</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoProductList,ECommon.QueryMid, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">由高到低</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h2","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketInfoProductList,ECommon.QueryMid, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">由低到高</a></li>
</ul>
</div>
<%--<label for="supportDIY"><input name="supprotDIY" id="supportDIY" type="checkbox" value="" /><s>支持定制</s></label>--%></div>
</div>
<%foreach (EnWebProduct p in list)
{ %>
<div class="productPic productPic1">
<div class="productPic1">
<div class="productPic11"><a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><img src="<%=EnFilePath.GetProductThumbPath(p.id.ToString(),p.thumb) %>" height="173" width="230" /></a></div>
<div class="productPic12 c61f38" style="padding-top:10px;">
<h4><a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><%=p.HtmlProductName %></a></h4>
<p><strong>品牌:</strong><%=p.brandstitle %> <strong>风格:</strong><%=p.stylename %> </p>
<p> <strong>材质:</strong><select name="" style="width:208px; height:25px;">
<%foreach (ProductAttribute a in p.ProductAttributeList)
{ %>
<option><%=a.productmaterial %></option>
<%} %>
</select></p>
<p> <strong>尺寸:</strong><select name="select" style="width:208px; height:25px;">
<%foreach (ProductAttribute a in p.ProductAttributeList)
{ %>
<option><%=a.productlength+"*"+a.productwidth+"*"+a.productlength %></option>
<%} %>
</select>
</p>
<p> <strong>颜色:</strong><%=p.ProductAttributeInfo.productcolortitle %></p>
<h4><a style="text-decoration:none" href="javascript:;">指导价:<%=p.ProductAttributeInfo.markprice %></a></h4>
</div>
<%if (p.ProductShopList != null && p.ProductShopList.Count != 0)
{ %>
<div class="productPic13">
<div class="productPic131">
<p class="Dealer1"><strong><a href="<%=string.Format(EnUrls.ShopInfoIndex,p.ProductShopInfo.id) %>" target="_blank"><%=p.ProductShopInfo.title%></a></strong><a href="<%=string.Format(EnUrls.ShopInfoIndex,p.ProductShopInfo.id) %>" target="_blank"><%--<img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_117.gif" style="margin-top:2px;"/>--%> </a></p>
<p class="address"><%=p.ProductShopInfo.address%></p>
<p class="phone"><%=p.ProductShopInfo.phone%></p>
<p class="productPicdh">电话咨询价格,请说来自福家网</p>
</div>
<%--<div class="productPic132">
<p>优惠信息:</p>
<p><a href="#" style="color:#2953a6; text-decoration:underline;">德尔地板跌爆眼球的抄底团购全场 6.4折起 12.03</a></p>
</div>--%>
</div>
<%}
else {
%>
<div style="padding-left:8px; margin-right:5px;" class="productPic13">
<img style="margin-left:3px; margin-top:15px;" src="<%=ECommon.WebResourceUrlToWeb %>/images/noproductlistshop.gif">
</div>
<% } %>
</div>
<div class="productView">
<div class="br-gcs hd"><ul>
<li><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoIndex,p.companyid) %>');" target="_parent">厂家介绍</a></li>
<li><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoBrandList,p.companyid,p.brandid) %>');" target="_parent">品牌介绍</a></li>
<li><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoAddress,p.companyid) %>');" target="_parent">推荐店铺</a></li>
</ul>
</div>
</div>
</div>
<%} %>
<webdiyer:aspnetpager ID="AspNetPager1" runat="server" AlwaysShow="true"
CurrentPageButtonClass="cpb" CssClass="pager"
UrlPaging="true" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
PrevPageText="上一页">
</webdiyer:aspnetpager>
</div>
<div class="productList2">
<ul class="productList21">
<li class="hover" id="one1" ><a href="#" class="pla1" style="width:230px">产品分类</a></li>
</ul>
<div id="con_one_1" class="productList22">
<%=ECProduct.GetMarketCategoryHtmlToNav(marketInfo.id.ToString()) %>
</div>
<div style="margin-top:8px;" class="promotionsR1">
<div class="promotions"><span><a href="#">更多</a></span>促销信息</div>
<div class="prAd1"><a href="#"><img src="images/index_52.jpg"></a><a href="#"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_55.jpg"></a><a href="#"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_58.jpg"></a></div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToMarket(4,marketInfo.id)) %>
</div>
</div>
</div>
</div>
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/market/product.aspx | ASP.NET | oos | 19,909 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.market.promotion" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_marketnav.ascx" tagname="_marketnav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_games_tb', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 300, //设置图片区域宽度(像素)
height: 225, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_marketnav ID="_marketnav1" runat="server" />
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/market/promotion.aspx | ASP.NET | oos | 1,584 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.market.address" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_marketnav.ascx" tagname="_marketnav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
$(function () {
SoPopVerification(); //弹出联系方式
});
function SoPopVerification() {
$('#braAboutzs a').lightBox({ fixedNavigation: true });
}
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_marketnav ID="_marketnav1" runat="server" />
<div class="marketdesc">
<div class="topNav992">
<div class="homebraLift">
<div style="margin-top:0;border:0;" class="homebraLi2">
<div class="braAbout">
</div>
<div class="braAbout">
<div class="brandsDealer-map" id="maps"></div>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.2"></script>
<script type="text/javascript">
var map = new BMap.Map("maps");
map.centerAndZoom(new BMap.Point(116.404, 39.915), 11);
var local = new BMap.LocalSearch(map, {
renderOptions: { map: map }
});
local.search("<%=ECommon.GetAreaName(marketInfo.areacode)+marketInfo.address %>");
</script>
<br /><br />
<div class="braabtitle">联系方式</div>
<div class="braAboutlx" style="height:auto;padding-bottom:10px;border-bottom:1px dotted #c0c0c0;">
咨询电话:<%=marketInfo.phone %><br />
投诉电话:<%=marketInfo.zphone %><br />
传真:<%=marketInfo.fax %><br />
营业时间:<%=marketInfo.hours %><br />
营业面积:<%=marketInfo.cbm %>(平方米)<br />
地址:<%=marketInfo.address %><br />
联系人:<%=marketInfo.linkman %><br />
网址:<a href="<%=marketInfo.hours %>" style="color:#c61f38;text-decoration:underline;"><%=marketInfo.hours %></a><br />
</div>
</div>
</div>
</div>
<div class="homebraRight">
<div class="homebraRight1 homebraRight3" style="margin:0">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.MarketInfoBrand,marketInfo.id) %>">更多</a></span>推荐入驻品牌</div>
<ul>
<%foreach (EnWebMarket.MarketBrand b in marketInfo.MarketBrandList)
{ %>
<li><a href="<%=string.Format(EnUrls.CompanyInfoBrandList,b.companyid,b.id) %>"><img src="<%=EnFilePath.GetBrandLogoPath(b.id,b.logo) %>" width="105" height="38"></a></li>
<%} %>
</ul>
</div>
<div class="homebraRight1 homebraRight3">
<div class="promotions"><span><a href="<%=EnUrls.PromotionList%>">更多</a></span>促销信息</div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToMarket(4,marketInfo.id))%>
</div>
</div>
</div>
</div>
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/market/address.aspx | ASP.NET | oos | 3,707 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.market.index" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="../ascx/_headA.ascx" tagname="_headA" tagprefix="uc1" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="../ascx/_marketnav.ascx" tagname="_marketnav" tagprefix="uc3" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'fjwcontainer', //焦点图盒子ID
pattern: 'mF_taobao2010', //风格应用的名称
path: '<%=ECommon.WebResourceUrl %>/script/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 745, //设置图片区域宽度(像素)
height: 207, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
<script type="text/javascript">
$(function () {
soHoverTab('tabNotice');
soFocusMarketAlpha();
});
</script>
<script type="text/javascript">
function soFocusMarketAlpha() {
$('#focusMarket a').mouseenter(function () {
var obj = $(this);
obj.find('span').show();
obj.find('img:eq(0)').stop().animate(
{ "opacity": "0.3" }, 500);
var objs = obj.siblings('a').find('span').hide();
});
$('#focusMarket a').mouseleave(function () {
var obj = $(this);
obj.find('span').hide();
obj.find('img:eq(0)').stop().animate(
{ "opacity": "1" }, 500);
var objs = obj.siblings('a').find('span').hide();
});
}
function soHoverTab(obj) {
$('#' + obj + '>.hd>ul>li').hover(function () {
var o = $(this);
var objPa = o.parent('ul');
var objSib = objPa.find('li');
var index = objSib.index(o);
objSib.removeClass('cur');
o.addClass('cur');
var objItemList = objPa.parent('.hd').siblings('.bd');
objItemList.find('.item').hide();
objItemList.find('.item').eq(index).show();
}, function () {
return true;
});
}
</script>
</head>
<body>
<uc1:_headA ID="_headA1" runat="server" />
<uc3:_marketnav ID="_marketnav1" runat="server" />
<div class="market" style="background:none;">
<div class="marketL">
<div class="col1">
<%if (!string.IsNullOrEmpty(marketInfo.bannel))
{%>
<div id="fjwcontainer" class="" >
<ul class="pic">
<%
foreach (string s in marketInfo.bannel.Split(','))
{ %>
<%if (s != "")
{ %>
<li><a href="javascript:;" target="_blank"><img width="745" src="<%=EnFilePath.GetMarketBannerPath(marketInfo.id.ToString(),s)%>" /></a></li>
<%} %>
<%}%>
</ul>
</div>
<%
} %>
<div class="focusMarket" id="focusMarket">
<%if (marketInfo.MarketShopList!=null && marketInfo.MarketShopList.Count > 0)
{ %>
<a href="<%=string.Format(EnUrls.ShopInfoIndex, marketInfo.MarketShopList[0].id.ToString())%>" class="l" target="_blank" ><img src="<%=EnFilePath.GetShopThumbPath(marketInfo.MarketShopList[0].id.ToString(),marketInfo.MarketShopList[0].thumb) %>" height="278" width="372" alt="<%=marketInfo.MarketShopList[0].title %>" /><span><label class="label0"><img src="<%=EnFilePath.GetBrandLogoPath(marketInfo.MarketShopList[0].brandid,marketInfo.MarketShopList[0].brandlogo) %>" width="196" height="70" alt="<%=marketInfo.MarketShopList[0].title %>" /></label><label class="label2"><b>品牌:</b><i><%=marketInfo.MarketShopList[0].brandtitle %></i> <b>风格:</b><i><%=marketInfo.MarketShopList[0].brandstylename %></i> <b>楼层:</b><%=marketInfo.MarketShopList[0].marketstorey%></label></span></a>
<%} %>
<%for (int i = 1; i < 5;i++ )
{ %>
<%if (marketInfo.MarketShopList!=null && marketInfo.MarketShopList.Count > i && marketInfo.MarketShopList[i] != null)
{ %>
<a href="<%=string.Format(EnUrls.ShopInfoIndex, marketInfo.MarketShopList[i].id.ToString())%>" class="r" target="_blank" ><img src="<%=EnFilePath.GetShopThumbPath(marketInfo.MarketShopList[i].id.ToString(),marketInfo.MarketShopList[i].thumb) %>" height="136" width="181" alt="<%=marketInfo.MarketShopList[i].title %>" /><span><label class="label0"><img src="<%=EnFilePath.GetBrandLogoPath(marketInfo.MarketShopList[i].brandid,marketInfo.MarketShopList[i].brandlogo) %>" width="108" height="35" alt="<%=marketInfo.MarketShopList[i].title %>" /></label><label class="label2"><b>品牌:</b><i><%=marketInfo.MarketShopList[i].brandtitle%></i><br /><b>风格:</b><i><%=marketInfo.MarketShopList[i].brandstylename%></i><br /><b>楼层:</b><%=marketInfo.MarketShopList[i].marketstorey%></label></span></a>
<%}
else
{ %>
<a href="javascript:;" class="r" target="_blank" ><img src="<%=ECommon.WebResourceUrlToWeb %>/images/noshop.jpg" alt="暂无店铺" height="136" width="181" /></a>
<%} %>
<%} %>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
<div class="focusMarket2">
<ul>
<%foreach (EnWebMarket.MarketBrand b in marketInfo.MarketBrandList)
{ %>
<li><a href="<%=string.Format(EnUrls.CompanyInfoBrandList,b.companyid,b.id) %>"><img src="<%=EnFilePath.GetBrandLogoPath(b.id.ToString(),b.logo) %>" alt="<%=b.title %>" width="105" height="38" /><span><b><%=b.storeytitle %></b></span></a></li>
<%} %>
</ul>
<div class="clearfix"></div>
</div>
</div>
<div class="col3">
<div class="homebraLi2">
<div class="homebraLi21">
<span class="spana1"><a href="#">更多</a></span>
<strong>推荐产品</strong>
</div>
<%foreach (EnWebProduct p in ECProduct.GetWebProductList(1, 12, " and brandid in(select brandid from t_shopbrand where shopid in(select shopid from t_marketstoreyshop where marketid=" + marketInfo.id + "))", "hits","desc", out tmpPageCount))
{ %>
<div class="productPa2 productLit">
<p><a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><img src="<%=EnFilePath.GetProductThumbPath(p.id.ToString(),p.thumb) %>" width="230" height="173" /></a></p>
<p class="titlepro"><a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><%=p.HtmlProductName %></a></p>
<p>品牌:<span><a href="#"><%=p.brandstitle %></a></span>价位:<span><a href="#"><%=p.spreadname%></a></span>风格:<span><a href="#"><%=p.stylename %></a></span></p>
<div class="proList">电话咨询价格,请说来自福家网</div>
</div>
<%} %>
<div class="homebraLi23"><a href="<%=string.Format(EnUrls.MarketInfoProduct,marketInfo.id) %>">查看所有产品</a></div>
</div>
</div>
</div>
<div class="marketR">
<div class="col">
<div class="hd"><a href="<%=string.Format(EnUrls.MarketInfoAddress,marketInfo.id) %>" target="_blank">更多</a>联系方式</div>
<div class="bd">
<p class="p0">
咨询电话:<%=marketInfo.phone %><br />
投诉电话:<%=marketInfo.zphone %><br />
传真:<%=marketInfo.fax %> <br />
营业时间:<%=marketInfo.hours %><br />
营业面积:<%=marketInfo.cbm %>(平方米)<br />
地址:<%=ECommon.GetAreaName(marketInfo.areacode)+marketInfo.address %><br />
</p>
<p>
<%--<img src="<%=ECommon.WebResourceUrlToWeb %>/images/market07.gif" />--%>
</p>
</div>
</div>
<div class="homebraRight">
<div class="homebraRight1 homebraRight3" style="margin:0">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.MarketInfoBrand,marketInfo.id) %>">更多</a></span>推荐入驻品牌</div>
<ul>
<%foreach (EnWebMarket.MarketBrand b in marketInfo.MarketBrandList)
{ %>
<li><a href="<%=string.Format(EnUrls.CompanyInfoBrandList,b.companyid,b.id) %>"><img src="<%=EnFilePath.GetBrandLogoPath(b.id,b.logo) %>" width="105" height="38"></a></li>
<%} %>
</ul>
</div>
<div class="homebraRight1 homebraRight3">
<div class="promotions"><span><a href="<%=EnUrls.PromotionList%>">更多</a></span>促销信息</div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToMarket(4,marketInfo.id))%>
</div>
</div>
</div>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
<div class="topNav992 ad1"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_127.jpg"></div>
<uc4:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/market/index.aspx | ASP.NET | oos | 9,407 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.market.index2" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Register src="../ascx/_resource.ascx" tagname="_resource" tagprefix="uc1" %>
<%@ Register src="../ascx/_head.ascx" tagname="_head" tagprefix="uc2" %>
<%@ Register src="../ascx/_foot.ascx" tagname="_foot" tagprefix="uc3" %>
<%@ Register src="../ascx/_nav.ascx" tagname="_nav" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc1:_resource ID="_resource1" runat="server" />
</head>
<body>
<uc2:_head ID="_head1" runat="server" />
<uc4:_nav ID="_nav1" runat="server" />
<div class="topNav992">
<div class="nullInfo">
<div class="nullText">
<div class="nullTextTitle"> <%=marketInfo.title%></div>
<table class="c" cellpadding="0" cellspacing="0">
<tr>
<td style=" line-height:25px; height:25px;"> </td>
</tr>
<tr>
<td><span class="i">该卖场的信息不完整</span></td>
</tr>
<tr>
<td>获得更多商业机会,建议升级会员级别</td>
</tr>
<tr>
<td>咨询电话:400-6066-818</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</div>
<div class="nullError">
<p class="p1">对不起,您目前访问的厂家暂有部分信息不全。<br>我们将尽快完善本卖场信息资料。</p>
<p class="p2">如需咨询,请拨打客服热线400-6066-818</p>
<p class="p3">您也可以去其它地方逛逛: <a href="/">卖场首页</a> | <a href="/">品牌首页 </a></p>
</div>
</div>
</div>
<uc3:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/market/index2.aspx | ASP.NET | oos | 2,164 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.shoplist" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="System.Collections" %>
<%@ Register src="ascx/_resource.ascx" tagname="_resource" tagprefix="uc1" %>
<%@ Register src="ascx/_head.ascx" tagname="_head" tagprefix="uc2" %>
<%@ Register src="ascx/_foot.ascx" tagname="_foot" tagprefix="uc3" %>
<%@ Register src="ascx/_nav.ascx" tagname="_nav" tagprefix="uc4" %>
<%@ Register src="ascx/_brandletter.ascx" tagname="_brandletter" tagprefix="uc5" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=pageTitle %></title>
<uc1:_resource ID="_resource1" runat="server" />
</head>
<body>
<uc2:_head ID="_head1" runat="server" />
<uc4:_nav ID="_nav1" runat="server" />
<div class="topNav992 central">
<div class="productList1">
<uc5:_brandletter ID="_brandletter1" runat="server" />
<div class="prlifl2">
<div class="prlifl20">
<div class="prli-selected"><span>您的搜索条件:</span>
<%foreach (EnSearchItem i in ECShop.GetSearchItem().FindAll(x=>x.isCur==true))
{ %>
<a href="<%=string.Format(EnUrls.ShopListSearch, ECommon.QuerySearchBrand.Replace("_" + i.value, ""), ECommon.QuerySearchStyle.Replace("_" + i.value, ""), ECommon.QuerySearchMaterial.Replace("_" + i.value, ""), ECommon.QuerySearchSpread.Replace("_" + i.value, ""), ECommon.QuerySearchStaffsize.Replace("_" + i.value, ""), ECommon.QuerySearchSort.Replace("_" + i.value, ""), ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</div>
<dl class="prlifldl">
<dd>热门品牌:</dd>
<dt class="dt1">
<% int tmp = 0; foreach (EnSearchItem i in ECShop.GetSearchItem().FindAll(x => x.type == "brand" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.ShopListSearch,ECommon.QuerySearchBrand+"_"+i.value,ECommon.QuerySearchStyle,ECommon.QuerySearchMaterial,ECommon.QuerySearchSpread,ECommon.QuerySearchStaffsize,ECommon.QuerySearchSort,ECommon.QuerySearchComposing,ECommon.QuerySearchKey,ECommon.QueryPageIndex) %>" <%=tmp > 26 ? "class=\"ahide\"" : "" %>><%=i.title%></a>
<%tmp++;
} %>
</dt>
<dt class="prWhole">
<a href="#">全部</a>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品风格:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECShop.GetSearchItem().FindAll(x => x.type == "style" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.ShopListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle + "_" + i.value, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品材质:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECShop.GetSearchItem().FindAll(x => x.type == "material" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.ShopListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial + "_" + i.value, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品价位:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECShop.GetSearchItem().FindAll(x => x.type == "spread" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.ShopListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread + "_" + i.value, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
</div>
</div>
<div class="productList12">
<div class="productList121">
<ul class="pr12-ti">
<li><a href="<%=EnUrls.ShopList %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","shoplist.aspx","","pr12-tia") %>">按经销商显示</a></li>
<li><a href="<%=EnUrls.ShopBrandList %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","shopbrandlist.aspx","","pr12-tia") %>">按品牌显示</a></li>
</ul>
<div class="pr12-fy"><a href="<%=NextUrl %>" class="xyy">下一页</a><span><%=ECommon.QueryPageIndex %>/<%=AspNetPager1.PageCount %></span><a href="<%=PrvUrl %>" style="float:right;"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/product_19.gif" /></a></div>
</div>
<div class="productList122"><span class="s1">快速分类</span>
<div class="pr_xl"><%=sortTitle%>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">店铺名称</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">名称降序</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t2","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">名称升序</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortDate %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">更新时间</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由近到远</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d2","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由远到近</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortHot %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">推荐厂家</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由高到低</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h2","","pr_xla") %>" href="<%=string.Format(EnUrls.ShopListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由低到高</a></li>
</ul>
</div>
<%--<label for="supportDIY"><input name="supprotDIY" id="supportDIY" type="checkbox" value="" /><s>支持定制</s></label>--%></div>
</div>
<%foreach (EnWebShop s in list)
{ %>
<div class="brandsDealer dealerList1">
<%--<div class="dealerEn">A</div>--%>
<div class="brandsDealerBj">
<div class="brandsDealer1"><a href="<%=string.Format(EnUrls.ShopInfoIndex,s.id) %>" target="_blank"><img src="<%=EnFilePath.GetShopThumbPath(s.id.ToString(),s.thumb) %>" width="141" height="106" /></a></div>
<div class="brandsDealer2">
<p class="Dealer1"><strong><a href="<%=string.Format(EnUrls.ShopInfoIndex,s.id) %>" target="_blank" ><%=s.title %></a></strong><%--<a href="#"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_117.gif" style="margin-top:2px;"/></a>--%></p>
<p><strong>经销品牌</strong>:<font><%=s.BrandName.Replace(",", " ") %></font> <strong>品牌风格:</strong><font><%=ECommon.GetConfigName(((int)EnumConfigModule.产品配置).ToString(), "3", s.StyleName, ',', " ")%></font></p>
<p><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_121.gif" style=" float:left; margin:4px 5px 0 0"/><%=ECommon.GetAreaName(s.areacode) %><%=s.address %></p>
<div><%=s.phone %></div><div class="lianxifl">欢迎来电咨询本店最新产品价格及优惠活动!</div>
</div>
<div class="brandsgc03"><a href="<%=string.Format(EnUrls.CompanyInfoBrandList, s.ShopBrandInfo.companyid,s.ShopBrandInfo.id)%>" target="_blank"><img src="<%=EnFilePath.GetBrandLogoPath(s.ShopBrandInfo.id,s.ShopBrandInfo.thumb) %>" width="105" height="38" /></a></div>
</div>
<div class="productView">
<div class="br-gcs hd"><ul>
<li><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.ShopInfoIndex,s.id) %>');">店铺介绍</a></li>
<li><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.ShopInfoProduct,s.id) %>');">店铺产品</a></li>
<li><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.ShopInfoAddress,s.id) %>');">联系方式</a></li>
</ul>
</div>
</div>
</div>
<%} %>
<webdiyer:aspnetpager ID="AspNetPager1" runat="server" AlwaysShow="true"
CurrentPageButtonClass="cpb" CssClass="pager"
UrlPaging="true" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
PrevPageText="上一页">
</webdiyer:aspnetpager>
</div>
<div class="productList2">
<div class="brandgz1 brandst">推荐品牌</div>
<div class="brandsUl">
<ul>
<%foreach (EnWebAggregation a in ECommon.GetShopListTopBrand())
{ %>
<li><a href="<%=a.url %>"><img src="<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>" width="<%=a.thumbw %>" height="<%=a.thumbh %>" title="<%=a.title %>" /></a></li>
<%} %>
</ul>
</div>
<div class="promotionsR1" style="margin-top:8px;">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.PromotionList) %>" target="_blank">更多</a></span>促销信息</div>
<div class="prAd1"><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=14"></script><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=15"></script></div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToCompanyList(4))%>
</div>
</div>
</div>
<uc3:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/shoplist.aspx | ASP.NET | oos | 13,055 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.companybrandlist" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="System.Collections" %>
<%@ Register src="ascx/_resource.ascx" tagname="_resource" tagprefix="uc1" %>
<%@ Register src="ascx/_head.ascx" tagname="_head" tagprefix="uc2" %>
<%@ Register src="ascx/_foot.ascx" tagname="_foot" tagprefix="uc3" %>
<%@ Register src="ascx/_nav.ascx" tagname="_nav" tagprefix="uc4" %>
<%@ Register src="ascx/_brandletter.ascx" tagname="_brandletter" tagprefix="uc5" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=pageTitle %></title>
<uc1:_resource ID="_resource1" runat="server" />
</head>
<body>
<uc2:_head ID="_head1" runat="server" />
<uc4:_nav ID="_nav1" runat="server" />
<div class="topNav992 central">
<div class="productList1">
<uc5:_brandletter ID="_brandletter1" runat="server" />
<div class="prlifl2">
<div class="prlifl20">
<div class="prli-selected"><span>您的搜索条件:</span>
<%foreach (EnSearchItem i in ECCompany.GetSearchItem().FindAll(x=>x.isCur==true))
{ %>
<a href="<%=string.Format(EnUrls.CompanyBrandListSearch, ECommon.QuerySearchBrand.Replace("_" + i.value, ""), ECommon.QuerySearchStyle.Replace("_" + i.value, ""), ECommon.QuerySearchMaterial.Replace("_" + i.value, ""), ECommon.QuerySearchSpread.Replace("_" + i.value, ""), ECommon.QuerySearchStaffsize.Replace("_" + i.value, ""), ECommon.QuerySearchSort.Replace("_" + i.value, ""), ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</div>
<dl class="prlifldl">
<dd>热门品牌:</dd>
<dt>
<%foreach (EnSearchItem i in ECCompany.GetSearchItem().FindAll(x=>x.type=="brand"&&x.isCur==false))
{ %>
<a href="<%=string.Format(EnUrls.CompanyBrandListSearch,ECommon.QuerySearchBrand+"_"+i.value,ECommon.QuerySearchStyle,ECommon.QuerySearchMaterial,ECommon.QuerySearchSpread,ECommon.QuerySearchStaffsize,ECommon.QuerySearchSort,ECommon.QuerySearchComposing,ECommon.QuerySearchKey,ECommon.QueryPageIndex) %>"><%=i.title %></a>
<%} %>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品风格:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECCompany.GetSearchItem().FindAll(x => x.type == "style" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.CompanyBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle + "_" + i.value, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品材质:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECCompany.GetSearchItem().FindAll(x => x.type == "material" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.CompanyBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial + "_" + i.value, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品价位:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECCompany.GetSearchItem().FindAll(x => x.type == "spread" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.CompanyBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread + "_" + i.value, ECommon.QuerySearchStaffsize, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<dl class="prlifldl">
<dd>工厂规模:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECCompany.GetSearchItem().FindAll(x => x.type == "staffsize" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.CompanyBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize + "_" + i.value, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
</div>
</div>
<div class="productList12">
<div class="productList121">
<ul class="pr12-ti">
<li><a href="<%=EnUrls.CompanyList %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","companylist.aspx","","pr12-tia") %>">按工厂显示</a></li>
<li><a href="<%=EnUrls.CompanyBrandList %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("pageName","companybrandlist.aspx","","pr12-tia") %>">按品牌显示</a></li>
</ul>
<div class="pr12-fy"><a href="<%=NextUrl %>" class="xyy">下一页</a><span><%=ECommon.QueryPageIndex %>/<%=AspNetPager1.PageCount %></span><a href="<%=PrvUrl %>" style="float:right;"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/product_19.gif" /></a></div>
</div>
<div class="productList122"><span class="s1">快速分类</span>
<div class="pr_xl"><%=sortTitle%>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">厂家名称</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">名称降序</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t2","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">名称升序</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortDate %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">更新时间</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由近到远</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d2","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由远到近</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortHot %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">推荐厂家</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由高到低</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h2","","pr_xla") %>" href="<%=string.Format(EnUrls.CompanyBrandListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由低到高</a></li>
</ul>
</div>
<%--<label for="supportDIY"><input name="supprotDIY" id="supportDIY" type="checkbox" value="" /><s>支持定制</s></label>--%></div>
</div>
<%foreach (EnWebCompanyBrand c in list)
{ %>
<div class="brandsgc">
<div class="brandsgc0">
<div class="brandsgc01"><a href="<%=string.Format(EnUrls.CompanyInfoBrand,c.id,c.brandid) %>" target="_blank"><img class="scrollLoading" src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/common/white.gif" data-url="<%=EnFilePath.GetBrandLogoPath(c.brandid.ToString(),c.brandthumb) %>" width="105" height="38" style="margin-top:30px; border:1px solid #ccc;" /></a></div>
<div class="brandsgc02">
<h3><a href="<%=string.Format(EnUrls.CompanyInfoBrand,c.id,c.brandid) %>" target="_blank">[<%=c.brandtitle %>]-<%=c.title %></a></h3>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><strong>品牌名称:</strong><%=c.brandtitle %></td>
<td><strong>工厂规模:</strong><%=ECommon.GetConfigName(((int)EnumConfigModule.工厂配置).ToString(), "2", c.staffsize.ToString(), ',', " ")%></td>
</tr>
<tr>
<td><strong>品牌风格:</strong><%=ECommon.GetConfigName(((int)EnumConfigModule.产品配置).ToString(), "3", c.stylevalue, ',', " ")%></td>
<td><strong>品牌价位:</strong><%=ECommon.GetConfigName(((int)EnumConfigModule.产品配置).ToString(), "5", c.spreadvalue, ',', " ")%></td>
<td> </td>
</tr>
</table>
<div><%=c.descript != null && TRECommon.HTMLUtils.GetAllTextFromHTML(c.descript).Length > 100 ? TRECommon.HTMLUtils.GetAllTextFromHTML(c.descript).Substring(0, 99) : c.descript %></div>
<p>地址:<font><%=ECommon.GetAreaName(c.areacode) %><%=c.address %></font></p>
</div>
<div class="brandsgc03" style="width:auto">
<a href="<%=string.Format(EnUrls.CompanyInfoIndex,c.id) %>" target="_blank"><img class="scrollLoading" src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/common/white.gif" data-url="<%=EnFilePath.GetCompanyThumbPath(c.id.ToString(),c.thumb) %>" width="141" height="106" /></a>
</div>
</div>
<div class="productView">
<div class="br-gcs hd">
<ul>
<li ><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoIndex,c.id) %>');" target="_blank">公司介绍</a></li>
<li ><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoBrand,c.id,c.brandid) %>');" target="_blank">品牌介绍</a></li>
<li ><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoProduct,c.id) %>');" target="_blank">品牌产品</a></li>
<li ><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoAddress,c.id) %>');" target="_blank">展厅地址</a></li>
</ul>
</div>
</div>
</div>
<%} %>
<webdiyer:aspnetpager ID="AspNetPager1" runat="server" AlwaysShow="true"
CurrentPageButtonClass="cpb" CssClass="pager"
UrlPaging="true" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
PrevPageText="上一页">
</webdiyer:aspnetpager>
</div>
<div class="productList2">
<div class="brandgz1 brandst">推荐品牌</div>
<div class="brandsUl">
<ul>
<%foreach (EnWebAggregation a in ECommon.GetCompanyListTopBrand())
{ %>
<li><a href="<%=a.url %>"><img src="<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>" width="<%=a.thumbw %>" height="<%=a.thumbh %>" title="<%=a.title %>" /></a></li>
<%} %>
</ul>
</div>
<div class="promotionsR2"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_62.jpg" /></div>
<div class="promotionsR1" style="margin-top:8px;">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.PromotionList) %>" target="_blank">更多</a></span>促销信息</div>
<div class="prAd1"><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=14"></script><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=15"></script></div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToCompanyList(4))%>
</div>
</div>
</div>
<uc3:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/companybrandlist.aspx | ASP.NET | oos | 14,594 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.productlist" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="System.Collections" %>
<%@ Register src="ascx/_resource.ascx" tagname="_resource" tagprefix="uc1" %>
<%@ Register src="ascx/_head.ascx" tagname="_head" tagprefix="uc2" %>
<%@ Register src="ascx/_foot.ascx" tagname="_foot" tagprefix="uc3" %>
<%@ Register src="ascx/_nav.ascx" tagname="_nav" tagprefix="uc4" %>
<%@ Register src="ascx/_brandletter.ascx" tagname="_brandletter" tagprefix="uc5" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=pageTitle %></title>
<uc1:_resource ID="_resource1" runat="server" />
</head>
<body>
<uc2:_head ID="_head1" runat="server" />
<uc4:_nav ID="_nav1" runat="server" />
<div class="topNav992 central">
<div class="productList1">
<uc5:_brandletter ID="_brandletter1" runat="server" />
<div class="prlifl2">
<div class="prlifl20">
<div class="prli-selected"><span>您的搜索条件:</span>
<%foreach (EnSearchItem i in ECProduct.GetSearchItem().FindAll(x=>x.isCur==true))
{ %>
<a href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand.Replace("_" + i.value, ""), ECommon.QuerySearchStyle.Replace("_" + i.value, ""), ECommon.QuerySearchMaterial.Replace("_" + i.value, ""), ECommon.QuerySearchSpread.Replace("_" + i.value, ""), ECommon.QuerySearchColor.Replace("_" + i.value, ""), ECommon.QuerySearchSort.Replace("_" + i.value, ""), ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex,ECommon.QuerySearchType.Replace("_" + i.value, ""),ECommon.QuerySearchPCategory.Replace("_" + i.value, ""),ECommon.QuerySearchCategory.Replace("_" + i.value, ""))%>"><%=i.title %></a>
<%} %>
</div>
<dl class="prlifldl">
<dd>热门品牌:</dd>
<dt>
<%foreach (EnSearchItem i in ECProduct.GetSearchItem().FindAll(x => x.type == "brand" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.ProductListSearch,ECommon.QuerySearchBrand+"_"+i.value,ECommon.QuerySearchStyle,ECommon.QuerySearchMaterial,ECommon.QuerySearchSpread,ECommon.QuerySearchColor,ECommon.QuerySearchSort,ECommon.QuerySearchComposing,ECommon.QuerySearchKey,ECommon.QueryPageIndex,ECommon.QuerySearchType,ECommon.QuerySearchPCategory,ECommon.QuerySearchCategory) %>"><%=i.title %></a>
<%} %>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品风格:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECProduct.GetSearchItem().FindAll(x => x.type == "style" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle + "_" + i.value, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchColor, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex,ECommon.QuerySearchType,ECommon.QuerySearchPCategory,ECommon.QuerySearchCategory)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品材质:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECProduct.GetSearchItem().FindAll(x => x.type == "material" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial + "_" + i.value, ECommon.QuerySearchSpread, ECommon.QuerySearchColor, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex,ECommon.QuerySearchType,ECommon.QuerySearchPCategory,ECommon.QuerySearchCategory)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品价位:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECProduct.GetSearchItem().FindAll(x => x.type == "spread" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread + "_" + i.value, ECommon.QuerySearchColor, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex,ECommon.QuerySearchType,ECommon.QuerySearchPCategory,ECommon.QuerySearchCategory)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<dl class="prlifldl">
<dd>产品颜色:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECProduct.GetSearchItem().FindAll(x => x.type == "color" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchColor+ "_" + i.value, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex,ECommon.QuerySearchType,ECommon.QuerySearchPCategory,ECommon.QuerySearchCategory)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<%if(ECommon.QuerySearchCategory!=""){ %>
<dl class="prlifldl">
<dd>产品类型:</dd>
<dt>
<dt>
<%foreach (EnSearchItem i in ECProduct.GetProductSearchTypeItem().FindAll(x => x.type == "type" && x.isCur == false))
{ %>
<a href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchColor, ECommon.QuerySearchSort, ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex,ECommon.QuerySearchType+ "_" + i.value,ECommon.QuerySearchPCategory,ECommon.QuerySearchCategory)%>"><%=i.title %></a>
<%} %>
</dt>
</dt>
</dl>
<%} %>
</div>
</div>
<div class="productList12">
<div class="productList121">
<ul class="pr12-ti">
<li><a href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchColor, ECommon.QuerySearchSort, "",ECommon.QuerySearchKey, 1, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("composing","","","pr12-tia") %>">所有产品</a></li>
<li><a href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchColor, ECommon.QuerySearchSort, "recomm", ECommon.QuerySearchKey, 1, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>" class="<%=TREC.ECommerce.UiCommon.QueryStringCur("composing","recomm","","pr12-tia") %>">热门产品</a></li>
</ul>
<div class="pr12-fy"><a href="<%=NextUrl %>" class="xyy">下一页</a><span><%=ECommon.QueryPageIndex %>/<%=AspNetPager1.PageCount %></span><a href="<%=PrvUrl %>" style="float:right;"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/product_19.gif" /></a></div>
</div>
<div class="productList122"><span class="s1">快速分类</span>
<div class="pr_xl"><%=sortTitle%>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">产品名称</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">名称降序</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t2","","pr_xla") %>" href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">名称升序</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortDate %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">更新时间</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">由近到远</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d2","","pr_xla") %>" href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">由远到近</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortHot %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">推荐产品</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">由高到低</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h2","","pr_xla") %>" href="<%=string.Format(EnUrls.ProductListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchType, ECommon.QuerySearchPCategory, ECommon.QuerySearchCategory) %>">由低到高</a></li>
</ul>
</div>
<%--<label for="supportDIY"><input name="supprotDIY" id="supportDIY" type="checkbox" value="" /><s>支持定制</s></label>--%></div>
</div>
<%foreach (EnWebProduct p in list)
{ %>
<div class="productPic productPic1">
<div class="productPic1">
<div class="productPic11"><a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><img src="<%=EnFilePath.GetProductThumbPath(p.id.ToString(),p.thumb) %>" height="173" width="230" /></a></div>
<div class="productPic12 c61f38" style="padding-top:10px;">
<h4><a href="<%=string.Format(EnUrls.ProductInfo,p.id) %>" target="_blank"><%=p.HtmlProductName %></a></h4>
<p><strong>品牌:</strong><%=p.brandstitle %> <strong>风格:</strong><%=p.stylename %> </p>
<p> <strong>材质:</strong><select name="" style="width:208px; height:25px;">
<%foreach (ProductAttribute a in p.ProductAttributeList)
{ %>
<option><%=a.productmaterial %></option>
<%} %>
</select></p>
<p> <strong>尺寸:</strong><select name="select" style="width:208px; height:25px;">
<%foreach (ProductAttribute a in p.ProductAttributeList)
{ %>
<option><%=a.productlength+"*"+a.productwidth+"*"+a.productlength %></option>
<%} %>
</select>
</p>
<p> <strong>颜色:</strong><%=p.ProductAttributeInfo.productcolortitle %></p>
<h4><a style="text-decoration:none" href="javascript:;">指导价:<%=p.ProductAttributeInfo.markprice %></a></h4>
</div>
<%if (p.ProductShopList != null && p.ProductShopList.Count != 0)
{ %>
<div class="productPic13">
<div class="productPic131">
<p class="Dealer1"><strong><a href="#"><%=p.ProductShopInfo.title%></a></strong><a href="#"><%--<img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_117.gif" style="margin-top:2px;"/>--%> </a></p>
<p class="address"><%=p.ProductShopInfo.address%></p>
<p class="phone"><%=p.ProductShopInfo.phone%></p>
<p class="productPicdh">电话咨询价格,请说来自福家网</p>
</div>
<%--<div class="productPic132">
<p>优惠信息:</p>
<p><a href="#" style="color:#2953a6; text-decoration:underline;">德尔地板跌爆眼球的抄底团购全场 6.4折起 12.03</a></p>
</div>--%>
</div>
<%}
else {
%>
<div style="padding-left:8px; margin-right:5px;" class="productPic13">
<img style="margin-left:3px; margin-top:15px;" src="<%=ECommon.WebResourceUrlToWeb %>/images/noproductlistshop.gif">
</div>
<% } %>
</div>
<div class="productView">
<div class="br-gcs hd"><ul>
<li><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoIndex,p.companyid) %>');" target="_parent">厂家介绍</a></li>
<li><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoBrandList,p.companyid,p.brandid) %>');" target="_parent">品牌介绍</a></li>
<li><a href="javascript:;" onclick="javascript:window.open('<%=string.Format(EnUrls.CompanyInfoAddress,p.companyid) %>');" target="_parent">推荐店铺</a></li>
</ul>
</div>
</div>
</div>
<%} %>
<webdiyer:aspnetpager ID="AspNetPager1" runat="server" AlwaysShow="true"
CurrentPageButtonClass="cpb" CssClass="pager"
UrlPaging="true" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
PrevPageText="上一页">
</webdiyer:aspnetpager>
</div>
<div class="productList2">
<ul class="productList21">
<li class="hover" id="one1" ><a href="#" class="pla1" style="width:230px">产品分类</a></li>
</ul>
<div id="con_one_1" class="productList22">
<%=ECProduct.GetCategoryHtmlToNav()%>
</div>
<div class="brandgz1 brandst">推荐品牌</div>
<div class="brandsUl">
<ul>
<%foreach (EnWebAggregation a in ECommon.GetProductListTopBrand())
{ %>
<li><a href="<%=a.url %>"><img src="<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>" width="<%=a.thumbw %>" height="<%=a.thumbh %>" title="<%=a.title %>" /></a></li>
<%} %>
</ul>
</div>
<div class="promotionsR1" style="margin-top:8px;">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.PromotionList) %>" target="_blank">更多</a></span>促销信息</div>
<div class="prAd1"><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=14"></script><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=15"></script></div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToCompanyList(4))%>
</div>
</div>
</div>
<uc3:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/productlist.aspx | ASP.NET | oos | 17,943 |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="promotion.aspx.cs" Inherits="TREC.Web.aspx.promotion" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Register src="ascx/_head.ascx" tagname="_head" tagprefix="uc1" %>
<%@ Register src="ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="ascx/_foot.ascx" tagname="_foot" tagprefix="uc3" %>
<%@ Register src="ascx/_nav.ascx" tagname="_nav" tagprefix="uc4" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl%>/script/jquery.validate.min.js"></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl%>/script/additional-methods.js"></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl%>/script/messages_cn.js"></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl%>/script/jquery.form.js"></script>
</head>
<body>
<uc1:_head ID="_head1" runat="server" />
<uc4:_nav ID="_nav1" runat="server" />
<div class="topNav992 central">
<div class="productList1">
<div class="productList12">
<div class="productList121">
<ul class="pr12-ti">
<li><a class="pr12-tia" href="#">所有资讯</a></li>
</ul>
<div class="pr12-fy"><a href="<%=NextUrl %>" class="xyy">下一页</a><span><%=ECommon.QueryPageIndex %>/<%=AspNetPager1.PageCount %></span><a href="<%=PrvUrl %>" style="float:right;"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/product_19.gif" /></a></div>
</div>
<div class="productList122"><span class="s1">快速分类</span>
<div class="pr_xl"><%=sortTitle%>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.PromotionListsearch, ECommon.QueryCId, ECommon.QuerySId, ECommon.QueryPId, ECommon.QueryBId, ECommon.QueryMid, ECommon.QuerySearchArea, ECommon.QueryStime, ECommon.QueryEtime, "_t1", ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">活动名称</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.PromotionListsearch, ECommon.QueryCId, ECommon.QuerySId, ECommon.QueryPId, ECommon.QueryBId, ECommon.QueryMid, ECommon.QuerySearchArea, ECommon.QueryStime, ECommon.QueryEtime, "_t1", ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">名称降序</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t2","","pr_xla") %>" href="<%=string.Format(EnUrls.PromotionListsearch, ECommon.QueryCId, ECommon.QuerySId, ECommon.QueryPId, ECommon.QueryBId, ECommon.QueryMid, ECommon.QuerySearchArea, ECommon.QueryStime, ECommon.QueryEtime, "_t2", ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">名称升序</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortDate %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.PromotionListsearch, ECommon.QueryCId, ECommon.QuerySId, ECommon.QueryPId, ECommon.QueryBId, ECommon.QueryMid, ECommon.QuerySearchArea, ECommon.QueryStime, ECommon.QueryEtime, "_d1", ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">更新时间</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.PromotionListsearch, ECommon.QueryCId, ECommon.QuerySId, ECommon.QueryPId, ECommon.QueryBId, ECommon.QueryMid, ECommon.QuerySearchArea, ECommon.QueryStime, ECommon.QueryEtime, "_d1", ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由近到远</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d2","","pr_xla") %>" href="<%=string.Format(EnUrls.PromotionListsearch, ECommon.QueryCId, ECommon.QuerySId, ECommon.QueryPId, ECommon.QueryBId, ECommon.QueryMid, ECommon.QuerySearchArea, ECommon.QueryStime, ECommon.QueryEtime, "_d2", ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由远到近</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortHot %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.PromotionListsearch, ECommon.QueryCId, ECommon.QuerySId, ECommon.QueryPId, ECommon.QueryBId, ECommon.QueryMid, ECommon.QuerySearchArea, ECommon.QueryStime, ECommon.QueryEtime, "_h1", ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">推荐厂家</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.PromotionListsearch, ECommon.QueryCId, ECommon.QuerySId, ECommon.QueryPId, ECommon.QueryBId, ECommon.QueryMid, ECommon.QuerySearchArea, ECommon.QueryStime, ECommon.QueryEtime, "_h1", ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由高到低</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h2","","pr_xla") %>" href="<%=string.Format(EnUrls.PromotionListsearch, ECommon.QueryCId, ECommon.QuerySId, ECommon.QueryPId, ECommon.QueryBId, ECommon.QueryMid, ECommon.QuerySearchArea, ECommon.QueryStime, ECommon.QueryEtime, "_h2", ECommon.QuerySearchKey, ECommon.QueryPageIndex) %>">由低到高</a></li>
</ul>
</div>
<%--<label for="supportDIY"><input name="supprotDIY" id="supportDIY" type="checkbox" value="" /><s>支持定制</s></label>--%></div>
</div>
<%foreach(EnWebPromotion p in list){ %>
<div class="brandsDealer promove">
<div class="brandsDealerBj">
<div class="brandsProm1">
<h2 class="c61f38"><a href="<%=string.Format(EnUrls.PromotionInfo,p.id) %>" target="_blank"><%=p.title %></a></h2>
<p class="promcjie">截至日期:<%=DateTime.Parse(p.enddatetime.ToString()).ToShortDateString() %></p>
<p><%=p.descript != null && TRECommon.HTMLUtils.GetAllTextFromHTML(p.descript).Length > 100 ? TRECommon.HTMLUtils.GetAllTextFromHTML(p.descript).Substring(0, 99) : TRECommon.HTMLUtils.GetAllTextFromHTML(p.descript)%></p>
</div>
<div class="brandsProm2" style="display:none">
<p class="pm1 c61f38"><a href="#"></a></p>
<p class="pm2"><img src="../skin/default/images/index_74.gif"> </p>
<p class="pm2"><img alt="" src="../skin/default/images/index_76.gif"></p>
</div>
</div>
</div>
<%} %>
<webdiyer:aspnetpager ID="AspNetPager1" runat="server" AlwaysShow="true"
CurrentPageButtonClass="cpb" CssClass="pager"
UrlPaging="true" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
PrevPageText="上一页">
</webdiyer:aspnetpager>
</div>
<div class="productList2">
<div class="brandgz1 brandst">推荐品牌</div>
<div class="brandsUl">
<ul>
<%foreach (EnWebAggregation a in ECommon.GetCompanyListTopBrand())
{ %>
<li><a href="<%=a.url %>"><img src="<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>" width="<%=a.thumbw %>" height="<%=a.thumbh %>" title="<%=a.title %>" /></a></li>
<%} %>
</ul>
</div>
<div class="promotionsR2"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_62.jpg" /></div>
<div class="promotionsR1" style="margin-top:8px;">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.PromotionList) %>" target="_blank">更多</a></span>促销信息</div>
<div class="prAd1"><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=14"></script><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=15"></script></div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionList(5))%>
</div>
</div>
</div>
<uc3:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/promotion.aspx | ASP.NET | oos | 8,551 |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="reg.aspx.cs" Inherits="TREC.Web.aspx.reg" %>
<%@ Register src="ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="ascx/_headA.ascx" tagname="_headA" tagprefix="uc4" %>
<%@ Register src="ascx/_foot.ascx" tagname="_foot" tagprefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl %>/script/jquery.validate.min.js"></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl %>/script/additional-methods.js"></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl %>/script/messages_cn.js"></script>
<script type="text/javascript">
$(function () {
$("#imgValiateCode,#chkImgVerify").live("click", function () {
$("#tdimgValiateCode").html("<img id=\"imgValiateCode\" style=\"float:left; margin-top:10px;\" src='<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/imageVerify.aspx?rand=" + Math.random() + "&model=reg'>");
});
//表单验证JS
$("#form1").validate({
rules: {
txtRegName: {// 需要进行验证的输入框name
required: true, // 验证条件:必填
minlength: 2,
remote: {
url: "ajax/ajaxuser.ashx",
type: "post",
data: {v:function(){ return jQuery("#txtRegName").val();},type:'checkName',t:'m'}
}
},
txtRegPwd: {// 需要进行验证的输入框name
required: true, // 验证条件:必填
minlength: 6// 验证条件:最小长度为5
},
txtChekPwd: {
required: true,
minlength:6,
equalTo: "#txtRegPwd"
},
txtValidation:{
required:true,
remote: {
url: "ajax/ajaxuser.ashx",
type: "post",
data: {v:function(){ return jQuery("#txtValidation").val();},type:'checkValidation',t:'reg'}
}
}
},
messages: {
txtRegName: {
required: "登陆账号不允许为空!",
minlength: jQuery.format("登陆账号最少 {0} 字符!"),
remote: "该登陆账号己被注册"
},
txtRegPwd: {
required: "登陆密码不允许为空!",
minlength: jQuery.format("密码至少输入 {0} 字符!")
},
txtChekPwd: {
required: "确认密码不能为空!",
minlength: jQuery.format("确认至少输入 {0} 字符!"),
equalTo: "确认密码错误"
},
txtValidation:{
required:"验证码不能为空",
remote:"验证码错误!"
}
},
errorElement: "span",
showErrors: function (errorMap, errorList) {
if (errorList.length > 0) {
if ($("#" + errorList[0].element.id).next() != null) {
$("#" + errorList[0].element.id).next().removeClass("success");
}
}
this.defaultShowErrors();
},
success: function (label) {
//正确时的样式
label.text(" ").addClass("success");
}
});
$("#linkBtn").click(function () {
$("#form1").submit();
})
});
</script>
<style type="text/css">
.txtValidation span{margin-top:10px; padding-right:5px;}
</style>
</head>
<body>
<uc4:_headA ID="_headA1" runat="server" />
<form id="form1" runat="server">
<div class="zhucetop2">
<div class="topNav992">
<div class="zhucetop21 zhucetopff">第一步:注册帐号</div><div class="zhucetop22">第二步:填写完善您的企业信息资料并提交审核</div><div class="zhucetop23">第三步:完成审核,正式开通账户</div>
</div>
</div>
<div class="topNav992" style="overflow:hidden;">
<div class="registration">
<input type="hidden" id="hf" name="hf" value="add" />
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="registration1">
<tr>
<td width="27%" align="right">用户名:</td>
<td><input type="text" id="txtRegName" name="txtRegName" class="regiinput" />
</td>
<td> </td>
</tr>
<tr>
<td align="right">登录密码:</td>
<td><input type="password" id="txtRegPwd" name="txtRegPwd" class="regiinput" />
</td>
<td> </td>
</tr>
<tr>
<td align="right">确认密码:</td>
<td><input type="password" id="txtChekPwd" name="txtChekPwd" class="regiinput" /><div id="txtChekPwdTip"></div></td>
<td> </td>
</tr>
<tr>
<td align="right">验证码:</td>
<td class="txtValidation">
<input type="text" id="txtValidation" name="txtValidation" class="regiinput" style=" width:112px; margin:7px 10px 0 0; float:left;" />
<div id="tdimgValiateCode"><img id="imgValiateCode" style="float:left; margin-top:10px;" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/imageVerify.aspx?model=reg"> </div> 看不清?<a href="#" id="chkImgVerify" style="color:#3366cc;">换一张</a>
<span></span>
</td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><div class="homebraLi23"><a href="#"><input type="submit" value="同意并提交" name="reg" id="reg" /></a>
</div></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><textarea name="textarea" cols="" rows="" style=" width:440px; height:130px; font-size:12px; line-height:24px; color:#666; margin-top:12px;">
注册协议
尊敬的客户,欢迎您注册成为家具快搜会员用户,在注册前请您仔细阅读如下服务条款:
1、家具快搜服务条款的确认和接纳
本网站各项服务的所有权和运作权归家具快搜拥有。
2、用户在家具快搜交易平台上不得发布下列违法信息:
(1)反对宪法所确定的基本原则的;
(2)危害国家安全,泄露国家秘密,颠覆国家政权,破坏国家统一的;
(3)损害国家荣誉和利益的;
(4)煽动民族仇恨、民族歧视,破坏民族团结的;
(5)破坏国家宗教政策,宣扬邪教和封建迷信的;
(6)散布谣言,扰乱社会秩序,破坏社会稳定的;
(7)散布淫秽、色情、赌博、暴力、凶杀、恐怖或者教唆犯罪的;
(8)侮辱或者诽谤他人,侵害他人合法权益的;
(9)含有法律、行政法规禁止的其他内容的。
(10)进行商业广告行为的。
3、有关用户隐私制度
本站未经用户同意不会向第三方透露用户的注册资料及保存在家具快搜各项服务中的非公开内容,但不包括用户在使用网站中某些功能上自己公开的信息。 会员用户注意事项: (1) 请提供及时、详尽及准确的个人资料(如有变动请及时更新),以确保您能顺利的参加本站各项活动,以及您在本站订购货品发送的准确性。 (2) 同意接收来自本网站的信息。 (3) 用户在注册时应当选择稳定性及安全性相对较好的电子邮箱。 (4) 注册时请注意注册密码的安全。
4、用户的帐号、密码和安全性
您一旦注册成为家具快搜用户,您将得到一个密码和帐号。如果您未保管好自己的帐号或密码而对您、家具快搜或第三方造成的损害,您将负全部责任。另外,每个用户都要对其帐户中的所有活动和事件负全责。您可随时改变您的密码,也可以结束旧的帐户重开一个新帐户。用户若发现任何非法使用用户帐号或安全漏洞的情况,请立即通告家具快搜。
5、服务条款的修改
家具快搜有权在必要时修改服务条款,家具快搜服务条款一旦发生变动,将第一时间在重要页面上告知修改内容。如果不同意所改动的内容,用户可以主动取消获得的家具快搜的服务。如果用户继续享用家具快搜服务,则视为接受服务条款的变动。家具快搜保留随时修改或中断服务而不需通知用户的权利,且不需对用户或第三方负责。
6、结束服务一项或多项服务。
家具快搜不需因中断服务对任何个人或第三方负责。用户若反对任何服务条款的建议或对后来的条款修改有异议,或对家具快搜服务不满,用户可以行使如下权利: (1) 不再使用家具快搜的服务。 (2) 通知家具快搜停止对该用户的服务。 结束用户服务后,用户使用家具快搜服务的权利马上中止。从那时起,用户没有权利,家具快搜也没有义务传送任何未处理的信息或未完成的服务给用户或第三方。
7、保障
用户同意保障和维护家具快搜的利益,不得恶意注册,或恶意诽谤、攻击、损害家具快搜的声誉,如发生上述行为,福家家居具有对用户通过法律手段追究责任的权利。
8、通告
所有发给用户的通告都会通过重要页面的公告或电子邮件或常规的信件传送。服务条款的修改、服务变更、或其它重要事件的通告都会以此形式进行。
9、信息内容的所有权
家具快搜定义的信息内容包括:文字、图片、软件、声音、视频、图表;在广告中全部内容;本网站为用户提供的其它信息。所有这些内容受版权、商标、标签和其它财产所有权法律的保护。所以,用户只能在本网站和广告商授权下才能使用这些内容,而不能擅自复制、再造这些内容、或创造与内容有关的派生产品。
10、不可抗拒因素
本网站对由互联网故障,机房升级,以系统升级,设备升设,以及一些外在的不可抗拒的因素造成的网站暂停,本网站不承担责任。
11、法律
家具快搜信息服务条款要与中华人民共和国的相关法律法规解释一致。用户和家具快搜一致同意服从家具快搜所在地有管辖权的法院管辖。如发生家具快搜服务条款与中华人民共和国法律相抵触时,则这些条款将完全按法律规定重新解释,而其它条款则依旧保持对用户的约束力。
本服务协议双方为家具快搜与家具快搜会员用户,本服务协议具有合同效力。 您确认本服务协议后,本服务协议即在您和家具快搜之间产生法律效力。请您务必在注册之前认真阅读上述全部服务协议内容,如有任何疑问,请向本站咨询。 无论您事实上是否在注册之前认真阅读了本服务协议,只要您勾选 我已经看过并同意《福家会员注册条款 》 并按照家具快搜注册程序成功注册为用户,您的行为仍然表示您同意并签署了本服务协议。
</textarea></td>
<td> </td>
</tr>
</table>
</div>
<div class="login c61f38">
<p><a href="login.aspx">已经入驻,请点击登录</a></p>
<div class="login1"><div class="login10"><a href="login.aspx">登录</a></div></div>
<p><a href="#">为什么要加入我们</a></p>
<p>无论在经销商开在哪里,都能让全国的消费者了解你。<br />
把你的活动促销信息推送给需要购买家具的消费者。<br />
快捷的让消费者找到品牌的销售地点。</p>
</div>
</div>
</form>
<uc5:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/reg.aspx | ASP.NET | oos | 12,632 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.index" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Register src="ascx/_resource.ascx" tagname="_resource" tagprefix="uc1" %>
<%@ Register src="ascx/_head.ascx" tagname="_head" tagprefix="uc2" %>
<%@ Register src="ascx/_foot.ascx" tagname="_foot" tagprefix="uc3" %>
<%@ Register src="ascx/_nav.ascx" tagname="_nav" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=pageTitle %></title>
<uc1:_resource ID="_resource1" runat="server" />
<script type="text/javascript">
myFocus.set({
id: 'indexBannelR', //焦点图盒子ID
pattern: 'mF_taobao2010', //风格应用的名称
path: 'http://www.fujiawang.com/js/pattern/',
time: 6, //切换时间间隔(秒)
trigger: 'mouseover', //触发切换模式:'click'(点击)/'mouseover'(悬停)
width: 756, //设置图片区域宽度(像素)
height: 231, //设置图片区域高度(像素)
txtHeight: 0//文字层高度设置(像素),'default'为默认高度,0为隐藏
});
</script>
<script type="text/javascript">
$(function () {
$("#accordion").toggle(function () {
$("#bannelclose").hide();
$(".indexflash").animate({ height: "340px" }, 1000);
}, function () {
$(".indexflash").animate({ height: "46px" }, 1000);
})
$(".indexBannelL > ul > li").hover(function () {
$(".indexBannelL").find("div").removeClass("cur");
$(this).find("div").addClass("cur");
});
doTab("searchTab");
})
function doTab(obj) {
$('#' + obj + ' .tbUl>li').click(function () {
var o = $(this);
var objPa = o.parent('ul');
var objSib = objPa.find('li');
var index = objSib.index(o);
objSib.removeClass('on');
o.addClass('on');
var objItemList = objPa.parents('.searchBar').next('.searchCate').find('.searchCateList');
objItemList.find('.itemTab').hide();
var itemTarget = objItemList.find('.itemTab').eq(index);
itemTarget.show();
$(this).find('a').blur();
return false;
});
}
</script>
<style type="text/css">
</style>
</head>
<body>
<uc2:_head ID="_head1" runat="server" />
<uc4:_nav ID="_nav1" runat="server" />
<div class="topNav992 ad1">
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=6"></script>
</div>
<div class="topNav992 indexflash" style="height:46px; overflow:hidden;">
<div class="indexWithin">
<div class="flashLeft">
<div class="indexflye"><span>
目前共有</span><font>45</font><span>个品牌</span><font>41</font><span>家厂商</span><font>123</font><span>处经销商</span><font>3</font><span>座家具卖场</span><font>6854</font><span>件产品等待您的挑选。</span></div>
<object width="740" height="360" style="margin-top:9px; border:none;" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="bannerFLASH">
<param value="always" name="allowScriptAccess">
<param value="false" name="allowFullScreen">
<param name="wmode" value="opaque">
<param value="imgshow.swf" name="movie">
<param value="high" name="quality">
<embed width="740" height="360" style="margin-top:9px; border:none;" pluginspage="http://www.adobe.com/go/getflashplayer_cn" type="application/x-shockwave-flash" allowfullscreen="false" allowscriptaccess="always" wmode="opaque" quality="high" src="imgshow.swf">
</object>
</div>
<div class="flashRight flashRightclose" id="flashR" >
<span style="display:block; height:50px; line-height:50px; font-weight:bold; font-size:14px; color:#c21f30; margin-top:-50px; cursor:pointer;" id="accordion">你在等什么?点击了解详细内容<img src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/zhankai.gif" style="position:absolute; margin-left:34px;" id="bannelclose" /></span>
<ul><li class="da1">这里还没有你的品牌吗?</li><li>每天有超过10000名消费者在这里<br />寻找他们心仪的家具。</li><li>每天有超过50家品牌在这里更新
产品及优惠资讯。</li><li>快点加入,让大家找到你。</li></ul>
<div class="inLogin"><a href="reg.aspx" class="settled">申请入驻</a><a href="login.aspx" style="color:#96040c;">登录</a></div>
</div>
</div>
</div>
<div style="width:100%; height:6px; clear:both"></div>
<div class="topNav992">
<div id="searchTab" class="search">
<div class="searchBar">
<div class="searchBarL">
</div>
<div class="searchBarM">
<ul class="tbUl" id="searchIndexTypeList">
<li class="on" title="product"><a href="#">产品</a></li>
<li title="brand"><a href="#">品牌</a></li>
<li title="market"><a href="#">卖场</a></li>
</ul>
<div class="searchBarML">
<input value="" id="searchBox" style="width:325px;">
<input type="submit" value="" id="searchBtn" style="margin:0px;">
<script type="text/javascript">
$(function () {
$("#searchBox").inputLabel("").oms_autocomplate({ url: "<%=ECommon.WebUrl %>" + "ajax/search.ashx", inputWidth: 489, paramTypeSelector: "#searchIndexTypeList>li.on" });
$("#searchBtn").click(function () {
//window.top.location = "<%=EnUrls.Search%>".format($("#searchFootTypeList").find("a.coselia").attr("title"), $("#searchFootKey").val().replace(/\-/g, "_"));
window.top.location = "<%=ECommon.WebUrl %>" + "/search.aspx?type=" + $("#searchIndexTypeList").find("li.on").attr("title") + "&key=" + $("#searchBox").val().replace(/\-/g, "_");
});
})
</script>
</div>
<div class="searchBarMR">
<%--<span><strong>热门搜索:</strong>
<%foreach (EnWebAggregation a in searchHotKey)
{ %>
<a href="<%=a.url %>"><%=a.title %></a>
<%} %>
</span>--%>
</div>
</div>
<div class="searchBarR">
</div>
<i class="clearfix"></i>
</div>
<!---searchCate part start-->
<div class="searchCate">
<div class="searchCateList">
<div style="display: block;" class="itemTab">
<%--<dl class="dlBlock">
<dt class="dtBlock">价 位</dt>
<dd class="ddBlock">
<%foreach (EnWebAggregation a in searchSpreadList)
{ %>
<a href="<%=a.url %>" class="a1"><%=a.title %></a>
<%} %>
</dd>
</dl>
<dl class="dlBlock">
<dt class="dtBlock">风 格</dt>
<dd class="ddBlock">
<div class="searchStyle">
<ul>
<%foreach (EnWebAggregation a in searchStyleList)
{ %>
<li><a href="<%=a.url %>" class="a2"><%=a.title%></a></li>
<%} %>
</ul>
</div>
</dd>
</dl>
<dl class="dlBlock">
<dt class="dtBlock">材 质</dt>
<dd class="ddBlock">
<%foreach (EnWebAggregation a in searchMatialList)
{ %>
<a href="<%=a.url %>" class="a1"><%=a.title %></a>
<%} %>
</dd>
</dl>
<dl class="dlBlock">
<dt class="dtBlock">品 牌</dt>
<dd class="ddBlock">
<div class="searchBrand">
<div class="hd">
<ul>
<li class="on"><b>A</b></li>
<li><b>B</b></li>
<li><b>C</b></li>
<li><b>D</b></li>
<li><b>E</b></li>
<li><b>F</b></li>
<li><b>G</b></li>
<li><b>H</b></li>
<li><b>I</b></li>
<li><b>J</b></li>
<li><b>K</b></li>
<li><b>L</b></li>
<li><b>M</b></li>
<li><b>N</b></li>
<li><b>O</b></li>
<li><b>P</b></li>
<li><b>Q</b></li>
<li><b>R</b></li>
<li><b>S</b></li>
<li><b>T</b></li>
<li><b>U</b></li>
<li><b>V</b></li>
<li><b>W</b></li>
<li><b>X</b></li>
<li><b>Y</b></li>
<li class="liTrim"><b>Z</b></li>
</ul>
</div>
<div class="bd">
<%foreach (string s in letterIndex)
{ %>
<div class="item" <%=s=="A"?"style='display:block'":"" %>>
<ul>
<%foreach(EnWebAggregation a in searchBrand.FindAll(x=>x.title1.Length>0 && x.title1.Substring(0,1).ToUpper().StartsWith(s))){ %>
<li><a href="<%=a.url %>">
<img alt="<%=a.title %>" src="<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>" width="<%=a.thumbw %>" height="<%=a.thumbh %>"></a><a href="#"><%=a.title %></a></li>
<%} %>
</ul>
</div>
<%} %>
</div>
</div>
</dd>
</dl>
<dl class="dlBlock">
<dt class="dtBlock">分 类</dt>
<dd class="ddBlock">
<div class="searchCateInner">
<div class="searchCateInner2">
<%=ECProduct.GetCategoryHtmlToIndexNav()%>
</div>
</div>
</dd>
</dl>
<dl>
<dt class="dtBlock">卖 场</dt>
<dd class="ddBlock">
<%foreach (EnWebAggregation a in searchMarket)
{ %>
<a href="<%=a.url %>" class="a1"><%=a.title %></a>
<%} %>
</dd>
</dl>--%>
<ul>
<li style="background-image:url(/resource/web/images/home/home20.gif);">
<div class="searchitem">
<a href="#">欧式古典</a><a href="#">欧式田园</a><a href="#">美式田园</a><a href="#">美工古典</a><a href="#">韩式田园</a><a href="#">现代简约</a><a href="#">新古典</a><a href="#">中式</a><a href="#">英式</a><a href="#">地中海</a>
</div>
</li>
<li style="background-image:url(/resource/web/images/home/home21.gif);">
<div class="searchitem">
<a href="#">欧式古典</a><a href="#">欧式田园</a><a href="#">美式田园</a><a href="#">美工古典</a><a href="#">韩式田园</a><a href="#">现代简约</a><a href="#">新古典</a><a href="#">中式</a><a href="#">英式</a><a href="#">地中海</a>
</div>
</li>
<li style="background-image:url(/resource/web/images/home/home22.gif);">
<div class="searchitem">
<a href="#">欧式古典</a><a href="#">欧式田园</a><a href="#">美式田园</a><a href="#">美工古典</a><a href="#">韩式田园</a><a href="#">现代简约</a><a href="#">新古典</a><a href="#">中式</a><a href="#">英式</a><a href="#">地中海</a>
</div>
</li>
<li style="background-image:url(/resource/web/images/home/home23.gif);">
<div class="searchitem">
<a href="#">欧式古典</a><a href="#">欧式田园</a><a href="#">美式田园</a><a href="#">美工古典</a><a href="#">韩式田园</a><a href="#">现代简约</a><a href="#">新古典</a><a href="#">中式</a><a href="#">英式</a><a href="#">地中海</a>
</div>
</li>
<li style="background-image:url(/resource/web/images/home/home24.gif);">
<div class="searchitem">
<a href="#">欧式古典</a><a href="#">欧式田园</a><a href="#">美式田园</a><a href="#">美工古典</a><a href="#">韩式田园</a><a href="#">现代简约</a><a href="#">新古典</a><a href="#">中式</a><a href="#">英式</a><a href="#">地中海</a>
</div>
</li>
<li style="background-image:url(/resource/web/images/home/home25.gif);">
<div class="searchitem">
<a href="#">欧式古典</a><a href="#">欧式田园</a><a href="#">美式田园</a><a href="#">美工古典</a><a href="#">韩式田园</a><a href="#">现代简约</a><a href="#">新古典</a><a href="#">中式</a><a href="#">英式</a><a href="#">地中海</a>
</div>
</li>
<li style="background-image:url(/resource/web/images/home/home26.gif);">
<div class="searchitem">
<a href="#">欧式古典</a><a href="#">欧式田园</a><a href="#">美式田园</a><a href="#">美工古典</a><a href="#">韩式田园</a><a href="#">现代简约</a><a href="#">新古典</a><a href="#">中式</a><a href="#">英式</a><a href="#">地中海</a>
</div>
</li>
</ul>
<div class="clearfix">
</div>
</div>
<div class="itemTab">
<%--<dl class="dlBlock">
<dt class="dtBlock">价 位</dt>
<dd class="ddBlock">
<%foreach (EnWebAggregation a in searchSpreadList)
{ %>
<a href="<%=a.url %>" class="a1"><%=a.title %></a>
<%} %>
</dd>
</dl>
<dl class="dlBlock">
<dt class="dtBlock">风 格</dt>
<dd class="ddBlock">
<div class="searchStyle">
<ul>
<%foreach (EnWebAggregation a in searchStyleList)
{ %>
<li><a href="<%=a.url %>" class="a2"><%=a.title%></a></li>
<%} %>
</ul>
</div>
</dd>
</dl>
<dl class="dlBlock">
<dt class="dtBlock">材 质</dt>
<dd class="ddBlock">
<%foreach (EnWebAggregation a in searchMatialList)
{ %>
<a href="<%=a.url %>" class="a1"><%=a.title %></a>
<%} %>
</dd>
</dl>
<dl class="dlBlock">
<dt class="dtBlock">品 牌</dt>
<dd class="ddBlock">
<div class="searchBrand">
<div class="hd">
<ul>
<li class="on"><b>A</b></li>
<li><b>B</b></li>
<li><b>C</b></li>
<li><b>D</b></li>
<li><b>E</b></li>
<li><b>F</b></li>
<li><b>G</b></li>
<li><b>H</b></li>
<li><b>I</b></li>
<li><b>J</b></li>
<li><b>K</b></li>
<li><b>L</b></li>
<li><b>M</b></li>
<li><b>N</b></li>
<li><b>O</b></li>
<li><b>P</b></li>
<li><b>Q</b></li>
<li><b>R</b></li>
<li><b>S</b></li>
<li><b>T</b></li>
<li><b>U</b></li>
<li><b>V</b></li>
<li><b>W</b></li>
<li><b>X</b></li>
<li><b>Y</b></li>
<li class="liTrim"><b>Z</b></li>
</ul>
</div>
<div class="bd">
<%foreach (string s in letterIndex)
{ %>
<div class="item" <%=s=="A"?"style='display:block'":"" %>>
<ul>
<%foreach(EnWebAggregation a in searchBrand.FindAll(x=>x.title1.Length>0 && x.title1.Substring(0,1).ToUpper().StartsWith(s))){ %>
<li><a href="<%=a.url %>">
<img alt="<%=a.title %>" class="scrollLoading" src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/common/white.gif" data-url="<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>" width="<%=a.thumbw %>" height="<%=a.thumbh %>"></a><a href="#"><%=a.title %></a></li>
<%} %>
</ul>
</div>
<%} %>
</div>
</div>
</dd>
</dl>
<dl>
<dt class="dtBlock">卖 场</dt>
<dd class="ddBlock">
<%foreach (EnWebAggregation a in searchMarket)
{ %>
<a href="<%=a.url %>" class="a1"><%=a.title %></a>
<%} %>
</dd>
</dl>--%>
<div class="clearfix">
</div>
</div>
<div class="itemTab">
<%--<div class="topNav992 inBrand">
<div class="preferential0">
<%foreach (EnWebAggregation a in searchMarketPic)
{ %>
<div class="preferential">
<div class="brefimg">
<p>
<a href="<%=a.url %>">
<img src="<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>" width="<%=a.thumbw %>" height="<%=a.thumbh %>"></a></p>
<p>
<a href="<%=a.url %>"><%=a.title %></a></p>
</div>
<ul class="brefList">
<li><a href="<%=a.url %>" class="brefLista"><%=a.title1 %> </a></li>
<li><a href="<%=a.url %>"><%=a.descript %></a></li>
</ul>
</div>
<%} %>
</div>
</div>--%>
</div>
</div>
<div class="hybridSearch">
<input id="txthybridSearch0" title="hybrand" class="input input0" />
<input id="txthybridSearch1" title="hymarket" class="input input1"/>
<input id="txthybridSearch2" title="hymaterial" class="input input2"/>
<input id="txthybridSearch3" title="hystyle" class="input input3"/>
<input id="hybridSearchBtn" type="button" class="hybridSearchBtn"/>
<script type="text/javascript">
$(function () {
$('#txthybridSearch0,#txthybridSearch1,#txthybridSearch2,#txthybridSearch3').val('').each(function () {
$('#' + this.id).oms_autocomplateV2({ url: '/ajax/search.ashx', inputWidth: 241, inputHeight: 25, paramTypeSelector: '#' + this.id, clickDown: true, beforeajaxfunc: function (e) {
}
});
});
$("#hybridSearchBtn").click(function () {
});
});
</script>
</div>
<b class="searchCateb1"></b><b class="searchCateb2"></b>
</div>
<!---searchCate part end-->
</div>
</div>
<div style="width:100%; height:6px; clear:both"></div>
<div class="topNav992 ad1">
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=7"></script>
</div>
<div class="topNav992 inProducts" style="height:453px">
<div class="productsL" style="height:449px">
<div class="products" style="margin-top:0px; height:449px">
<div class="poTitle hd"><div>热门产品</div><ul>
<li class="on" ajaxid="48" name='style'><a href="#">现代简约</a></li>
<li ajaxid="47" name='style'><a href="#">国园/地中海</a></li>
<li ajaxid="46" name='style'><a href="#">美式乡村</a></li>
<li ajaxid="49" name='style'><a href="#">新古典/后现代</a></li>
<li ajaxid="50" name='style'><a href="#">欧式</a></li>
<li ajaxid="51" name='style'><a href="#">中式现代/明清古典</a></li>
</ul><span><a href="productlist.aspx">更多</a></span></div>
<div class="poContent bd">
<div class="item" style="display:block">
<ul class="products1">
<%foreach (EnWebAggregation a in style1)
{ %>
<li>
<p>
<a href='<%=a.url %>'>
<img class="scrollLoading" src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/common/white.gif" data-url='<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>' width="<%=a.thumbw %>" height="<%=a.thumbh %>" /></a></p>
<p style='line-height: 27px;'>
<a href='<%=a.url %>'><%=a.title %></a></p>
<p class='amount'>
<%=a.title1 %></p>
<p>
<a href='<%=a.url %>' style='color: #2953a6; padding: 0px 2px;'><%=a.title2 %></a>
</p>
</li>
<%} %>
</ul>
</div>
<div class="item" style="display:none">
<ul class="products1">
<%foreach (EnWebAggregation a in style2)
{ %>
<li>
<p>
<a href='<%=a.url %>'>
<img src='<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>' width="<%=a.thumbw %>" height="<%=a.thumbh %>" /></a></p>
<p style='line-height: 27px;'>
<a href='<%=a.url %>'><%=a.title %></a></p>
<p class='amount'>
<%=a.title1 %></p>
<p>
<a href='<%=a.url %>' style='color: #2953a6; padding: 0px 2px;'><%=a.title2 %></a>
</p>
</li>
<%} %>
</ul>
</div>
<div class="item" style="display:none">
<ul class="products1">
<%foreach (EnWebAggregation a in style3)
{ %>
<li>
<p>
<a href='<%=a.url %>'>
<img src='<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>' width="<%=a.thumbw %>" height="<%=a.thumbh %>" /></a></p>
<p style='line-height: 27px;'>
<a href='<%=a.url %>'><%=a.title %></a></p>
<p class='amount'>
<%=a.title1 %></p>
<p>
<a href='<%=a.url %>' style='color: #2953a6; padding: 0px 2px;'><%=a.title2 %></a>
</p>
</li>
<%} %>
</ul>
</div>
<div class="item" style="display:none">
<ul class="products1">
<%foreach (EnWebAggregation a in style4)
{ %>
<li>
<p>
<a href='<%=a.url %>'>
<img src='<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>' width="<%=a.thumbw %>" height="<%=a.thumbh %>" /></a></p>
<p style='line-height: 27px;'>
<a href='<%=a.url %>'><%=a.title %></a></p>
<p class='amount'>
<%=a.title1 %></p>
<p>
<a href='<%=a.url %>' style='color: #2953a6; padding: 0px 2px;'><%=a.title2 %></a>
</p>
</li>
<%} %>
</ul>
</div>
<div class="item" style="display:none">
<ul class="products1">
<%foreach (EnWebAggregation a in style5)
{ %>
<li>
<p>
<a href='<%=a.url %>'>
<img src='<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>' width="<%=a.thumbw %>" height="<%=a.thumbh %>" /></a></p>
<p style='line-height: 27px;'>
<a href='<%=a.url %>'><%=a.title %></a></p>
<p class='amount'>
<%=a.title1 %></p>
<p>
<a href='<%=a.url %>' style='color: #2953a6; padding: 0px 2px;'><%=a.title2 %></a>
</p>
</li>
<%} %>
</ul>
</div>
<div class="item" style="display:none">
<ul class="products1">
<%foreach (EnWebAggregation a in style6)
{ %>
<li>
<p>
<a href='<%=a.url %>'>
<img src='<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>' width="<%=a.thumbw %>" height="<%=a.thumbh %>" /></a></p>
<p style='line-height: 27px;'>
<a href='<%=a.url %>'><%=a.title %></a></p>
<p class='amount'>
<%=a.title1 %></p>
<p>
<a href='<%=a.url %>' style='color: #2953a6; padding: 0px 2px;'><%=a.title2 %></a>
</p>
</li>
<%} %>
</ul>
</div>
</div>
</div>
</div>
<div class="promotionsR" style="height:451px">
<div class="promotionsR1" style="height:449px">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.PromotionList) %>" target="_blank">更多</a></span>促销信息</div>
<div class="prAd1"><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=14"></script><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=15"></script></div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionList(2))%>
</div>
</div>
</div>
<div class="topNav992 inBrand">
<div class="brTitle"><span><a href="companylist.aspx">更多</a></span><strong>优秀品牌厂商推荐</strong></div>
<ul class="inBrand1">
<%foreach (EnWebAggregation a in companyPicList)
{ %>
<li style="width:124px;"><p><a href="<%=a.url %>" target="_blank"><img class="scrollLoading" src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/common/white.gif" data-url='<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>' width="<%=a.thumbw %>" height="<%=a.thumbh %>" /></a></p>
<p style="text-align:center"><a href="<%=a.url %>" target="_blank"><%=a.title %></a></p></li>
<%} %>
</ul>
<div class="brandgz">
<div class="brandgz1">最受关注厂家</div>
<ul class="brandgz2">
<%int tmpi = 1; tmpi = 1; foreach (EnWebAggregation a in hotCompany)
{ %>
<li>
<%if (tmpi < 4)
{ %>
<span class="szh"><%=tmpi%></span>
<%}
else
{%>
<span><%=tmpi%></span>
<%
} %>
<a href="<%=a.url %>" target="_blank"><%=a.title != null ? a.title.Length > 12 ? a.title.Substring(0, 12) + ".." : a.title : "" %></a></li>
<% tmpi++; } %>
</ul>
</div>
</div>
<div class="topNav992 ad1">
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=8"></script>
</div>
<div class="topNav992 inBrand" style=" height:388px;">
<div class="brTitle"><span><a href="marketlist.aspx">更多</a></span><strong>家居卖场信息</strong></div>
<%foreach (EnWebAggregation a in marketList)
{ %>
<div class="preferential0" style="width:auto;">
<div class="preferential">
<div class="brefimg"><p><a href="<%=a.url %>"><img class="scrollLoading" src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/common/white.gif" data-url='<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>' width="<%=a.thumbw %>" height="<%=a.thumbh %>" /></a></p>
<p><a href="<%=a.url %>"><%=a.title %></a></p></div>
<ul class="brefList">
<li><a href="<%=a.url %>" class="brefLista"><%=a.title1 %></a></li>
<li><a href="<%=a.url %>"><%=a.descript %></a></li>
</ul>
</div>
</div>
<%} %>
<div class="brandgz">
<div class="brandgz1">最受关注<strong>卖场</strong></div>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=9"></script></div>
</div>
<div class="topNav992 inBrand">
<div class="brTitle"><span><a href="shoplist.aspx">更多</a></span><strong>热门经销商信息</strong></div>
<div class="inBrand1 indexjx0">
<% tmpi = 1; foreach (EnWebAggregation a in shopList)
{ %>
<%if (tmpi % 2 == 0)
{ %>
<div class="indexjx1"><dd style="padding-top:4px;"><a href="<%=a.url %>" target="_blank"><img src='<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>' width="<%=a.thumbw %>" height="<%=a.thumbh %>" /></a></dd>
<dt>
<p class="titlejx"><strong></strong><a href="<%=a.url %>" target="_blank"><%=a.title %></a><%--<a href="#"><img src="<%=FordioB2B.ECommerce.ECommon.GetWebSkinUrl %>/images/index_117.gif" width="88" height="18" /></a>--%></p>
<p style="line-height:20px; height:20px; overflow:hidden;"><span><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_121.gif" /></span><%=a.title1 %></p><p><span><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_124.gif" /></span><%=a.title2 %></p></dt></div>
</div>
<%}
else
{ %>
<div class="indexjx">
<div class="indexjx1"><dd style="padding-top:4px;"><a href="<%=a.url %>"><img src='<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>' width="<%=a.thumbw %>" height="<%=a.thumbh %>" /></a></dd>
<dt>
<p class="titlejx"><strong></strong><a href="<%=a.url %>" target="_blank"><%=a.title %></a><%--<a href="#"><img src="<%=FordioB2B.ECommerce.ECommon.GetWebSkinUrl %>/images/index_117.gif" width="88" height="18" /></a>--%></p>
<p style="line-height:20px; height:20px; overflow:hidden;"><span><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_121.gif" /></span><%=a.title1 %></p><p><span><img src="<%=ECommon.WebResourceUrlToWeb %>/images/index_124.gif" /></span><%=a.title2 %></p></dt></div>
<%} %>
<% tmpi++; } %>
</div>
<div class="brandgz">
<div class="brandgz1">最受关注经销商</div>
<ul class="brandgz2">
<%int tmpi2 = 1; tmpi = 1; foreach (EnWebAggregation a in hotShopList)
{ %>
<li>
<%if (tmpi2 < 4)
{ %>
<span class="szh"><%=tmpi2%></span>
<%}
else
{%>
<span><%=tmpi2%></span>
<%
} %>
<a href="<%=a.url %>" target="_blank"><%=a.title != null ? a.title.Length > 12 ? a.title.Substring(0, 12) + ".." : a.title : "" %></a></li>
<% tmpi2++;
} %>
</ul>
</div>
</div>
<div class="topNav992 ad1"><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=12"></script></div>
<uc3:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/index.aspx | ASP.NET | oos | 37,734 |
<%@ Page Language="C#" AutoEventWireup="true"%>
<%@ Register src="ascx/_resource.ascx" tagname="_resource" tagprefix="uc1" %>
<%@ Register src="ascx/_head.ascx" tagname="_head" tagprefix="uc2" %>
<%@ Register src="ascx/_foot.ascx" tagname="_foot" tagprefix="uc3" %>
<%@ Register src="ascx/_nav.ascx" tagname="_nav" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>家具快搜-拼团</title>
<uc1:_resource ID="_resource1" runat="server" />
</head>
<body>
<uc2:_head ID="_head1" runat="server" />
<uc4:_nav ID="_nav1" runat="server" />
<div class="tgPart" style="margin:0 auto;width:1000px;margin-top:15px;" >
<img alt="" src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/tg1.jpg">
<img alt="" src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/tg2.jpg">
<img alt="" src="<%=TREC.ECommerce.ECommon.WebResourceUrlToWeb %>/images/tg3.gif">
<%-- <img alt="" src="<%=FordioB2B.ECommerce.ECommon.GetWebSkinUrl %>/images/tg4.jpg">
<img alt="" src="<%=FordioB2B.ECommerce.ECommon.GetWebSkinUrl %>/images/tg5.gif">
<img alt="" src="<%=FordioB2B.ECommerce.ECommon.GetWebSkinUrl %>/images/tg6.gif">
<img alt="" src="<%=FordioB2B.ECommerce.ECommon.GetWebSkinUrl %>/images/tg7.jpg">--%>
</div>
<uc3:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/pingtuan.aspx | ASP.NET | oos | 1,459 |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="TREC.Web.aspx.login" %>
<%@ Register src="ascx/_head.ascx" tagname="_head" tagprefix="uc1" %>
<%@ Register src="ascx/_resource.ascx" tagname="_resource" tagprefix="uc2" %>
<%@ Register src="ascx/_foot.ascx" tagname="_foot" tagprefix="uc3" %>
<%@ Register src="ascx/_nav.ascx" tagname="_nav" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=pageTitle %></title>
<uc2:_resource ID="_resource1" runat="server" />
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl%>/script/jquery.validate.min.js"></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl%>/script/additional-methods.js"></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl%>/script/messages_cn.js"></script>
<script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebResourceUrl%>/script/jquery.form.js"></script>
<script type="text/javascript">
$(function () {
//表单验证JS
var validator = $("#form1").validate({
rules: {
txtLoginName: {// 需要进行验证的输入框name
required: true, // 验证条件:必填
minlength: 2
},
txtLoginPwd: {// 需要进行验证的输入框name
required: true, // 验证条件:必填
minlength: 6// 验证条件:最小长度为5
}
},
messages: {
txtLoginName: {
required: "登陆账号不允许为空!",
minlength: jQuery.format("登陆账号最少 {0} 字符!")
},
txtLoginPwd: {
required: "登陆密码不允许为空!",
minlength: jQuery.format("密码至少输入 {0} 字符!")
}
},
errorElement: "span",
showErrors: function (errorMap, errorList) {
if (errorList.length > 0) {
if ($("#" + errorList[0].element.id).next() != null) {
$("#" + errorList[0].element.id).next().remove();
}
}
this.defaultShowErrors();
},
success: function (label) {
label.text(" ").addClass("success");
}
});
$("#btnLogin").click(function () {
if ($("#form1").valid()) {
jQuery.ajax({
url: 'ajax/ajaxuser.ashx',
data: 'type=login&v=' + $("#txtLoginName").val() + '&v2=' + $("#txtLoginPwd").val(),
type: 'post',
success: function (data) {
if (data == "1") {
window.location = "/suppler/index.aspx";
}else if (data == "2") {
window.location = "suppler/supplerindex.aspx";
}
else {
alert("用户名或密码错误!");
}
}
});
}
})
});
</script>
</head>
<body>
<form id="form1">
<uc1:_head ID="_head1" runat="server" />
<uc4:_nav ID="_nav1" runat="server" />
<div class="topNav992">
<div class="zhuce">
<div class="bzctit">会员注册</div>
<div class="bzccon">
<div class="bzccon1">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="registration1">
<tr>
<td colspan="2" align="right" style=" line-height:30px;"> </td>
</tr>
<tr>
<td width="114" align="right">登陆名:</td>
<td width="77%">
<input type="text" name="txtLoginName" id="txtLoginName" class="regiinput" />
</td>
</tr>
<tr>
<td align="right">密 码:</td>
<td>
<input type="password" name="txtLoginPwd" id="txtLoginPwd" class="regiinput" />
</td>
</tr>
<tr>
<td> </td>
<td><div class="homebraLi23">
<a href="javascript:;" id="btnLogin"> 登 陆</a>
</div></td>
</tr>
<tr>
<td colspan="2" align="right" style="" line-height:30px;"> </td>
</tr>
</table>
</div>
<div class="login c61f38" style="margin-top:32px;">
<div class="login1"><div class="login10"><a href="reg.aspx">注册账号</a></div></div>
<p><a href="#" style="line-height:24px;">为什么要加入我们</a></p>
<p>无论在经销商开在哪里,都能让全国的消费者了解你。<br />
把你的活动促销信息推送给需要购买家具的消费者。<br />
快捷的让消费者找到品牌的销售地点。</p>
</div>
</div>
</div>
</div>
<uc3:_foot ID="_foot1" runat="server" />
</form>
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/login.aspx | ASP.NET | oos | 5,442 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.search" %> | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/search.aspx | ASP.NET | oos | 84 |
<%@ Page Language="C#" AutoEventWireup="true" Inherits="TREC.Web.aspx.marketlist" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="System.Collections" %>
<%@ Register src="ascx/_resource.ascx" tagname="_resource" tagprefix="uc1" %>
<%@ Register src="ascx/_head.ascx" tagname="_head" tagprefix="uc2" %>
<%@ Register src="ascx/_foot.ascx" tagname="_foot" tagprefix="uc3" %>
<%@ Register src="ascx/_nav.ascx" tagname="_nav" tagprefix="uc4" %>
<%@ Register src="ascx/_brandletter.ascx" tagname="_brandletter" tagprefix="uc5" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=pageTitle %></title>
<uc1:_resource ID="_resource1" runat="server" />
</head>
<body>
<uc2:_head ID="_head1" runat="server" />
<uc4:_nav ID="_nav1" runat="server" />
<div class="topNav992 central">
<div class="productList1">
<uc5:_brandletter ID="_brandletter1" runat="server" />
<div class="prlifl2">
<div class="prlifl20">
<div class="prli-selected"><span>您的搜索条件:</span>
<%foreach (EnSearchItem i in ECMarket.GetSearchItem().FindAll(x=>x.isCur==true))
{ %>
<a href="<%=string.Format(EnUrls.MarketListSearch, ECommon.QuerySearchBrand.Replace("_" + i.value, ""), ECommon.QuerySearchStyle.Replace("_" + i.value, ""), ECommon.QuerySearchMaterial.Replace("_" + i.value, ""), ECommon.QuerySearchSpread.Replace("_" + i.value, ""), ECommon.QuerySearchStaffsize.Replace("_" + i.value, ""), ECommon.QuerySearchSort.Replace("_" + i.value, ""), ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex,ECommon.QuerySearchArea.Replace("_" + i.value, ""))%>"><%=i.title %></a>
<%} %>
</div>
<dl class="prlifldl">
<dd>区域:</dd>
<dt>
<%foreach (EnSearchItem i in ECMarket.GetSearchItem().FindAll(x=>x.type=="area"&&x.isCur==false))
{ %>
<a href="<%=string.Format(EnUrls.MarketListSearch,ECommon.QuerySearchBrand,ECommon.QuerySearchStyle,ECommon.QuerySearchMaterial,ECommon.QuerySearchSpread,ECommon.QuerySearchStaffsize,ECommon.QuerySearchSort,ECommon.QuerySearchComposing,ECommon.QuerySearchKey,ECommon.QueryPageIndex,ECommon.QuerySearchArea+"_"+i.value) %>"><%=i.title %></a>
<%} %>
</dt>
</dl>
</div>
</div>
<div class="productList12">
<div class="productList121">
<ul class="pr12-ti"><%--
<li><a href="#">所有经销商</a></li>
<li><a href="#">按品牌显示</a></li>--%>
<li><a href="#" class="pr12-tia">按卖场显示</a></li>
</ul>
<div class="pr12-fy"><a href="<%=NextUrl %>" class="xyy">下一页</a><span><%=ECommon.QueryPageIndex %>/<%=AspNetPager1.PageCount %></span><a href="<%=PrvUrl %>" style="float:right;"><img src="<%=ECommon.WebResourceUrlToWeb %>/images/product_19.gif" /></a></div>
</div>
<div class="productList122"><span class="s1">快速分类</span>
<div class="pr_xl"><%=sortTitle%>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchArea) %>">产品名称</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchArea) %>">名称降序</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_t2","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_t2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchArea) %>">名称升序</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortDate %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchArea) %>">更新时间</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchArea) %>">由近到远</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_d2","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_d2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchArea) %>">由远到近</a></li>
</ul>
</div>
<div class="pr_xl"><%=sortHot %>
<ul>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchArea) %>">推荐产品</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h1","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h1", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchArea) %>">由高到低</a></li>
<li><a class="<%=TREC.ECommerce.UiCommon.QueryStringCur("sort","_h2","","pr_xla") %>" href="<%=string.Format(EnUrls.MarketListSearch, ECommon.QuerySearchBrand, ECommon.QuerySearchStyle, ECommon.QuerySearchMaterial, ECommon.QuerySearchSpread, ECommon.QuerySearchStaffsize, "_h2", ECommon.QuerySearchComposing, ECommon.QuerySearchKey, ECommon.QueryPageIndex, ECommon.QuerySearchArea) %>">由低到高</a></li>
</ul>
</div>
<%--<label for="supportDIY"><input name="supprotDIY" id="supportDIY" type="checkbox" value="" /><s>支持定制</s></label>--%></div>
</div>
<div class="dealerLiM2" style="display:none"><strong>推荐卖场</strong> <a href="#">弗劳思丹</a> <a href="#">木之本</a> <a href="#">全友家私</a> <a href="#">玉庭家具</a> <a href="#">甘迪</a> <a href="#">斯曼克</a> <a href="#">卡瑞迪</a> <a href="#">锐驰</a> <a href="#">力排库斯</a> <a href="#">艾菲尔</a></div>
<%foreach (EnWebMarket m in list)
{ %>
<div class="dealerLiMc dealerLiMc0" style="padding-bottom:5px;">
<div class="dealLiMc11"><a href="<%=string.Format(EnUrls.MarketInfoIndex,m.id) %>" target="_blank">
<div class="demc-Mlo" style="width:auto;"><img src="<%=EnFilePath.GetMarketLogoPath(m.id.ToString(),m.logo)%>" width="105" height="38" style="cursor:pointer" /></a></div>
<ul class="demc-Mli">
<li class="mlia1"><a href="<%=string.Format(EnUrls.MarketInfoIndex,m.id) %>" target="_blank" style=" text-decoration:underline;"><%=m.title %></a></li>
<li><strong>规模:</strong><%=m.cbm %></li>
<li><strong>内有店铺:</strong><%=m.shopcount %></li>
<li><strong>地址:</strong><%=ECommon.GetAreaName(m.areacode) %><%=m.address %> </li>
</ul>
<%--<div class="demc-Men">C</div>--%>
</div>
<div class="dealLiMc12">
<div class="dealLiMc1-img"><img src="<%=EnFilePath.GetMarketSurfacePath(m.id.ToString(), m.surface)%>" width="219" height="346" /></div>
<div class="dealLiMc1-li1">
<ul>
<%foreach (EnWebMarket.MarketShop s in m.MarketShopList)
{ %>
<li style="height:95px">
<p class="dealLiMc1-lipic"><img src="<%=EnFilePath.GetBrandLogoPath(s.brandid,s.brandlogo) %>" width="78" height="28" /></p>
<p class="dealLiMc1-litit c61f38"><a href="#"><%=s.brandtitle %>[<%=s.marketstorey %>]</a></p>
<p class="address" style="height:16px; overflow:hidden" title="<%=ECommon.GetAreaName(s.areacode) %><%=s.address %>"><%=ECommon.GetAreaName(s.areacode) %><%=s.address %></p>
<p class="phone"><%=s.phone %></p>
</li>
<%} %>
</ul>
</div>
<div class="dealLiMc1-li2">
<p class="li21">
<%foreach (EnWebMarket.MarketBrand b in m.MarketBrandList)
{ %>
<a href=""><%=b.title %></a>
<%} %>
</p>
<p class="li22"><a href="#">本卖场内更多其他店铺查询》</a></p>
</div>
</div>
</div>
<%} %>
<webdiyer:aspnetpager ID="AspNetPager1" runat="server" AlwaysShow="true"
CurrentPageButtonClass="cpb" CssClass="pager"
UrlPaging="true" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
PrevPageText="上一页">
</webdiyer:aspnetpager>
</div>
<div class="productList2">
<div class="brandgz1 brandst">推荐品牌</div>
<div class="brandsUl">
<ul>
<%foreach (EnWebAggregation a in ECommon.GetMarketListTopBrand())
{ %>
<li><a href="<%=a.url %>"><img src="<%=EnFilePath.GetAggregationThumbPath(a.id.ToString(),a.thumb) %>" width="<%=a.thumbw %>" height="<%=a.thumbh %>" title="<%=a.title %>" /></a></li>
<%} %>
</ul>
</div>
<div class="promotionsR1" style="margin-top:8px;">
<div class="promotions"><span><a href="<%=string.Format(EnUrls.PromotionList) %>" target="_blank">更多</a></span>促销信息</div>
<div class="prAd1"><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=14"></script><script type="text/javascript" src="<%=TREC.ECommerce.ECommon.WebUrl %>/ajaxtools/ajaxshow.ashx?id=15"></script></div>
<%=ECPromotion.GetPromotionHtml(ECPromotion.GetWebTopPromotionListToCompanyList(4))%>
</div>
</div>
</div>
<uc3:_foot ID="_foot1" runat="server" />
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/template/web/default/marketlist.aspx | ASP.NET | oos | 11,588 |
using System;
using System.Configuration;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.SessionState;
using log4net;
using System.Text;
namespace TREC.Web
{
public class Global : System.Web.HttpApplication
{
private static readonly ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
protected void Application_Start(object sender, EventArgs e)
{
log4net.Config.DOMConfigurator.Configure();
log.Debug("家具快搜启动");
}
protected void Session_Start(object sender, EventArgs e)
{
}
protected void Application_BeginRequest(object sender, EventArgs e)
{
}
protected void Application_AuthenticateRequest(object sender, EventArgs e)
{
}
protected void Application_Error(object sender, EventArgs e)
{
Exception ex = Server.GetLastError();
log.Error(getErrorRequestInfo(), ex);
//Response.Redirect("/index.aspx");
}
public String getErrorRequestInfo()
{
StringBuilder sb = new StringBuilder();
sb.AppendLine("错误:");
if (Request.Headers["x-forwarded-for"] == null)
{
if (Request.UrlReferrer != null)
{
sb.AppendLine("UrlReferrer:");
sb.AppendLine(Request.UrlReferrer.ToString());
}
sb.AppendLine("UserAgent:");
sb.AppendLine(Request.UserAgent);
sb.AppendLine("UserHostName:");
sb.AppendLine(Request.UserHostName);
sb.AppendLine("UserHostAddress:");
sb.AppendLine(Request.UserHostAddress);
}
else
{
if (Request.UrlReferrer != null)
{
sb.AppendLine("UrlReferrer:");
sb.AppendLine(Request.UrlReferrer.ToString());
}
sb.AppendLine("UserAgent:");
sb.AppendLine(Request.UserAgent);
sb.AppendLine("UserHostName:");
sb.AppendLine(Request.UserHostName);
sb.AppendLine("UserHostAddress:");
sb.AppendLine(Request.UserHostAddress);
sb.AppendLine("ActualRequestIP:");
sb.AppendLine(Request.Headers["x-forwarded-for"].ToString());
}
return sb.ToString();
}
protected void Session_End(object sender, EventArgs e)
{
}
protected void Application_End(object sender, EventArgs e)
{
log.Debug("家具快搜停止");
}
}
} | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/Global.asax.cs | C# | oos | 2,915 |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="TREC.Web.index" %>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/index.aspx | ASP.NET | oos | 106 |
<%@ WebHandler Language="C#" CodeBehind="ajaxarea.ashx.cs" Class="TREC.Web.ajaxtools.ajaxarea" %>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/ajaxtools/ajaxarea.ashx | ASP.NET | oos | 102 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Data;
using TRECommon;
using TREC.ECommerce;
using TREC.Entity;
namespace TREC.Web.ajaxtools
{
/// <summary>
/// ajaxshow 的摘要说明
/// </summary>
public class ajaxshow : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
int aid;
//获得广告位的ID
if (!int.TryParse(context.Request.Params["id"] as string, out aid))
{
context.Response.Write("document.write('错误提示,请勿提交非法字符!');");
return;
}
//检查广告位是否存在
//DtCms.BLL.Advertising abll = new DtCms.BLL.Advertising();
if (ECAdvertisementCategory.ExitAdvertisementCategory(aid) <= 0)
{
context.Response.Write("document.write('错误提示,该广告位不存在!');");
return;
}
//取得该广告位详细信息
//DtCms.Model.Advertising aModel = abll.GetModel(aid);
EnAdvertisementCategory aModel = ECAdvertisementCategory.GetAdvertisementCategoryInfo(" where id=" + aid + " and isopen=1 and (datediff(d,starttime,getdate())>=0 and datediff(d,endtime,getdate())<=0 or endtime='1900-1-1 0:00:00' or endtime is null or starttime='1900-1-1 0:00:00' or starttime is null )");
//输出该广告位下的广告条,不显示未开始、过期、暂停广告
List<EnAdvertisement> list = ECAdvertisement.GetAdvertisementList(" isopen=1 and categoryid=" + aid);
if (list.Count < 1 || list == null)
{
context.Response.Write("document.write('该广告位下暂无广告内容');");
return;
}
//=================判断广告位类别,输出广告条======================
//新增,取得站点配置信息
//DtCms.Model.WebSet webset = new DtCms.BLL.WebSet().loadConfig(Utils.GetXmlMapPath("Configpath"));
int pageCout = 0;
DataTable dt = ECAdvertisement.GetAdvertisementListToTable(-1, 1000, " categoryid=" + aModel.id, out pageCout);
switch (aModel.adtype)
{
case (int)EnumAdvertisementinType.文字广告: //文字
context.Response.Write("document.write('<ul>');\n");
for (int i = 0; i < dt.Rows.Count; i++)
{
DataRow dr = dt.Rows[i];
context.Response.Write("document.write('<li>');");
context.Response.Write("document.write('<a title=\"" + dr["adtext"] + "\" href=\"" + dr["linkurl"] + "\">" + dr["adtext"] + "</a>');");
context.Response.Write("document.write('</li>');\n");
}
context.Response.Write("document.write('</ul>');\n");
break;
case (int)EnumAdvertisementinType.图片广告: //图片
if (dt.Rows.Count == 1)
{
DataRow dr = dt.Rows[0];
string img = dr["imgurl"].ToString();
img = img.EndsWith(",") ? img.Substring(0, img.Length - 1) : img;
context.Response.Write("document.write('<a title=\"" + dr["title"] + "\" href=\"" + dr["linkurl"] + "\">');");
context.Response.Write("document.write('<img src=\"" + string.Format(EnFilePath.Ad, dr["id"].ToString(), EnFilePath.Thumb) + img + "\" width=" + aModel.width + " height=" + aModel.height + " border=0 />');");
context.Response.Write("document.write('</a>');");
}
else
{
context.Response.Write("document.write('<ul>');\n");
for (int i = 0; i < dt.Rows.Count; i++)
{
//如果超出限制广告数量,则退出循环
//if (i >= aModel.AdNum)
// break;
DataRow dr = dt.Rows[i];
context.Response.Write("document.write('<li>');");
context.Response.Write("document.write('<a title=\"" + dr["title"] + "\" href=\"" + dr["linkurl"] + "\">');");
context.Response.Write("document.write('<img src=\"" + dr["imgurl"] + "\" width=" + aModel.width + " height=" + aModel.height + " border=0 />');");
context.Response.Write("document.write('</a>');\n");
context.Response.Write("document.write('</li>');\n");
}
context.Response.Write("document.write('</ul>');\n");
}
break;
case (int)EnumAdvertisementinType.动画广告: //幻灯片
StringBuilder picTitle = new StringBuilder();
StringBuilder picUrl = new StringBuilder();
StringBuilder picLink = new StringBuilder();
for (int i = 0; i < dt.Rows.Count; i++)
{
//如果超出限制广告数量,则退出循环
//if (i >= aModel.AdNum)
// break;
DataRow dr = dt.Rows[i];
picUrl.Append(dr["imgurl"].ToString());
picLink.Append(dr["linkurl"].ToString());
if (i < dt.Rows.Count - 1)
{
picUrl.Append("|");
picLink.Append("|");
}
}
context.Response.Write("document.write('<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" d=scriptmain name=scriptmain codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + aModel.width + "\" height=\"" + aModel.height + "\">');\n");
context.Response.Write("document.write('<param name=\"movie\" value=\"" + ECommon.WebResourceUrl + "/flash/focus.swf?width=" + aModel.width + "&height=" + aModel.height + "&bigSrc=" + picUrl + "&href=" + picLink + "\">');\n");
context.Response.Write("document.write('<param name=\"quality\" value=\"high\">');\n");
context.Response.Write("document.write('<param name=\"loop\" value=\"false\">');\n");
context.Response.Write("document.write('<param name=\"menu\" value=\"false\">');\n");
context.Response.Write("document.write('<param name=\"wmode\" value=\"transparent\">');\n");
context.Response.Write("document.write('<embed src=\"" + ECommon.WebResourceUrl + "/flash/focus.swf?width=" + aModel.width + "&height=" + aModel.height + "&bigSrc=" + picUrl + "&href=" + picLink + "\" width=\"" + aModel.width + "\" height=\"" + aModel.height + "\" loop=\"false\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" menu=\"false\"></embed>');\n");
context.Response.Write("document.write('</object>');\n");
break;
case (int)EnumAdvertisementinType.Flash广告: //动画
if (dt.Rows.Count == 1)
{
DataRow dr = dt.Rows[0];
context.Response.Write("document.write('<object classid=\"clsid:D27CDB6E-AE6D-11CF-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0\" width=\"" + aModel.width + "\" height=\"" + aModel.height + "\">');\n");
context.Response.Write("document.write('<param name=\"movie\" value=\"" + dr["flashurl"] + "\">');\n");
context.Response.Write("document.write('<param name=\"quality\" value=\"high\">');\n");
context.Response.Write("document.write('<param name=\"wmode\" value=\"transparent\">');\n");
context.Response.Write("document.write('<param name=\"menu\" value=\"false\">');\n");
context.Response.Write("document.write('<embed src=\"" + dr["linkurl"] + "\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"" + aModel.width + "\" height=\"" + aModel.height + "\" quality=\"High\" wmode=\"transparent\">');\n");
context.Response.Write("document.write('</embed>');\n");
context.Response.Write("document.write('</object>');\n");
}
else
{
context.Response.Write("document.write('<ul>');\n");
for (int i = 0; i < dt.Rows.Count; i++)
{
//如果超出限制广告数量,则退出循环
//if (i >= aModel.AdNum)
// break;
DataRow dr = dt.Rows[i];
context.Response.Write("document.write('<li>');");
context.Response.Write("document.write('<object classid=\"clsid:D27CDB6E-AE6D-11CF-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0\" width=\"" + aModel.width + "\" height=\"" + aModel.height + "\">');\n");
context.Response.Write("document.write('<param name=\"movie\" value=\"" + dr["flashurl"] + "\">');\n");
context.Response.Write("document.write('<param name=\"quality\" value=\"high\">');\n");
context.Response.Write("document.write('<param name=\"wmode\" value=\"transparent\">');\n");
context.Response.Write("document.write('<param name=\"menu\" value=\"false\">');\n");
context.Response.Write("document.write('<embed src=\"" + dr["flashurl"] + "\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"" + aModel.width + "\" height=\"" + aModel.height + "\" quality=\"High\" wmode=\"transparent\">');\n");
context.Response.Write("document.write('</embed>');\n");
context.Response.Write("document.write('</object>');\n");
context.Response.Write("document.write('</li>');\n");
}
context.Response.Write("document.write('</ul>');\n");
}
break;
case (int)EnumAdvertisementinType.视频广告://视频
for (int i = 0; i < dt.Rows.Count; i++)
{
//如果超出限制广告数量,则退出循环
if (i >= 1)
break;
DataRow dr = dt.Rows[i];
context.Response.Write("document.write('<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0\" width=" + aModel.width + " height=" + aModel.height + " viewastext>');\n");
context.Response.Write("document.write('<param name=\"movie\" value=\"" + ECommon.WebResourceUrl + "/flash/Player.swf\" />');\n");
context.Response.Write("document.write('<param name=\"quality\" value=\"high\" />');\n");
context.Response.Write("document.write('<param name=\"allowFullScreen\" value=\"true\" />');\n");
context.Response.Write("document.write('<param name=\"FlashVars\" value=\"vcastr_file=" + dr["videourl"].ToString() + "&LogoText=www.auto.cn&BarTransparent=30&BarColor=0xffffff&IsAutoPlay=1&IsContinue=1\" />');\n");
context.Response.Write("document.write('</object>');\n");
}
break;
case (int)EnumAdvertisementinType.JS代码广告://代码
for (int i = 0; i < dt.Rows.Count; i++)
{
//如果超出限制广告数量,则退出循环
if (i >= 1)
break;
DataRow dr = dt.Rows[i];
StringBuilder sb = new StringBuilder(dr["adcode"].ToString());
sb.Replace("<", "<");
sb.Replace(">", ">");
sb.Replace("\"", "'");
context.Response.Write("document.write(\"" + sb.ToString() + "\")");
}
break;
}
}
public bool IsReusable
{
get
{
return false;
}
}
}
} | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/ajaxtools/ajaxshow.ashx.cs | C# | oos | 13,510 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;
using System.Text;
using TREC.ECommerce;
namespace TREC.Web.ajaxtools
{
/// <summary>
/// fileupload 的摘要说明
/// </summary>
public class fileupload : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
context.Response.ContentType = "text/plain";
string upFile = context.Request.QueryString["f"];
string upFileType = context.Request.QueryString["t"];
string upFileDelType = context.Request.QueryString["dt"] == null ? "" : upFileDelType = context.Request.QueryString["dt"];
if (string.IsNullOrEmpty(upFileType))
{
context.Response.Write("{\"msg\":\"0\",\"msbox\":\"数据错误!\"}");
}
if (upFileType=="add")
{
if (string.IsNullOrEmpty(upFile))
{
context.Response.Write("{\"msg\":\"0\",\"msbox\":\"文件为空,请选择要上传的文件!\"}");
return;
}
HttpPostedFile _upfile = context.Request.Files[upFile];
if (_upfile==null)
{
context.Response.Write("{\"msg\":\"0\",\"msbox\":\"文件为空,请选择要上传的文件!\"}");
return;
}
ECUpLoad ecUpload = new ECUpLoad();
string msg = ecUpload.fileSaveAs(_upfile, 0);
//返回成功信息
context.Response.Write(msg);
}
else if (upFileType == "del")
{
if (!string.IsNullOrEmpty(upFileDelType))
{
if (upFileDelType == "up")
{
if (File.Exists(HttpContext.Current.Server.MapPath("/upload/" + "/temp/" + upFile)))
{
File.Delete(HttpContext.Current.Server.MapPath("/upload/" + "/temp/" + upFile));
context.Response.Write("{\"msg\":\"1\",\"msbox\":\"删除成功!\"}");
return;
}
else
{
context.Response.Write("{\"msg\":\"0\",\"msbox\":\"文件不存在!\"}");
return;
}
}
if (upFileDelType.IndexOf("edit_")>=0)
{
if (File.Exists(HttpContext.Current.Server.MapPath(upFileDelType.Replace("edit_","")+ upFile)))
{
File.Delete(HttpContext.Current.Server.MapPath(upFileDelType.Replace("edit_", "") + upFile));
context.Response.Write("{\"msg\":\"1\",\"msbox\":\"删除成功!\"}");
return;
}
else
{
context.Response.Write("{\"msg\":\"0\",\"msbox\":\"文件不存在!\"}");
return;
}
}
}
}
context.Response.End();
}
public bool IsReusable
{
get
{
return false;
}
}
}
} | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/ajaxtools/fileupload.ashx.cs | C# | oos | 3,577 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using System.IO;
using TRECommon;
using TREC.Entity;
using TREC.ECommerce;
namespace TREC.Web.ajaxtools
{
/// <summary>
/// ajaxarea 的摘要说明
/// </summary>
public class ajaxarea : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
context.Response.ContentType = "text/plain";
string type = context.Request["type"] == null ? context.Request.Params["type"] == null ? "" : context.Request.Params["type"] : context.Request["type"];
string select = context.Request["s"] == null ? context.Request.Params["s"] == null ? "" : context.Request.Params["s"] : context.Request["s"];
string pro = context.Request["p"] == null ? context.Request.Params["p"] == null ? "" : context.Request.Params["p"] : context.Request["p"];
string city = context.Request["c"] == null ? context.Request.Params["c"] == null ? "" : context.Request.Params["c"] : context.Request["c"];
string district = context.Request["d"] == null ? context.Request.Params["d"] == null ? "" : context.Request.Params["d"] : context.Request["d"];
if (type == "p")
{
context.Response.Write(GetPro(select));
}
if (type == "c")
{
context.Response.Write(GetCity(pro, select));
}
if (type == "d")
{
context.Response.Write(GetDistrict(city, select));
}
if (type == "t")
{
context.Response.Write(GetTown(district, select));
}
if (type == "edit")
{
context.Response.Write(GetAllPath(select));
}
context.Response.End();
}
protected string GetAllPath(string selectvalue)
{
StringBuilder sb = new StringBuilder();
if (!string.IsNullOrEmpty(selectvalue) && selectvalue.Length == 6)
{
EnArea cityinfo = ECArea.GetAreaInfo(" where areacode='" + selectvalue.Substring(0, 4) + "00" + "' ");
if (cityinfo != null)
{
sb.Append("{\"type\":\"city\",\"areacode\":\"" + cityinfo.areacode + "\",\"areaname\":\"" + cityinfo.areaname + "\"},");
}
EnArea tdinfo = ECArea.GetAreaInfo(" where areacode='" + selectvalue + "'");
EnArea pinfo = ECArea.GetAreaInfo(" where areacode='" + tdinfo.parentcode + "'");
if (pinfo != null && pinfo.areacode!=cityinfo.areacode)
{
sb.Append("{\"type\":\"district\",\"areacode\":\"" + pinfo.areacode + "\",\"areaname\":\"" + pinfo.areaname + "\"},");
sb.Append("{\"type\":\"town\",\"areacode\":\"" + tdinfo.areacode + "\",\"areaname\":\"" + tdinfo.areaname + "\"}");
}
else
{
sb.Append("{\"type\":\"district\",\"areacode\":\"" + tdinfo.areacode + "\",\"areaname\":\"" + tdinfo.areaname + "\"}");
}
}
return "[" + sb.ToString() + "]";
}
protected string GetPro(string selectvalue)
{
StringBuilder sb = new StringBuilder();
sb.Append("<option value=\"\">请选择</option>");
foreach (EnArea a in ECArea.GetAreaList(" parentcode=0"))
{
if (!string.IsNullOrEmpty(selectvalue) && selectvalue.Length==6 && a.areacode == selectvalue.Substring(0,2)+"0000")
{
sb.Append("<option value=\"" + a.areacode + "\" selected=\"true\">" + a.areaname + "</option>");
continue;
}
sb.Append("<option value=\"" + a.areacode + "\">" + a.areaname + "</option>");
}
return sb.ToString();
}
protected string GetCity(string pro, string selectvalue)
{
StringBuilder sb = new StringBuilder();
sb.Append("<option value=\"\">请选择省份</option>");
foreach (EnArea a in ECArea.GetAreaList(" parentcode=" + pro))
{
if (!string.IsNullOrEmpty(selectvalue) && selectvalue.Length == 6 && a.areacode == selectvalue.Substring(0,4) + "00")
{
sb.Append("<option value=\"" + a.areacode + "\" selected=\"true\">" + a.areaname + "</option>");
continue;
}
sb.Append("<option value=\"" + a.areacode + "\">" + a.areaname + "</option>");
}
return sb.ToString();
}
protected string GetDistrict(string city, string selectvalue)
{
StringBuilder sb = new StringBuilder();
sb.Append("<option value=\"\">请选择城市</option>");
foreach (EnArea a in ECArea.GetAreaList(" parentcode=" + city))
{
if (!string.IsNullOrEmpty(selectvalue))
{
sb.Append("<option value=\"" + a.areacode + "\" selected=\"true\">" + a.areaname + "</option>");
continue;
}
sb.Append("<option value=\"" + a.areacode + "\">" + a.areaname + "</option>");
}
return sb.ToString();
}
protected string GetTown(string district, string selectvalue)
{
StringBuilder sb = new StringBuilder();
List<EnArea> list = ECArea.GetAreaList(" parentcode=" + district);
if (list.Count > 0)
{
sb.Append("<option value=\"\">请选择</option>");
foreach (EnArea a in ECArea.GetAreaList(" parentcode=" + district))
{
if (!string.IsNullOrEmpty(selectvalue))
{
sb.Append("<option value=\"" + a.areacode + "\" selected=\"true\">" + a.areaname + "</option>");
continue;
}
sb.Append("<option value=\"" + a.areacode + "\">" + a.areaname + "</option>");
}
}
else
{
sb.Append("");
}
return sb.ToString();
}
public bool IsReusable
{
get
{
return false;
}
}
}
} | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/ajaxtools/ajaxarea.ashx.cs | C# | oos | 6,727 |
<%@ WebHandler Language="C#" CodeBehind="ajaxshow.ashx.cs" Class="TREC.Web.ajaxtools.ajaxshow" %>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/ajaxtools/ajaxshow.ashx | ASP.NET | oos | 102 |
<%@ WebHandler Language="C#" CodeBehind="fileupload.ashx.cs" Class="TREC.Web.ajaxtools.fileupload" %>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/ajaxtools/fileupload.ashx | ASP.NET | oos | 106 |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="imageVerify.aspx.cs" Inherits="TRECommon.Plugin.ImageVerify" %>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/ajaxtools/imageVerify.aspx | ASP.NET | oos | 126 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TRECommon;
using TREC.ECommerce;
using TREC.Entity;
namespace TREC.Web.common
{
public partial class getbrand : System.Web.UI.Page
{
public List<EnWebBrand> brandList = new List<EnWebBrand>();
protected string c = "";
protected string v = "";
protected string t = "";
protected string m = "";
protected string mt = "";
protected void Page_Load(object sender, EventArgs e)
{
t = ECommon.QueryType;
v= ECommon.QueryValue;
c= ECommon.QueryContorl;
m = ECommon.QueryMid;
mt = ECommon.QueryMemberType;
string strWhere = "";
if (v != "")
{
int count=0;
v = v.StartsWith(",") ? v.Substring(1, v.Length - 1) : v;
v = v.EndsWith(",") ? v.Substring(0, v.Length - 1) : v;
strWhere += " id in(select brandid from t_shopbrand where shopid=" + v + ")";
brandList = ECBrand.GetWebBrandList(1, 1000, strWhere, out count);
hfvalue.Value = "";
if (brandList.Count > 0)
{
foreach (EnWebBrand b in brandList)
{
hfvalue.Value += b.id + ",";
}
}
}
}
}
} | 10aaa-10aaa | trunk/TRECommerce/TREC.Web/common/getbrand.aspx.cs | C# | oos | 1,559 |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="getbrand.aspx.cs" Inherits="TREC.Web.common.getbrand" %>
<%@ Import Namespace="TREC.ECommerce" %>
<%@ Import Namespace="TREC.Entity" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>获取品牌</title>
<link rel="stylesheet" type="text/css" href=<%="\""+TREC.ECommerce.ECommon.WebResourceUrl%>/altdialog/skins/default.css" />
<link rel="stylesheet" type="text/css" href=<%="\""+TREC.ECommerce.ECommon.WebResourceUrl%>/css/webcommon.css" />
<script type="text/javascript" src="<%=ECommon.WebResourceUrl %>/script/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="<%=ECommon.WebResourceUrl %>/script/jquery.inputlabel.js"></script>
<script type="text/javascript" src="<%=ECommon.WebResourceUrl %>/altdialog/artDialog.js"></script>
<script type="text/javascript" src="<%=ECommon.WebResourceUrl %>/altdialog/plugins/iframeTools.js"></script>
<script type="text/javascript" src="<%=ECommon.WebResourceUrl %>/altdialog/plugins/rtDialog.plugins.min.js"></script>
<script type="text/javascript" src="<%=ECommon.WebResourceUrl %>/script/common.js"></script>
<script type="text/javascript" src="<%=ECommon.WebResourceUrl %>/script/jquery.getcss.js"></script>
<script type="text/javascript">
$(function () {
$("#txtBrandName").inputLabel("请输入品牌名称……");
if ($(".infolist").html() == "") {
$(".infolist").html("<li class=\"no\"><a href=\"#\">请按品牌<font style=\"color:#f30\">名称/风格/材质</font>等查找!</a></li>");
}
if ($(".sinfolist").html() == "") {
$(".sinfolist").html("<li class=\"no\"><a href=\"#\">该店铺无品牌<br>请查找加入!</li>");
}
$("#btnSearch").click(function () {
if ($("#txtBrandName").val() == "请输入品牌名称……" || $("#txtBrandName").val() == "") {
art.dialog({
title: "搜索提示",
content: '请按品牌<font style=\"color:#f30\">名称/风格/材质</font>等查找!',
ok: function () {
$("#txtBrandName").focus();
}
});
} else {
$.ajax({
url: '<%=TREC.ECommerce.ECommon.WebUrl %>/ajax/ajaxuser.ashx',
data: 'type=getwebtopbrand&m=<%=m %>&mt=<%=mt %>&v=' + $("#txtBrandName").val(),
dataType: "json",
success: function (data) {
if (data != null) {
$(".infolist").hide();
$(".infolist").show();
$(".infolist").html("");
$.each(data, function (i) {
var j = '<%=string.Format(EnFilePath.Brand,"_",EnFilePath.Logo) %>';
var mHtml = "<li id=\"" + data[i].id + "\"><a href=\"#\">";
mHtml += "<span>选择</span>";
mHtml += "<img src=\"" + j.replace("_", data[i].id) + "/" + data[i].logo + "\" width='105' height='38' alt='" + data[i].name + "' />"
mHtml += "<p class=\"t\"><strong>品牌:</strong>" + data[i].name + "</p>";
mHtml += "<p class=\"d\"><strong>材质:</strong>" + data[i].materialname + "</p>";
mHtml += "<p class=\"d\"><strong>风格:</strong>" + data[i].stylename + "</p>";
mHtml += "<p class=\"d\"><strong>价位:</strong>" + data[i].spreadname + "</p>";
mHtml += "<p class=\"d\"><strong>公司:</strong>" + data[i].company + "</p>";
mHtml += "</a></li>"
$(".infolist").append(mHtml);
});
}
else {
$(".infolist").html("<li class=\"no\"><a href=\"#\">请按品牌<font style=\"color:#f30\">名称/风格/材质</font>等查找!</a></li>");
}
}
})
}
})
$("ul.infolist").find("a").live("click", function () {
var o = $(this).parent();
if (!$(o).hasClass("no")) {
if ($("ul.sinfolist").find("li.no").length > 0) {
$("ul.sinfolist").html("");
}
$(o).find("span").text("移除");
$("ul.sinfolist").append(o);
$("#hfvalue").attr("value", $("#hfvalue").attr("value") + $(o).attr("id") + ",");
}
});
$("ul.sinfolist").find("a").live("click", function () {
var o = $(this).parent();
if (!$(o).hasClass("no")) {
art.dialog({
title: '是否移除',
content: '您确定是否移除该品牌吗?',
button: [
{
name: '取消'
},
{
name: '确定',
callback: function () {
if ($("ul.infolist").find("li.no").length > 0) {
$("ul.infolist").html("");
}
$("#hfvalue").attr("value", $("#hfvalue").attr("value").replace($(o).attr("id") + ",", ""));
$(o).find("span").text("增加");
$("ul.infolist").append(o);
},
focus: true
}
]
});
}
});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<table cellpadding="0" cellspacing="0" class="conSearch">
<tr>
<td class="searchBox">
<asp:HiddenField ID="hfvalue" runat="server" />
品牌搜索:<input type="text" id="txtBrandName" class="webSearch" /><input type="button" id="btnSearch" value="搜索" class="submit" />
</td>
</tr>
<tr>
<td valign="top">
<table class="searchList" cellpadding="0" cellspacing="0">
<tr>
<th class="l"> 品牌库</th><th>店铺品牌</th>
</tr>
<tr>
<td class="c l" valign="top">
<ul class="infolist"></ul>
</td>
<td valign="top">
<%if (brandList.Count == 0)
{ %>
<ul class="sinfolist"></ul>
<%}
else
{ %><ul class="sinfolist">
<%foreach(EnWebBrand b in brandList){ %>
<li id="<%=b.id %>">
<a href="javascript:;">
<span>选择</span>
<img height="38" width="105" alt="<%=b.title %>" src="<%=string.Format(EnFilePath.Brand,b.id,EnFilePath.Logo)+b.logo %>">
<p class="t"><strong>品牌:</strong><%=b.title %></p>
<p class="d"><strong>材质:</strong><%=b.materialname %></p>
<p class="d"><strong>风格:</strong><%=b.stylename %></p>
<p class="d"><strong>价位:</strong><%=b.spreadname %></p>
<p class="d"><strong>厂家:</strong><%=b.companyname %></p>
</a>
</li>
<%} %>
</ul>
<%} %>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
| 10aaa-10aaa | trunk/TRECommerce/TREC.Web/common/getbrand.aspx | ASP.NET | oos | 8,981 |
using System;
namespace TREC.Entity
{
/// <summary>
/// admin:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnAdvertisementCategory
{
public EnAdvertisementCategory()
{}
#region Model
private int _id;
private int _parentid;
private int _moduleid;
private string _modulevalue;
private string _title;
private string _img;
private int _height;
private int _width;
private int? _isopen;
private int _adtype;
private DateTime _starttime;
private DateTime _endtime;
private string _descript;
private string _template;
private int? _sort;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public int parentid
{
set { _parentid = value; }
get { return _parentid; }
}
/// <summary>
///
/// </summary>
public int moduleid
{
set { _moduleid = value; }
get { return _moduleid; }
}
/// <summary>
///
/// </summary>
public string modulevalue
{
set { _modulevalue = value; }
get { return _modulevalue; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string img
{
set { _img = value; }
get { return _img; }
}
/// <summary>
///
/// </summary>
public int height
{
set { _height = value; }
get { return _height; }
}
/// <summary>
///
/// </summary>
public int width
{
set { _width = value; }
get { return _width; }
}
/// <summary>
///
/// </summary>
public int? isopen
{
set { _isopen = value; }
get { return _isopen; }
}
/// <summary>
///
/// </summary>
public int adtype
{
set { _adtype = value; }
get { return _adtype; }
}
/// <summary>
///
/// </summary>
public DateTime starttime
{
set { _starttime = value; }
get { return _starttime; }
}
/// <summary>
///
/// </summary>
public DateTime endtime
{
set { _endtime = value; }
get { return _endtime; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public string template
{
set { _template = value; }
get { return _template; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnAdvertisementCategory.cs | C# | oos | 3,634 |
using System;
namespace TREC.Entity
{
/// <summary>
/// admin:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnPromotionStage
{
public EnPromotionStage()
{}
#region Model
private int _id;
private string _title;
private int _pid;
private int _did;
private int _stype;
private int _smodle;
private string _svaluemin;
private string _svaluemax;
private int? _pmodule;
private string _prolue;
private string _pvalue;
private int? _sort;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public int pid
{
set { _pid = value; }
get { return _pid; }
}
/// <summary>
///
/// </summary>
public int did
{
set { _did = value; }
get { return _did; }
}
/// <summary>
///
/// </summary>
public int stype
{
set { _stype = value; }
get { return _stype; }
}
/// <summary>
///
/// </summary>
public int smodle
{
set { _smodle = value; }
get { return _smodle; }
}
/// <summary>
///
/// </summary>
public string svaluemin
{
set { _svaluemin = value; }
get { return _svaluemin; }
}
/// <summary>
///
/// </summary>
public string svaluemax
{
set { _svaluemax = value; }
get { return _svaluemax; }
}
/// <summary>
///
/// </summary>
public int? pmodule
{
set { _pmodule = value; }
get { return _pmodule; }
}
/// <summary>
///
/// </summary>
public string prolue
{
set { _prolue = value; }
get { return _prolue; }
}
/// <summary>
///
/// </summary>
public string pvalue
{
set { _pvalue = value; }
get { return _pvalue; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnPromotionStage.cs | C# | oos | 2,906 |
using System;
namespace TREC.Entity
{
/// <summary>
/// admin:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnMarket
{
public EnMarket()
{}
#region Model
private int _id;
private int _mid;
private string _title;
private string _letter;
private int _groupid;
private string _attribute;
private string _industry;
private string _productcategory;
private int? _vip = 0;
private string _areacode;
private string _address;
private string _mapapi;
private int? _staffsize;
private string _regyear;
private string _regcity;
private string _buy;
private string _sell;
private decimal? _cbm;
private string _lphone;
private string _zphone;
private string _busroute;
private string _hours;
private string _linkman;
private string _phone;
private string _mphone;
private string _fax;
private string _email;
private string _postcode;
private string _homepage;
private string _domain;
private string _domainip;
private string _icp;
private string _surface;
private string _logo;
private string _thumb;
private string _bannel;
private string _desimage;
private string _descript;
private string _keywords;
private string _template;
private int? _hits;
private int? _sort;
private int? _createmid = 0;
private int? _lastedid = 0;
private DateTime _lastedittime;
private int _auditstatus;
private int _linestatus;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public int mid
{
set { _mid = value; }
get { return _mid; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string letter
{
set { _letter = value; }
get { return _letter; }
}
/// <summary>
///
/// </summary>
public int groupid
{
set { _groupid = value; }
get { return _groupid; }
}
/// <summary>
///
/// </summary>
public string attribute
{
set { _attribute = value; }
get { return _attribute; }
}
/// <summary>
///
/// </summary>
public string industry
{
set { _industry = value; }
get { return _industry; }
}
/// <summary>
///
/// </summary>
public string productcategory
{
set { _productcategory = value; }
get { return _productcategory; }
}
/// <summary>
///
/// </summary>
public int? vip
{
set { _vip = value; }
get { return _vip; }
}
/// <summary>
///
/// </summary>
public string areacode
{
set { _areacode = value; }
get { return _areacode; }
}
/// <summary>
///
/// </summary>
public string address
{
set { _address = value; }
get { return _address; }
}
/// <summary>
///
/// </summary>
public string mapapi
{
set { _mapapi = value; }
get { return _mapapi; }
}
/// <summary>
///
/// </summary>
public int? staffsize
{
set { _staffsize = value; }
get { return _staffsize; }
}
/// <summary>
///
/// </summary>
public string regyear
{
set { _regyear = value; }
get { return _regyear; }
}
/// <summary>
///
/// </summary>
public string regcity
{
set { _regcity = value; }
get { return _regcity; }
}
/// <summary>
///
/// </summary>
public string buy
{
set { _buy = value; }
get { return _buy; }
}
/// <summary>
///
/// </summary>
public string sell
{
set { _sell = value; }
get { return _sell; }
}
/// <summary>
///
/// </summary>
public decimal? cbm
{
set { _cbm = value; }
get { return _cbm; }
}
/// <summary>
///
/// </summary>
public string lphone
{
set { _lphone = value; }
get { return _lphone; }
}
/// <summary>
///
/// </summary>
public string zphone
{
set { _zphone = value; }
get { return _zphone; }
}
/// <summary>
///
/// </summary>
public string busroute
{
set { _busroute = value; }
get { return _busroute; }
}
/// <summary>
///
/// </summary>
public string hours
{
set { _hours = value; }
get { return _hours; }
}
/// <summary>
///
/// </summary>
public string linkman
{
set { _linkman = value; }
get { return _linkman; }
}
/// <summary>
///
/// </summary>
public string phone
{
set { _phone = value; }
get { return _phone; }
}
/// <summary>
///
/// </summary>
public string mphone
{
set { _mphone = value; }
get { return _mphone; }
}
/// <summary>
///
/// </summary>
public string fax
{
set { _fax = value; }
get { return _fax; }
}
/// <summary>
///
/// </summary>
public string email
{
set { _email = value; }
get { return _email; }
}
/// <summary>
///
/// </summary>
public string postcode
{
set { _postcode = value; }
get { return _postcode; }
}
/// <summary>
///
/// </summary>
public string homepage
{
set { _homepage = value; }
get { return _homepage; }
}
/// <summary>
///
/// </summary>
public string domain
{
set { _domain = value; }
get { return _domain; }
}
/// <summary>
///
/// </summary>
public string domainip
{
set { _domainip = value; }
get { return _domainip; }
}
/// <summary>
///
/// </summary>
public string icp
{
set { _icp = value; }
get { return _icp; }
}
/// <summary>
///
/// </summary>
public string surface
{
set { _surface = value; }
get { return _surface; }
}
/// <summary>
///
/// </summary>
public string logo
{
set { _logo = value; }
get { return _logo; }
}
/// <summary>
///
/// </summary>
public string thumb
{
set { _thumb = value; }
get { return _thumb; }
}
/// <summary>
///
/// </summary>
public string bannel
{
set { _bannel = value; }
get { return _bannel; }
}
/// <summary>
///
/// </summary>
public string desimage
{
set { _desimage = value; }
get { return _desimage; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public string keywords
{
set { _keywords = value; }
get { return _keywords; }
}
/// <summary>
///
/// </summary>
public string template
{
set { _template = value; }
get { return _template; }
}
/// <summary>
///
/// </summary>
public int? hits
{
set { _hits = value; }
get { return _hits; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
/// <summary>
///
/// </summary>
public int? createmid
{
set { _createmid = value; }
get { return _createmid; }
}
/// <summary>
///
/// </summary>
public int? lastedid
{
set { _lastedid = value; }
get { return _lastedid; }
}
/// <summary>
///
/// </summary>
public DateTime lastedittime
{
set { _lastedittime = value; }
get { return _lastedittime; }
}
/// <summary>
///
/// </summary>
public int auditstatus
{
set { _auditstatus = value; }
get { return _auditstatus; }
}
/// <summary>
///
/// </summary>
public int linestatus
{
set { _linestatus = value; }
get { return _linestatus; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnMarket.cs | C# | oos | 10,758 |
using System;
namespace TREC.Entity
{
/// <summary>
/// sys_action:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnConfig
{
public EnConfig()
{}
#region Model
private int _id;
private string _title;
private string _value;
private int _type;
private int _module;
private int? _sort;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string value
{
set { _value = value; }
get { return _value; }
}
/// <summary>
///
/// </summary>
public int type
{
set { _type = value; }
get { return _type; }
}
/// <summary>
///
/// </summary>
public int module
{
set { _module = value; }
get { return _module; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnConfig.cs | C# | oos | 1,573 |
using System;
namespace TREC.Entity
{
/// <summary>
/// t_article:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnArticle
{
public EnArticle()
{}
#region Model
private int _id;
private string _attribute;
private string _title;
private string _subtitle;
private string _letter;
private int _categoryid;
private string _subcategoryid;
private string _ico;
private string _thumb;
private string _banner;
private string _keyword;
private string _descript;
private string _context;
private string _othercon;
private string _source;
private string _autho;
private string _linkurl;
private int _clickcount = 0;
private int _sort = 0;
private DateTime _createtime;
private int _createid = 0;
private DateTime _edittime = DateTime.Now;
private int _editid = 0;
private string _cletter = "";
public string cletter
{
get { return _cletter; }
set { _cletter = value; }
}
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public string attribute
{
set { _attribute = value; }
get { return _attribute; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string subtitle
{
set { _subtitle = value; }
get { return _subtitle; }
}
/// <summary>
///
/// </summary>
public string letter
{
set { _letter = value; }
get { return _letter; }
}
/// <summary>
///
/// </summary>
public int categoryid
{
set { _categoryid = value; }
get { return _categoryid; }
}
/// <summary>
///
/// </summary>
public string subcategoryid
{
set { _subcategoryid = value; }
get { return _subcategoryid; }
}
/// <summary>
///
/// </summary>
public string ico
{
set { _ico = value; }
get { return _ico; }
}
/// <summary>
///
/// </summary>
public string thumb
{
set { _thumb = value; }
get { return _thumb; }
}
/// <summary>
///
/// </summary>
public string banner
{
set { _banner = value; }
get { return _banner; }
}
/// <summary>
///
/// </summary>
public string keyword
{
set { _keyword = value; }
get { return _keyword; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public string context
{
set { _context = value; }
get { return _context; }
}
/// <summary>
///
/// </summary>
public string othercon
{
set { _othercon = value; }
get { return _othercon; }
}
/// <summary>
///
/// </summary>
public string source
{
set { _source = value; }
get { return _source; }
}
/// <summary>
///
/// </summary>
public string autho
{
set { _autho = value; }
get { return _autho; }
}
/// <summary>
///
/// </summary>
public string linkurl
{
set { _linkurl = value; }
get { return _linkurl; }
}
/// <summary>
///
/// </summary>
public int clickcount
{
set { _clickcount = value; }
get { return _clickcount; }
}
/// <summary>
///
/// </summary>
public int sort
{
set { _sort = value; }
get { return _sort; }
}
/// <summary>
///
/// </summary>
public DateTime createtime
{
set { _createtime = value; }
get { return _createtime; }
}
/// <summary>
///
/// </summary>
public int createid
{
set { _createid = value; }
get { return _createid; }
}
/// <summary>
///
/// </summary>
public DateTime edittime
{
set { _edittime = value; }
get { return _edittime; }
}
/// <summary>
///
/// </summary>
public int editid
{
set { _editid = value; }
get { return _editid; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnArticle.cs | C# | oos | 5,656 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TREC.Entity
{
public class EnUrls
{
public static string CompanyList = "/company/list.aspx";
public static string CompanyListSearch = "/company/list/{0}-{1}-{2}-{3}-{4}-{5}-{6}-{7}-{8}.aspx";
public static string CompanyBrandList = "/company-brand/list.aspx";
public static string CompanyBrandListSearch = "/company-brand/list/{0}-{1}-{2}-{3}-{4}-{5}-{6}-{7}-{8}.aspx";
public static string CompanyInfoIndex = "/company/{0}/index.aspx";
public static string CompanyInfoIndex2 = "/company/{0}/index2.aspx";
public static string CompanyInfoAbout = "/company/{0}/about.aspx";
public static string CompanyInfoBrand = "/company/{0}/brand.aspx";
public static string CompanyInfoBrand2 = "/company/{0}/brand2.aspx";
public static string CompanyInfoBrandList = "/company/{0}/brand-{1}.aspx";
public static string CompanyInfoProduct = "/company/{0}/product.aspx";
public static string CompanyInfoProductList = "/company/{0}/product-{1}-{2}-{3}-{4}-{5}-{6}-{7}-{8}-{9}-{10}-{11}-{12}.aspx";
public static string CompanyInfoNews = "/company/{0}/news.aspx";
public static string CompanyInfoCredit = "/company/{0}/credit.aspx";
public static string CompanyInfoAddress = "/company/{0}/address.aspx";
public static string CompanyInfoAddressList = "/company/{0}/address-{1}-{2}.aspx";
public static string ShopList = "/shop/list.aspx";
public static string ShopListSearch = "/shop/list/{0}-{1}-{2}-{3}-{4}-{5}-{6}-{7}-{8}.aspx";
public static string ShopBrandList = "/shop-brand/list.aspx";
public static string ShopBrandListSearch = "/shop-brand/list/{0}-{1}-{2}-{3}-{4}-{5}-{6}-{7}-{8}.aspx";
public static string ShopInfoIndex = "/shop/{0}/index.aspx";
public static string ShopInfoIndex2 = "/shop/{0}/index2.aspx";
public static string ShopInfoProduct = "/shop/{0}/product.aspx";
public static string ShopInfoProductList = "/shop/{0}/product-{1}-{2}-{3}-{4}-{5}-{6}-{7}-{8}-{9}-{10}-{11}-{12}.aspx";
public static string ShopInfoPromotion = "/shop/{0}/promotion.aspx";
public static string ShopInfoAddress = "/shop/{0}/address.aspx";
public static string ProductList = "/product/list.aspx";
public static string ProductListSearch = "/product/list-{0}-{1}-{2}-{3}-{4}-{5}-{6}-{7}-{8}-{9}-{10}-{11}.aspx";
public static string ProductInfo="/product/{0}/info.aspx";
public static string MarketList = "/market/list.aspx";
public static string MarketListSearch = "/market/list/{0}-{1}-{2}-{3}-{4}-{5}-{6}-{7}-{8}-{9}.aspx";
public static string MarketInfoIndex = "/market/{0}/index.aspx";
public static string MarketInfoIndex2 = "/market/{0}/index2.aspx";
public static string MarketInfoAbout = "/market/{0}/about.aspx";
public static string MarketInfoBrand = "/market/{0}/brand.aspx";
public static string MarketInfoBrandList = "/market/{0}/brand-{1}-{2}-{3}.aspx";
public static string MarketInfoProduct = "/market/{0}/product.aspx";
public static string MarketInfoProductList = "/market/{0}/product-{1}-{2}-{3}-{4}-{5}-{6}-{7}-{8}-{9}-{10}-{11}-{12}.aspx";
public static string MarketInfoNews = "/market/{0}/news.aspx";
public static string MarketInfoPromotion = "/market/{0}/promotion.aspx";
public static string MarketInfoAddress = "/market/{0}/address.aspx";
public static string MarketInfoAddressList = "/market/{0}/address-{1}-{2}.aspx";
public static string PromotionList = "/promotion/list.aspx";
public static string PromotionListsearch = "/promotion/list/-{0}-{1}-{2}-{3}-{4}-{5}-{6}-{7}-{8}-{9}-{10}.aspx";
public static string PromotionInfo = "/promotion/{0}/info.aspx";
public static string Search = "~/Search-{0}-{1}.aspx";
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnUrls.cs | C# | oos | 4,092 |
using System;
namespace TREC.Entity
{
/// <summary>
/// grouporderpay:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnGroupOrderPay
{
public EnGroupOrderPay()
{}
#region Model
private int _id;
private int? _grouporderid;
private string _grouporderno;
private string _paycode;
private int? _paytype;
private decimal? _paymoney;
private string _descript;
private int? _paystatus;
private DateTime? _paydatetime;
/// <summary>
///
/// </summary>
public int id
{
set{ _id=value;}
get{return _id;}
}
/// <summary>
///
/// </summary>
public int? grouporderid
{
set{ _grouporderid=value;}
get{return _grouporderid;}
}
/// <summary>
///
/// </summary>
public string grouporderno
{
set{ _grouporderno=value;}
get{return _grouporderno;}
}
/// <summary>
///
/// </summary>
public string paycode
{
set{ _paycode=value;}
get{return _paycode;}
}
/// <summary>
///
/// </summary>
public int? paytype
{
set{ _paytype=value;}
get{return _paytype;}
}
/// <summary>
///
/// </summary>
public decimal? paymoney
{
set{ _paymoney=value;}
get{return _paymoney;}
}
/// <summary>
///
/// </summary>
public string descript
{
set{ _descript=value;}
get{return _descript;}
}
/// <summary>
///
/// </summary>
public int? paystatus
{
set{ _paystatus=value;}
get{return _paystatus;}
}
/// <summary>
///
/// </summary>
public DateTime? paydatetime
{
set{ _paydatetime=value;}
get{return _paydatetime;}
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnGroupOrderPay.cs | C# | oos | 1,777 |
using System;
namespace TREC.Entity
{
/// <summary>
/// admin:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnWebPromotion
{
public EnWebPromotion()
{}
#region Model
private int _id;
private string _title;
private string _htmltitle;
private string _letter;
private string _attribute;
private int? _ptype;
private DateTime? _startdatetime;
private DateTime? _enddatetime;
private string _areacode;
private string _address;
private string _surface;
private string _logo;
private string _thumb;
private string _bannel;
private string _desimage;
private string _descript;
private string _keywords;
private string _template;
private int? _hits;
private int? _sort;
private int? _createmid;
private int? _lastedid;
private DateTime _lastedittime;
private int _auditstatus;
private int _linestatus;
private int? _pid;
private string _companyidlist;
private string _dealeridlist;
private string _shopidlist;
private string _brandidlist;
private string _marketidlist;
private string _productidlist;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string htmltitle
{
set { _htmltitle = value; }
get { return _htmltitle; }
}
/// <summary>
///
/// </summary>
public string letter
{
set { _letter = value; }
get { return _letter; }
}
/// <summary>
///
/// </summary>
public string attribute
{
set { _attribute = value; }
get { return _attribute; }
}
/// <summary>
///
/// </summary>
public int? ptype
{
set { _ptype = value; }
get { return _ptype; }
}
/// <summary>
///
/// </summary>
public DateTime? startdatetime
{
set { _startdatetime = value; }
get { return _startdatetime; }
}
/// <summary>
///
/// </summary>
public DateTime? enddatetime
{
set { _enddatetime = value; }
get { return _enddatetime; }
}
/// <summary>
///
/// </summary>
public string areacode
{
set { _areacode = value; }
get { return _areacode; }
}
/// <summary>
///
/// </summary>
public string address
{
set { _address = value; }
get { return _address; }
}
/// <summary>
///
/// </summary>
public string surface
{
set { _surface = value; }
get { return _surface; }
}
/// <summary>
///
/// </summary>
public string logo
{
set { _logo = value; }
get { return _logo; }
}
/// <summary>
///
/// </summary>
public string thumb
{
set { _thumb = value; }
get { return _thumb; }
}
/// <summary>
///
/// </summary>
public string bannel
{
set { _bannel = value; }
get { return _bannel; }
}
/// <summary>
///
/// </summary>
public string desimage
{
set { _desimage = value; }
get { return _desimage; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public string keywords
{
set { _keywords = value; }
get { return _keywords; }
}
/// <summary>
///
/// </summary>
public string template
{
set { _template = value; }
get { return _template; }
}
/// <summary>
///
/// </summary>
public int? hits
{
set { _hits = value; }
get { return _hits; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
/// <summary>
///
/// </summary>
public int? createmid
{
set { _createmid = value; }
get { return _createmid; }
}
/// <summary>
///
/// </summary>
public int? lastedid
{
set { _lastedid = value; }
get { return _lastedid; }
}
/// <summary>
///
/// </summary>
public DateTime lastedittime
{
set { _lastedittime = value; }
get { return _lastedittime; }
}
/// <summary>
///
/// </summary>
public int auditstatus
{
set { _auditstatus = value; }
get { return _auditstatus; }
}
/// <summary>
///
/// </summary>
public int linestatus
{
set { _linestatus = value; }
get { return _linestatus; }
}
/// <summary>
///
/// </summary>
public int? pid
{
set { _pid = value; }
get { return _pid; }
}
/// <summary>
///
/// </summary>
public string companyidlist
{
set { _companyidlist = value; }
get { return _companyidlist; }
}
/// <summary>
///
/// </summary>
public string dealeridlist
{
set { _dealeridlist = value; }
get { return _dealeridlist; }
}
/// <summary>
///
/// </summary>
public string shopidlist
{
set { _shopidlist = value; }
get { return _shopidlist; }
}
/// <summary>
///
/// </summary>
public string brandidlist
{
set { _brandidlist = value; }
get { return _brandidlist; }
}
/// <summary>
///
/// </summary>
public string marketidlist
{
set { _marketidlist = value; }
get { return _marketidlist; }
}
/// <summary>
///
/// </summary>
public string productidlist
{
set { _productidlist = value; }
get { return _productidlist; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnWebPromotion.cs | C# | oos | 7,635 |
using System;
namespace TREC.Entity
{
/// <summary>
/// sys_action:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnLog
{
public EnLog()
{}
#region Model
private int _id;
private int? _modeule;
private int? _action;
private int? _operateid;
private string _operatename;
private string _title;
private DateTime? _lastedittime = DateTime.Now;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public int? modeule
{
set { _modeule = value; }
get { return _modeule; }
}
/// <summary>
///
/// </summary>
public int? action
{
set { _action = value; }
get { return _action; }
}
/// <summary>
///
/// </summary>
public int? operateid
{
set { _operateid = value; }
get { return _operateid; }
}
/// <summary>
///
/// </summary>
public string operatename
{
set { _operatename = value; }
get { return _operatename; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public DateTime? lastedittime
{
set { _lastedittime = value; }
get { return _lastedittime; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnLog.cs | C# | oos | 1,893 |
using System;
namespace TREC.Entity
{
/// <summary>
/// sys_action:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnAggregationType
{
public EnAggregationType()
{}
#region Model
private int _id;
private int? _parentid;
private string _title;
private string _title1;
private string _thumb;
private string _url;
private int? _sort;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public int? parentid
{
set { _parentid = value; }
get { return _parentid; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string title1
{
set { _title1 = value; }
get { return _title1; }
}
/// <summary>
///
/// </summary>
public string thumb
{
set { _thumb = value; }
get { return _thumb; }
}
/// <summary>
///
/// </summary>
public string url
{
set { _url = value; }
get { return _url; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnAggregationType.cs | C# | oos | 1,824 |
using System;
namespace TREC.Entity
{
/// <summary>
/// grouporderproduct:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnGroupOrderProduct
{
public EnGroupOrderProduct()
{}
#region Model
private int _id;
private int? _grouporderid;
private string _grouporderno;
private int? _promotionid;
private int? _promotiondefid;
private int? _promoteionstageid;
private string _promoteionstagevalue;
private int? _productid;
private int? _productattributeid;
private string _productcode;
private string _productname;
private string _color;
private string _material;
private string _size;
private decimal? _cbm;
private int? _num;
private decimal? _price;
private decimal? _totalmoney;
private decimal? _proprice;
private decimal? _prototalmoney;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public int? grouporderid
{
set { _grouporderid = value; }
get { return _grouporderid; }
}
/// <summary>
///
/// </summary>
public string grouporderno
{
set { _grouporderno = value; }
get { return _grouporderno; }
}
/// <summary>
///
/// </summary>
public int? promotionid
{
set { _promotionid = value; }
get { return _promotionid; }
}
/// <summary>
///
/// </summary>
public int? promotiondefid
{
set { _promotiondefid = value; }
get { return _promotiondefid; }
}
/// <summary>
///
/// </summary>
public int? promoteionstageid
{
set { _promoteionstageid = value; }
get { return _promoteionstageid; }
}
/// <summary>
///
/// </summary>
public string promoteionstagevalue
{
set { _promoteionstagevalue = value; }
get { return _promoteionstagevalue; }
}
/// <summary>
///
/// </summary>
public int? productid
{
set { _productid = value; }
get { return _productid; }
}
/// <summary>
///
/// </summary>
public int? productattributeid
{
set { _productattributeid = value; }
get { return _productattributeid; }
}
/// <summary>
///
/// </summary>
public string productcode
{
set { _productcode = value; }
get { return _productcode; }
}
/// <summary>
///
/// </summary>
public string productname
{
set { _productname = value; }
get { return _productname; }
}
/// <summary>
///
/// </summary>
public string color
{
set { _color = value; }
get { return _color; }
}
/// <summary>
///
/// </summary>
public string material
{
set { _material = value; }
get { return _material; }
}
/// <summary>
///
/// </summary>
public string size
{
set { _size = value; }
get { return _size; }
}
/// <summary>
///
/// </summary>
public decimal? cbm
{
set { _cbm = value; }
get { return _cbm; }
}
/// <summary>
///
/// </summary>
public int? num
{
set { _num = value; }
get { return _num; }
}
/// <summary>
///
/// </summary>
public decimal? price
{
set { _price = value; }
get { return _price; }
}
/// <summary>
///
/// </summary>
public decimal? totalmoney
{
set { _totalmoney = value; }
get { return _totalmoney; }
}
/// <summary>
///
/// </summary>
public decimal? proprice
{
set { _proprice = value; }
get { return _proprice; }
}
/// <summary>
///
/// </summary>
public decimal? prototalmoney
{
set { _prototalmoney = value; }
get { return _prototalmoney; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnGroupOrderProduct.cs | C# | oos | 5,045 |
using System;
namespace TREC.Entity
{
/// <summary>
/// sys_module:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnModule
{
public EnModule()
{}
#region Model
private int _id;
private string _title;
private string _mark;
private string _type;
private string _descript;
private int _sort;
/// <summary>
///
/// </summary>
public int id
{
set{ _id=value;}
get{return _id;}
}
/// <summary>
///
/// </summary>
public string title
{
set{ _title=value;}
get{return _title;}
}
/// <summary>
///
/// </summary>
public string mark
{
set{ _mark=value;}
get{return _mark;}
}
/// <summary>
///
/// </summary>
public string type
{
set { _type = value; }
get { return _type; }
}
/// <summary>
///
/// </summary>
public string descript
{
set{ _descript=value;}
get{return _descript;}
}
/// <summary>
///
/// </summary>
public int sort
{
set{ _sort=value;}
get{return _sort;}
}
/// <summary>
/// 是否有该模块权限
/// </summary>
public int isRoleHas
{
get;
set;
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnModule.cs | C# | oos | 1,414 |
using System;
namespace TREC.Entity
{
/// <summary>
/// admin:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnCompany
{
public EnCompany()
{}
#region Model
private int _id;
private int _mid;
private string _title;
private string _letter;
private int _groupid;
private string _attribute;
private string _industry;
private string _productcategory;
private int? _vip = 0;
private string _areacode;
private string _address;
private string _mapapi;
private int? _staffsize;
private string _regyear;
private string _regcity;
private string _buy;
private string _sell;
private string _linkman;
private string _phone;
private string _mphone;
private string _fax;
private string _email;
private string _postcode;
private string _homepage;
private string _domain;
private string _domainip;
private string _icp;
private string _surface;
private string _logo;
private string _thumb;
private string _bannel;
private string _desimage;
private string _descript;
private string _keywords;
private string _template;
private int? _hits;
private int? _sort;
private int? _createmid = 0;
private int? _lastedid = 0;
private DateTime _lastedittime;
private int _auditstatus;
private int _linestatus;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public int mid
{
set { _mid = value; }
get { return _mid; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string letter
{
set { _letter = value; }
get { return _letter; }
}
/// <summary>
///
/// </summary>
public int groupid
{
set { _groupid = value; }
get { return _groupid; }
}
/// <summary>
///
/// </summary>
public string attribute
{
set { _attribute = value; }
get { return _attribute; }
}
/// <summary>
///
/// </summary>
public string industry
{
set { _industry = value; }
get { return _industry; }
}
/// <summary>
///
/// </summary>
public string productcategory
{
set { _productcategory = value; }
get { return _productcategory; }
}
/// <summary>
///
/// </summary>
public int? vip
{
set { _vip = value; }
get { return _vip; }
}
/// <summary>
///
/// </summary>
public string areacode
{
set { _areacode = value; }
get { return _areacode; }
}
/// <summary>
///
/// </summary>
public string address
{
set { _address = value; }
get { return _address; }
}
/// <summary>
///
/// </summary>
public string mapapi
{
set { _mapapi = value; }
get { return _mapapi; }
}
/// <summary>
///
/// </summary>
public int? staffsize
{
set { _staffsize = value; }
get { return _staffsize; }
}
/// <summary>
///
/// </summary>
public string regyear
{
set { _regyear = value; }
get { return _regyear; }
}
/// <summary>
///
/// </summary>
public string regcity
{
set { _regcity = value; }
get { return _regcity; }
}
/// <summary>
///
/// </summary>
public string buy
{
set { _buy = value; }
get { return _buy; }
}
/// <summary>
///
/// </summary>
public string sell
{
set { _sell = value; }
get { return _sell; }
}
/// <summary>
///
/// </summary>
public string linkman
{
set { _linkman = value; }
get { return _linkman; }
}
/// <summary>
///
/// </summary>
public string phone
{
set { _phone = value; }
get { return _phone; }
}
/// <summary>
///
/// </summary>
public string mphone
{
set { _mphone = value; }
get { return _mphone; }
}
/// <summary>
///
/// </summary>
public string fax
{
set { _fax = value; }
get { return _fax; }
}
/// <summary>
///
/// </summary>
public string email
{
set { _email = value; }
get { return _email; }
}
/// <summary>
///
/// </summary>
public string postcode
{
set { _postcode = value; }
get { return _postcode; }
}
/// <summary>
///
/// </summary>
public string homepage
{
set { _homepage = value; }
get { return _homepage; }
}
/// <summary>
///
/// </summary>
public string domain
{
set { _domain = value; }
get { return _domain; }
}
/// <summary>
///
/// </summary>
public string domainip
{
set { _domainip = value; }
get { return _domainip; }
}
/// <summary>
///
/// </summary>
public string icp
{
set { _icp = value; }
get { return _icp; }
}
/// <summary>
///
/// </summary>
public string surface
{
set { _surface = value; }
get { return _surface; }
}
/// <summary>
///
/// </summary>
public string logo
{
set { _logo = value; }
get { return _logo; }
}
/// <summary>
///
/// </summary>
public string thumb
{
set { _thumb = value; }
get { return _thumb; }
}
/// <summary>
///
/// </summary>
public string bannel
{
set { _bannel = value; }
get { return _bannel; }
}
/// <summary>
///
/// </summary>
public string desimage
{
set { _desimage = value; }
get { return _desimage; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public string keywords
{
set { _keywords = value; }
get { return _keywords; }
}
/// <summary>
///
/// </summary>
public string template
{
set { _template = value; }
get { return _template; }
}
/// <summary>
///
/// </summary>
public int? hits
{
set { _hits = value; }
get { return _hits; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
/// <summary>
///
/// </summary>
public int? createmid
{
set { _createmid = value; }
get { return _createmid; }
}
/// <summary>
///
/// </summary>
public int? lastedid
{
set { _lastedid = value; }
get { return _lastedid; }
}
/// <summary>
///
/// </summary>
public DateTime lastedittime
{
set { _lastedittime = value; }
get { return _lastedittime; }
}
/// <summary>
///
/// </summary>
public int auditstatus
{
set { _auditstatus = value; }
get { return _auditstatus; }
}
/// <summary>
///
/// </summary>
public int linestatus
{
set { _linestatus = value; }
get { return _linestatus; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnCompany.cs | C# | oos | 9,662 |
using System;
namespace TREC.Entity
{
/// <summary>
/// admin:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnMemberGroup
{
public EnMemberGroup()
{}
#region Model
private int _id;
private string _title;
private string _color;
private string _avatar;
private decimal? _integral;
private decimal? _money;
private string _permissions;
private int? _lev;
private string _descript;
private int? _sort;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string color
{
set { _color = value; }
get { return _color; }
}
/// <summary>
///
/// </summary>
public string avatar
{
set { _avatar = value; }
get { return _avatar; }
}
/// <summary>
///
/// </summary>
public decimal? integral
{
set { _integral = value; }
get { return _integral; }
}
/// <summary>
///
/// </summary>
public decimal? money
{
set { _money = value; }
get { return _money; }
}
/// <summary>
///
/// </summary>
public string permissions
{
set { _permissions = value; }
get { return _permissions; }
}
/// <summary>
///
/// </summary>
public int? lev
{
set { _lev = value; }
get { return _lev; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnMemberGroup.cs | C# | oos | 2,503 |
using System;
namespace TREC.Entity
{
/// <summary>
/// sys_action:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnMenu
{
public EnMenu()
{}
#region Model
private int _id;
private string _title;
private string _type;
private string _mark;
private int? _parent;
private int? _lev;
private string _path;
private string _url;
private int? _module;
private int? _action;
private string _descript;
private int? _sort;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string type
{
set { _type = value; }
get { return _type; }
}
/// <summary>
///
/// </summary>
public string mark
{
set { _mark = value; }
get { return _mark; }
}
/// <summary>
///
/// </summary>
public int? parent
{
set { _parent = value; }
get { return _parent; }
}
/// <summary>
///
/// </summary>
public int? lev
{
set { _lev = value; }
get { return _lev; }
}
/// <summary>
///
/// </summary>
public string path
{
set { _path = value; }
get { return _path; }
}
/// <summary>
///
/// </summary>
public string url
{
set { _url = value; }
get { return _url; }
}
/// <summary>
///
/// </summary>
public int? module
{
set { _module = value; }
get { return _module; }
}
/// <summary>
///
/// </summary>
public int? action
{
set { _action = value; }
get { return _action; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnMenu.cs | C# | oos | 2,863 |
using System;
namespace TREC.Entity
{
/// <summary>
/// admin:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnBrands
{
public EnBrands()
{}
#region Model
private int _id;
private int _brandid;
private string _title;
private string _letter;
private string _attribute;
private int? _productcount;
private string _spread;
private string _material;
private string _style;
private string _surface;
private string _logo;
private string _thumb;
private string _bannel;
private string _desimage;
private string _descript;
private string _keywords;
private string _template;
private int? _hits = 0;
private int? _sort = 0;
private int? _createmid = 0;
private int? _lasteditid;
private DateTime _lastedittime = DateTime.Now;
private int _auditstatus = 0;
private int _linestatus = 0;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public int brandid
{
set { _brandid = value; }
get { return _brandid; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string letter
{
set { _letter = value; }
get { return _letter; }
}
/// <summary>
///
/// </summary>
public string attribute
{
set { _attribute = value; }
get { return _attribute; }
}
/// <summary>
///
/// </summary>
public int? productcount
{
set { _productcount = value; }
get { return _productcount; }
}
/// <summary>
///
/// </summary>
public string spread
{
set { _spread = value; }
get { return _spread; }
}
/// <summary>
///
/// </summary>
public string material
{
set { _material = value; }
get { return _material; }
}
/// <summary>
///
/// </summary>
public string style
{
set { _style = value; }
get { return _style; }
}
/// <summary>
///
/// </summary>
public string surface
{
set { _surface = value; }
get { return _surface; }
}
/// <summary>
///
/// </summary>
public string logo
{
set { _logo = value; }
get { return _logo; }
}
/// <summary>
///
/// </summary>
public string thumb
{
set { _thumb = value; }
get { return _thumb; }
}
/// <summary>
///
/// </summary>
public string bannel
{
set { _bannel = value; }
get { return _bannel; }
}
/// <summary>
///
/// </summary>
public string desimage
{
set { _desimage = value; }
get { return _desimage; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public string keywords
{
set { _keywords = value; }
get { return _keywords; }
}
/// <summary>
/// 模版ID
/// </summary>
public string template
{
set { _template = value; }
get { return _template; }
}
/// <summary>
/// 点击量
/// </summary>
public int? hits
{
set { _hits = value; }
get { return _hits; }
}
/// <summary>
/// 排序
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
/// <summary>
///
/// </summary>
public int? createmid
{
set { _createmid = value; }
get { return _createmid; }
}
/// <summary>
///
/// </summary>
public int? lasteditid
{
set { _lasteditid = value; }
get { return _lasteditid; }
}
/// <summary>
/// 最后个改
/// </summary>
public DateTime lastedittime
{
set { _lastedittime = value; }
get { return _lastedittime; }
}
/// <summary>
/// 审核状态
/// </summary>
public int auditstatus
{
set { _auditstatus = value; }
get { return _auditstatus; }
}
/// <summary>
/// 在线状态
/// </summary>
public int linestatus
{
set { _linestatus = value; }
get { return _linestatus; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnBrands.cs | C# | oos | 5,782 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace TREC.Entity
{
public class EnWebCompany
{
#region Model
private string _brandxml;
private string _shopxml;
private string _productxml;
private string _certifyxml;
private int _productcount;
private int _id;
private int _mid;
private string _title;
private string _letter;
private int _groupid;
private string _attribute;
private string _industry;
private string _productcategory;
private int? _vip;
private string _areacode;
private string _address;
private string _mapapi;
private int? _staffsize;
private string _regyear;
private string _regcity;
private string _buy;
private string _sell;
private string _linkman;
private string _phone;
private string _mphone;
private string _fax;
private string _email;
private string _postcode;
private string _homepage;
private string _domain;
private string _domainip;
private string _icp;
private string _surface;
private string _logo;
private string _thumb;
private string _bannel;
private string _desimage;
private string _descript;
private string _keywords;
private string _template;
private int? _hits;
private int? _sort;
private int? _createmid;
private int? _lastedid;
private DateTime _lastedittime;
private int _auditstatus;
private int _linestatus;
/// <summary>
///
/// </summary>
public string brandxml
{
set { _brandxml = value; }
get { return _brandxml; }
}
/// <summary>
///
/// </summary>
public string shopxml
{
set { _shopxml = value; }
get { return _shopxml; }
}
/// <summary>
///
/// </summary>
public string productxml
{
set { _productxml = value; }
get { return _productxml; }
}
/// <summary>
///
/// </summary>
public string certifyxml
{
set { _certifyxml = value; }
get { return _certifyxml; }
}
/// <summary>
///
/// </summary>
public int productcount
{
set { _productcount = value; }
get { return _productcount; }
}
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public int mid
{
set { _mid = value; }
get { return _mid; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string letter
{
set { _letter = value; }
get { return _letter; }
}
/// <summary>
///
/// </summary>
public int groupid
{
set { _groupid = value; }
get { return _groupid; }
}
/// <summary>
///
/// </summary>
public string attribute
{
set { _attribute = value; }
get { return _attribute; }
}
/// <summary>
///
/// </summary>
public string industry
{
set { _industry = value; }
get { return _industry; }
}
/// <summary>
///
/// </summary>
public string productcategory
{
set { _productcategory = value; }
get { return _productcategory; }
}
/// <summary>
///
/// </summary>
public int? vip
{
set { _vip = value; }
get { return _vip; }
}
/// <summary>
///
/// </summary>
public string areacode
{
set { _areacode = value; }
get { return _areacode; }
}
/// <summary>
///
/// </summary>
public string address
{
set { _address = value; }
get { return _address; }
}
/// <summary>
///
/// </summary>
public string mapapi
{
set { _mapapi = value; }
get { return _mapapi; }
}
/// <summary>
///
/// </summary>
public int? staffsize
{
set { _staffsize = value; }
get { return _staffsize; }
}
/// <summary>
///
/// </summary>
public string regyear
{
set { _regyear = value; }
get { return _regyear; }
}
/// <summary>
///
/// </summary>
public string regcity
{
set { _regcity = value; }
get { return _regcity; }
}
/// <summary>
///
/// </summary>
public string buy
{
set { _buy = value; }
get { return _buy; }
}
/// <summary>
///
/// </summary>
public string sell
{
set { _sell = value; }
get { return _sell; }
}
/// <summary>
///
/// </summary>
public string linkman
{
set { _linkman = value; }
get { return _linkman; }
}
/// <summary>
///
/// </summary>
public string phone
{
set { _phone = value; }
get { return _phone; }
}
/// <summary>
///
/// </summary>
public string mphone
{
set { _mphone = value; }
get { return _mphone; }
}
/// <summary>
///
/// </summary>
public string fax
{
set { _fax = value; }
get { return _fax; }
}
/// <summary>
///
/// </summary>
public string email
{
set { _email = value; }
get { return _email; }
}
/// <summary>
///
/// </summary>
public string postcode
{
set { _postcode = value; }
get { return _postcode; }
}
/// <summary>
///
/// </summary>
public string homepage
{
set { _homepage = value; }
get { return _homepage; }
}
/// <summary>
///
/// </summary>
public string domain
{
set { _domain = value; }
get { return _domain; }
}
/// <summary>
///
/// </summary>
public string domainip
{
set { _domainip = value; }
get { return _domainip; }
}
/// <summary>
///
/// </summary>
public string icp
{
set { _icp = value; }
get { return _icp; }
}
/// <summary>
///
/// </summary>
public string surface
{
set { _surface = value; }
get { return _surface; }
}
/// <summary>
///
/// </summary>
public string logo
{
set { _logo = value; }
get { return _logo; }
}
/// <summary>
///
/// </summary>
public string thumb
{
set { _thumb = value; }
get { return _thumb; }
}
/// <summary>
///
/// </summary>
public string bannel
{
set { _bannel = value; }
get { return _bannel; }
}
/// <summary>
///
/// </summary>
public string desimage
{
set { _desimage = value; }
get { return _desimage; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public string keywords
{
set { _keywords = value; }
get { return _keywords; }
}
/// <summary>
///
/// </summary>
public string template
{
set { _template = value; }
get { return _template; }
}
/// <summary>
///
/// </summary>
public int? hits
{
set { _hits = value; }
get { return _hits; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
/// <summary>
///
/// </summary>
public int? createmid
{
set { _createmid = value; }
get { return _createmid; }
}
/// <summary>
///
/// </summary>
public int? lastedid
{
set { _lastedid = value; }
get { return _lastedid; }
}
/// <summary>
///
/// </summary>
public DateTime lastedittime
{
set { _lastedittime = value; }
get { return _lastedittime; }
}
/// <summary>
///
/// </summary>
public int auditstatus
{
set { _auditstatus = value; }
get { return _auditstatus; }
}
/// <summary>
///
/// </summary>
public int linestatus
{
set { _linestatus = value; }
get { return _linestatus; }
}
#endregion Model
public string BrandName
{
get
{
if (CompanyBrandList.Count > 0)
{
string t = "";
foreach (CompanyBrand m in CompanyBrandList)
{
t += m.title + ",";
}
return t;
}
return "";
}
}
public string StyleName
{
get
{
if (CompanyBrandList.Count > 0)
{
string t = "";
foreach (CompanyBrand m in CompanyBrandList)
{
if (!t.Contains(m.stylevalue + ","))
{
t += m.stylevalue + ",";
}
}
return t;
}
return "";
}
}
public string SpreadName
{
get
{
if (CompanyBrandList.Count > 0)
{
string t = "";
foreach (CompanyBrand m in CompanyBrandList)
{
if (!t.Contains(m.spreadvalue + ","))
{
t += m.spreadvalue + ",";
}
}
return t;
}
return "";
}
}
public string BrandIdList
{
get
{
if (CompanyBrandList.Count > 0)
{
string t = "";
foreach (CompanyBrand m in CompanyBrandList)
{
t += m.id + ",";
}
t = t.EndsWith(",") ? t.Substring(0, t.Length - 1) : t;
t = t.StartsWith(",") ? t.Substring(1, t.Length - 1) : t;
return t;
}
return "0";
}
}
public CompanyBrand CompanyBrandInfo
{
get
{
if (CompanyBrandList.Count > 0)
{
return CompanyBrandList[0];
}
return new CompanyBrand();
}
}
public List<CompanyBrand> CompanyBrandList
{
get
{
if (!string.IsNullOrEmpty(brandxml))
{
List<CompanyBrand> list = new List<CompanyBrand>();
string pattern = string.Format("{0}(?<g>(.|[\r\n])+?){1}", "<type>", "</type>");//匹配URL的模式,并分组
MatchCollection mc = Regex.Matches(brandxml, pattern);//满足pattern的匹配集合
if (mc.Count != 0)
{
foreach (Match match in mc)
{
GroupCollection gc = match.Groups;
CompanyBrand m = (CompanyBrand)TRECommon.SerializationHelper.DeSerialize(typeof(CompanyBrand), "<CompanyBrand>" + gc["g"].Value + "</CompanyBrand>");
list.Add(m);
}
}
return list;
}
return new List<CompanyBrand>();
}
}
public CompanyShop CompanyShopInfo
{
get
{
if (CompanyShopList.Count > 0)
{
return CompanyShopList[0];
}
return new CompanyShop();
}
}
public List<CompanyShop> CompanyShopList
{
get
{
if (!string.IsNullOrEmpty(shopxml))
{
List<CompanyShop> list = new List<CompanyShop>();
string pattern = string.Format("{0}(?<g>(.|[\r\n])+?){1}", "<type>", "</type>");//匹配URL的模式,并分组
MatchCollection mc = Regex.Matches(shopxml, pattern);//满足pattern的匹配集合
if (mc.Count != 0)
{
foreach (Match match in mc)
{
GroupCollection gc = match.Groups;
CompanyShop m = (CompanyShop)TRECommon.SerializationHelper.DeSerialize(typeof(CompanyShop), "<CompanyShop>" + gc["g"].Value + "</CompanyShop>");
if (string.IsNullOrEmpty(m.phone))
{
m.phone = "4006066818";
}
list.Add(m);
}
}
return list;
}
return new List<CompanyShop>();
}
}
public EnXmlProduct EProductInfo
{
get
{
if (EnXmlProductList.Count > 0)
{
return EnXmlProductList[0];
}
return new EnXmlProduct();
}
}
public List<EnXmlProduct> EnXmlProductList
{
get
{
if (!string.IsNullOrEmpty(productxml))
{
List<EnXmlProduct> list = new List<EnXmlProduct>();
string pattern = string.Format("{0}(?<g>(.|[\r\n])+?){1}", "<type>", "</type>");//匹配URL的模式,并分组
MatchCollection mc = Regex.Matches(productxml, pattern);//满足pattern的匹配集合
if (mc.Count != 0)
{
foreach (Match match in mc)
{
EnXmlProduct m = new EnXmlProduct();
GroupCollection gc = match.Groups;
list.Add((EnXmlProduct)TRECommon.SerializationHelper.DeSerialize(typeof(EnXmlProduct), "<EnXmlProduct>" + gc["g"].Value + "</EnXmlProduct>"));
}
}
return list;
}
return new List<EnXmlProduct>();
}
}
}
public class CompanyBrand
{
public string id{get;set;}
public string title{get;set;}
public string thumb{get;set;}
public string map{get;set;}
public string spreadvalue{get;set;}
public string materialvalue{get;set;}
public string stylevalue { get; set; }
public string descript { get; set; }
}
public class CompanyShop
{
public string id { get; set; }
public string title { get; set; }
public string thumb { get; set; }
public string map { get; set; }
public string linkman { get; set; }
public string phone { get; set; }
public string areacode { get; set; }
public string address { get; set; }
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnWebCompany.cs | C# | oos | 18,114 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TREC.Entity
{
public class CacheKey
{
public const string BrandLetter = "brandletter"; //品牌按字母索引
public const string arealist = "arealist";
public const string ConfigList = "configlist";
public const string CompanySearchItemList = "companysearchitemlist";
public const string ShopSearchItemList = "shopsearchitemlist";
public const string ProductSearchItemList = "productsearchitemlist";
public const string MarketProductSearchItemTypeList = "marketproductsearchitemlist_{0}";
public const string MarketSearchItemList = "marketsearchitemlist";
public const string IndexAggregation = "indexaggregation";
public const string CommonAggregation = "commonaggregation";
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/CacheKey.cs | C# | oos | 903 |
using System;
namespace TREC.Entity
{
/// <summary>
/// sys_action:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnAppBrandCustomer
{
public EnAppBrandCustomer()
{}
#region Model
private int _id;
private int? _aid;
private string _name;
private string _phone;
private string _mphone;
private string _email;
private string _address;
private string _descript;
private string _cus;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public int? aid
{
set { _aid = value; }
get { return _aid; }
}
/// <summary>
///
/// </summary>
public string name
{
set { _name = value; }
get { return _name; }
}
/// <summary>
///
/// </summary>
public string phone
{
set { _phone = value; }
get { return _phone; }
}
/// <summary>
///
/// </summary>
public string mphone
{
set { _mphone = value; }
get { return _mphone; }
}
/// <summary>
///
/// </summary>
public string email
{
set { _email = value; }
get { return _email; }
}
/// <summary>
///
/// </summary>
public string address
{
set { _address = value; }
get { return _address; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public string cus
{
set { _cus = value; }
get { return _cus; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnAppBrandCustomer.cs | C# | oos | 2,264 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace TREC.Entity
{
public class EnWebShopBrand
{
#region Model
private string _shopxml;
private string _promotionxml;
private int _id;
private int? _companyid;
private string _title;
private string _letter;
private int? _groupid;
private string _attribute;
private string _productcategory;
private string _homepage;
private int? _productcount;
private string _spread;
private string _material;
private string _style;
private string _color;
private string _surface;
private string _logo;
private string _thumb;
private string _bannel;
private string _desimage;
private string _descript;
private string _keywords;
private string _template;
private int? _hits;
private int? _sort;
private int? _createmid;
private int? _lasteditid;
private DateTime _lastedittime;
private int _auditstatus;
private int _linestatus;
/// <summary>
///
/// </summary>
public string shopxml
{
set { _shopxml = value; }
get { return _shopxml; }
}
/// <summary>
///
/// </summary>
public string Promotionxml
{
set { _promotionxml = value; }
get { return _promotionxml; }
}
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public int? companyid
{
set { _companyid = value; }
get { return _companyid; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string letter
{
set { _letter = value; }
get { return _letter; }
}
/// <summary>
///
/// </summary>
public int? groupid
{
set { _groupid = value; }
get { return _groupid; }
}
/// <summary>
///
/// </summary>
public string attribute
{
set { _attribute = value; }
get { return _attribute; }
}
/// <summary>
///
/// </summary>
public string productcategory
{
set { _productcategory = value; }
get { return _productcategory; }
}
/// <summary>
///
/// </summary>
public string homepage
{
set { _homepage = value; }
get { return _homepage; }
}
/// <summary>
///
/// </summary>
public int? productcount
{
set { _productcount = value; }
get { return _productcount; }
}
/// <summary>
///
/// </summary>
public string spread
{
set { _spread = value; }
get { return _spread; }
}
/// <summary>
///
/// </summary>
public string material
{
set { _material = value; }
get { return _material; }
}
/// <summary>
///
/// </summary>
public string style
{
set { _style = value; }
get { return _style; }
}
/// <summary>
///
/// </summary>
public string color
{
set { _color = value; }
get { return _color; }
}
/// <summary>
///
/// </summary>
public string surface
{
set { _surface = value; }
get { return _surface; }
}
/// <summary>
///
/// </summary>
public string logo
{
set { _logo = value; }
get { return _logo; }
}
/// <summary>
///
/// </summary>
public string thumb
{
set { _thumb = value; }
get { return _thumb; }
}
/// <summary>
///
/// </summary>
public string bannel
{
set { _bannel = value; }
get { return _bannel; }
}
/// <summary>
///
/// </summary>
public string desimage
{
set { _desimage = value; }
get { return _desimage; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public string keywords
{
set { _keywords = value; }
get { return _keywords; }
}
/// <summary>
///
/// </summary>
public string template
{
set { _template = value; }
get { return _template; }
}
/// <summary>
///
/// </summary>
public int? hits
{
set { _hits = value; }
get { return _hits; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
/// <summary>
///
/// </summary>
public int? createmid
{
set { _createmid = value; }
get { return _createmid; }
}
/// <summary>
///
/// </summary>
public int? lasteditid
{
set { _lasteditid = value; }
get { return _lasteditid; }
}
/// <summary>
///
/// </summary>
public DateTime lastedittime
{
set { _lastedittime = value; }
get { return _lastedittime; }
}
/// <summary>
///
/// </summary>
public int auditstatus
{
set { _auditstatus = value; }
get { return _auditstatus; }
}
/// <summary>
///
/// </summary>
public int linestatus
{
set { _linestatus = value; }
get { return _linestatus; }
}
#endregion Model
public BrandShop BrandShopInfo
{
get
{
if (BrandShopList.Count > 0)
{
return BrandShopList[0];
}
return new BrandShop();
}
}
public List<BrandShop> BrandShopList
{
get
{
if (!string.IsNullOrEmpty(shopxml))
{
List<BrandShop> list = new List<BrandShop>();
string pattern = string.Format("{0}(?<g>(.|[\r\n])+?){1}", "<type>", "</type>");//匹配URL的模式,并分组
MatchCollection mc = Regex.Matches(shopxml, pattern);//满足pattern的匹配集合
if (mc.Count != 0)
{
foreach (Match match in mc)
{
BrandShop m = new BrandShop();
GroupCollection gc = match.Groups;
list.Add((BrandShop)TRECommon.SerializationHelper.DeSerialize(typeof(BrandShop), "<BrandShop>" + gc["g"].Value + "</BrandShop>"));
}
}
return list;
}
return new List<BrandShop>();
}
}
public BrnadPomotion BrandPomotionInfo
{
get
{
if (BrandPomotionList.Count > 0)
{
return BrandPomotionList[0];
}
return new BrnadPomotion();
}
}
public List<BrnadPomotion> BrandPomotionList
{
get
{
if (!string.IsNullOrEmpty(Promotionxml))
{
List<BrnadPomotion> list = new List<BrnadPomotion>();
string pattern = string.Format("{0}(?<g>(.|[\r\n])+?){1}", "<type>", "</type>");//匹配URL的模式,并分组
MatchCollection mc = Regex.Matches(Promotionxml, pattern);//满足pattern的匹配集合
if (mc.Count != 0)
{
foreach (Match match in mc)
{
BrnadPomotion m = new BrnadPomotion();
GroupCollection gc = match.Groups;
list.Add((BrnadPomotion)TRECommon.SerializationHelper.DeSerialize(typeof(BrnadPomotion), "<BrnadPomotion>" + gc["g"].Value + "</BrnadPomotion>"));
}
}
return list;
}
return new List<BrnadPomotion>();
}
}
public class BrandShop
{
public string id { get; set; }
public string title { get; set; }
public string thumb { get; set; }
public string map { get; set; }
public string linkman { get; set; }
public string areacode { get; set; }
public string address { get; set; }
public string phone { get; set; }
}
public class BrnadPomotion
{
public string id { get; set; }
public string title { get; set; }
public string htmltitle { get; set; }
public string thumb { get; set; }
public string ptype{ get; set; }
public string startdatetime{ get; set; }
public string enddatetime{ get; set; }
public string areacode{ get; set; }
public string address { get; set; }
}
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnWebShopBrand.cs | C# | oos | 10,802 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TREC.Entity
{
public class EnXmlProduct
{
public string id { get; set; }
public string title { get; set; }
public string thumb { get; set; }
public string map { get; set; }
public string sku { get; set; }
public string no { get; set; }
public string categorytitle { get; set; }
public string brandtitle { get; set; }
public string brandstitle { get; set; }
public string stylename { get; set; }
public string colorname { get; set; }
public string materialname { get; set; }
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnXmlProduct.cs | C# | oos | 711 |
using System;
namespace TREC.Entity
{
/// <summary>
/// admin:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnProductCon
{
public EnProductCon()
{}
#region Model
private int _id;
private int? _productid;
private int? _contype;
private string _con;
public int id
{
get { return _id; }
set { _id = value; }
}
/// <summary>
///
/// </summary>
public int? productid
{
set { _productid = value; }
get { return _productid; }
}
/// <summary>
///
/// </summary>
public int? contype
{
set { _contype = value; }
get { return _contype; }
}
/// <summary>
///
/// </summary>
public string con
{
set { _con = value; }
get { return _con; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnProductCon.cs | C# | oos | 1,111 |
using System;
namespace TREC.Entity
{
/// <summary>
/// sys_action:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnAggregation
{
public EnAggregation()
{}
#region Model
private int _id;
private int? _type;
private string _title;
private string _title1;
private string _title2;
private string _title3;
private string _thumb;
private int? _thumbw = 0;
private int? _thumbh = 0;
private string _bannel;
private string _url;
private string _url1;
private string _url2;
private string _descript;
private int? _sort;
private int? _hits;
private DateTime _lastedittime;
private int? _createmid;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public int? type
{
set { _type = value; }
get { return _type; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string title1
{
set { _title1 = value; }
get { return _title1; }
}
/// <summary>
///
/// </summary>
public string title2
{
set { _title2 = value; }
get { return _title2; }
}
/// <summary>
///
/// </summary>
public string title3
{
set { _title3 = value; }
get { return _title3; }
}
/// <summary>
///
/// </summary>
public string thumb
{
set { _thumb = value; }
get { return _thumb; }
}
/// <summary>
///
/// </summary>
public int? thumbw
{
set { _thumbw = value; }
get { return _thumbw; }
}
/// <summary>
///
/// </summary>
public int? thumbh
{
set { _thumbh = value; }
get { return _thumbh; }
}
/// <summary>
///
/// </summary>
public string bannel
{
set { _bannel = value; }
get { return _bannel; }
}
/// <summary>
///
/// </summary>
public string url
{
set { _url = value; }
get { return _url; }
}
/// <summary>
///
/// </summary>
public string url1
{
set { _url1 = value; }
get { return _url1; }
}
/// <summary>
///
/// </summary>
public string url2
{
set { _url2 = value; }
get { return _url2; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
/// <summary>
///
/// </summary>
public int? hits
{
set { _hits = value; }
get { return _hits; }
}
/// <summary>
///
/// </summary>
public DateTime lastedittime
{
set { _lastedittime = value; }
get { return _lastedittime; }
}
/// <summary>
///
/// </summary>
public int? createmid
{
set { _createmid = value; }
get { return _createmid; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnAggregation.cs | C# | oos | 4,247 |
using System;
namespace TREC.Entity
{
/// <summary>
/// grouporder:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnGroupOrder
{
public EnGroupOrder()
{}
#region Model
private int _id;
private string _grouporderno;
private int? _mid;
private int? _fjmid;
private string _name;
private string _email;
private string _phone;
private string _fax;
private string _mphone;
private string _zip;
private string _areacode;
private string _address;
private string _descript;
private decimal? _totlepromoney;
private decimal? _totalmoney;
private decimal? _invoicemoney;
private decimal? _installationmeney;
private int? _status;
private DateTime? _createtime;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public string grouporderno
{
set { _grouporderno = value; }
get { return _grouporderno; }
}
/// <summary>
///
/// </summary>
public int? mid
{
set { _mid = value; }
get { return _mid; }
}
/// <summary>
///
/// </summary>
public int? fjmid
{
set { _fjmid = value; }
get { return _fjmid; }
}
/// <summary>
///
/// </summary>
public string name
{
set { _name = value; }
get { return _name; }
}
/// <summary>
///
/// </summary>
public string email
{
set { _email = value; }
get { return _email; }
}
/// <summary>
///
/// </summary>
public string phone
{
set { _phone = value; }
get { return _phone; }
}
/// <summary>
///
/// </summary>
public string fax
{
set { _fax = value; }
get { return _fax; }
}
/// <summary>
///
/// </summary>
public string mphone
{
set { _mphone = value; }
get { return _mphone; }
}
/// <summary>
///
/// </summary>
public string zip
{
set { _zip = value; }
get { return _zip; }
}
/// <summary>
///
/// </summary>
public string areacode
{
set { _areacode = value; }
get { return _areacode; }
}
/// <summary>
///
/// </summary>
public string address
{
set { _address = value; }
get { return _address; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public decimal? totlepromoney
{
set { _totlepromoney = value; }
get { return _totlepromoney; }
}
/// <summary>
///
/// </summary>
public decimal? totalmoney
{
set { _totalmoney = value; }
get { return _totalmoney; }
}
/// <summary>
///
/// </summary>
public decimal? invoicemoney
{
set { _invoicemoney = value; }
get { return _invoicemoney; }
}
/// <summary>
///
/// </summary>
public decimal? installationmeney
{
set { _installationmeney = value; }
get { return _installationmeney; }
}
/// <summary>
///
/// </summary>
public int? status
{
set { _status = value; }
get { return _status; }
}
/// <summary>
///
/// </summary>
public DateTime? createtime
{
set { _createtime = value; }
get { return _createtime; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnGroupOrder.cs | C# | oos | 4,617 |
using System;
namespace TREC.Entity
{
/// <summary>
/// sys_action:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnPromotionAppBrand
{
public EnPromotionAppBrand()
{}
#region Model
private int _id;
private string _title;
private string _letter;
private int? _bid;
private string _blogo;
private string _fordio;
private string _thumb;
private string _banner;
private string _htmltitle;
private string _descript;
private int? _appcount = 0;
private int? _sort = 0;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string letter
{
set { _letter = value; }
get { return _letter; }
}
/// <summary>
///
/// </summary>
public int? bid
{
set { _bid = value; }
get { return _bid; }
}
/// <summary>
///
/// </summary>
public string blogo
{
set { _blogo = value; }
get { return _blogo; }
}
/// <summary>
///
/// </summary>
public string fordio
{
set { _fordio = value; }
get { return _fordio; }
}
/// <summary>
///
/// </summary>
public string thumb
{
set { _thumb = value; }
get { return _thumb; }
}
/// <summary>
///
/// </summary>
public string banner
{
set { _banner = value; }
get { return _banner; }
}
/// <summary>
///
/// </summary>
public string htmltitle
{
set { _htmltitle = value; }
get { return _htmltitle; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public int? appcount
{
set { _appcount = value; }
get { return _appcount; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnPromotionAppBrand.cs | C# | oos | 2,953 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TREC.Entity
{
public class EnAppProduct
{
#region Model
private int _id;
private int _mid;
private string _name;
private string _memail;
private string _mphone;
private int _productid;
private string _productname;
private int _materialid;
private string _materialname;
private string _sizevalue;
private int _brandid;
private string _brandname;
private DateTime _addtime;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public int mid
{
set { _mid = value; }
get { return _mid; }
}
/// <summary>
///
/// </summary>
public string name
{
set { _name = value; }
get { return _name; }
}
/// <summary>
///
/// </summary>
public string memail
{
set { _memail = value; }
get { return _memail; }
}
/// <summary>
///
/// </summary>
public string mphone
{
set { _mphone = value; }
get { return _mphone; }
}
/// <summary>
///
/// </summary>
public int productid
{
set { _productid = value; }
get { return _productid; }
}
/// <summary>
///
/// </summary>
public string productname
{
set { _productname = value; }
get { return _productname; }
}
/// <summary>
///
/// </summary>
public int materialid
{
set { _materialid = value; }
get { return _materialid; }
}
/// <summary>
///
/// </summary>
public string materialname
{
set { _materialname = value; }
get { return _materialname; }
}
/// <summary>
///
/// </summary>
public string sizevalue
{
set { _sizevalue = value; }
get { return _sizevalue; }
}
/// <summary>
///
/// </summary>
public int brandid
{
set { _brandid = value; }
get { return _brandid; }
}
/// <summary>
///
/// </summary>
public string brandname
{
set { _brandname = value; }
get { return _brandname; }
}
/// <summary>
///
/// </summary>
public DateTime addtime
{
set { _addtime = value; }
get { return _addtime; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnAppProduct.cs | C# | oos | 3,135 |
using System;
namespace TREC.Entity
{
/// <summary>
/// productcategory:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnProductCategory
{
public EnProductCategory()
{}
#region Model
private int _id;
private string _title;
private string _letter;
private string _rewritetitle;
private int? _parentid;
private int? _lft;
private int? _rgt;
private int? _lev;
private string _depth;
private string _surface;
private string _thumb;
private string _bannel;
private string _descript;
private string _keywords;
private string _template;
private int? _hits;
private int? _sort;
private int? _createmid=0;
private int? _lastedid=0;
private DateTime _lastedittime;
private int? _linestatus = 0;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public string title
{
set{ _title=value;}
get{return _title;}
}
/// <summary>
///
/// </summary>
public string letter
{
set{ _letter=value;}
get{return _letter;}
}
/// <summary>
///
/// </summary>
public string rewritetitle
{
set{ _rewritetitle=value;}
get{return _rewritetitle;}
}
/// <summary>
///
/// </summary>
public int? parentid
{
set{ _parentid=value;}
get{return _parentid;}
}
/// <summary>
///
/// </summary>
public int? lft
{
set{ _lft=value;}
get{return _lft;}
}
/// <summary>
///
/// </summary>
public int? rgt
{
set{ _rgt=value;}
get{return _rgt;}
}
/// <summary>
///
/// </summary>
public int? lev
{
set{ _lev=value;}
get{return _lev;}
}
/// <summary>
///
/// </summary>
public string depth
{
set{ _depth=value;}
get{return _depth;}
}
/// <summary>
///
/// </summary>
public string surface
{
set{ _surface=value;}
get{return _surface;}
}
/// <summary>
///
/// </summary>
public string thumb
{
set{ _thumb=value;}
get{return _thumb;}
}
/// <summary>
///
/// </summary>
public string bannel
{
set{ _bannel=value;}
get{return _bannel;}
}
/// <summary>
///
/// </summary>
public string descript
{
set{ _descript=value;}
get{return _descript;}
}
/// <summary>
///
/// </summary>
public string keywords
{
set{ _keywords=value;}
get{return _keywords;}
}
/// <summary>
///
/// </summary>
public string template
{
set{ _template=value;}
get{return _template;}
}
/// <summary>
///
/// </summary>
public int? hits
{
set{ _hits=value;}
get{return _hits;}
}
/// <summary>
///
/// </summary>
public int? sort
{
set{ _sort=value;}
get{return _sort;}
}
/// <summary>
///
/// </summary>
public int? createmid
{
set{ _createmid=value;}
get{return _createmid;}
}
/// <summary>
///
/// </summary>
public int? lastedid
{
set{ _lastedid=value;}
get{return _lastedid;}
}
/// <summary>
///
/// </summary>
public DateTime lastedittime
{
set{ _lastedittime=value;}
get{return _lastedittime;}
}
public int? linestatus
{
set { _linestatus = value; }
get { return _linestatus; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnProductCategory.cs | C# | oos | 3,592 |
using System;
namespace TREC.Entity
{
/// <summary>
/// admin:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnDealerGroup
{
public EnDealerGroup()
{}
#region Model
private int _id;
private string _title;
private string _color;
private string _avatar;
private decimal? _integral;
private decimal? _money;
private int? _adcount;
private int? _shopcount;
private int? _brandcount;
private int? _promotioncount;
private int? _adrecommend;
private int? _shoprecommend;
private int? _brandrecommend;
private int? _promotionrecommend;
private string _permissions;
private int? _lev;
private string _descript;
private int? _sort;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string color
{
set { _color = value; }
get { return _color; }
}
/// <summary>
///
/// </summary>
public string avatar
{
set { _avatar = value; }
get { return _avatar; }
}
/// <summary>
///
/// </summary>
public decimal? integral
{
set { _integral = value; }
get { return _integral; }
}
/// <summary>
///
/// </summary>
public decimal? money
{
set { _money = value; }
get { return _money; }
}
/// <summary>
///
/// </summary>
public int? adcount
{
set { _adcount = value; }
get { return _adcount; }
}
/// <summary>
///
/// </summary>
public int? shopcount
{
set { _shopcount = value; }
get { return _shopcount; }
}
/// <summary>
///
/// </summary>
public int? brandcount
{
set { _brandcount = value; }
get { return _brandcount; }
}
/// <summary>
///
/// </summary>
public int? promotioncount
{
set { _promotioncount = value; }
get { return _promotioncount; }
}
/// <summary>
///
/// </summary>
public int? adrecommend
{
set { _adrecommend = value; }
get { return _adrecommend; }
}
/// <summary>
///
/// </summary>
public int? shoprecommend
{
set { _shoprecommend = value; }
get { return _shoprecommend; }
}
/// <summary>
///
/// </summary>
public int? brandrecommend
{
set { _brandrecommend = value; }
get { return _brandrecommend; }
}
/// <summary>
///
/// </summary>
public int? promotionrecommend
{
set { _promotionrecommend = value; }
get { return _promotionrecommend; }
}
/// <summary>
///
/// </summary>
public string permissions
{
set { _permissions = value; }
get { return _permissions; }
}
/// <summary>
///
/// </summary>
public int? lev
{
set { _lev = value; }
get { return _lev; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnDealerGroup.cs | C# | oos | 4,434 |
using System;
namespace TREC.Entity
{
/// <summary>
/// admin:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnDealer
{
public EnDealer()
{}
#region Model
private int _id;
private int _mid;
private string _title;
private string _letter;
private int _groupid;
private string _attribute;
private string _industry;
private string _productcategory;
private int? _vip = 0;
private string _areacode;
private string _address;
private string _mapapi;
private int? _staffsize;
private string _regyear;
private string _regcity;
private string _buy;
private string _sell;
private string _linkman;
private string _phone;
private string _mphone;
private string _fax;
private string _email;
private string _postcode;
private string _homepage;
private string _domain;
private string _domainip;
private string _icp;
private string _surface;
private string _logo;
private string _thumb;
private string _bannel;
private string _desimage;
private string _descript;
private string _keywords;
private string _template;
private int? _hits;
private int? _sort;
private int? _createmid = 0;
private int? _lastedid = 0;
private DateTime _lastedittime;
private int _auditstatus;
private int _linestatus;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public int mid
{
set { _mid = value; }
get { return _mid; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string letter
{
set { _letter = value; }
get { return _letter; }
}
/// <summary>
///
/// </summary>
public int groupid
{
set { _groupid = value; }
get { return _groupid; }
}
/// <summary>
///
/// </summary>
public string attribute
{
set { _attribute = value; }
get { return _attribute; }
}
/// <summary>
///
/// </summary>
public string industry
{
set { _industry = value; }
get { return _industry; }
}
/// <summary>
///
/// </summary>
public string productcategory
{
set { _productcategory = value; }
get { return _productcategory; }
}
/// <summary>
///
/// </summary>
public int? vip
{
set { _vip = value; }
get { return _vip; }
}
/// <summary>
///
/// </summary>
public string areacode
{
set { _areacode = value; }
get { return _areacode; }
}
/// <summary>
///
/// </summary>
public string address
{
set { _address = value; }
get { return _address; }
}
/// <summary>
///
/// </summary>
public string mapapi
{
set { _mapapi = value; }
get { return _mapapi; }
}
/// <summary>
///
/// </summary>
public int? staffsize
{
set { _staffsize = value; }
get { return _staffsize; }
}
/// <summary>
///
/// </summary>
public string regyear
{
set { _regyear = value; }
get { return _regyear; }
}
/// <summary>
///
/// </summary>
public string regcity
{
set { _regcity = value; }
get { return _regcity; }
}
/// <summary>
///
/// </summary>
public string buy
{
set { _buy = value; }
get { return _buy; }
}
/// <summary>
///
/// </summary>
public string sell
{
set { _sell = value; }
get { return _sell; }
}
/// <summary>
///
/// </summary>
public string linkman
{
set { _linkman = value; }
get { return _linkman; }
}
/// <summary>
///
/// </summary>
public string phone
{
set { _phone = value; }
get { return _phone; }
}
/// <summary>
///
/// </summary>
public string mphone
{
set { _mphone = value; }
get { return _mphone; }
}
/// <summary>
///
/// </summary>
public string fax
{
set { _fax = value; }
get { return _fax; }
}
/// <summary>
///
/// </summary>
public string email
{
set { _email = value; }
get { return _email; }
}
/// <summary>
///
/// </summary>
public string postcode
{
set { _postcode = value; }
get { return _postcode; }
}
/// <summary>
///
/// </summary>
public string homepage
{
set { _homepage = value; }
get { return _homepage; }
}
/// <summary>
///
/// </summary>
public string domain
{
set { _domain = value; }
get { return _domain; }
}
/// <summary>
///
/// </summary>
public string domainip
{
set { _domainip = value; }
get { return _domainip; }
}
/// <summary>
///
/// </summary>
public string icp
{
set { _icp = value; }
get { return _icp; }
}
/// <summary>
///
/// </summary>
public string surface
{
set { _surface = value; }
get { return _surface; }
}
/// <summary>
///
/// </summary>
public string logo
{
set { _logo = value; }
get { return _logo; }
}
/// <summary>
///
/// </summary>
public string thumb
{
set { _thumb = value; }
get { return _thumb; }
}
/// <summary>
///
/// </summary>
public string bannel
{
set { _bannel = value; }
get { return _bannel; }
}
/// <summary>
///
/// </summary>
public string desimage
{
set { _desimage = value; }
get { return _desimage; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public string keywords
{
set { _keywords = value; }
get { return _keywords; }
}
/// <summary>
///
/// </summary>
public string template
{
set { _template = value; }
get { return _template; }
}
/// <summary>
///
/// </summary>
public int? hits
{
set { _hits = value; }
get { return _hits; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
/// <summary>
///
/// </summary>
public int? createmid
{
set { _createmid = value; }
get { return _createmid; }
}
/// <summary>
///
/// </summary>
public int? lastedid
{
set { _lastedid = value; }
get { return _lastedid; }
}
/// <summary>
///
/// </summary>
public DateTime lastedittime
{
set { _lastedittime = value; }
get { return _lastedittime; }
}
/// <summary>
///
/// </summary>
public int auditstatus
{
set { _auditstatus = value; }
get { return _auditstatus; }
}
/// <summary>
///
/// </summary>
public int linestatus
{
set { _linestatus = value; }
get { return _linestatus; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnDealer.cs | C# | oos | 9,657 |
using System;
namespace TREC.Entity
{
/// <summary>
/// admin:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnPCategoryPTyp
{
public EnPCategoryPTyp()
{}
#region Model
private int _productcategoryid;
private int _producttypeid;
/// <summary>
///
/// </summary>
public int productcategoryid
{
set { _productcategoryid = value; }
get { return _productcategoryid; }
}
/// <summary>
///
/// </summary>
public int producttypeid
{
set { _producttypeid = value; }
get { return _producttypeid; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnPCategoryPTyp.cs | C# | oos | 817 |
using System;
namespace TREC.Entity
{
/// <summary>
/// productattribute:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnProductAttribute
{
public EnProductAttribute()
{}
#region Model
private int _id;
private int? _productid;
private string _productno;
private string _productsku;
private string _typevalue;
private string _typename;
private string _productstyle;
private string _productmaterial;
private string _productcolorimg;
private string _productcolortitle;
private string _productcolorvalue;
private decimal? _productwidth;
private decimal? _productheight;
private decimal? _productlength;
private decimal? _productcbm;
private decimal? _buyprice;
private decimal? _markprice;
private decimal? _saleprice;
private string _otherinfo;
private int? _storage;
private int? _sort;
private int _isdefault;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public int? productid
{
set { _productid = value; }
get { return _productid; }
}
/// <summary>
///
/// </summary>
public string productno
{
set { _productno = value; }
get { return _productno; }
}
/// <summary>
///
/// </summary>
public string productsku
{
set { _productsku = value; }
get { return _productsku; }
}
/// <summary>
///
/// </summary>
public string typevalue
{
set { _typevalue = value; }
get { return _typevalue; }
}
/// <summary>
///
/// </summary>
public string typename
{
set { _typename = value; }
get { return _typename; }
}
/// <summary>
///
/// </summary>
public string productstyle
{
set { _productstyle = value; }
get { return _productstyle; }
}
/// <summary>
///
/// </summary>
public string productmaterial
{
set { _productmaterial = value; }
get { return _productmaterial; }
}
/// <summary>
///
/// </summary>
public string productcolorimg
{
set { _productcolorimg = value; }
get { return _productcolorimg; }
}
/// <summary>
///
/// </summary>
public string productcolortitle
{
set { _productcolortitle = value; }
get { return _productcolortitle; }
}
/// <summary>
///
/// </summary>
public string productcolorvalue
{
set { _productcolorvalue = value; }
get { return _productcolorvalue; }
}
/// <summary>
///
/// </summary>
public decimal? productwidth
{
set { _productwidth = value; }
get { return _productwidth; }
}
/// <summary>
///
/// </summary>
public decimal? productheight
{
set { _productheight = value; }
get { return _productheight; }
}
/// <summary>
///
/// </summary>
public decimal? productlength
{
set { _productlength = value; }
get { return _productlength; }
}
/// <summary>
///
/// </summary>
public decimal? productcbm
{
set { _productcbm = value; }
get { return _productcbm; }
}
/// <summary>
///
/// </summary>
public decimal? buyprice
{
set { _buyprice = value; }
get { return _buyprice; }
}
/// <summary>
///
/// </summary>
public decimal? markprice
{
set { _markprice = value; }
get { return _markprice; }
}
/// <summary>
///
/// </summary>
public decimal? saleprice
{
set { _saleprice = value; }
get { return _saleprice; }
}
/// <summary>
///
/// </summary>
public string otherinfo
{
set { _otherinfo = value; }
get { return _otherinfo; }
}
/// <summary>
///
/// </summary>
public int? storage
{
set { _storage = value; }
get { return _storage; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
/// <summary>
///
/// </summary>
public int isdefault
{
set { _isdefault = value; }
get { return _isdefault; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnProductAttribute.cs | C# | oos | 5,574 |
using System;
namespace TREC.Entity
{
[Serializable]
public class EnAllBrand
{
#region Model
private long? _id;
private int _brandid;
private string _brandcode;
private string _companycode;
private string _title;
private string _quanpin;
private string _ename;
private string _logo;
private int? _compayid;
private string _fordio;
/// <summary>
///
/// </summary>
public long? id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public int brandid
{
set { _brandid = value; }
get { return _brandid; }
}
/// <summary>
///
/// </summary>
public string brandcode
{
set { _brandcode = value; }
get { return _brandcode; }
}
/// <summary>
///
/// </summary>
public string companycode
{
set { _companycode = value; }
get { return _companycode; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string quanpin
{
set { _quanpin = value; }
get { return _quanpin; }
}
/// <summary>
///
/// </summary>
public string ename
{
set { _ename = value; }
get { return _ename; }
}
/// <summary>
///
/// </summary>
public string logo
{
set { _logo = value; }
get { return _logo; }
}
/// <summary>
///
/// </summary>
public int? compayid
{
set { _compayid = value; }
get { return _compayid; }
}
/// <summary>
///
/// </summary>
public string fordio
{
set { _fordio = value; }
get { return _fordio; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnAllBrand.cs | C# | oos | 2,377 |
using System;
namespace TREC.Entity
{
/// <summary>
/// sys_action:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnAppBrand
{
public EnAppBrand()
{}
#region Model
private int _id;
private int _dealerid;
private string _dealetitle;
private int _brandid;
private string _brandtitle;
private int _companyid;
private string _companytitle;
private int? _shopid;
private string _shoptitle;
private int _appmodule;
private int _apptype;
private DateTime _apptime;
private int _createmid = 0;
private DateTime _lastedittime;
private int _auditstatus;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public int dealerid
{
set { _dealerid = value; }
get { return _dealerid; }
}
/// <summary>
///
/// </summary>
public string dealetitle
{
set { _dealetitle = value; }
get { return _dealetitle; }
}
/// <summary>
///
/// </summary>
public int brandid
{
set { _brandid = value; }
get { return _brandid; }
}
/// <summary>
///
/// </summary>
public string brandtitle
{
set { _brandtitle = value; }
get { return _brandtitle; }
}
/// <summary>
///
/// </summary>
public int companyid
{
set { _companyid = value; }
get { return _companyid; }
}
/// <summary>
///
/// </summary>
public string companytitle
{
set { _companytitle = value; }
get { return _companytitle; }
}
/// <summary>
///
/// </summary>
public int? shopid
{
set { _shopid = value; }
get { return _shopid; }
}
/// <summary>
///
/// </summary>
public string shoptitle
{
set { _shoptitle = value; }
get { return _shoptitle; }
}
/// <summary>
///
/// </summary>
public int appmodule
{
set { _appmodule = value; }
get { return _appmodule; }
}
/// <summary>
///
/// </summary>
public int apptype
{
set { _apptype = value; }
get { return _apptype; }
}
/// <summary>
///
/// </summary>
public DateTime apptime
{
set { _apptime = value; }
get { return _apptime; }
}
/// <summary>
///
/// </summary>
public int createmid
{
set { _createmid = value; }
get { return _createmid; }
}
/// <summary>
///
/// </summary>
public DateTime lastedittime
{
set { _lastedittime = value; }
get { return _lastedittime; }
}
/// <summary>
///
/// </summary>
public int auditstatus
{
set { _auditstatus = value; }
get { return _auditstatus; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnAppBrand.cs | C# | oos | 3,740 |
using System;
namespace TREC.Entity
{
/// <summary>
/// sys_action:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnRoleActionDef
{
public EnRoleActionDef()
{}
#region Model
private int _actionid;
private int _moduleid;
private int _roleid;
/// <summary>
///
/// </summary>
public int actionid
{
set { _actionid = value; }
get { return _actionid; }
}
/// <summary>
///
/// </summary>
public int moduleid
{
set { _moduleid = value; }
get { return _moduleid; }
}
/// <summary>
///
/// </summary>
public int roleid
{
set { _roleid = value; }
get { return _roleid; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnRoleActionDef.cs | C# | oos | 978 |
using System;
namespace TREC.Entity
{
/// <summary>
/// admin:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class EnPromotion
{
public EnPromotion()
{}
#region Model
private int _id;
private string _title;
private string _htmltitle;
private string _letter;
private string _attribute;
private int? _ptype;
private DateTime? _startdatetime;
private DateTime? _enddatetime;
private string _areacode;
private string _address;
private string _surface;
private string _logo;
private string _thumb;
private string _bannel;
private string _desimage;
private string _descript;
private string _keywords;
private string _template;
private int? _hits;
private int? _sort;
private int? _createmid = 0;
private int? _lastedid = 0;
private DateTime _lastedittime;
private int _auditstatus;
private int _linestatus;
/// <summary>
///
/// </summary>
public int id
{
set { _id = value; }
get { return _id; }
}
/// <summary>
///
/// </summary>
public string title
{
set { _title = value; }
get { return _title; }
}
/// <summary>
///
/// </summary>
public string htmltitle
{
set { _htmltitle = value; }
get { return _htmltitle; }
}
/// <summary>
///
/// </summary>
public string letter
{
set { _letter = value; }
get { return _letter; }
}
/// <summary>
///
/// </summary>
public string attribute
{
set { _attribute = value; }
get { return _attribute; }
}
/// <summary>
///
/// </summary>
public int? ptype
{
set { _ptype = value; }
get { return _ptype; }
}
/// <summary>
///
/// </summary>
public DateTime? startdatetime
{
set { _startdatetime = value; }
get { return _startdatetime; }
}
/// <summary>
///
/// </summary>
public DateTime? enddatetime
{
set { _enddatetime = value; }
get { return _enddatetime; }
}
/// <summary>
///
/// </summary>
public string areacode
{
set { _areacode = value; }
get { return _areacode; }
}
/// <summary>
///
/// </summary>
public string address
{
set { _address = value; }
get { return _address; }
}
/// <summary>
///
/// </summary>
public string surface
{
set { _surface = value; }
get { return _surface; }
}
/// <summary>
///
/// </summary>
public string logo
{
set { _logo = value; }
get { return _logo; }
}
/// <summary>
///
/// </summary>
public string thumb
{
set { _thumb = value; }
get { return _thumb; }
}
/// <summary>
///
/// </summary>
public string bannel
{
set { _bannel = value; }
get { return _bannel; }
}
/// <summary>
///
/// </summary>
public string desimage
{
set { _desimage = value; }
get { return _desimage; }
}
/// <summary>
///
/// </summary>
public string descript
{
set { _descript = value; }
get { return _descript; }
}
/// <summary>
///
/// </summary>
public string keywords
{
set { _keywords = value; }
get { return _keywords; }
}
/// <summary>
///
/// </summary>
public string template
{
set { _template = value; }
get { return _template; }
}
/// <summary>
///
/// </summary>
public int? hits
{
set { _hits = value; }
get { return _hits; }
}
/// <summary>
///
/// </summary>
public int? sort
{
set { _sort = value; }
get { return _sort; }
}
/// <summary>
///
/// </summary>
public int? createmid
{
set { _createmid = value; }
get { return _createmid; }
}
/// <summary>
///
/// </summary>
public int? lastedid
{
set { _lastedid = value; }
get { return _lastedid; }
}
/// <summary>
///
/// </summary>
public DateTime lastedittime
{
set { _lastedittime = value; }
get { return _lastedittime; }
}
/// <summary>
///
/// </summary>
public int auditstatus
{
set { _auditstatus = value; }
get { return _auditstatus; }
}
/// <summary>
///
/// </summary>
public int linestatus
{
set { _linestatus = value; }
get { return _linestatus; }
}
#endregion Model
}
}
| 10aaa-10aaa | trunk/TRECommerce/TREC.Entity/EnPromotion.cs | C# | oos | 5,966 |