<%@ page language="C#" masterpagefile="MyShopMasterPage.master" autoeventwireup="true" inherits="Shop_Member_Shop_AddMyFav, WebApp_deploy" title="添加收藏" enableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript" src="../JS/f_function.js"></script>
<script type="text/javascript">
function setButtonActive()
{
   var _flag=parseInt(<%=m_flag %>);
   var ulObj=document.getElementById("M1");  
   for(var i=0;i<ulObj.childNodes.length;i++)
     ulObj.childNodes[i].className="";
    ulObj.childNodes[_flag].className="active";  

}
</script>
<div id="MainMenu">	<div class="TabMenu">
		<!--一级导航-->
       <ul id="M1" >
          <li class="active"><a href="Shop_MyFavourite.aspx?tag=0">商品</a></li><li><a href="Shop_MyFavourite.aspx?tag=1">店铺</a></li></ul>      
    </div>
    <div style="border:#6493C8 2px solid"> 
    <asp:Panel ID="Panel" runat="server" Width="100%">               
          <div class="tips_onclick" style="width:95%; margin:5px;">        
              点确定你就可以收藏此商品
          </div>   
            <table class="SearchTableStyle">
                <tr>
                    <td width="160" rowspan="6"  valign="top" style="text-align:center;">
                        <asp:HyperLink ID="HL_ProductID" runat="server" Target="_blank"><asp:Image ID="ProductImage1" runat="server" /></asp:HyperLink>                    
                    </td>
                    <td>名 称：</td>
                    <td><asp:HyperLink ID="Hl_ProductName"  runat="server" Target="_blank"/></td>
                </tr>
                <tr>
                   
                    <td >当前价格：</td>
                    <td><asp:Label ID="LabProductPrice" runat="server"/></td>
                </tr>
                <tr>
                   
                    <td>结束时间：</td>
                    <td><asp:Label ID="LabLeftTime" runat="server" /></td>
                </tr>
                <tr>
                  
                    <td>店 主：</td>
                   <td><asp:HyperLink ID="HL_UserName1" runat="server"  Target="_blank"/></td>
                </tr>
                <tr>
                   
                    <td>分 类：</td>
                    <td>
                       <asp:DropDownList ID="DropF_ProductClassID" runat="server" AppendDataBoundItems="true" >
                          <asp:ListItem Text="未分类" Value="-1" />
                       </asp:DropDownList>                          
                        <asp:Button ID="Button3" runat="server"   Text="类别管理" OnClick="Button3_Click2" />
                    </td>
                </tr>
               <tr> 
                   
                    <td>备 注：</td>
                    <td><div align="left">
                            <asp:TextBox id="TxtF_Remark" runat="server"  TextMode="MultiLine" Height="50px"  Width="200px"/>
                        </div>
                    </td>
                </tr>
          </table>
         <div style="margin-top: 2px; background: #f6f6f6; padding-top: 2px;width:100%;text-align:center;">
            <asp:Button ID="ProductButton" runat="server" Text="确定" OnClick="ProductButton_ServerClick" />
            <input type="button" value="返回上一页" onclick="javascript:history.go(-1)" />
         </div> 
    </asp:Panel>
  
    <asp:Panel ID="Pane2" runat="server" Height="50px" Width="100%">              
            <div class="tips_onclick" style="width:95%; margin:5px;">
               点确定你就可以收藏此店铺
             </div>
             <table class="SearchTableStyle">
                <tr>
                    <td width="160" rowspan="6" valign="middle" style="text-align:center; vertical-align:middle">
                        <asp:Image ID="ShopImage1" runat="server"  />
                    </td>
                    <td>店 名：</td>
                    <td><asp:HyperLink ID="HL_ShopName"  runat="server" Target="_blank"/></td>
                </tr>
               <tr>
                    <td>店铺类别：</td>
                     <td><asp:HyperLink ID="HL_ShopClassName"  runat="server"/></td>
                </tr>
                <tr>
                    <td>店 长：</td>
                    <td><asp:HyperLink ID="HL_UserName2"  runat="server" Target="_blank"/>
                        <asp:HyperLink ID="HL_ShopLel" runat="server" Target="_blank" />
                         
                    </td>
                </tr>
                <tr>
                    <td>分 类：</td>
                    <td><asp:DropDownList ID="DropF_ShopClassID" runat="server" AppendDataBoundItems="true" >
                          <asp:ListItem Text="未分类" Value="-1" />
                       </asp:DropDownList>                          
                       <asp:Button ID="Button4" runat="server" OnClick="Button3_Click" Text="类别管理" />
                    </td>
                </tr>
                <tr>
                    <td>备 注：</td>
                    <td><asp:TextBox id="TxtF_Remark1" runat="server"  TextMode="MultiLine" Height="50px"  Width="200px"/>
                    </td>
                </tr>
            </table>
           <div style="border-top: #1e88c1 2px solid; margin-top: 2px; background: #f6f6f6; padding-top: 2px; width:100%; text-align:center;">
             <asp:Button ID="ShopButtonClick" runat="server" Text="确定" OnClick="ShopButtonClick_ServerClick" />             
             <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="关闭" Width="59px" />
          </div>
    </asp:Panel>
    
    <asp:HiddenField ID="H_FavID" runat="server" />
    <asp:HiddenField ID="H_ProductID" runat="server" />
    <asp:HiddenField ID="H_ShopID" runat="server" />
    </div>
</div>    
 <script type="text/javascript">setButtonActive();</script>  
</asp:Content>

