<!--#include file="conn/conn_index.asp"-->
<!--#include file="inc/setup.asp"-->
<!--#include file="inc/char.asp"-->
<!--#include file="inc/sql.asp"-->
<%
	end if
	id=int(ReplaceBadChar(Trim(Request.QueryString("id"))))
	if id=0 then
		response.write"<SCRIPT language=JavaScript>alert('您的操作有误，请重来');"
		response.write"javascript:history.go(-1)</SCRIPT>"
		response.end
	end if
	Set Rs= Server.CreateObject("ADODB.RecordSet")
	sql="select * from school where zhuangtai=1 and hideuser=0 and id="&id&" order by id desc"
	Rs.open sql,conn,1,1
	if rs.eof then
		response.write"<SCRIPT language=JavaScript>alert('您访问的院校资料已经被屏蔽或者不存在，请稍后再试或与管理员联系');"
		response.write"javascript:history.go(-1)</SCRIPT>"
		response.end
	else
%>
<html>
<HEAD>
<link rel="Shortcut Icon" href="Images/favicon.ico">
<link rel="Bookmark" href="Images/favicon.ico">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<TITLE><%= homename %>--浏览(<%= rs("school_name") %>)的详细信息</TITLE>
<meta name="Keywords" content="<%= webmeta %>">
<meta name="Description" content="<%= webmeta1 %>">
<link href="css/View_school.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="school/css/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="school/js/prototype.js"></script>
<script type="text/javascript" src="school/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="school/js/lightbox.js"></script>
<script language="javaScript">
<!--
function mOvr(src,clrOver){ 
	if (!src.contains(event.fromElement)) { 
		src.bgColor = clrOver; 
	}
}
function mOut(src,clrIn)  { 
	if (!src.contains(event.toElement)) { 
		src.bgColor = clrIn; 
	}
} 
//-->
</script>
</HEAD>
<BODY topMargin=0 leftmargin="0" rightmargin="0">
<!--#include file="top.asp"-->
      <table width="977" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:4px;">
        <tr>
          <td height="35" background="images/school/tlist1.gif" colspan="4">&nbsp;&nbsp;&nbsp;&nbsp;<strong>院校资料</strong></td>
        </tr>
        <tr>
        <td style="border-bottom-style: solid; border-bottom-width: 1; border-right-style:solid; border-right-width:1; border-left-style:solid; border-left-width:1" bordercolor="#B2E5B2">
          <table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
            <tr>
          <td width="90" align="right">院校名称:</td>
          <td width="370"><%= rs("school_name") %></td>
          <td width="93" align="right">联 系 人:</td>
          <td width="382"><%= rs("lxperson") %></td>
          </tr>
        <tr>
          <td align="right" bordercolor="#E0E0E0" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-top-style:solid; border-top-width:1">联系电话:</td>
          <td style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0"><%= rs("phone") %></td>
          <td align="right" bordercolor="#E0E0E0" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-top-style:solid; border-top-width:1">邮件地址:</td>
          <td bordercolor="#E0E0E0" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-top-style:solid; border-top-width:1"><%= rs("email") %></td>
          </tr>
        <tr>
          <td align="right" bordercolor="#E0E0E0">院校地点:</td>
          <td bordercolor="#E0E0E0"><%= rs("address") %></td>
          <td align="right" bordercolor="#E0E0E0">邮政编码:</td>
          <td bordercolor="#E0E0E0"><%= rs("code") %></td>
          </tr>
</table>
</td></tr></table>
<table width="977" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:4px;">
        <tr>
          <td height="35" background="images/school/tlist1.gif">&nbsp;&nbsp;&nbsp;&nbsp;<strong>院校简介</strong></td>
        </tr>
        <tr>
          <td style="border-bottom-style: solid; border-bottom-width: 1; border-right-style:solid; border-right-width:1; border-left-style:solid; border-left-width:1" bordercolor="#B2E5B2">
          <table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
              <tr>
                <td>&nbsp;&nbsp;&nbsp;<%= rs("aboutschool") %><br>
                <span style="letter-spacing: 1px; line-height: 18px; margin-left: 2px; margin-top: 2px">&nbsp;<img src="images/school/p50.gif" width="16" height="16" /> 企业详细信息，请浏览企业网站 <font face="Verdana, Arial" style="font-size: 12px"> <a class="email" href="<%= rs("weburl") %>" target="_blank"> <u><%= rs("weburl") %></u></a>  &nbsp;&nbsp;&nbsp;<A HREF="#" onClick="window.open('book_school.asp?id=<%= rs("id") %>&sname=<%= rs("school_name") %>','给<%= rs("school_name") %>留言','height=270, width=522, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')"><font color="#FF0000"><b>给学校留言</b></font></a></font></span></td>
              </tr>
          </table></td>
        </tr>
