<!--#include file="../include/Conn.asp"-->
<!--#include file="../Include/const.asp" -->
<!--#include file="../include/Char.asp"-->
<!--#include file="../include/UBBCODE.asp"-->
<%
m_ID = Request.Querystring("ID")
m_SQL = "SELECT F_Title,F_Contents,F_Image,F_Addtime,F_Hits,F_CategoryID FROM jy_news where F_ID="&m_ID
Set rs = conn.Execute(m_SQL)
If Not rs.Eof then
  m_Title = Trim(rs(0))
  //temp
  if rs("F_CategoryID") = 5 then m_Title = "" + m_Title
  if rs("F_CategoryID") = 4 then m_Title = "专业介绍 -> " + m_Title

  m_Image = Trim(rs(2))
  m_Addtime = Trim(rs(3))
  m_Hits = Trim(rs(4))
  m_Contents = rTrim(rs(1))
  'Hits++
  m_SQL = "UPDATE jy_news SET F_Hits=F_Hits+1 WHERE F_ID = "& m_ID
  conn.Execute (m_SQL)
end if
rs.Close

%>
<HTML><HEAD><TITLE><% = m_Title %>※<%=site_info(0)%>※</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR>

<link href="../include/style1.css" rel="stylesheet" type="text/css">

<style type="text/css">
<!--
body {
	background-color: #E8E8E8;
}
.style2 {color: #FFFFFF}
.style3 {font-size: 12px}
.style4 {font-weight: bold}
.style6 {font-size: 9pt; color: #000000; }
.style7 {font-size: 14px}
.style11 {color: #333333; font-family: "宋体";}
.style8 {color: #FF0000}
.style9 {color: #3399FF}
-->
</style></HEAD>
<BODY text=#000000 leftMargin=0 topMargin=0 
marginwidth="0" marginheight="0">
<!--#include file="../Include/Top.asp" -->
<TABLE width="770" height=30 border=0 align="center" cellPadding=4 cellSpacing=0 bgcolor="FCAF17">
  <TBODY>
    <TR> 
      <TD width="47%" class=nav>　·当前位置: <A 
            href="../index.asp">首页 </A>-&gt; 查阅信息-&gt;<a href="<%=request.ServerVariables("HTTP_REFERER")%>" class="p1">[返 回]</a></TD>
      <TD width="53%" > 
        <!--#include file="../Main/IncNewsSearch.asp" -->
      </TD>
    </TR>
  </TBODY>
</TABLE>
<TABLE width="770" border=0 align=center cellPadding=0 cellSpacing=0 bgcolor="#FFFFFF">
  <TBODY>
    <TR vAlign=top>
      <!-- left -->
      <TD width="204" height="1007" bgColor=#F7F7F7>
        <!--#include file="../Main/Left.asp" --><br>
</TD>  
      <TD width="600"><table width="99%" border=0 align="center" cellpadding=0 cellspacing=1 bgcolor="#CCCCCC">
          <tr>
            <td width="67%" height="971" valign=top bgcolor="#FFFFFF"><table width="100%" height="971" border=0 cellpadding=0 cellspacing=5>
                <tr>
                  <td valign=top><TABLE width=100%  border=0 cellPadding=0 cellSpacing=3 bgColor=#ffffff>
                    <TR>
                      <TD height=37 background="../image/new1.jpg"><DIV align=center></DIV>
                          <!--最新个人求职信息-->
                          <TABLE width="100%" height="35" border=0 cellPadding=0 cellSpacing=0>
                            <TR>
                              <TD width="2%" height="37">&nbsp;</TD>
                              <TD width="4%"><img src="../image/home.gif" width="20" height="20"></TD>
                              <TD width="12%"><span class="style11">您的位置→</span></TD>
                              <TD width="62%"><span class="style8"><span class="style9"><a href="../main/index.asp"><%=site_info(0)%></a></span><span class="style1">→</span>
                                    </span><span class="style1">阅读文章
                              </span> </TD>
                              <TD width="20%">&nbsp;</TD>
                            </TR>
                        </TABLE></TD>
                    </TR>
                    <TR bgColor=#eeeeee>
                      <TD><div align="center">
                          <% set rs=server.createobject("adodb.recordset")
     sql="SELECT * FROM jy_ad WHERE c_id=6 ORDER BY id DESC"
     rs.open sql,conn,1,1
           if rs.eof then
    else
	total=rs.recordcount
	Randomize 
    D1 = Fix(Rnd * total)
	for i=1 to D1
	  rs.movenext
	next	 %>
                          <%if rs("type")="GIF" then
	%>
                          <%if rs("url")<>"" then%>
                          <A HREF="<%=rs("url")%>" target=_blank><img alt="黄金广告" src="<%=rs("src")%>" width="<%=rs("width")%>" height="<%=rs("height")%>" border=0 align=middle></A>
                          <%else%>
                          <img alt="黄金广告" src="<%=rs("src")%>" width="<%=rs("width")%>" height="<%=rs("height")%>" border=0 align=middle>
                          <%end if%>
                          <%else%>
                          <embed src="<%=rs("src")%>" type="application/x-shockwave-flash" width="<%=rs("width")%>" height="<%=rs("height")%>"></embed>
                          <%end if%>
                          <%end if%>
                      </div></TD>
                    </TR>
                  </TABLE>
                  <table border="0" cellspacing="0" width="100%" id="AutoNumber15" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0">
                      <tr>
                        <th width="84%" height="32" class="style7"><div align="center" class="style7"><strong><%=m_Title%>
                            </strong></div></th>
                        <td width="16%"><div align="center"><font color=#FF6600><span class="nav style3">阅读次数:<%=m_Hits+1%></span></font></div></td>
                      </tr>
                      <tr>
                        <th height="14" colspan="2"><hr noshade></th>
                      </tr>
                      <tr>
                        <td colspan="2"><div align="left"><span class="style6">
                            <%
		 If not isnull(m_Image) and m_Image<> "" then
			Response.write "<a target='_Blank' href='UploadImages/"&m_Image&"'>"
			Response.write "<img src='UploadImages/" + m_Image + "' border=0  align='right'>"
			Response.Write "</a>"
		 End if
		 Response.write m_Contents
		 %>
                        </span></div>                          </td>
                      </tr>
                      <tr>
                        <td height="20"><div align="right"><span class="style3">发布于：</span></div></td>
                        <td height="20"><span class="style3"><%=m_Addtime%></span></td>
                      </tr>
                      <tr>
                        <td height="18" colspan="2"><div align="center"><font size="2"><a href="<%=request.ServerVariables("HTTP_REFERER")%>" class="p1">[返 回]</a> </font></div></td>
                      </tr>
                  </table>
                  <p>&nbsp;</p></td>
                </tr>
            </table></td>
          </tr>
        </table>
      </TD>
    </TR>
  </TBODY>
</TABLE>
<!--#include file="../Include/Bottom.asp" -->
</BODY></HTML>
<%CloseDatabase%>