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

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
	<title><%=eds.UserName%> －评论回复 - <%=config.SiteTitle %> </title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

	
<meta http-equiv="content-type" content='text/html;charset=utf-8'/>
<meta name="description" content="<%=config.MetaDescription %>"/> 
<meta name="keywords" content="<%=config.MetaKeywords %>"/>
<link href="img/css/base.css" rel="stylesheet" type="text/css" media="all" />
<link href="img/css/v7.css" rel="stylesheet" type="text/css" media="all" />
<link href="img/css/index.css" rel="stylesheet" type="text/css" media="all" />
<link href="img/css/style.css" rel="stylesheet" type="text/css" media="all" />
 <script type="text/javascript">
 function SetCwinHeight(cs){
  var bobo=document.getElementById(cs); //iframe id
  if (bobo){
   if (bobo && !window.opera){
    if (bobo.contentDocument && bobo.contentDocument.body.offsetHeight){
     bobo.height = bobo.contentDocument.body.offsetHeight;
    }else if(bobo.Document && bobo.Document.body.scrollHeight){ bobo.height = bobo.Document.body.scrollHeight-0;
         }
   }
    else
    {
        if(bobo.contentWindow.document && bobo.contentWindow.document.body.scrollHeight)
            bobo.height = bobo.contentWindow.document.body.scrollHeight;//Opera
    }
  }
 }
</script>
    </head>
	<body>
		<noscript>


</noscript>

     	<iframe id=head src="modHtml/header.html" onload="Javascript:SetCwinHeight('head')" width=100% height="180"  frameborder=no border=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=no></iframe>

		<!--头部导航条开始-->
		
		<!--头部导航条结束-->
		<div style="width:990px;margin:0px auto;">


 <div class="news_dt">
    <ul>
    <li class="dt_left"></li>
      <li class="dt_bg">
        <div align="left" style="font-weight: normal;"> 你目前的位置:&nbsp;<a href="Default.html" target="_blank">首页</a> → <%=eds.UserName%>的评论回复</div>
      </li>
      <li class="dt_right"></li>
    </ul>
    </div>
