<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Mypl.aspx.cs" Inherits="web.Mypl" %>

<%@ Register Src="Template/moban/Modules/MemberMenu.ascx" TagName="MemberMenu" TagPrefix="uc1" %>


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

<%@ Register Src="Template/moban/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> -->
</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, 
            <%=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("mypl")%>
          </p>
          <hr class="unsichtbar" />
          <div class="innen"> 
            <asp:DataList id="mypp" CellPadding="5" CellSpacing="0" GridLines="None" RepeatColumns="1"
													RepeatDirection="Horizontal" RepeatLayout="Flow" Visible="true" Width="100%" runat="server"> 
              <ItemStyle CssClass="alignCenterTop" /> 
              <ItemTemplate> 
                <table width="100%" border="0" align="center"  cellpadding="0" cellspacing="0">
                  <tr > 
                    <td height="35" colspan="2" background="Images/labelbg.gif" style="border-bottom:1px #E0E0E0 solid;border-right:1px #E0E0E0 solid;border-top:1px #E0E0E0 solid;"> 
                      &nbsp; &nbsp;&nbsp;<b><span style="font-size:14px; font-weight:bold;>
                                      <font color="6699cc"> <a href="hf.aspx?rid=<%# DataBinder.Eval(Container.DataItem, "ReviewID") %>"> 
                      <%#DataBinder.Eval(Container.DataItem,"UserName")%></font> 
                      </a></span> &nbsp;&nbsp; 
                      <%#GetRatingg(Convert.ToInt32(DataBinder.Eval(Container.DataItem, "Score").ToString()))%>
                      </b> <font color="#999999"> &nbsp;&nbsp;&nbsp;&nbsp; 
                      <%#DataBinder.Eval(Container.DataItem,"AddTime")%>
                      </font></td>
                  </tr>
                  <tr> 
                    <td height="22" colspan="2">&nbsp; &nbsp; &nbsp;&nbsp;评： <a href="allPl.aspx?pid=<%#DataBinder.Eval(Container.DataItem, "ProductID") %>" target="_blank"><font color="#6699cc"> 
                      <%#Getpname(Convert.ToInt32(DataBinder.Eval(Container.DataItem, "ProductID").ToString())) %> <%#getserver(DataBinder.Eval(Container.DataItem, "Reply").ToString())%>
                  
                      </font></a></td>
                  </tr>
               
                  <tr> 
                    <td height="22"  colspan="2" ><span class="thumbnailTitle">&nbsp; 
                      &nbsp; &nbsp; <font color="#ff6600">内容：</font> 
                      <%#DataBinder.Eval(Container.DataItem,"Body")%>
                      </span></td>
                  </tr>
                  <tr> 
                    <td height="14"  colspan="2" ><table width="100%" border="0" cellpadding="0" cellspacing="0" style="border:1px #FFFFFF solid;">
                        <tr> 
                          <td height="1"> <asp:DataList ID="dlNewList" Runat=server RepeatColumns=1 DataSource=<%# Getallhf(Convert.ToInt32(DataBinder.Eval(Container.DataItem, "ReviewID").ToString()))%> Width="100%" RepeatLayout="flow"> 
                              <ItemTemplate> 
                                <table width="100%" border="0" cellpadding="0" cellspacing="0" style="border:1px #FFFFFF solid;">
                                  <tr> 
                                    <td width="16%" rowspan="2"><div align="center"><span class="hf"> 
                                        <%#Container.ItemIndex+1 %>
                                        </span>楼 </div></td>
                                    <td width="84%"><a href="AllNewPl.aspx?mid=<%#DataBinder.Eval(Container.DataItem,"mid")%>"> 
                                      <font color="6699cc"> 
                                      <%#Getmname(Convert.ToInt32(DataBinder.Eval(Container.DataItem, "mid").ToString()))%>
                                      </font> </a> 回复说：<font color="999999"> 
                                      <%#DataBinder.Eval(Container.DataItem,"addtime")%>
                                      </font></td>
                                  </tr>
                                  <tr> 
                                    <td> 
                                      <%# DataBinder.Eval(Container.DataItem, "hnr") %>
                                    </td>
                                  </tr>
                                </table>
                              </ItemTemplate>
                            </asp:DataList> </td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr> 
                    <td width="52%" height="28" >&nbsp; &nbsp; &nbsp; &nbsp; <a href='hf.aspx?rid=<%# DataBinder.Eval(Container.DataItem, "ReviewID") %>'> 
                      <img src='images/button_return.gif' border="0"></a> ( 
                      <%#Gethfn(Convert.ToInt32(DataBinder.Eval(Container.DataItem,"ReviewID"))) %>
                      ) </td>
                    <td width="38%" height="28" >&nbsp;</td>
                  </tr>
                </table>
              </ItemTemplate>
              <SeparatorStyle BorderColor="Red" BorderStyle="Solid" BorderWidth="1px" /> 
            </asp:DataList>
            <div > 
              <!-- 翻页-->
            </div>
            <p class="pagemenu" style="text-align: right"> <span> <br/>
              <br/>
              共 
              <asp:Literal ID="lttotal" runat="server"></asp:Literal>
              条，第 
              <asp:Literal ID="ltcurpage" runat="server">1</asp:Literal>
              页/共 
              <asp:Literal ID="lttotalpage" runat="server"></asp:Literal>
              页 </span> <span class="padd1"> 
              <asp:LinkButton ID="lbfirst" runat="server" OnClick="lbfirst_Click" ToolTip="第一页" ><img src="images/first-icon.gif" alt="第一页"/></asp:LinkButton>
              <asp:LinkButton ID="pre" runat="server"  ToolTip="上一页" OnClick="pre_Click" ><img src="images/left-icon.gif" id="IMG1" alt="上一页"/></asp:LinkButton>
              <asp:LinkButton ID="lbup" runat="server" OnClick="lbup_Click" CssClass="pageA">上一页</asp:LinkButton>
              <asp:LinkButton ID="lbdown" runat="server" OnClick="lbdown_Click" CssClass="pageA">下一页</asp:LinkButton>
              <asp:LinkButton ID="next" runat="server" ToolTip="下一页" OnClick="next_Click" ><img src="images/right-icon.gif"  alt="下一页"/></asp:LinkButton>
              <asp:LinkButton ID="lblast" runat="server" OnClick="lblast_Click" ToolTip="最后一页"><img src="images/last-icon.gif"  alt="最后一页"/></asp:LinkButton>
              </span> <br/>
              <br/>
              <br/>
            </p>
            <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>
