<!--#include file="conn.asp"-->
<!--#include file="../inc/setup.asp"-->
<!--#include file="../inc/sql.asp"-->
<%
	end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=homename%></title>
<SCRIPT src="../../inc/setpage.js"></SCRIPT>
<script src="../../count/tongji.asp"></script>
<style type="text/css">
<!--
.bz {
	font-size: 12px;
	line-height: 25px;
	color: #2E2E2E;
	text-decoration: none;
}
.bt {
	font-size: 14px;
	font-weight: bold;
	color: #474747;
	text-decoration: none;
}
a:link {
	font-size: 12px;
	color: #333333;
	text-decoration: none;
}
a:visited {
	font-size: 12px;
	color: #333333;
	text-decoration: none;
}
a:hover {
	font-size: 12px;
	color: #FF0000;
	text-decoration: none;
}
a:active {
	font-size: 12px;
	color: #333333;
	text-decoration: none;
}
-->
</style>
<script type="text/javascript" language="JavaScript">
var clickCount = 0;
function clearCommentContent(oObject) {
    clickCount++;
    if (clickCount == 1) {
        oObject.value = "";
    }
}
function mOvr(src,clrOver) { if (!src.contains(event.fromElement)) { src.style.cursor = 'hand'; src.bgColor = clrOver; }}
function mOut(src,clrIn) { if (!src.contains(event.toElement)) { src.style.cursor = 'default'; src.bgColor = clrIn; }}
function doZoom(size)
{
document.getElementById('zoom').style.fontSize=size+'pt';
}
</script>
</head>
<body>
<table width="977" height="80" border="0" align="center" cellpadding="0" cellspacing="0" style="word-break:break-all">
  <tr>
    <td width="175" align="center"><img src="../../<%=weblogo%>" width="139" height="52" alt="" /></td>
    <td align="center"><a href="../../index.asp">首页</a> <span class="bz">|</span> <a href="../../person.asp">个人求职</a> <span class="bz">|</span> <a href="../../company.asp">企业招聘</a> <span class="bz">|</span> <a href="../../lietou.asp">重金猎头</a> <span class="bz">|</span> <a href="../../wtzp.asp">委托招聘</a> <span class="bz">|</span> <a href="../../school.asp">院校专区</a> <span class="bz">|</span> <a href="../../train.asp">教育培训</a> <span class="bz">|</span> <a href="../../yp.asp">企业黄页</a><span class="bz">|</span> <a href="../../jianzhi.asp">兼职专区</a> <span class="bz">|</span> <a href="../../hr.asp">资讯中心</a> <span class="bz">|</span> <a href="../../bbs/">在线论坛</a></td>
  </tr>
</table>
<table width="977" border="0" align="center" cellpadding="0" cellspacing="0" background="../../images/hr/zx_index_11.gif" style="word-break:break-all">
  <tr>
    <td><img src="../../images/hr/zx_index_10.gif" height="12"></td>
  </tr>
  <tr>
    <td align="center">
	<table width="100%"  border="0" cellspacing="0" cellpadding="20" style="word-break:break-all">
      <tr>
        <td align="left">
<%
	if request("id")="" then   
		response.write"<SCRIPT language=JavaScript>alert('对不起，非法操作！');"
		response.write"javascript:window.close();</SCRIPT>"
		response.end 
	end if
	sql = "select * from companynews where id="&request("id")
	Set rs_news = Server.CreateObject("ADODB.Recordset")
	rs_news.open sql,Conn,2,3
	if rs_news.bof and rs_news.eof then 
		response.write "对不起,没有您查询的信息" 
	else
		click=rs_news("click")