<table width="100%" cellpadding="0" cellspacing="0" id="middle" >
  <tr align="left" valign="top">
				

    <td> 
      <!--商品列表开始--> 
	  <div class='mframe'>

		  <table width="100%" cellspacing="0" cellpadding="0">
							<tr>
								<td class="ml"></td>
								
            <td>
			          <table width="100%" cellspacing="0" cellpadding="0">
          <tr>
							
								<td >
									<table width="100%" cellpadding="0" cellspacing="0" border="0">
										<tr>
											
                          <td  valign="top" > 
                            <div >
								
                                                </div>
                                           
                                               
						
														
                              <div > 
                                <table width="75%" border="0" cellpadding="0" cellspacing="0">
                                  <tr>
                                    <td height="6">
									</td>
                                  </tr>
                                </table>
                                
                            <table width="100%" border="0" align="center"  cellpadding="6" cellspacing="0">
                              <tr > 
                                <td height="35"  style="border-bottom:1px #DADADA solid;border-left:1px #DADADA solid;border-top:1px #DADADA solid;">&nbsp; 
                                  &nbsp; &nbsp; <b> 标题： 
                                  <%=eds.UserName%>
                                  &nbsp;&nbsp; 评分： 
                                  <%=GetRatingg(Convert.ToInt32(eds.Score))%>
                                  </b>&nbsp;&nbsp;发布者： <a href="AllNewPl.aspx?mid=<%=eds.MemberID%>"> 
                                  <font color="6699cc"> 
                                  <%=Getmname(eds.MemberID)%>
                                  </font> </a>&nbsp;&nbsp; 会员等级： 
                                  <%=Getgname(eds.MemberID)%>  
                                </td>
                                <td  style="border-bottom:1px #DADADA solid;border-right:1px #DADADA solid;border-top:1px #DADADA solid;"> 
                                  <font color="#999999">
                                  <%=eds.AddTime%>
                                  </font> </td>
                              </tr>
                               <tr> 
                                <td height="28" colspan="2">&nbsp; &nbsp; &nbsp; 
                                评：<a href="allPl.aspx?pid=<%=eds.ProductID %>" target="_blank"><font color="#6699cc"> 
                      <%=Getpname(eds.ProductID) %>     </font></a>     <%=getserver(eds.Reply)%>
                    
                                </td>
                              </tr>
                           
                              <tr> 
                                <td height="28"  colspan="2" ><span class="thumbnailTitle" style="line-height:23px;">&nbsp; 
                                  &nbsp; &nbsp; <font color="#ff6600">内容：</font> 
                                 <%=eds.Body %>
                                  </span></td>
                              </tr>
                         
                              <tr>
                                <td height="14"  colspan="2" >
                                <table width="100%" border="0" align="center" cellpadding="6">
                                    <tr>
                                      <td> <asp:DataList ID="dlNewList" Runat=server RepeatColumns=1 ItemStyle-VerticalAlign=Top Width="100%"> 
                                          <ItemTemplate> 
                                            <table width="100%" border="0" cellpadding="6" cellspacing="6" style="border-top:1px #E0E0E0 solid;">
                                              <tr> 
                                              <td width="11%" rowspan="2"><div align="center"><span class="hf"> 
                                                    <%#Container.ItemIndex+1 %>
                                                    </span>楼 </div></td>
                                              <td width="89%"><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>
                                          <ItemStyle VerticalAlign="Top" />
                                        </asp:DataList> 
										</td>
                                    </tr>
                                  </table></td>
                              </tr>
                              <tr> 
                                <td height="28" colspan="2" >&nbsp; &nbsp; &nbsp; 
                                  &nbsp; <a href='hf.aspx?rid=<%=eds.ReviewID %>'> 
                                  <img src='images/button_return.gif' border="0"></a> 
                                  (<%=Gethfn(Convert.ToInt32(eds.ReviewID))%>) </td>
                              </tr>
                            </table>
                              </div>
									
                                              
													<div >
												  <!-- 翻页-->
											  </div>
						
													
                    </td>
									  </tr>
									</table>
																	</td>
							
							</tr>
						</table></td>
							
							</tr>
						</table>
			
	<form id="reviewForm" action='?rid=<%=base.Request.QueryString["rid"].ToString() %>&cz=hf' method="post" onsubmit="return checkRemark();">	
    <script type="text/javascript" language="javascript">
 	function checkRemark()	
	{
		var form=document.getElementById("reviewForm");	
		
			if (form.email.value=="")
			{	
			alert("请填写回复内容！");		
			form.email.focus();		
			return false;	
			}	
			if (form.email.value.length>500)
			{	
			alert("回复内容不能超过500个字符！");		
			form.email.focus();		
			return false;	
			}	
	}
 	
			  
	 function showLen1(obj)	
	{		
	document.getElementById("emaillen").value=obj.value.length;	
	}	  

     </script>
          <table width="65%" border="0" align="center" cellpadding="0" cellspacing="0" >
            <tr> 
              <td height="29" bgcolor="#FFFF99" style="border:1px #CCCCCC solid;"> 
                <div > 
                  <div align="left"><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;提示：1、填写回复内容均不能超过500个字节!!!</font></div>
                </div></td>
            </tr>
            <tr> 
              <td height="46" ><br>
                回复内容：</td>
            </tr>
            <tr> 
              <td>&nbsp;</td>
            </tr>
            <tr> 
              <td height="78" > 
                <textarea name="email" cols="80" rows="4" id="email" onkeydown="showLen1(this)" onkeyup="showLen1(this)"></textarea> 
                <input name="text2" type="text" id="emaillen" style="border-width:0;background:transparent;" size="4"/> 
              </td>
            </tr>
            <tr>
              <td height="48" >验证码: 
                <input type="text" id="Text1" name="CheckNum" value="" maxlength="90" size="10"/>&nbsp    <img id="safecode" width="100px" height="25px" src="Handler.ashx" onClick="this.src='Handler.ashx?t='+Math.random()" title="点击更换验证码" style="cursor:pointer;" ></td>
            </tr>
            <tr> 
              <td><div > <br />
                  <input type="image" src="img/submit_1.gif"/>
                  <br />
                  <br />
                </div></td>
            </tr>
          </table>
  </form>
						</td></tr></table>
			   
</div>			
			

	
	    <iframe id="help" src="modHtml/helper.html"   onload="Javascript:SetCwinHeight('help')" width=100% frameborder=no  MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=no></iframe>
	
    <script language="JavaScript" src="stat.aspx" type="text/JavaScript"></script>


					<!--商品列表结束-->
	</body>
</html>
