<%@ page language="C#" autoeventwireup="true" inherits="List, WebApp_deploy" %>

<%@ Register Src="~/UserControls/ListPager.ascx" TagName="ListPager" TagPrefix="uc1" %>
<!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>
    <link href="Skin/Default/Customer/ArticleStyle.css" rel="stylesheet" type="text/css" />
    <link href="Skin/ArticleStyle/Style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .main
        {
            background: none repeat scroll 0 0 #FFFFFF;
            border: 1px solid #DDDDDD;
            margin: 0 auto;
            margin-top: 15px;
            width: 950px;
            padding-left: 5px;
        }
        .title_article
        {
        	color:Red;
        	font-size:15px;
        	padding-bottom:5px;
        }
        #tpList td
        {
        	height:25px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <hl:Top ID="Top1" runat="server" />
    <div id="main" class="main">
        <div id="Category_Content">
            <!--导航条-->
            <div id="Catergor_Navgitor">
                当前位置：<a href="Index.aspx">首页</a> ><asp:Label runat="Server" ID="txtTitle" />
            </div>
            <!--主栏目-->
            <div id="Main_Frame">
                <div id="Product_List">
                    <div id="mainSarR">
                        <!--文章展示主栏-->
                        <span class="title_article">
                         <asp:Literal ID="Literal1" runat="server" /></span>
                        <div id="tpList">
                            <asp:Repeater ID="artistList" runat="Server">
                                <HeaderTemplate>
                                    <table cellpadding="6" cellspacing="5" style="width: 80%">
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr>
                                        <td>
                                            <a href='<%#"ShowArticle.aspx?id="+Eval("ArticleID") %>' target="_blank">
                                                <%#"["+Convert.ToDateTime(Eval("UpdateTime")).ToShortDateString()+"] "+Eval("ShortTitle") %></a>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                                <FooterTemplate>
                                    </table></FooterTemplate>
                            </asp:Repeater>
                        </div>
                    </div>
                </div>
                <!--侧栏-->
                <div id="Frame_Left">
                    <!--筛选-->
                    <div class="listbox">
                        <div class="title">
                            <b>商城推荐</b></div>
                        <hl:ShowProduct ID="ShowProduct65" ShowNum="5" ShowUIType="imgtext" ProductType="1"
                            StandPrice="1" Auction="1" TeamBuy="1" ClassID="" RowNums="1" SortType="10" OpenType="_blank"
                            IsNew="1" SecondHand="1" TitleLength="12" ShowField="ProductPrice|ProductType"
                            OtherType="recommend" runat="server" StyleName="productbox_imgtxt" />
                    </div>
                    <div class="listbox">
                        <div class="title">
                            <b>热销商品</b></div>
                        <div class="ListShop_E">
                            <hl:ShowProduct ID="ShowProduct59" ShowNum="10" ShowUIType="text" ProductType="1"
                                StandPrice="1" Auction="1" TeamBuy="1" ClassID="" RowNums="1" SortType="7" OpenType="_blank"
                                IsNew="1" SecondHand="1" TitleLength="10" ShowField="ProductPrice" OtherType="all"
                                StyleName="productbox_txt" runat="server" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div style="clear: both">
        </div>
    </div>
    <script type="text/javascript">

        function add() {
//            var div = document.getElementById('tpList');
//            var label = div.childNodes[0].innerHTML;

            //document.getElementById('{list}').innerHTML = div.innerHTML;
            
//            document.getElementById('txtLabel2').innerHTML = label;
            document.title = document.getElementById('txtTitle').innerHTML;

        }
        add();
    </script>
    <hl:Foot ID="Foot1" runat="server" />
    </form>
</body>
</html>
