<%@ Register TagPrefix="uc1" TagName="Footer" Src="../../Modules/Footer.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Helper" Src="Modules/Helper.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Modules/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="NavBar" Src="Modules/NavBar.ascx" %>
<%@ Register TagPrefix="uc1" TagName="MemberMenu" Src="Modules/MemberMenu.ascx" %>
<%@ Page language="c#" Codebehind="OrderFeedback.aspx.cs" AutoEventWireup="false" Inherits="wqeshop.OrderFeedback" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<!--#include file="../../inc/head.inc"-->
<title><%=GetResourceString("OrderWord")%>-<%=config.SiteTitle%></title>
</head>
<body>
<form id="Form1" method="post" runat="server">
  <!--头部导航条开始-->
  <uc1:Header id="Header1" runat="server"></uc1:Header>
  <!--头部导航条结束-->
  <div class="twidth">
    <!--当前位置开始-->
    <div id="cnav">
      <div class="l"></div>
      <div class="r"></div>
      <div class="m"><%=GetResourceString("WhereYouAre")%><a href='/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%><%if(config.html==""){%>Default.aspx<%}else{%>index.<%=config.html%><%}%>'><%=GetResourceString("Home")%></a> <font face="Times New Roman, Times, serif">>></font> <a href="MemberCenter.aspx"><%=GetResourceString("MemberCenter")%></a> <font face="Times New Roman, Times, serif">>></font> <a href="MyOrders.aspx"><%=GetResourceString("MyOrders")%></a> <font face="Times New Roman, Times, serif">>></font> <%=GetResourceString("OrderWord")%></div>
    </div>
    <!--当前位置结束-->
    <div id="middle">
      <div class="middlel">
        <!--会员中心导航开始-->
        <uc1:MemberMenu id="MemberMenu1" runat="server"></uc1:MemberMenu>
        <!--会员中心导航结束-->
        <!--订单反馈开始-->
        <div class="lframe">
          <div class="tl"></div>
          <div class="tr"></div>
          <div class="tm"><span class="tt"><%=GetResourceString("OrderFeedback")%></span></div>
          <div class="wrapper"><div class="ml"></div>
          <div class="mr"></div>
          <div class="mm"><%=GetFeedback()%></div>
          </div><div class="bl"></div>
          <div class="br"></div>
          <div class="bm"></div>
        </div>
      </div>
      <div class="middler">
        <div class="mframe">
          <div class="tl"></div>
          <div class="tr"></div>
          <div class="tm"><span class="tt"><%=GetResourceString("OrderWord")%></span></div>
          <div class="wrapper"><div class="ml"></div>
          <div class="mr"></div>
          <div class="mm">
            <table width="100%" cellspacing="0" cellpadding="0">
              <tr>
                <td width="10" height="20"></td>
                <td align="center" valign="middle"></td>
                <td width="10"></td>
              </tr>
              <tr>
                <td width="10"></td>
                <td align="center"><table width="100%">
                    <% if(Request.QueryString["type"] != null) {%>
                    <tr>
                      <td width="10%" align="right"><%=GetFBType()%>：</td>
                      <td><%=GetContent()%></td>
                    </tr>
                    <tr>
                      <td align="right"><%=GetResourceString("Content")%>：</td>
                      <td><asp:TextBox id="txtContent" runat="server" TextMode="MultiLine" Width="313px" Height="112px"></asp:TextBox></td>
                    </tr>
                    <tr>
                      <td></td>
                      <td height="50" align="center" valign="middle"><asp:Button id="btnSent" runat="server" Text="提 交"></asp:Button></td>
                    </tr>
                    <tr>
                      <td colspan="2" height="10"></td>
                    </tr>
                    <% }%>
                    <tr>
                      <td colspan="2"><b><%=GetResourceString("OrderList")%></b><br />
                        <%BindReviews(5);%>
                        <asp:DataList ID="dlGuest" Runat="server" RepeatColumns="1" Width="100%">
                          <ItemStyle BackColor="#ffffff"></ItemStyle>
                          <ItemTemplate>
                            <table width="100%" cellpadding="1" cellspacing="1" border="0" align="center" bgcolor="#cccccc">
                              <tr>
                                <td width="25%" bgcolor="#F6F6F6" align="center"><a href="#" onclick='printOrder(<%# DataBinder.Eval(Container.DataItem, "OID") %>)'><%=GetResourceString("OrderNo")%>：<%# GetOrderNo(DataBinder.Eval(Container.DataItem, "OID").ToString()) %></a></td>
                                <td width="75%" bgcolor="#ffffff"><table width="100%">
                                    <tr>
                                      <td><%# DataBinder.Eval(Container.DataItem, "Body") %><br />
                                        <font color="#C1C1C1"> <%# DataBinder.Eval(Container.DataItem, "AddTime") %> </font> </td>
                                    </tr>
                                    <tr>
                                      <td><hr noshade color="#333333" size="1" style="border-style: dotted; border-width: 1" width="100%">
                                      </td>
                                    </tr>
                                    <tr>
                                      <td><b><%=GetResourceString("Reply")%>：</b><br />
                                        <%# DataBinder.Eval(Container.DataItem, "Reply") %> </td>
                                    </tr>
                                  </table></td>
                              </tr>
                            </table>
                          </ItemTemplate>
                        </asp:DataList>
                        <script type="text/javascript">
						function printOrder(oid)
						{
							temp=window.open('OrderPrint.aspx?OrderID='+oid,'shopcat','width=700,height=650,scrollbars=yes');
							temp.focus();
						}
																</script>
                        <!-- 翻页开始-->
                        <table width="100%">
                          <tr>
                            <td><asp:hyperlink id="hplPrev" runat="server">上一页</asp:hyperlink>
                              [&nbsp;
                              <asp:Label ID="lbPage" Runat="server"></asp:Label>
                              &nbsp;]
                              <asp:hyperlink id="hplNext" runat="server">下一页</asp:hyperlink>
                            </td>
                            <td align="right"><asp:label id="lblPagerInfo" runat="server"></asp:label>
                              &nbsp;&nbsp;&nbsp;&nbsp;
                              <input type="text" name="gopage" class="inputbg" size="1">
                              <input type="submit" value="Go" onclick="GoPage()">
                              <script type="text/javascript">
																				function GoPage() 
																				{ 
																					javascript:window.location.href="OrderFeedback.aspx?Page=" + document.all.gopage.value;
																				}
																			</script>
                            </td>
                          </tr>
                        </table>
                        <!-- 翻页结束-->
                      </td>
                    </tr>
                  </table></td>
                <td width="10"></td>
              </tr>
              <tr>
                <td colspan="3" height="20"></td>
              </tr>
            </table>
          </div>
          </div><div class="bl"></div>
          <div class="br"></div>
          <div class="bm"></div>
        </div>
      </div>
    </div>
  </div>
</form>
<uc1:Helper id="Helper1" runat="server"></uc1:Helper>
<uc1:Footer id="Footer1" runat="server"></uc1:Footer>
</body>
</html>
