<!--#include file="conn.asp"-->
<!--#include file="check.asp"-->
<!--#include file="school_info.asp"-->
<!--#include file="../inc/setup.asp"-->
<!--#include file="../inc/char.asp"-->
<!--#include file="../inc/sql.asp"-->
<%
	End If
	action=ReplaceBadChar(Trim(Request.QueryString("action")))
	if action="refresh" then
		conn.execute ("update school set refresh=getdate() where id="&ReplaceBadChar(Request.Cookies("admin_school_id"))&"")
		response.write"<SCRIPT language=JavaScript>alert('数据刷新成功，现在为您返回');"
		response.write"this.location.href='main.asp';</SCRIPT>"
		response.end
	elseif action="close" then
		conn.execute ("update school set hideuser=1 where id="&ReplaceBadChar(Request.Cookies("admin_school_id"))&"")
		response.write"<SCRIPT language=JavaScript>alert('屏蔽帐号成功，现在为您返回');"
		response.write"this.location.href='main.asp';</SCRIPT>"
		response.end
	elseif action="open" then
		conn.execute ("update school set hideuser=0 where id="&ReplaceBadChar(Request.Cookies("admin_school_id"))&"")
		response.write"<SCRIPT language=JavaScript>alert('激活帐号成功，现在为您返回');"
		response.write"this.location.href='main.asp';</SCRIPT>"
		response.end
	end if
	notice_type=3
	
%>
<!--#include file="../inc/notice.asp"-->
<HTML>
<head>
<meta http-equiv=Content-Language content=zh-cn>
<meta http-equiv=Content-Type content=text/html; charset=gb2312>
<link href="images/1.css" rel="stylesheet" type="text/css">
<link href="images/2.css" rel="stylesheet" type="text/css">
<script language="javascript">
function openScript(url, width, height){
	var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
}
</script>
</head>
<body topmargin="0">
<%
	set rs=server.createobject("adodb.recordset")
	sql="select * from school where sname='"&ReplaceBadChar(Request.Cookies("admin_school_name"))&"'"
	rs.open sql,conn,1,1
	if rs.eof then
		response.write"<SCRIPT language=JavaScript>alert('非法操作！');"
		response.write"this.location.href='login.asp';</SCRIPT>"
		response.end
	else
		set rs1=server.createobject("adodb.recordset")
		sql1="select * from school_book where sid="&ReplaceBadChar(Request.Cookies("admin_school_id"))&""
		rs1.open sql1,conn,1,1
		cmailnum=rs1.recordcount
		if cmailnum="" then cmailnum=0
		rs1.close                                                                    
		set rs1=nothing
		set rs1=server.createobject("adodb.recordset")
		sql1="select * from subject where sid="&ReplaceBadChar(Request.Cookies("admin_school_id"))&""
		rs1.open sql1,conn,1,1
		subjectnum=rs1.recordcount
		if subjectnum="" then subjectnum=0
		rs1.close                                                                    
		set rs1=nothing
		set rs1=server.createobject("adodb.recordset")
		sql1="select * from school_photo where sid="&ReplaceBadChar(Request.Cookies("admin_school_id"))&""
		rs1.open sql1,conn,1,1
		photonum=rs1.recordcount
		if photonum="" then photonum=0
		rs1.close                                                                    
		set rs1=nothing
