<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Left.ascx.cs" Inherits="TopWinCMS.WebUI.Shop.Left" %>

<table width="204" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table width="204" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="28" colspan="2" background="/shop/images/left_nav.gif"><span id="chen">&nbsp;&nbsp;<span class="white02"><strong>登陆&nbsp;</strong></span></span><span
                            class="white02">Login</span></td>
        </tr>
        <tr>
          <td><table id="UserLoginUI" width="204" border="0" cellpadding="0" cellspacing="0" class="box3">
              <tr>
                <td height="30"><span id="black">&nbsp;&nbsp;&nbsp;<span class="black01">&nbsp;用户名：</span>&nbsp;</span>
                  <input type="text" id="UserName" class="box2" /></td>
                <td rowspan="2"><strong> <img src="/shop/images/pic.gif" width="37" height="51" onclick="PostLogin();" style="cursor:pointer"  /></strong></td>
              </tr>
              <tr>
                <td height="30"><span id="black">&nbsp;&nbsp;&nbsp;&nbsp;<span class="black01">密&nbsp;&nbsp;&nbsp;&nbsp;码：&nbsp;</span></span>
                  <input type="password"  id="UserPSW" class="box2" /></td>
              </tr>
              <tr>
                <td height="40" colspan="2"><img src="/shop/images/bt_2.gif" width="92" height="22" onclick="window.open('/Member/Reg.aspx');" style="cursor:pointer" /><img src="/shop/images/bt_3.gif" width="92"
                                        height="22" hspace="8"  onclick="window.open('/Member/GetPassword.aspx');" style="cursor:pointer" /></td>
              </tr>
            </table>
            <table id="UserLoginedUI" style="display:none" width="204" border="0" cellpadding="0" cellspacing="10"
                            class="box3">
              <tr>
                <td> 欢迎您，<font color="red"><span id="UserLoginedUI_Name"></span>(<span id="UserLoginedUI_PetName"></span>)</font>&nbsp;&nbsp;<br/>
                  　预付款：<font color="blue"><span id="UserLoginedUI_Money"></span></font>&nbsp;&nbsp;<br/>
                  　　积分：<font color="blue"><span id="UserLoginedUI_Score"></span></font>&nbsp;&nbsp;<br/>
                  　　折扣：<font color="blue"><span id="UserLoginedUI_Discount"></span></font>&nbsp;&nbsp;<br/>
                  会员角色：<font color="blue"><span id="UserLoginedUI_RoleName"></span></font>&nbsp;&nbsp;<br/>
                  <B>用户控制面板：</B><A href="/Member/Default.aspx">进入会员中心</A><BR>
                  <A 
onclick="var retValue=window.confirm('是否退出');if(retValue){UserLogout();}" 
href="#">退出登录</A><BR></td>
              </tr>
            </table>
           </td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td valign="top"><table width="204" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="187" height="28" background="/shop/images/left_nav.gif"><span id="chen2">&nbsp;&nbsp;<span class="white02"><strong>产品分类</strong></span></span><span
                            class="white02">&nbsp;Categories</span></td>
        </tr>
        <tr>
          <td><table width="204" border="0" cellpadding="0" cellspacing="0" class="box3">
              <asp:Repeater ID="Repeater1" runat="server">
                <ItemTemplate>
                  <tr>
                    <td height="28"><!--s-->
                      <table width="98%" border="0" align="right" cellpadding="0" cellspacing="0">
                        <tr>
                          <td height="33" background="http://www.999buy.com/img/left_b1.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="leftclassbar1"><a href="/ShopClass-<%#Eval("ID")%>-1.htm"><%#Eval("ClassName")%></a></span></td>
                        </tr>
                        <!--ss-->
                        <asp:Repeater ID="Repeater2" runat="server" DataSource='<%# Repeater2DataSource(Eval("ID")) %>'>
                          <ItemTemplate>
                            <tr>
                              <td class="leftclassbar2">
                              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="black01"><a href="/ShopClass-<%#Eval("ID")%>-1.htm"><FONT color=blue><%#Eval("ClassName")%></FONT></a></span>
                                  <table width="100%" style="margin-top:10px" border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td>
                                          <asp:DataList ID="DataList3" runat="server" DataSource='<%# Repeater2DataSource(Eval("ID")) %>' RepeatDirection="Horizontal" RepeatColumns="3" CellPadding="1" CellSpacing="8" Width="100%">
                                            <ItemTemplate> <a href="/ShopClass-<%#Eval("ID")%>-1.htm" > <span style="overflow: hidden; color:#000;"><%#Eval("ClassName")%></span></a></ItemTemplate>
                                          </asp:DataList>
                                          </td>
                                      </tr>
                                      <tr>
                                        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                              <td height="5"></td>
                                            </tr>
                                            <tr>
                                              <td height="1" background="/shop/images/line.gif"></td>
                                            </tr>
                                            <tr>
                                              <td height="5"></td>
                                            </tr>
                                          </table></td>
                                      </tr>
                                    </table>
                                
                                
                                </td>
                            </tr>
                          </ItemTemplate>
                        </asp:Repeater>
                        <!--ee-->
                      </table>
                      <!--e--></td>
                  </tr>
                </ItemTemplate>
              </asp:Repeater>
            </table></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td height="5"></td>
  </tr>
  <tr>
      <td>
          <table width="202" border="0" cellspacing="0" cellpadding="0">
              <tr>
                  <td width="187" height="28" background="/shop/images/left_nav.gif">
                      <span id="chen2">&nbsp;&nbsp;<span class="white02"><strong>品牌专卖</strong></span></span><span
                          class="white02">&nbsp;Brand</span>
                  </td>
              </tr>
              <tr>
                  <td>
                      <table width="204" border="0" cellpadding="0" cellspacing="0" class="box3">
                          <tr>
                              <td height="28">
                                  <asp:DataList ID="DL_Brand" runat="server" HorizontalAlign="Center" RepeatColumns="2"
                                      RepeatDirection="Horizontal">
                                      <ItemTemplate>
                                          <a href="/Shop/Brand.aspx?BrandID=<%# Eval("ID") %>">
                                              <img src="<%# Eval("SrcList") %>" width="92" height="35" /></a></ItemTemplate>
                                  </asp:DataList>
                                  <%
                                      if (DL_Brand.Items.Count == 0)
                                      {
                                  %>
                                  没有品牌数据
                                  <%
                                      } %>
                              </td>
                          </tr>
                          <tr>
                              <td height="90">
                                  <div align="center">
                                      <img src="/shop/images/pic2.gif" width="185" height="75" /></div>
                              </td>
                          </tr>
                      </table>
                  </td>
              </tr>
          </table>
      </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><table width="202" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="187" height="28" background="/shop/images/left_nav.gif"><span id="chen2">&nbsp;&nbsp;<span class="white02"><strong>热门调查</strong></span></span><span
                            class="white02">&nbsp;Inquire</span></td>
        </tr>
        <tr>
          <td valign="top"><table width="204" border="0" cellpadding="0" cellspacing="0" class="box3">
              <tr>
                <td height="28"><div id="vote" />
                  <script language="javascript" type="text/javascript">
                                        //Ajax显示投票调查界面 
                                        GetVote(1);
                                    </script></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td height="5"></td>
  </tr>
  <tr>
    <td><img src="/shop/images/banner4.jpg" width="204" height="150" /></td>
  </tr>
</table>
