<!-- #include file="../inc/checkadmin.asp" -->
<!-- #include file="../inc/conn.asp" -->
<!-- #include file="inc/Config.asp" -->

<!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">
 <head>
		
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		
		<title>回复说说评论 -<%=admin_name%></title>
		
		<!--                       CSS                       -->
	  
		<!-- Reset Stylesheet -->
		<link rel="stylesheet" href="images/css/reset.css" type="text/css" media="screen" />
	  
		<!-- Main Stylesheet -->
		<link rel="stylesheet" href="images/css/style.css" type="text/css" media="screen" />
		
		<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
		<link rel="stylesheet" href="images/css/invalid.css" type="text/css" media="screen" />	
		
		<!-- Colour Schemes
	  
		Default colour scheme is green. Uncomment prefered stylesheet to use it.
		
		<link rel="stylesheet" href="images/css/blue.css" type="text/css" media="screen" />
		
		<link rel="stylesheet" href="images/css/red.css" type="text/css" media="screen" />  
	 
		-->
		
		<!-- Internet Explorer Fixes Stylesheet -->
		
		<!--[if lte IE 7]>
			<link rel="stylesheet" href="images/css/ie.css" type="text/css" media="screen" />
		<![endif]-->
		
		<!--                       Javascripts                       -->
  
		<!-- jQuery -->
		<script type="text/javascript" src="images/scripts/jquery-1.3.2.min.js"></script>
		
		<!-- jQuery Configuration -->
		<script type="text/javascript" src="images/scripts/simpla.jquery.configuration.js"></script>
		
		<!-- Facebox jQuery Plugin -->
		<script type="text/javascript" src="images/scripts/facebox.js"></script>
		
		<!-- jQuery WYSIWYG Plugin -->
		<script type="text/javascript" src="images/scripts/jquery.wysiwyg.js"></script>
		
		<!-- jQuery Datepicker Plugin -->
		<script type="text/javascript" src="images/scripts/jquery.datePicker.js"></script>
		<script type="text/javascript" src="images/scripts/jquery.date.js"></script>
		<!--[if IE]><script type="text/javascript" src="images/scripts/jquery.bgiframe.js"></script><![endif]-->

		
		<!-- Internet Explorer .png-fix -->
		
		<!--[if IE 6]>
			<script type="text/javascript" src="images/scripts/DD_belatedPNG_0.0.7a.js"></script>
			<script type="text/javascript">
				DD_belatedPNG.fix('.png_bg, img, li');
			</script>
		<![endif]-->
		
	</head>
  
	<body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
		<!-- #include file="Menu.asp" -->
		 <!-- End #sidebar -->
		
		<div id="main-content"> <!-- Main Content Section with everything -->
      			<noscript> <!-- Show a notification if the user has disabled javascript -->
				<div class="notification error png_bg">
					<div>
						亲爱的，你的浏览器不支持。请升级您的浏览器。</div>
				</div>
</noscript>
			
			<!-- Page Head -->
			<div class="content-box">
			  <!-- Start Content Box -->
			  <div class="content-box-header">
			    <h3>回复说说评论</h3>
			    <ul class="content-box-tabs">
			      <li></li>
			      <!-- href must be unique and match the id of target div -->
		        </ul>
			    <div class="clear"></div>
		      </div>
			  <!-- End .content-box-header -->
			  <div class="content-box-content">
			    <div class="tab-content default-tab" id="tab1">
			      <!-- This is the target div. id must match the href of this div's tab -->
			      <div class="notification attention png_bg"> <a href="#" class="close"><img src="images/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
			        <div> 操作提示：在这里您可以对网站的评论或者留言进行回复。</div>
		          </div>
  <table width="83%" class="biaoge">
    <thead>
    </thead>
    <tbody>
<%
id=request.QueryString("id")
set rs=server.createobject("adodb.recordset")
sql="select * from web_shuoshuo_comment where su_id="&id&""
rs.open(sql),conn,1,1
su_id=rs("su_id")
su_sid=rs("su_sid")
su_name=rs("su_name")
su_mail=rs("su_mail")
su_url=rs("su_url")
su_ip=rs("su_ip")
su_content=rs("su_content")
su_recontent=rs("su_recontent")
su_huifutz=rs("su_huifutz")
su_time=rs("su_time")
su_retime=rs("su_retime")
su_view=rs("su_view")
su_touxiang=rs("su_touxiang")
rs.close
set rs=nothing
%>
    

      <form id="form1" name="form1" method="post" action="ReplyPost_shuo.asp?id=<%=id%>">
      <tr>

        <td colspan="2"><strong>回复说说</strong></td>
        
      </tr>
              <tr>
        <td width="15%" height="42">说说标题：</td>

