<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register src="inClude/bottom.ascx" tagname="bottom" tagprefix="uc1" %>
<%@ Register src="inClude/head.ascx" tagname="head" tagprefix="uc2" %>
<%@ Register src="ad/widthAD.ascx" tagname="widthAD" tagprefix="uc3" %>

<!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="Shortcut Icon" href="/Images/favicon.ico" />
    <link href="inClude/style.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery.min.js" type="text/javascript"></script>
    <script src="Scripts/all.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <uc2:head ID="head1" runat="server" />
    <div class="height10px"></div>
    <div class="divWidth">
        <div class="divHuiLine" style="padding:10px; height:250px;">
            <div class="divLeft" style="width:680px;">                
                <uc3:widthAD ID="widthAD" runat="server" />
            </div>

            <div class="divRight" style="width:245px;">
                <table cellspacing="0" cellpadding="0" border="0" style="width:100%;">
                    <tr>
                        <td style="font-size:14px; color:Black; height:26px; line-height:26px; font-weight:bold; text-align:left;">&nbsp;<img src="images/ico01.gif" alt="品牌特卖" title="品牌促销" style="vertical-align:middle;" align="middle" /> 品牌特卖</td><td style="text-align:right; width:30%;"><a href="/1-0-610-0.htm" target="_blank">更多 >></a></td>
                    </tr>
                    <tr>
                        <td colspan="2" style="height:1px; line-height:1px; background-color:#ffe0e0;"></td>
                    </tr>
                    <asp:Repeater ID="cheapShop" runat="server" ViewStateMode="Disabled">
                    <ItemTemplate>
                    <tr><td colspan="2" style="height:28px; line-height:28px;">&nbsp;<img src="images/ico02.gif" alt="<%# Eval("title").ToString().Trim() %>" title="<%# Eval("title").ToString().Trim() %>" style="vertical-align:middle;" align="middle" />&nbsp;&nbsp;<a href="/show/<%# Eval("num_iid").ToString().Trim() %>.htm" target="_blank" title="<%# Eval("title").ToString().Trim() %>"><%# cut(Eval("title").ToString().Trim(),17) %></a></td></tr>
                    </ItemTemplate>
                    </asp:Repeater>
                </table>
            </div>
        </div>
    </div>
    <div class="height10px"></div>
    <div class="divWidth"><asp:Literal ID="ad9601" runat="server" ViewStateMode="Disabled"></asp:Literal></div>
    <div class="height5px"></div>
    <asp:Literal ID="ppHtm" runat="server" ViewStateMode="Disabled"></asp:Literal>
    <div class="height10px"></div>
    <div class="divWidth"><asp:Literal ID="ad9602" runat="server" ViewStateMode="Disabled"></asp:Literal></div>
    <div class="height10px"></div>
    <div class="divWidth">
        <div class="divHuiLine">
            <div style="padding:10px;">
                <ul>
                    <li style="font-size:16px; font-weight:bold; color:Black; height:30px; line-height:30px;">逛宝贝</li>
                    <li style="background-color:#ffe0e0; height:1px;"></li>
                    <li class="height10px"></li>
                    <li>
                        <div id="picScroll" runat="server">
                            <div id="scrollDivSingle" style="height:273px; overflow: hidden;">                                
                                <asp:Repeater ID="hotRepeater" runat="server" ViewStateMode="Disabled">
                                <HeaderTemplate>
                                    <ul>
                                </HeaderTemplate>
                                    <ItemTemplate> 
                                    <asp:PlaceHolder ID="PlaceHolder1" runat="server" Visible='<%# (Container.ItemIndex + 1) % 4 ==1 %>'>
                                        <li>
                                        <table cellspacing="0" cellpadding="0" border="0">
                                        <tr>
                                    </asp:PlaceHolder>              
                                        <td valign="top" class="divOutLine">
                                            <ul>
                                                <li style="text-align: center;"><a href="/show/<%# Eval("num_iid").ToString().Trim() %>.htm" target="_blank"><img id="hotImgshow" src="<%# Eval("pic_url").ToString().Trim() %>_b.jpg" alt="<%# Eval("title").ToString().Trim() %>" title="<%# Eval("title").ToString().Trim() %>" style="width: 206px;" /></a></li>
                                                <li class="height5px"></li>
                                                <li style="line-height: 20px; height: 40px; text-align: left; color: #787878; overflow: hidden;text-overflow: ellipsis;"><a href="/show/<%# Eval("num_iid").ToString().Trim() %>.htm"
                                                        target="_blank" style="color: #333333;">
                                                        <%# Eval("title").ToString().Trim() %></a></li>
                                            </ul>
                                        </td>
                                        <asp:PlaceHolder ID="PlaceHolder3" runat="server" Visible='<%# (Container.ItemIndex + 1) % 4 >0 %>'>
                                            <td style="width: 10px;"></td>
                                        </asp:PlaceHolder>
                                        <asp:PlaceHolder ID="PlaceHolder2" runat="server" Visible='<%# (Container.ItemIndex + 1) % 4 ==0 %>'>
                                        </tr>
                                        </table>
                                        </li>
                                        </asp:PlaceHolder>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        </ul>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>            
        </div>            
    </div>
    <uc1:bottom ID="bottom1" runat="server" ViewStateMode="Disabled" />    
    </form>
    <script type="text/javascript">
        $(function () {
            $('img[id="imgshow"]').each(function () {
                $(this).LoadImage({ scaling: true, width: 105, height: 105, loadpic: "/images/loading.gif" });
            });
        });
        $(function () {
            $('img[id="hotImgshow"]').each(function () {
                $(this).LoadImage({ scaling: true, width: 206, loadpic: "/images/loading.gif" });
            });
        });
   </script>
</body>
</html>
