<!--#include file="conn.asp"-->
<!--#include file="config.asp"-->
<%
    ComplainID=ChkRequest(request("ComplainID"),1)	'防注入
	if ComplainID="" then
	Show_Err("请输入您要查看的投诉举报ID!<br><br>－－－<a href='javascript:history.back()'>回去重来</a>－－－")
	response.end
	end if	
	
    Set RS=Server.CreateObject("ADODB.Recordset")
	SQL ="select * from "& db_wygkcn_Complain_Table &" where Checked=1 and  ComplainID="&ComplainID
	Rs.Open Sql,Conn,1,1
			
	if rs.EOF then
	Show_Err("非法ID，请确认投诉举报是否存在或者您的投诉举报未通过审核，请耐心等待!<br><br>－<a href='javascript:history.back()'>回去重来</a>－")
	Response.End
	end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="gb2312">
<head>
<meta name="Description" content="<%=SiteDescription%>">
<meta name="keywords" content="<%=SiteKeywords%>">
<title>阅读投诉举报信息__<%=eChSys_Com%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="CSS/Wygkcn_Home.css" rel="stylesheet" type=text/css>
<LINK href="CSS/Wygkcn_News.css" rel="stylesheet" type=text/css>
<script LANGUAGE="javascript">
	<!--
	function myform_onsubmit() {
	var i, n;
	if (document. myform.acceptnum.value=="")
		{
		  alert("对不起，请输入受理号！")
		  document. myform.acceptnum.focus()
		  return false
		 }
	else if (document. myform.e_password.value=="")
		{
		  alert("对不起，请输入知情密码！")
		  document. myform.e_password.focus()
		  return false
		 }
	}
	
	//-->
	</script>
</head>
<body>
<!--内容部分开始-->
<div id="EC_Content">
<!--#include file="Top.asp"-->
<!--中间内容部分开始-->
<div id=zl_center>
<!--左边部分开始-->
<div class="zl_left float_left">
<div class="E_c_dl_dh">
<H3>交流互动</H3>
<DIV class=E_c_dl_name>
<ul>
<li><a href="wygkcn_LeadMail.asp">校长信箱</a></li>
<li><a href="Complain.asp">投诉举报</a></li>

<li><a href="wygkcn_GuestBook.asp" target="_blank">留言咨询</a></li>
</ul>
</div>
</div>
<div class="new_art lianmu_bg">
<H3>最新办结投诉举报</H3>
<DIV class=new_art_list>
<ul class=list>
<%
	set rs_new=server.CreateObject("ADODB.RecordSet")
	rs_new.Source="select top 8 * from "& db_wygkcn_Complain_Table &"  where Checked=1 and HaveReply=1 order by ComplainID desc"	
	rs_new.Open rs_new.Source,conn,1,1
	If Not rs_new.eof then
    do until rs_new.Eof
	topic=trim(rs_new("topic"))
	DisplayTopic=mid(Topic,1,20)
%>
<li>·<a href='wygkcn_ReadComplain.asp?ComplainID=<%=rs_new("ComplainID")%>' target="_blank"><%=htmlencode(DisplayTopic)%>...</a></li>
<%
rs_new.MoveNext
loop
else
Response.write "<li>·暂无办结投诉举报！</li>"				
End If
%>
</ul>
</div>
</div>

</div>
<!--左边部分结束-->

<!--右边部分开始-->
<div class="zl_right float_right">

<!--位置导航部分开始-->
<div class="position">
<img src="Images/lm_dot.gif" width="11" height="11">&nbsp;&nbsp;您的位置&nbsp;&nbsp;<a href="./" >首页</a> >> <a href="wygkcn_Conmunicate.asp">交流互动</a> >> <a href="Complain.asp">投诉举报</a> >>查看投诉举报</div>
<!--位置导航部分结束-->
<div id=hd_cnt>
<H6>查看投诉举报详情</H6>
<div class="list_hdcnt">
<table width="100%" align="center" cellpadding="0" cellspacing="0" border="1" bordercolor="#BBBBBB">
        <tr >
          <td colspan="2" align="center" class="bs_bg">
		 请输入知情密码查看投诉举报详情
		  </td>
        </tr>
		  <tr >
          <td height="30" colspan="2" align="center" >
		    <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0">
					  <form method="post" name="myform"   LANGUAGE="javascript"  action="wygkcn_Complain_Result.asp" target="_blank" onSubmit="return myform_onsubmit()">
            <tr>
              <td width="13%">受理号： </td>
              <td width="27%"><input name="acceptnum" type="text" id="acceptnum" value="<%=rs("acceptNum")%>" size="20"></td>
              <td width="10%">知情密码：</td>
              <td width="31%"><input name="e_password" type="password"  id="e_password"  size="20"></td>
              <td width="19%"><input name="Submit" type="submit" id="Submit"  value="搜 索" ></td>
            </tr> </form>
          </table>
		 
		  </td>
        </tr>
        <tr>
          <td height="26" colspan="2" align="center" class="black_title">举报内容</td>
        </tr>
        <tr >
          <td width="14%" height="27" align="center">举报标题： </td>
          <td width="86%" height="27" align="left" class="TDtop"> &nbsp;&nbsp;<%=rs("Topic") %></td>
        </tr>
        <tr class="TDtop">
          <td height="26" align="center">举报类型： </td>
          <td height="26" align="left" class="TDtop">&nbsp;&nbsp;<%=rs("ComplainClass") %></td>
        </tr>
        <tr class="TDtop">
          <td height="29" align="center">举报内容：</td>
          <td height="29" valign="top" class="content_text"><%=trim(rs("content"))%></td>
        </tr>
        <tr>
          <td height="29" colspan="2" align="center" class="black_title"><STRONG class="black_title">处理情况</STRONG> </td>
        </tr>
        <tr class="TDtop">
          <td height="25" align="center">处理状态：</td>
          <td height="25" align="left" class="TDtop">&nbsp;&nbsp;
		            <%if trim(rs("HaveReply"))=1 then %>
                    <font color=red >已办结</font>
                    <%else%>
					 未办结 
              <%end if%>                </td>
        </tr>
        <tr class="TDtop">
          <td height="30" align="center">回复时间：</td>
          <td height="30" align="left" class="TDtop">&nbsp;&nbsp;
            <%if trim(rs("HaveReply"))=1 then %>
            <%=trim(rs("ReplyTime"))%>
            <%else%>
            <font color=red >请耐心等待回复！</font>
            <%end if%></td>
        </tr>
        <tr class="TDtop">
          <td height="25" align="center">回复内容：</td>
          <td height="25" align="left" class="content_text"><%if trim(rs("HaveReply"))=1 then %>
              <%=trim(rs("ReplyContent"))%>
              <%else%>
              <font color=red >请耐心等待回复！</font>
          <%end if%></td>
        </tr>
    </table>
</div>
</div>
</div>
<!--右边部分结束-->
<div class=clear_float></div><!--清除浮动属性-->

</div>
<!--中间内容部分结束-->
<!--#include file="bottom.asp"-->
</div>
<!--内容部分结束-->
</body>
</html>