</table>
        <table width="977" height="94" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#111111" style="border-collapse: collapse">
					<tr bgcolor="#00CC00">
                      <td height="40" colspan="8" align="left" bgcolor="#FFFFFF" class="font_9_c_black" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-bottom-color:#99CCFF"><img src="images/school/leaf.gif" alt="6" width="25" height="16"><a href="../COMPANY/companyall.asp?xianshi=10290"><font color="#FF6600"><b><%= Rs("school_name") %>的专业信息</b></font></a>&nbsp;</td>
                </tr>
<tr bgcolor="#00CC00">
        <td height="24" align="left" bgcolor="#DEF0FF" class="font_9_c_black" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-bottom-color:#cccccc"><p align="center" style="LETTER-SPACING: 2px; LINE-HEIGHT: 17px"><strong>查看</strong></td>
        <td width="200" align="left" bgcolor="#DEF0FF" class="font_9_c_black" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-bottom-color:#cccccc"><div align="center"><span style="LETTER-SPACING: 2px; LINE-HEIGHT: 17px"><strong><font style="FONT-SIZE: 9pt; ">专业名称</font></strong></span></div></td>
    <td height="24" align="left" bgcolor="#DEF0FF" class="font_9_c_black" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-bottom-color:#cccccc"><p align="center" style="LINE-HEIGHT: 17px"><strong>学历</strong></td>
        <td height="24" align="center" bgcolor="#DEF0FF" class="font_9_c_black" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-bottom-color:#cccccc"><strong>学制</strong></td>
        <td height="24" align="left" bgcolor="#DEF0FF" class="font_9_c_black" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-bottom-color:#cccccc"><div align="center"><strong>授课形式</strong></div></td>
        <td height="24" align="left" bgcolor="#DEF0FF" class="font_9_c_black" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-bottom-color:#cccccc"><div align="center"><strong>学位证书</strong></div></td>
        <td align="center" bgcolor="#DEF0FF" class="font_9_c_black" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-bottom-color:#cccccc"><strong>主要课程</strong></td>
        <td align="left" bgcolor="#DEF0FF" class="font_9_c_black" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-bottom-color:#cccccc"><div align="center"><span style="LETTER-SPACING: 2px; LINE-HEIGHT: 17px"><strong>查看</strong></span></div></td>
      </tr>
<%
	set rs_zy=server.createobject("adodb.recordset")
	sql_zy="select * from subject where sid="&id&" and zhuangtai=1 and lock=1"
	rs_zy.open sql_zy,conn,1,1
	subnum=rs_zy.recordcount
	if rs_zy.eof then
		Response.Write("暂无该校的专业信息")
	else
		for i=0 to rs_zy.eof
%>
<tr bgcolor="#f7f7f7" onMouseOut="mOut(this,'#f7f7f7');" onMouseOver="mOvr(this,'#E5F6CC');">
                      <td width="50" height="30" bordercolor="#E0E0E0" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:solid; border-left-width:1; border-top-style:solid; border-top-width:1; border-right-style:none; border-right-width:medium"><div align="center"><A HREF="#" onClick="window.open('html/school_subject/<%= rs_zy("id") %>.html','浏览专业<%= rs_zy("sname") %>的详细信息','height=390, width=522, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')"><img src="images/school/ac8.gif" alt="查看职位" width="32" height="22" border="0"></a></div></td>
                      <td style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0" align="center"><A HREF="#" onClick="window.open('html/school_subject/<%= rs_zy("id") %>.html','浏览专业<%= rs_zy("sname") %>的详细信息','height=390, width=522, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')"><%= left(rs_zy("sname"),10) %></a></td>
                      <td width="137" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0"><div align="center"><%= rs_zy("xueli") %></div></td>