%>
		<table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="30" align="center" class="bt">[
<%
		set rs_area=server.createobject("adodb.recordset")
		sql="select * from newstype where id="&Trim(Request.QueryString("type"))&""
		rs_area.open sql,conn,1,1
		response.write rs_area("type")
		rs_area.close
		set rs_area=nothing
%>]
<font color="<%=rs_news("tcolor")%>"><%= rs_news("title") %></font><br><br></td>
          </tr>
		  <tr>
            <td><table width="100%" cellpadding="0" cellspacing="0" style="word-break:break-all">
              <tr><td width="18%" align="left" style="font-weight:normal;font-size:9pt;">信息来源:<%= rs_news("zuo") %></td>
                <td width="69%" align="center" style="font-weight:normal;font-size:9pt;">视力保护色 -&nbsp;<A href="javascript:setColor('FAFBE6')"><IMG height=10 alt=杏仁黄 src="../../images/hr/color1.gif" width=10 border=0></A>&nbsp; <A href="javascript:setColor('FFF2E2')"><IMG height=10 alt=秋叶褐 src="../../images/hr/color2.gif" width=10 border=0></A>&nbsp; <A href="javascript:setColor('FDE6E0')"><IMG height=10 alt=胭脂红 src="../../images/hr/color3.gif" width=10 border=0></A>&nbsp; <A href="javascript:setColor('F3FFE1')"><IMG height=10 alt=芥末绿 src="../../images/hr/color4.gif" width=10 border=0></A>&nbsp; <A href="javascript:setColor('DAFAFE')"><IMG height=10 alt=天蓝 src="../../images/hr/color5.gif" width=10 border=0></A>&nbsp; <A href="javascript:setColor('E9EBFE')"><IMG height=10 alt=雪青 src="../../images/hr/color6.gif" width=10 border=0></A>&nbsp; <A href="javascript:setColor('EAEAEF')"><IMG height=10 alt=灰 src="../../images/hr/color7.gif" width=10 border=0></A>&nbsp; <A href="javascript:setColor('FFFFFF')"><IMG height=10 alt=银河白(默认色) src="../../images/hr/color8.gif" width=10 border=0></A></td>
                <td width="13%" align="lrft" style="font-weight:normal;font-size:9pt;">&nbsp;</td>
            </tr></table></td>
          </tr>
          <tr>
            <td height="1" bgcolor="#FF6702"><img src="../../images/hr/spacer.gif" width="1" height="1" /></td>
          </tr>
        </table>
          <table width="100%" border="0" cellpadding="0" cellspacing="0" id=myTable style="word-break:break-all">
            <tr>
              <td height="81" align="left" class="bz" id="zoom">&nbsp;&nbsp;&nbsp;&nbsp;<%= rs_news("text") %></td>
            </tr>
          </table>
<%
	if talknews<>0 then
%>
		  <a href="javascript:void(0);" onClick="document.all('plPanel').style.display=(document.all('plPanel').style.display=='none'?'':'none');"><div align="center"><img src="../../images/hr/btn3.gif" width="120" height="43" border="0" align="absmiddle"></div></a>
<%
	End If
%>
          <table width="100%" height="25"  border="0" cellpadding="0" cellspacing="0" style="word-break:break-all"><br>
            <tr bgcolor="#EAEAEA">
              <td width="40%" align="left" class="bz">&nbsp;&nbsp;作者：<%= rs_news("zuo") %> &nbsp;&nbsp;&nbsp;发表时间：<%= rs_news("idate") %></td>
              <td width="23%" align="center" class="bz" >【<A href="javascript:doZoom(13)">大</A> <A href="javascript:doZoom(11)">中</A> <A href="javascript:doZoom(10)">小</A>】</td>
              <td width="19%" align="center" valign="middle" class="bz"><a href="javascript:window.print()"><img src="../../images/hr/print.gif" border=0 align=absmiddle>[打印该页]</a></td>
				  <td width="18%" align="center" class="bz"><a href="javascript:window.close()"><img src="../../images/hr/close.gif" border=0 align=absmiddle>[关闭窗口]</a></td>
            </tr>
          </table>
<%
		rs_news.close
		set rs_news = nothing
	end if
	if talknews<>0 then
