<!--#include file="head.asp"-->
<SCRIPT src="newsjs.asp?id=<%=id%>"></SCRIPT>
<SCRIPT language="JavaScript">
<!--//
function checkmessage()
{
if (document.form.messagetext.value.length<1)
{
alert("请填写留言内容！");
document.form.messagetext.focus();
return false;
}
if (document.form.messagetext.value.length>100)
{
alert("请把留言字数控制在100以内！");
document.form.messagetext.focus();
return false;
}
}
//-->
</SCRIPT>
<SCRIPT src="newsjs.asp?action=1&id=<%=id%>&S=10&L=1&N=1&zs=34&Zt=11"></SCRIPT>
<%dim title,belongcity,text,pic,username,tel,QQ,web,email,adddate,stopdate,ip,laiyuan,hot
newsData%>



<%
    Dim strAddr, nPos, strTemp,intCounter
    strAddr = Request.ServerVariables("REMOTE_ADDR")
    nPos = InStrRev(strAddr, ".")
    strAddr = Left(strAddr, nPos)
    Dim strAddrAllow(1)
    Dim strAddrAllowBeginList(1)
    Dim strAddrAllowEndList(1)
    Dim blnAllow
    blnAllow = False
'允许192.168.0.1-192.168.0.200
    strAddrAllow(0) = "192.168." 
    strAddrAllowBeginList(0) = 0
    strAddrAllowEndList(0) = 200

    '允许192.168.1.1-192.168.1.200
    strAddrAllow(1) = "192.168."
    strAddrAllowBeginList(1) = 1
    strAddrAllowEndList(1) = 200
    For intCounter = strAddrAllowBeginList(0) To strAddrAllowEndList(0)
        If strComp((strAddrAllow(0) &  intCounter & "."), strAddr) = 0 Then
            blnAllow = True
            Exit For
        End If
    Next
  If blnAllow = False Then
        For intCounter = strAddrAllowBeginList(1) To strAddrAllowEndList(1)
            If strComp((strAddrAllow(1) &  intCounter) & ".", strAddr) = 0 Then
                blnAllow = True
                Exit For
            End If
        Next
    End If
If blnAllow  Then
        Response.Write "" 
    else
end if
%>






<table style=" margin-bottom:5px;margin-top:8px;" width="960" border="0" align="center" cellpadding="0" cellspacing="0" >
  <tr>
    <td height="33" style="border:1px #D3D3D3 solid; padding:1px; background:url(Images/img_9/new_1.gif); text-indent:8px;" class="top3"><table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="1%">&nbsp;</td>
        <td width="78%" style="color:#ff6600; font-weight:700; padding-left:10px; font-size:13px"><img src="Images/img_9/new_2.gif" width="12" height="12">您现在的位置：<a href="/index.asp" style="color:#ff6600;">首页 </a>  >>  <%=belongtype%> >>  正文</td>
        <td width="21%"></td>
      </tr>
    </table></td>
  </tr>
</table>




<table width="950" border="0" align="center" cellpadding="0" cellspacing="5" style="margin-bottom:10px;">
  <tr>
    <td colspan="2" align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="83%" height="30" align="center"><b><span style="font-size:18px; color:#00458C; font-weight:700; line-height:150%"><%=title%></span></b></td>
            <td width="17%" height="30" align="right" valign="bottom">已访问<font color="#0000ff">
            <script>document.write(hits)</SCRIPT></font>次&nbsp;&nbsp;</td>
          </tr>
          <tr>
            <td height="2" colspan="2"><hr size="1" color="#CCCCCC"></td>
          </tr>
          
		  
		  <tr>
		    <td colspan="2" align="center" valign="top" style="padding:8px;line-height:120%;text-indent:28px;font-size:13px">新闻类别：<%=belongtype%>   &nbsp;&nbsp;作者：<%=laiyuan%>   &nbsp;&nbsp;发布时间：<%=adddate%>   </td>
	    </tr>
		  <tr>
		    <td height="30" colspan="2" valign="middle" style="padding:8px;line-height:180%;"><%=text%><br><br>
            <%=Pic%></td>
	    </tr>
    </table></td>
  </tr>
</table>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">

              <tr>
                <td height="25" bgcolor="D8E9FB" style="font-size:14px; font-weight:700; text-indent:8px;">留言评论：</td>
              </tr>
               <tr><FORM name="form" method="post" action="post_news.asp?type=news&id=<%=id%>" onSubmit="return checkmessage()">
                <td style="padding:8px; line-height:180%;font-size:13px;"><script>document.write(message)</SCRIPT><br><TEXTAREA name="messagetext" cols=60 rows=6></TEXTAREA><br>
                <p style="margin-top:8px">留言人: <INPUT name="messagename" type="text" id="messagename" size=9 maxlength=20>&nbsp;&nbsp;&nbsp;&nbsp;<INPUT type=submit name=Submit value=提交留言></p>
                
			</td></Form>              </tr>

</table>








<!--#include file="foot.asp" -->