<td width="131"  style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0"><div align="center"><%= left(rs_zy("myear"),6) %>(年)</div></td>
                      <td width="145" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-top-style:solid; border-top-width:1" bordercolor="#E0E0E0"><div align="center"><%= rs_zy("shouke") %></div></td>
                      <td width="132" bordercolor="#E0E0E0" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-top-style:solid; border-top-width:1" align="center"><%= rs_zy("degree") %></td>
                      <td width="132" bordercolor="#E0E0E0" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:none; border-left-width:medium; border-top-style:solid; border-top-width:1" align="center"><%= left(rs_zy("subject"),12) %>...</td>
                      <td width="50" bordercolor="#E0E0E0" style="border-bottom-style: solid; border-bottom-width: 1; border-right-style:solid; border-right-width:1; border-top-style:solid; border-top-width:1; border-left-style:none; border-left-width:medium"><div align="center"><A HREF="#" onClick="window.open('html/school_subject/<%= rs_zy("id") %>.html','浏览专业<%= rs_zy("sname") %>的详细信息','height=390, width=522, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')"><img src="images/school/ac8.gif" alt="查看职位" width="32" height="22" border="0"></a></div></td>
                    </tr>
<%
	rs_zy.movenext
	next
	end if
	rs_zy.close
	set rs_zy=nothing
%>
</table>
<table width="977" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:4px;">
      <tr>
        <td height="35" background="images/school/tlist1.gif">&nbsp;&nbsp;&nbsp;&nbsp;<a name="2"></a><strong>图片展示</strong></td>
      </tr>
      <tr>
        <td style="border-bottom-style: solid; border-bottom-width: 1; border-right-style:solid; border-right-width:1; border-left-style:solid; border-left-width:1" bordercolor="#B2E5B2">
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td style="background:url(images/bg_800_scroll1.jpg) center center no-repeat; text-align:center; padding-top:6px;">
<style type="text/css">
	.demo img{margin-left:5px; vertical-align: middle;}
</style>
<div id="demo" style="overflow:hidden;width:970px; height:95px; margin:auto;" class="demo">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
         <td id="demo1" valign="top" align="center">
          <table cellpadding="2" cellspacing="0" border="0">
            <tr align="center">
<%
	Set Rs1= Server.CreateObject("ADODB.RecordSet")
	sql1="select * from school_photo where sid="&id&" and lock=1 order by id desc"
	Rs1.open sql1,conn,1,1
	if rs1.eof then
		Response.Write("<td height='22' align='center'>暂无校园展示图片</td>")
	else
		Do While Not Rs1.Eof	
			Response.Write("<td height='22' align='center'><a href='getphoto.asp?id="&rs1("id")&"&folder=schoolphoto' rel='lightbox' title='"&rs1("pname")&"'><img src='getphoto.asp?id="&rs1("id")&"&folder=school' width='100' height='100' alt='放大图片?'></a></td>")
			Rs1.movenext
		Loop
	end if
	Rs1.Close
	set rs1=nothing
%>
            </tr>
          </table>
        </td>
        <td id="demo2" valign="top"></td>
        </tr>
      </table>
    </div>
<script language="javascript" type="text/javascript"> 
  var speed=16//速度数值越大速度越慢
  var divdemo=document.getElementById("demo");
  var divdemo1=document.getElementById("demo1");
  var divdemo2=document.getElementById("demo2");
  divdemo2.innerHTML=divdemo1.innerHTML
  function Marquee(){
    if(divdemo2.offsetWidth-divdemo.scrollLeft<=0)
      divdemo.scrollLeft-=divdemo1.offsetWidth
    else{
      divdemo.scrollLeft++
    }
  }
  var MyMar=setInterval(Marquee,speed)
  divdemo.onmouseover=function() {clearInterval(MyMar)}
  divdemo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
</script> 
		  </td>
        </tr>
      </table>
        </td>
        </tr>
</table>
<%
	end if
	rs.close
	set rs=nothing
%>
<!--#include file="end.asp"-->