%>
<div id=plPanel style="display:none">
<br>
<SCRIPT LANGUAGE="JavaScript">
<!--
function submitCheck()
{
   if(document.userinfo.tname.value=="") {
	document.userinfo.tname.focus();
    alert("对不起，请填写昵称！");
	return false;
  }
   if(document.userinfo.content.value=="") {
	document.userinfo.content.focus();
    alert("对不起，请填写评论内容！");
	return false;
  }
}
//-->
</script>
<form action="../../talknews_all.asp?action=save" method="post" onSubmit="return submitCheck()" name="userinfo">
<input name="nid" type="hidden" value="<%= Trim(Request.QueryString("id")) %>">
<input name="type" type="hidden" value="<%= Trim(Request.QueryString("type")) %>">
		<table width="100%" border="0" cellpadding="4" bgcolor="#EAEAEA" class="bz">
         <TR>
            <TD width=57 align="center" bgcolor="#FFFFFF">昵称</TD>
              <TD width="396" align=left bgcolor="#FFFFFF"><INPUT style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 280px; BORDER-BOTTOM: #cccccc 1px solid" size="51" name="tname"> <INPUT type="checkbox" CHECKED value="0" name="isGuest"> 匿名发表</TD>
                 <TD width="142" bgcolor="#FFFFFF">&nbsp;</TD>
			  </TR>
                    <TR>
                      <TD align="center" vAlign="top" bgcolor="#FFFFFF">内容</TD>
                      <TD align=left bgcolor="#FFFFFF"><TEXTAREA style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 560px; BORDER-BOTTOM: #cccccc 1px solid" onClick="clearCommentContent(this)" name="content" rows="8" cols="40">在此输入评论内容。

1、<%=homename%>拥有管理笔名和评论的一切权利。
2、本站管理人员有权发表、保留或删除留言中的任意内容。
3、本评论须审核后公布，因此您无法立即看到您发表的评论。</TEXTAREA></TD>
                      <TD align=middle vAlign=bottom bgcolor="#FFFFFF"><input type="submit" value="发表评论"></TD>
				</TR>
         </table>
</form>
</div>
		<table width="100%" height="25"  border="1" cellpadding="0" cellspacing="0" bordercolor="#EAEAEA" bgcolor="#EAEAEA" class="bz" style="word-break:break-all"><br>
            <tr bgcolor="#EAEAEA">
              <td colspan="3" align="left" class="bz">&nbsp;&nbsp;评论列表&nbsp;&nbsp;(最近10条)</td>
              <td width="23%" align="center" class="bz"><a href="../../talknews_all.asp?nid=<%= Trim(Request.QueryString("id")) %>" target="_blank">所有评论</a></td>
            </tr>
<%
	set rs_user=server.createobject("adodb.recordset")
	user_sql="select top 10 * from talknews where nid="&Trim(Request.QueryString("id"))&" and zhuangtai=1 order by id desc"    
	rs_user.open user_sql,conn,2,3 
	if rs_user.eof then
%>
<tr>
              <td colspan="4" align="center" bgcolor="#FFFFFF" class="bz">该新闻暂时还没有相关评论</td>
 			</tr>
<%
	end if
	i=1
	do while not rs_user.eof
%>
 			<tr>
              <td width="7%" align="center" bgcolor="#FFFFFF" class="bz"><%= i %></td>
              <td width="13%" align="center" bgcolor="#FFFFFF" class="bz"><% if rs_user("isguest")=0 then Response.Write("匿名用户") else Response.Write(rs_user("tname"))%></td>
 			  <td width="57%" align="left" bgcolor="#FFFFFF" class="bz">&nbsp;<%=left(rs_user("content"),23)%>...</td>
 			  <td bgcolor="#FFFFFF" class="bz" align="center"><%=rs_user("stime")%></td>
 			</tr>
<%
	rs_user.movenext
	i=i+1
	loop
	rs_user.close
	set rs_user=nothing
%>
          </table>
<%
	End If
%>
<iframe src="../../hr_top10.asp?type=<%= Trim(Request.QueryString("type")) %>&id=<%= Trim(Request.QueryString("id")) %>" frameborder=no border=0 marginwidth=0 marginheight=0 align=center width=944 scrolling=no noresize height=322px></iframe>
		 </td>
      </tr>
    </table>
	</td>
  </tr>
<tr>
    <td valign="bottom"><img src="../../images/hr/zx_index_13.gif" height="15" alt="" /></td>
  </tr>
</table>
<table width="977" height="40" border="0" align="center" cellpadding="0" cellspacing="0" style="word-break:break-all">
  <tr>
    <td align="center" class="bz">未经 <a href="<%=homeurl%>" target="_blank"><%=homename%></a> 同意，不得转载本网站之所有招聘信息及作品 </td>
  </tr>
</table>
</body>
</html>
