⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 comment.asp

📁 大家好
💻 ASP
字号:
<%@ language="vbscript" %>
<!--#include file="adovbs.inc"-->
<% 
   DbPath = SERVER.MapPath("forum.mdb")
   Set conn = Server.CreateObject("ADODB.Connection")
   conn.open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DbPath
   sql="update forum set hitnumber=hitnumber+1 where id=cdbl('"&request("id")&"')  "
   conn.execute sql
   set rs=server.createobject("adodb.recordset")
   sqltext="select * from forum where id=cdbl('"&request("id")&"')"
    rs.open sqltext,conn,adOpenkeyset,adlockoptimistic,adcmdtext 
%>
<html>
<head>
<title>北京特路普之技术论坛</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.link1 {  color: #FFFFFF}
.link2 {  color: #FF0000}
.link3 {  color: #006600}
.big1 {  font-size: 14px; text-align: justify; vertical-align: 1%; line-height: 18px}
.title {  font-size: 14px; background-color: #CCFFCC; font-weight: bold}
.botton {  color: #000066; background-color: #FFCC99; font-size: 12px; cursor: hand;}
-->
</style>
<link rel="stylesheet" href="3508.css">
</head>

<body bgcolor="#FFFFdf" background="../images/bg1.gif">
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center" height="48">
  <tr> 
    <td width="352"><img src="../images/headcom.gif" width="720" height="76"></td>
    <td width="388">&nbsp;</td>
  </tr>
</table>
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center" height="23">
  <tr align="center"> 
    <td width="215">&nbsp;</td>
    <td width="525"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="23" background="../images/botton.gif">
        <tr align="center"> 
          <td width="75"><a href="../html/company.htm" class="link3">公司简介</a></td>
          <td width="75"><a href="../html/product.htm" class="link3">产品指南</a></td>
          <td width="75"><a href="../html/hand.htm" class="link3">服务手册</a></td>
          <td width="75"><a href="../html/thesystem.htm" class="link3">诚邀加盟</a></td>
          <td width="75"><a href="default.asp" class="link3">技术论坛</a></td>
          <td width="75"><a href="../visitor/chatguestbook.asp" class="link3">客户留言</a></td>
          <td width="75"><a href="../html/agent.htm" class="link3">联系我们</a></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td height="1" bgcolor="006600"></td>
  </tr>
</table>
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td>&nbsp;</td>
  </tr>
</table>
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center" height="17">
  <tr> 
    <td width="322">&nbsp;</td>
    <td width="418" align="right"><a href="../default.asp">特路普主页</a>&gt;&gt;<a href="default.asp">技术论坛</a>&gt;&gt;查看帖子 
    </td>
  </tr>
</table>
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td width="20" align="left"><img src="../images/leftcorner.gif" width="20" height="20"></td>
    <td width="720" valign="top"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="97%"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="1" bgcolor="#006600"></td>
              </tr>
              <tr align="right"> 
                <td height="19">&nbsp;</td>
              </tr>
            </table>
              </td>
          <td width="3%">&nbsp;</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td height="329" valign="top" width="1" bgcolor="#006600"></td>
    <td valign="top" width="739" align="center"> 
      <table width="95%" bgcolor="#eff5f3" border="0" cellpadding="10">
                    <tr> 
                      <td width="100%" valign="top">
                        <p align="center"><font size="3" face="宋体" color="#FF0000"><% =rs("title") %></font><font color="#000000" size="3" face="宋体"><br>
                          </font><% =rs("comment") %></p>
                        <table border="0" width="100%" cellpadding="0" bgcolor="#ACC4B0">
                              
              <tr align="center"> 
                <td width="100%"><!--webbot BOT="GeneratedScript" PREVIEW=" " startspan --> 
                  <script language="JavaScript"><!--
function FrontPage_Form1_Validator(theForm)
{

  if (theForm.comment.value.length > 1000)
  {
    alert("Please enter at most 1000 characters in the \"comment\" field.");
    theForm.comment.focus();
    return (false);
  }
  return (true);
}
//--></script>
                                  <!--webbot BOT="GeneratedScript" endspan -->
                                  <form action="response.asp" method="POST" onSubmit="return FrontPage_Form1_Validator(this)" name="FrontPage_Form1">
                                    <input type="hidden" name="action" value="postreply">
                                    <input type="hidden" name="number" value="4">
                                    <input type="hidden" name="topic" value="000382-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-073199-002.msg">
                                    <input type="hidden" name="Browser" value>
                                    <input type="hidden" name="HTMLAllowed" value>
                                    <input type="hidden" name="id" value="<% =rs("id") %>">
                                    <input type="hidden" name="child" value="<% =rs("child") %>">
                                    <input type="hidden" name="xl" value="<% =rs("xl") %>">
                                    <table border="0" width="402" align="center">
                                      <tr> 
                                        <td><font color="#000080">用户*:</font> 
                                          <input name="username" VALUE size="25" maxlength="25">
                                        </td>
                                      </tr>
                                      <tr> 
                                        <td><font color="#000080">题目*: 
                                          <input name="title" value="Re: <% =rs("title") %>" size="45" maxlength="45">
                                          </font></td>
                                      </tr>
                                      <tr> 
                                        <td valign="top"><font color="#000080">回复内容:</font></td>
                                      </tr>
                                      <tr> 
                                        <td><!--webbot bot="Validation" I-Maximum-Length="1000" -->
                                          <textarea name="comment" rows="6" cols="50" wrap="VIRTUAL"></textarea>
                                        </td>
                                      </tr>
                                    </table>
                                    <table cellspacing="1" cellpadding="1" align="center">
                                      <tr> 
                                        <td width="400" colspan="3">表情:</td>
                                      </tr>
                                      <tr> 
                                        <td nowrap>
                                          <input type="radio" value="0" name="brow">
                                          <img src="browimage/0.gif" alt="随便说说啦" width="15" height="15">随便说说啦</td>
                                        <td nowrap>
                                          <input type="radio" value="1" name="brow" checked>
                                          <img src="browimage/1.gif" alt="我来回答你。" width="15" height="15">我来回答你</td>
                                        <td nowrap>
                                          <input type="radio" value="2" name="brow">
                                          <img src="browimage/2.gif" alt="号外!号外!" width="15" height="15">号外!号外!</td>
                                        <td nowrap>
                                          <input type="radio" value="3" name="brow">
                                          <img src="browimage/3.gif" alt="好奇怪哟!" width="15" height="15">好奇怪哟!</td>
                                      </tr>
                                      <tr> 
                                        <td nowrap>
                                          <input type="radio" value="4" name="brow">
                                          <img src="browimage/4.gif" alt="大家过来.." width="15" height="15">.大家过来.</td>
                                        <td nowrap>
                                          <input type="radio" value="5" name="brow">
                                          <img src="browimage/5.gif" alt="大家小心!" width="15" height="15">大家小心!</td>
                                        <td nowrap>
                                          <input type="radio" value="6" name="brow">
                                          <img src="browimage/6.gif" alt="我得意的笑^_^" width="15" height="15">我得意的笑</td>
                                        <td nowrap>
                                          <input type="radio" value="7" name="brow">
                                          <img src="browimage/7.gif" alt="没劲!" width="15" height="15">没劲!</td>
                                      </tr>
                                      <tr> 
                                        <td nowrap>
                                          <input type="radio" value="8" name="brow">
                                          <img src="browimage/8.gif" alt="气死我了!" width="15" height="15">气死我了!</td>
                                        <td nowrap>
                                          <input type="radio" value="9" name="brow">
                                          <img src="browimage/9.gif" alt="坚决同意!" width="15" height="15">坚决同意!</td>
                                        <td nowrap>
                                          <input type="radio" value="10" name="brow">
                                          <img src="browimage/10.gif" alt="反对反对!" width="15" height="15">反对反对!</td>
                                        <td nowrap>
                                          <input type="radio" value="11" name="brow">
                                          <img src="browimage/11.gif" alt="管它呢:--{" width="15" height="15">管它呢:--{</td>
                                      </tr>
                                    </table>
                                        <p>
                                          <input type="submit" name="SUBMIT" value="回应该文章" class="botton">
                                          <input type="RESET" name="RESET" value="清除" class="botton">
                    </p>
                                    </form>
                                </td>
                              </tr>
                            </table>
                      </td>
                    </tr>
                  </table>
              <form method="POST" action="delete.asp">
                <input type="hidden" name="action2" value="dell">
                <input type="hidden" name="number" value="4">
                <input type="hidden" name="topic" value="000382-02-00-00-00-00-00-00-00-00-00-00-00-00-00-00-080199-100.msg">
                <input type="hidden" name="Browser" value>
                <input type="hidden" name="id" value="<% =rs("id") %>">
                <table border="0" width="600">
                  <tr bgcolor="#D5E6E1"> 
                    <td width="22">账号:</td>
                    <td width="210">
                      <input type="text" name="adm" size="20">
                    </td>
                    <td width="22">密码:</td>
                    <td width="190">
                      <input type="password" name="pw" size="20">
                    </td>
                    <td width="16"></td>
                    <td width="116"> 
                      <p> 
                        <input type="submit" value="删去该贴子" name="submit" class="botton">
                    </td>
                  </tr>
                </table>
              </form>
              <% rs.close
   conn.close
%> 
    </td>
  </tr>
</table>
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td colspan="3" height="1" bgcolor="000066"></td>
  </tr>
  <tr> 
    <td width="525"><span class="link1"><span class="link3"><span class="link2">北京特路普科技有限公司</span></span></span><span class="link3">  </span> 地址:北京市西城区复兴门金融街奔德金融会所四楼<br>
      TEL:(010)66012089 66012090  FAX:(010)66012087  邮编:100032</td>
    <td width="25"><img src="../images/a18.gif" width="26" height="25"></td>
    <td width="200"><a href="mailto:sales@twoloop.com.cn" class="link2"><span class="link2"><span class="link3">市场部:sales@twoloop.com.cn</span></span></a><span class="link2"><br>
      <a href="mailto:webmaster@twoloop.com.cn" class="link2"><span class="link3">经理部:webmaster@twoloop.com.cn</span></a></span> 
    </td>
  </tr>
  <tr> 
    <td colspan="3" height="1" bgcolor="000066"></td>
  </tr>
  <tr align="center"> 
    <td colspan="3"> 
      <p align="center"><i><font face="Georgia, Times New Roman, Times, serif" size="1">&copy;CopyRight April 
        16, 2000</font></i></p>
    </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -