⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shopthemes.aspx

📁 易想商城系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShopThemes.aspx.cs" Inherits="YXShop.Web.Membercenter.Shop.ShopThemes" %>

<%@ Import Namespace="System.Text" %>
<%@ Import Namespace="System.Collections.Generic" %>
<!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>    
    <style>    
        .themestable
        {
        	width:100%;
        	font-size:12px;
        }
        #themesTitle
        {
        	width:80px;
        	vertical-align:top;
        	
        }
        .bigDivOut
        {
        	width:130px;
        	height:180px;
        	text-align:center;
        	vertical-align:middle;
        	float:left;
        }
        .bigDivOver
        {
        	width:130px;
        	height:180px;
        	text-align:center;
        	vertical-align:middle;
        	background-color:#E35A28;
        	float:left;        	
        }
        .bigUl
        {
        	margin:0; padding:0; text-decoration:none;
        	margin-top:4px;
        	width:120px; height:170px;
        	border:1px solid #E35A28;
        	line-height:20px;        	   
        	background-color:#fff;  
        	
        }
        .bigUl li{list-style:none;}
        .bigUl img{ width:120px; height:130px;}
    </style>
    <script type="text/javascript">
        function show()
        {
            if(arguments[1]==1)
            {
                arguments[0].className="bigDivOver";
            }
            else
            {
                arguments[0].className="bigDivOut";
            }
        }
        var showcartgorybox = document.getElementById("TextBox1");
        function onclickvalue()
        {
            document.getElementById("TextBox1").value = arguments[0].split('_')[1];
        }
    </script>
    <script src="../../JS/Substation.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <%
        if (!string.IsNullOrEmpty(Request.QueryString["Action"]))
        {
            if(!string.IsNullOrEmpty(Request.QueryString["CSSID"]))
            {
                try
                {
                    new YXShop.BLL.YXShop_Shop().Amend(Convert.ToInt32(Session["MemberID"]), "ShopStyle", int.Parse(Request.QueryString["CSSID"]),0);
                }
                catch {}
            }            
        }
        
        //StringBuilder sb = new StringBuilder();
        //List<YXShop.Model.YXShop_ShopThemes> listThemes = new YXShop.BLL.YXShop_ShopThemes().GetListByColumn("TState",1);
        //sb.Append("<table class=\"themestable\">");
        //if (listThemes.Count > 0)
        //{
        //    foreach (YXShop.Model.YXShop_ShopThemes M_Themes in listThemes)
        //    {
        //        sb.Append("<tr><td id=\"themesTitle\">" + M_Themes.TName + "</td>");
        //        sb.Append("<td >");
        //        List<YXShop.Model.YXShop_ShopCss> listCss = new YXShop.BLL.YXShop_ShopCss().GetListByColumn("TID", M_Themes.TID);
        //        if (listCss.Count > 0)
        //        {
        //            foreach (YXShop.Model.YXShop_ShopCss M_Css in listCss)
        //            {
        //                sb.Append(string.Format("<div class=\"{0}\" onmouseover=\"{1}\" onmouseout=\"{2}\">", "bigDivOut", "show(this,1)", "show(this,2)"));
        //                sb.Append(string.Format("<ul class=\"{0}\">", "bigUl"));
        //                sb.Append(string.Format("<li class=\"{0}\">", 0));
        //                sb.Append("<img src=\"" + M_Css.SCPic + "\" alt=\"\" />");
        //                sb.Append("</li>");
        //                sb.Append(string.Format("<li class=\"{0}\">", 0));
        //                sb.Append(M_Css.SCName);
        //                sb.Append("</li>");
        //                sb.Append(string.Format("<li class=\"{0}\">", 0));
        //                sb.Append(string.Format("<a href=\"{0}\">使用</a>","?Action=IsUse&CSSID="+M_Css.SCID));
        //                sb.Append("</li>");
        //                sb.Append("</ul>");
        //                sb.Append("</div>");
        //            }
        //        }
        //        sb.Append("</td>");
        //        sb.Append("</tr>");
        //    }
        //}
        //else
        //{
        //    sb.Append("<tr><td>不存在模板!</td></tr>");
        //}
        //sb.Append("</table>");
        //Response.Write(sb.ToString());                
    %>
    <a onclick="openWithDiv('选择',1212,400,500)">选择</a>
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -