<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="MyFavorite.aspx.cs" Inherits="web.Template.moban.MyFavorite" %>
<%@ Register TagPrefix="uc1" TagName="MemberMenu" Src="Modules/MemberMenu.ascx" %>
<%@ Register TagPrefix="uc1" TagName="NavBar" Src="Modules/NavBar.ascx" %>


<%@ Register Src="Modules/mcBottom.ascx" TagName="mcBottom" TagPrefix="uc3" %>

<%@ Register Src="Modules/mcTop.ascx" TagName="mcTop" TagPrefix="uc2" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
  
     <!--#include file="../../inc/head.inc"-->
    <link rel="stylesheet" href="/img/css/standard.css" type="text/css" media="screen, projection, tv" title="Standard" />
   <link rel="stylesheet" href="/img/css/druckversion.css" type="text/css" media="print" />
    <link rel="alternate stylesheet" href="/img/css/druckversion.css" type="text/css" media="print, screen, projection, tv" title="Druckversion" />
  <link href="img/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" />
<!--     <script src="/fileadmin/js/scripts.js" type="text/javascript"></script> -->
 <script language="javascript">
												function addtocart(pid)
												{
													if('<%=config.ShopStop%>' == 'True')
													{
														temp=window.open('ShoppingCart.aspx?pid='+pid,'shopcat','width=700,height=650,scrollbars=yes,top=0,left=0');
														temp.focus();
													}
													else
													{
														alert('<%=config.ShopStopWords%>');
														return false;
													}
												}
												function gotoUrl(url)
												{
													this.location = url;
												}
												function myOpenWindow()
												{
													temp=window.open('ShoppingCart.aspx','shopcat','width=700,height=650,scrollbars=yes,top=0,left=0');
													temp.focus();
												}
												</script>
</head>
 
<body><!--  onload="aNeuesFenster();" class="normal"> -->
 
<form id="Form2" method="post" runat="server">

 <uc2:mcTop id="McTop1" runat="server"></uc2:mcTop>
 
<div id="hauptbereich">
 
  <div id="leiste">
    <p></p>
  </div>
 
 
  <div id="aussen">
    <div id="innen">
 
      <div id="menue">
 
        <div id="suche">
         welcome<br><%=user.Name%>
        </div> <!-- ende suche -->
 
	  <uc1:MemberMenu id="MemberMenu1" runat="server"></uc1:MemberMenu>  
 
      </div> <!-- ende menue -->
 
      <div id="inhalt">
        <hr class="unsichtbar" /><p id="brotkruemel"> 
      
        
        <%=GetResourceString("WhereYouAre")%><a href="Default.html"><%=GetResourceString("Home")%></a> &raquo;&nbsp; <a href="MemberCenter.aspx"><%=GetResourceString("MemberCenter")%></a> &raquo;&nbsp; <%=GetResourceString("Favourites")%>
        </p><hr class="unsichtbar" />
        <div class="innen">

          <asp:datagrid id="dgList" runat="server" AutoGenerateColumns="False"
														DataKeyField="FavoriteID" Width="100%" HorizontalAlign="Center" BorderWidth="1"
														BorderColor="#E0E0E0">
														<ItemStyle BackColor="White" Height="25px"></ItemStyle>
														<HeaderStyle BackColor="#EDF6FF" Height="35px" CssClass="head"></HeaderStyle>
														<Columns>
															<asp:TemplateColumn HeaderText="名称">
																<HeaderStyle HorizontalAlign="Center" Width="50%"></HeaderStyle>
																<ItemStyle HorizontalAlign="Center" Height="20px"></ItemStyle>
																<ItemTemplate>
																<%# getlj(Convert.ToInt32(DataBinder.Eval(Container.DataItem, "FavoriteID").ToString()))%>
															
																<%# getname(Convert.ToInt32(DataBinder.Eval(Container.DataItem, "FavoriteID").ToString()))%>
																	</a>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="类型">
																<HeaderStyle HorizontalAlign="Center" Width="25%"></HeaderStyle>
																<ItemStyle HorizontalAlign="Center" Height="20px"></ItemStyle>
																<ItemTemplate>
																
															
																		<%# DataBinder.Eval(Container.DataItem, "ispl").ToString()=="0"?"店铺":"评论"%>
																	
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
																<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
																<ItemStyle HorizontalAlign="Center" Width="25%"></ItemStyle>
															</asp:ButtonColumn>
														</Columns>
													</asp:datagrid>
          <span class="stopFloat"></span>
        </div> <!-- ende innen -->
      </div> <!-- ende inhalt -->
 
    </div>
  </div>
  <span class="stopFloat">
     
  </span>
</div>
 
  <uc3:mcBottom ID="McBottom1" runat="server" /> 
</form>
</body>

</html>
