百独托管7500 紫田网络超高转化播放器收cps[推荐]速盾CDN 免实名免备防屏蔽阿里云 爆款特卖9.9元封顶提升alexa、IP流量7Q5团队
【腾讯云】中小企福利专场【腾讯云】多款产品1折起高防 随时退换 好耶数据小飞国外网赚带你月入万元炎黄网络4H4G10M 99每月
香港带宽CN2/美国站群优惠中客数据中心 服务器租用联盟系统移动广告平台 中易企业专场腾讯云服务器2.5折九九数据 工信部正规资质
腾讯云新用户大礼包代金券高价收cpa注册量高价展示【腾讯云】2核2G/9.93起租服务器找45互联 随时退换阿里云 短信服务 验证秒达
123
返回列表

[下载]NowaPW0.94 ASP整站程序 12YES.com美化版C1.2 [复制链接]
查看:479991 | 回复:21

头像被屏蔽

2

主题

3579

帖子

3883

积分

保护或锁定(状态异常,请联系客服)

贡献
0
鲜花
0
注册时间
2002-8-29
 楼主| 发表于 2003-8-2 15:38:09 | 来自 中国
Originally posted by 红孩儿 at 2003-6-25 11:11 PM:
http://www.yslm.com/home/


都是按照 NowaPW0.94  原版修改,据我所知,还不止这些,呵呵:)
证明这个整站还是挺合适中小型站点使用的……
签名被屏蔽
头像被屏蔽

2

主题

3579

帖子

3883

积分

保护或锁定(状态异常,请联系客服)

贡献
0
鲜花
0
注册时间
2002-8-29
 楼主| 发表于 2003-8-20 00:53:50 | 来自 中国
12yes.com文章系统“热门文章”方案

修改articlecat.asp

<%
sub articlecat()
sql="select * from a_cat"
set rs2=server.createobject("adodb.recordset")
rs2.open sql,conn,1,1
%>
      <table width="90%" border="1" cellspacing="0" cellpadding="8" bgcolor="#293863" class="chinese" bordercolor="#808080" style="border-collapse: collapse">
        <tr>
          <td bgcolor="#EFEFEF" width="84%" align="center">
            <p style="LINE-HEIGHT: 150%">
   <%
   do while not rs2.eof
   if request("cat_id")=cstr(rs2("cat_id")) then
   response.write "<font color='#ff6600'>"&rs2("cat_name")&"</font>
"
   else
   response.write "<a href='article.asp?cat_id="&rs2("cat_id")&"'>"&rs2("cat_name")&"</a>
"
   end if
   rs2.movenext
   loop
   if rs2.eof and rs2.bof then
   response.write "当前没有分类!"
   end if
   %>
   </p>
          </td>
        </tr>
      </table>
      

      <table width="98%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td background="images/dotlineh.gif" height="1"></td>
        </tr>
      </table>


<table width="90%" border="1" cellspacing="0" cellpadding="0" bgcolor="#293863" bordercolor="#808080" style="border-collapse: collapse">
        <tr>
          <td bgcolor="#EFEFEF" align="center" height="22" class="chinese">本类热门文章</td>
        </tr>
        <tr>
            <td align="left" bgcolor="#ffffff">
            <%
set rs3=server.createobject("adodb.recordset")
if request.querystring("cat_id")<>"" then
sql="select top 15 art_id,art_title,art_count,cat_id from art where cat_id="&request.querystring("cat_id")&" order by art_count DESC"
else
sql="select top 15 art_id,art_title,art_count,cat_id from art order by art_count DESC"
end if
rs3.open sql,conn,1,1
do while not rs3.eof
%>
<a href="showart.asp?art_id=<%=rs3("art_id")%>&cat_id=<%=rs3("cat_id")%>">
            <font color="#808080">
<%if len(Rs3("art_title"))>14 then
response.write left(Rs3("art_title"),12)&"..."
else
response.write Rs3("art_title")
end if%></font></a><span style='font-size: 7pt;color=000000'>(<%=rs3("art_count")%>)</span>

           <%
   rs3.movenext
   loop
   if rs3.eof and rs3.bof then
   response.write "没有相关文章"
   end if
   rs3.close
   set rs3=nothing
   %>
            </td>
        </tr>
      </table>


      <table width="98%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td background="images/dotlineh.gif" height="1"></td>
        </tr>
      </table>      
      

      <table width="90%" border="1" cellspacing="0" cellpadding="0" bgcolor="#293863" bordercolor="#808080" style="border-collapse: collapse">
        <form name="form2" method="post" action="article.asp">
  <tr>
          <td bgcolor="#EFEFEF" align="center" height="22" class="chinese">文章搜索</td>
        </tr>
        <tr>
            <td bgcolor="#EFEFEF" align="center">
              <select name="select">
                <option value="art_title">搜索文章标题</option>
                <option value="art_content">搜索文章内容</option>
              </select>
              

              <input type="text" name="keyword" class="textarea" size="20">
              

              <input type="submit" name="search" value=" 搜索 " class="button">
            </td>
        </tr>
  </form>
      </table>
      

<table class="chinese" height="1" cellSpacing="0" cellPadding="5" width="85%" align="center" border="0">
  <tr>
    <td class="chinese" align="right" height="1">
    <p style="LINE-HEIGHT: 150%" align="center"><strong><font color="#666666">本
    站 声 明</font></strong></td>
  </tr>
  <tr>
    <td align="right" height="1">
    <div align="left">
      <font color="#999999">
        本站的大部分资料,文章都来自网上收集,其版权归作者本人所有,如果有任何侵犯您权益的地方,请联系我<span lang="zh-cn">们</span>,我<span lang="zh-cn">们</span>将马上进行整理,谢谢。 </font>
    </div>
    </td>
  </tr>
</table>

<%rs2.close
set rs2=nothing
end sub%>
签名被屏蔽
论坛客服/商务合作/投诉举报:2171544 (QQ)
落伍者创建于2001/03/14,本站内容均为会员发表,并不代表落伍立场!
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论!
落伍官方微信:2030286 邮箱:(djfsys@gmail.com|tech@im286.com)
© 2001-2014

浙公网安备 33060302000191号

浙ICP备11034705号 BBS专项电子公告通信管[2010]226号

  落伍法律顾问: ITlaw-庄毅雄

手机版|找回帐号|不能发帖?|Archiver|落伍者

GMT+8, 2024-6-4 00:43 , Processed in 0.097473 second(s), 27 queries , Gzip On.

返回顶部