<!--#include file="conn.asp"-->
<!--#include file="config.asp"-->

<%
e_password=trim(checkstr(Request("e_password")))
acceptnum=trim(checkstr(Request("acceptnum")))

set rs=server.CreateObject("ADODB.RecordSet")
sql1="select * from "& db_wygkcn_Complain_Table &" where e_password='"&e_password &"' and acceptnum='"&acceptnum&"'"
rs.Open sql1,conn,1,1

%>
<!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>
<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>
</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">
<%
if rs.eof then
Response.write "<tr><td height=100 align=center bgcolor=#FFFFFF><font color=red>您输入的受理号或知情密码错误！</font></td><tr>"
else
  if rs("Checked")=1 then   
%>
          <tr>
            <td height="24" 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">&nbsp;<%=rs("Topic") %></td>
          </tr>
          <tr>
            <td height="26" align="center">举报类型： </td>
            <td height="26" align="left">&nbsp;&nbsp;<%=rs("ComplainClass") %></td>
          </tr>
          <tr>
            <td height="29" align="center">举报内容：</td>
            <td height="29" valign="top" class="content_text"><%=trim(rs("content"))%></td>
          </tr>
          <tr>
            <td height="27" 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">&nbsp;&nbsp;<%=rs("b_name") %></td>
          </tr>
          <tr>
            <td width="14%" height="27" align="center">法定代表人： </td>
            <td width="86%" height="27" align="left">&nbsp;&nbsp;<%=rs("b_person") %></td>
          </tr>
          <tr>
            <td width="14%" height="27" align="center">联系电话： </td>
            <td width="86%" height="27" align="left">&nbsp;&nbsp;<%=rs("b_tel") %></td>
          </tr>
          <tr>
            <td width="14%" height="27" align="center">联系地址： </td>
            <td width="86%" height="27" align="left">&nbsp;&nbsp;<%=rs("b_adress") %></td>
          </tr>
          <tr>
            <td height="27" 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">&nbsp;&nbsp;<%=rs("yourname") %></td>
          </tr>
          <tr>
            <td width="14%" height="27" align="center">联系电话：</td>
            <td width="86%" height="27" align="left">&nbsp;&nbsp;<%=rs("telephone") %></td>
          </tr>
          <tr>
            <td width="14%" height="27" align="center">联系地址：</td>
            <td width="86%" height="27" align="left">&nbsp;&nbsp;<%=rs("address") %></td>
          </tr>
          <tr>
            <td width="14%" height="27" align="center">手机：</td>
            <td width="86%" height="27" align="left">&nbsp;&nbsp;<%=rs("mobile") %></td>
          </tr>
          <tr>
            <td width="14%" height="27" align="center">E-mail： </td>
            <td width="86%" height="27" align="left">&nbsp;&nbsp;<%=rs("email") %></td>
          </tr>
          <tr>
            <td width="14%" height="27" align="center">回复方式： </td>
            <td width="86%" height="27" align="left">&nbsp;&nbsp;
                <%if rs("classid")=-1 then%>
              e-mail
              <%else%>
              短信
              <%end if%></td>
          </tr>
          <tr>
            <td height="29" colspan="2" align="center" class="black_title"><STRONG class="black_title">处理情况</STRONG> </td>
          </tr>
          <tr>
            <td height="25" align="center">处理状态：</td>
            <td height="25" align="left">&nbsp;&nbsp;
                <%if trim(rs("HaveReply"))=1 then %>
                <font color=red >已办结</font>
                <%else%>
              未办结
              <%end if%>
            </td>
          </tr>
          <tr>
            <td height="30" align="center">回复时间：</td>
            <td height="30" align="left">&nbsp;&nbsp;
                <%if trim(rs("HaveReply"))=1 then %>
                <%=trim(rs("ReplyTime"))%>
                <%else%>
                <font color=red >请耐心等待回复！</font>
              <%end if%></td>
          </tr>
          <tr>
            <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>
<%
  else
  Response.write "<tr><td height=100 align=center bgcolor=#FFFFFF><font color=red>您的投诉 举报还未通过审核，请耐心等待！</font></td><tr>"
  end if
end if				
%>	
      </table>
</div>
</div>
</div>
<!--右边部分结束-->
<div class=clear_float></div><!--清除浮动属性-->
</div>
<!--中间内容部分结束-->
<!--#include file="bottom.asp"-->
</div>
<!--内容部分结束-->
</body>
</html>