%>
<table width="550"  border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="550"><img src="images/m_11.gif" width="550" height="9"></td>
                      </tr>
                      <tr>
                        <td background="images/m_13.gif"><table width="98%"  border="0" align="center" cellpadding="0" cellspacing="3">
                          <tr>
                            <td width="19%"><img src="images/rr2.gif" width="100" height="60"></td>
                            <td width="81%"><span class="greenfont">欢迎</span><b><font color="#ff6600"><%= Request.Cookies("admin_school_name") %>(<%= Request.Cookies("school_name") %>)</font></b><span class="greenfont">进入院校管理中心</span>
                                
                                <br>
      * 请详细填写院校资料，尤其<span class="style2">校名</span>及<span class="style2">专业设置</span>，这将是搜索贵校毕业生的标准。</td>
                          </tr>
                        </table>
                          <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td background="images/dian01.gif">&nbsp;</td>
                            </tr>
                          </table>
                          <table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr>
                              <td><table width="525" height="61" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td background="images/list.jpg"><table width="525" border="0" cellpadding="0" cellspacing="0">
                                      <tr>
                                        <td height="26"></td>
                                    </tr>
                                      <tr>
                                        <td width="520" align="center"><MARQUEE onmousemove=this.stop() onmouseout=this.start()  scrollAmount=2><%=ntitle%></MARQUEE></td>
                                      </tr>
                                  </table></td>
                                </tr>
                              </table></td>
                            </tr>
                          </table>
                          <table width="98%"  border="0" align="center" cellpadding="0" cellspacing="3">
                            <tr>
                              <td width="50%" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td><img src="images/jianli-2.gif" width="136" height="33"></td>
                                </tr>
                                <tr>
                                  <td height="134" valign="middle"><font style="FONT-SIZE: 9pt; LINE-HEIGHT: 18px; MARGIN-BOTTOM: 9px; MARGIN-TOP: 4px"><span lang="zh-cn"><span class="style1"><br>
      ·</span>你总共登陆本站</span><b> <font color="#ff0000"><span lang="zh-cn"><%= rs("dlnum") %></span></font></b> <span lang="zh-cn">次</span> <span lang="zh-cn"><br>
      <span class="style1">·</span>最后登陆时间是：<span class="greenfont"><%= rs("lasttime") %></span></span></font> <font style="FONT-SIZE: 9pt; LINE-HEIGHT: 18px; MARGIN-BOTTOM: 9px; MARGIN-TOP: 4px"><span lang="zh-cn"><br>
      <span class="style1">·</span>最后刷新</span></font><span lang="zh-cn" style="FONT-SIZE: 9pt"></span><span lang="zh-cn">时间是：<span class="greenfont"><% if isnull(rs("refresh")) then Response.Write("从未刷新") else Response.Write(rs("refresh")) %></span></span> <span class="greenfont" lang="zh-cn"> </span><span lang="zh-cn"><br>
      
      <span class="style1">·</span>上次登陆的IP地址：<b><font color="#FF6600"><%= rs("ip") %></font></b></span><br><br>
      
      <span class="style1">·</span><font color="#FF0000">刷新院校信息---></span>&nbsp;<a href="?action=refresh"><img src="images/button_31.gif" align="absmiddle"  border="0"></a></font></td>
                                </tr>
                                <tr>
                                  <td height="15" background="images/dian01.gif">&nbsp;</td>
                                </tr>
                              </table>
                                <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                  <tr>
                                    <td><img src="images/jianli-3.gif" width="136" height="33"></td>
                                  </tr>
                                  <tr>
                                    <td height="78" valign="top"><font style="FONT-SIZE: 9pt; LINE-HEIGHT: 18px; MARGIN-BOTTOM: 9px; MARGIN-TOP: 4px"><span lang="zh-cn"><span class="style1"><br>
                                      </span></span></font><font style="FONT-SIZE: 9pt; LINE-HEIGHT: 18px; MARGIN-BOTTOM: 9px; MARGIN-TOP: 4px"><span lang="zh-cn"><span class="style1">
                                      
      ·</span></span></font>
                                      
      共有<b><font color="#FF0000"> </font> <u><%= cmailnum %></u><font color="#FF0000"> </font> </b>个留言
      
      <a style="color: #FF0000; font-family: 宋体; font-size: 11px" href="book.asp"> <font face="宋体" style="FONT-SIZE: 9pt">点击查看</font><font style="FONT-SIZE: 9pt">&gt;&gt;</font></a> <br>
      <font style="FONT-SIZE: 9pt; LINE-HEIGHT: 18px; MARGIN-BOTTOM: 9px; MARGIN-TOP: 4px"><span lang="zh-cn"><span class="style1">
      
      ·</span></span></font>
      
      我已经发布了<b> <u><%= subjectnum %></u> </b>个专业
      
      <a href="department_all.asp" style="COLOR: #FF0000; FONT-FAMILY: 宋体; "> <font face="宋体" style="FONT-SIZE: 9pt">点击查看</font><font style="FONT-SIZE: 9pt">&gt;&gt;</font></a><font color="#FF0000">&nbsp; </font> <br>
      <font style="FONT-SIZE: 9pt; LINE-HEIGHT: 18px; MARGIN-BOTTOM: 9px; MARGIN-TOP: 4px"><span lang="zh-cn"><span class="style1">·
      
      </span></span></font>
      
      我的校园图片有 <u><b><%= photonum %></b></u> 个
      
      <a href="picture_all.asp" style="COLOR: #FF0000; FONT-FAMILY: 宋体; FONT-SIZE: 11px"> <font face="宋体" style="FONT-SIZE: 9pt">点击查看</font><font style="FONT-SIZE: 9pt">&gt;&gt;</font></a></td>
                                  </tr>
                                  <tr>
                                    <td height="18" background="images/dian01.gif">&nbsp;</td>
                                  </tr>
                                </table></td>
                              <td width="50%" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td><img src="images/jianli-1.gif" width="136" height="33"></td>
                                </tr>
                                <tr>
                                  <td height="100" valign="top"><br><font color="#ff3535"><b>
      
      <span class="style1">·</span> </b></font>帐号级别：<u><font face="宋体" style="FONT-SIZE: 9pt" color="#FF0000"><% If usertype=1 Then Response.Write("高级会员") else Response.Write("普通会员")%></font></u> <br>
      <font color="#ff3535"><b>
      
      <span class="style1">·</span> </b></font>审核状态：<b><font color="#FF0000"><% if rs("zhuangtai")=0 then Response.Write("未审核") else  Response.Write("已审核") %></font></b>
      
      <br>
      <font color="#ff3535"><b> <span class="style1">·</span> </b></font>帐号状态：处于<font face="Verdana" style="FONT-SIZE: 12px; FONT-WEIGHT: 700" color="#FF0000"><u><% if rs("hideuser")=0 then Response.Write(" 激活 ") else Response.Write(" 屏蔽 ") %></u></font>状态      <br>
      <font color="#ff3535"><b> <span class="style1">·</span> </b></font>注册时间：<font face="Verdana"><u><%=rs("setup")%></u></font><br><br>
      <font color="#ff3535"><b> <span class="style1">·</span> </b></font><font color="#FF0000">改变帐号状态---></font>&nbsp;<% If rs("hideuser")=1 Then %><a href="?action=open"><img src="images/button_17.gif" align="absmiddle"  border="0"></a><% Else %><a href="?action=close"><img src="images/button_18.gif" align="absmiddle"  border="0"></a><% End If %></td>
                                </tr>
                                <tr>
                                  <td height="15" background="images/dian01.gif">&nbsp;</td>
                                </tr>
                              </table>
                                <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                  <tr>
                                    <td><img src="images/jianli-4.gif" width="136" height="33"></td>
                                  </tr>
                                  <tr>
                                    <td height="78" valign="top"><br>
      　<%= homename %>为您精心设计的<u>院校毕业生大全</u>可助您快速搜索本校毕业生的情况，我们将会为提升贵校的就业率而作出最大的努力</td>
                                  </tr>
                                  <tr>
                                    <td height="15" background="images/dian01.gif"></td>
                                  </tr>
                                </table></td>
                            </tr>
                          </table>
                          </td>
                      </tr>
                      <tr>
                        <td background="images/m_13.gif"></td>
                      </tr>
                      <tr>
                        <td><img src="images/m_12.gif" width="550" height="9"></td>
                      </tr>
                    </table>
<%
	End If
	rs.close
	set rs=nothing
%>
</body>
</html>