<% 
set rs=server.createobject("adodb.recordset")
sql="select * from web_shuoshuo where s_id="&su_sid&""
rs.open(sql),conn,1,1
s_id=rs("s_id")
s_content=rs("s_content")
rs.close
set rs=nothing
%>
        <td width="55%"><a href="../shuos/??<%=su_sid%>.html#Comment-<%=su_id%>" target="_blank"><%=left(s_content,15)%>...</a></td>

        
        </tr>
        
            <tr >
        <td>昵称（Name）：</td>
        <td><input name="su_name" type="text" class="text1" id="su_name" value="<%=su_name%>" size="30" /></td>
        
        </tr>
        
              <tr>
        <td>邮箱（E-mail）：</td>
        <td><input name="su_mail" type="text" class="text1" id="web_title" value="<%=su_mail%>" size="30" /></td>
        
        </tr>

                      <tr >
          <td>网站（Website）：</td>
        <td><input name="su_url" type="text" class="text1" id="su_url" value="<%=su_url%>" size="30" /></td>
        
        </tr>
           <tr >
          <td>头像（Head portrait）：</td>
        <td><input name="su_touxiang" type="text" class="text1" id="su_touxiang" value="<%=su_touxiang%>" size="30" /></td>
        
        </tr>
                      <tr>
        <td>位置（Position）：</td>
<% 
set rs=server.createobject("adodb.recordset")
query="select top 1 country from user_ip where (ip1<=" &su_ip& " and ip2>=" &su_ip&")"
rs.open query,conn,1,1
If rs.bof And rs.eof Then
country="未知地址"
else
country=rs("country")
rs.close
set rs=nothing
end if
%> 
        <td><%=country%></td>
        
        </tr>
                      <tr >
        <td>通知（Notification）：</td>
        <td><input name="su_huifutz" type="radio" id="radio" value="1"  <% if su_huifutz=1 then response.write "checked='checked'" end if%>/>
          发送
            <input type="radio" name="su_huifutz" id="radio2" value="0" <% if su_huifutz<>1 then response.write "checked='checked'" end if%>/>
不发送 </td>
        
        </tr>
 
                              <tr>
                                <td>内容（Content）：</td>
                                <td><textarea name="su_content" cols="65" rows="5" class="text5" id="su_content"><%=su_content%></textarea></td>
                                
          </tr>
                        <tr >
          <td>时间（Time）：</td>
        <td><%=su_time%></td>
        
        </tr>
                                      <tr>
        <td>回复（Reply）：</td>
        <td><textarea name="su_recontent" cols="65" rows="5" class="text5" id="su_recontent"><%=su_recontent%></textarea></td>
        
        </tr>
                                      <tr >
        <td>时间（Time）：</td>
        <td><%=su_retime%></td>
        
        </tr>
        			          <tr >
			            <td>是否显示</td>
			            <td><input name="su_view" type="radio" id="radio" value="1" <%if su_view=1 then response.write "checked='checked'" end if%> />
			              显示
			              <input type="radio" name="su_view" id="radio2" value="0" <%if su_view=0 then response.write "checked='checked'" end if%>/>
			              隐藏</td>
		              </tr>
        
                              <tr >
                              <td></td>
                                
                                <td>
                                  <input type="submit" name="button" id="button" value="提交" />
                                  &nbsp; 
                                  <input type="reset" name="button2" id="button2" value="重置" />
                                </td>
                                
          </tr>
        </form>
  </table>
			    </div>
			    <!-- End #tab1 -->
			    <div class="tab-content" id="tab2"></div>
			    <!-- End #tab2 -->
		      </div>
		  <!-- End .content-box-content --></div> <!-- End .clear --><!-- End .content-box --><!-- End .content-box --><!-- End .content-box -->

			
			
			<!-- Start Notifications --><!-- End Notifications -->
			
<div id="footer">
				<small> <!-- Remove this notice or replace it with whatever you want -->
						<%=Copyright%>
				</small>
			</div><!-- End #footer -->
			
		</div> <!-- End #main-content -->
		
	</div></body>
  

</html>
<!-- #include file="../inc/close.asp" -->