<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="connindex.asp"-->
<%
id=request("id")
if isnumeric(id) then

sqltp="select * from mynews where id="&id
set rstp=server.createobject("adodb.recordset")
rstp.open sqltp,conn,1,1

if not rstp.eof or rstp.bof then
n_title=rstp("n_title")
n_con=rstp("n_con")
n_time=rstp("n_time")
else

end if
rstp.Close()
Set rstp = Nothing
Set sqltp = Nothing

else
response.Redirect("xinwen.asp")
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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=n_title%>-学校新闻-<%=sitetitle%></title>
<meta name="keywords" content="<%=keyword%>">
<meta name="description" content="<%=des%>">
<link href="images/css.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="tdbg">
   <!--#include file="top.asp"-->
   <!--#include file="banner.asp"-->
  <table width="960" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:10px;">
    <tr>
      <td height="25" bgcolor="#FFFFFF">&nbsp;您的位置：<a href="index.asp">首页</a> &gt; <a href="xinwen.asp">学校新闻</a> > <%=n_title%></td>
    </tr>
  </table>
  <table width="960" border="0" align="center" cellpadding="5" cellspacing="0" style="margin-top:10px;">
    <tr>
      <td width="260" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#ffe955">
        <tr>
          <td bgcolor="#fbf8c1"><span style="float:right; padding-top:5px;"><a href="jiuye.asp" class="f12 fblue">更多&gt;&gt;</a></span><img src="images/i3.gif" width="23" height="23" align="absmiddle" /><a href="jiuye.asp"  class="f14 fblue"><b>就业名星</b></a></td>
        </tr>
        <tr>
          <td bgcolor="#fbf8c1"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="215" valign="top" bgcolor="#FFFFFF"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <%
sql="select top 5 * from xueyuan where jtype='gc' order by inpx asc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
i=0
While (NOT rs.EOF and i<5)
i=i+1
%>
                    <tr>
                      <td height="20"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                            <td width="55" height="53" rowspan="2"><a href="xueyuan_show.asp?id=<%=rs("id")%>" target="_blank"><img src="<%if rs("xypic")<>"" then%><%=rs("xypic")%><%else%>../images/no.gif<%end if%>" width="42" height="42" /></a></td>
                            <td height="25" align="left"><a href="xueyuan_show.asp?id=<%=rs("id")%>" target="_blank" class="ft14ye"><%=rs("xyname")%></a>-<%=rs("xyjiuye")%></td>
                          </tr>
                          <tr>
                            <td height="25" align="left"><%=DoTrimProperly((rs.Fields.Item("xycon").Value),18, 0, 1, "...")%></td>
                          </tr>
                      </table></td>
                    </tr>
                    <%if i<5 then%>
                    <tr>
                      <td height="1" background="../images/line.gif"></td>
                    </tr>
                    <%end if%>
                    <%
rs.MoveNext()
Wend
rs.Close()
Set rs = Nothing
Set sql = Nothing
Set i= Nothing
%>
                </table></td>
              </tr>
          </table></td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#cfdca0" style="margin-top:10px;">
        <tr>
          <td bgcolor="#e5eec3"><span style="float:right; padding-top:5px;"><a href="wenda.asp" class="f12 fblue">更多&gt;&gt;</a></span><img src="images/i1.gif" width="23" height="23" align="absmiddle" /> <a href="wenda.asp"  class="f14 fblue"><b>招生问答</b></a></td>
        </tr>
        <tr>
          <td bgcolor="#e5eec3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="215" valign="top" bgcolor="#FFFFFF"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <%
sql="select top 8 * from mynews where typeid='gcwd' order by inpx asc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
i=0
While (NOT rs.EOF and i<8)
i=i+1
%>
                    <tr>
                      <td height="26" align="left">·<a href="wenda_show.asp?id=<%=rs("id")%>" target="_blank"><%=DoTrimProperly((rs.Fields.Item("n_title").Value),23, 0, 1, "...")%></a></td>
                    </tr>
                    <%if i<8 then%>
                    <tr>
                      <td height="1" background="../images/line.gif"></td>
                    </tr>
                    <%end if%>
                    <%
rs.MoveNext()
Wend
rs.Close()
Set rs = Nothing
Set sql = Nothing
Set i= Nothing
%>
                </table></td>
              </tr>
          </table></td>
        </tr>
      </table>
        <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#7fd3ef" style="margin-top:10px;">
          <tr>
            <td bgcolor="#d4eff8"><span style="float:right; padding-top:5px;"><a href="jiaolian.asp" class="f12 fblue">更多&gt;&gt;</a></span><img src="images/i5.gif" width="23" height="23" align="absmiddle" /> <a href="jiaolian.asp"  class="f14 fblue"><b>师资力量</b></a></td>
          </tr>
          <tr>
            <td bgcolor="#d4eff8"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td height="270" valign="top" bgcolor="#FFFFFF"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                      <%
sql="select top 5 * from jiaolian where jtype='gc' order by inpx asc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
i=0
While (NOT rs.EOF and i<5)
i=i+1
%>
                      <tr>
                        <td height="20"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr>
                              <td width="55" height="53" rowspan="2"><a href="rencai_show.asp?id=<%=rs("id")%>" target="_blank"><img src="<%if rs("jpic")<>"" then%><%=rs("jpic")%><%else%>../images/no.gif<%end if%>" width="42" height="42" /></a></td>
                              <td height="25" align="left"><a href="rencai_show.asp?id=<%=rs("id")%>" target="_blank" class="ft14ye"><%=rs("jname")%></a>-<%=rs("jzhiwu")%></td>
                            </tr>
                            <tr>
                              <td height="25" align="left"><%=DoTrimProperly((rs.Fields.Item("jgeyan").Value),18, 0, 1, "...")%></td>
                            </tr>
                        </table></td>
                      </tr>
                      <%if i<5 then%>
                      <tr>
                        <td height="1" background="../images/line.gif"></td>
                      </tr>
                      <%end if%>
                      <%
rs.MoveNext()
Wend
rs.Close()
Set rs = Nothing
Set sql = Nothing
Set i= Nothing
%>
                  </table></td>
                </tr>
            </table></td>
          </tr>
        </table></td>
      <td width="680" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#CCCCCC">
        <tr>
          <td height="23" align="center" bgcolor="#efefef" class="f14"><b><%=n_title%></b></td>
        </tr>
        <tr>
          <td height="812" valign="top" bgcolor="#FFFFFF" style="line-height:24px;"><%=n_con%></td>
        </tr>
      </table></td>
    </tr>
  </table>
  <!--#include file="down.asp"-->
</div>
</body>
</html>
