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

📄 config_other.bak.asp

📁 漂亮的企业网站系统v11 1、整体修改了上一版的一些BUG。 2、修改了页面底部的统计形式。 3、修改了“公告更新”栏目
💻 ASP
📖 第 1 页 / 共 3 页
字号:
  sql="select top 1 * from bbs_cast where sort='news' order by id desc"
  set rs=conn.execute(sql)
  do while not rs.eof
    topic=rs("topic")
    temp1=temp1&vbcrlf&"<tr><td align=center height="&space_mod&"><a href='update.asp?action=news&id="&rs("id")&"'>"&code_jk(topic)&"</a></td></tr><tr><td class=htd><marquee scrollamount=1 scrollDelay=5 direction=up width='95%' height='110' onMouseOver=this.stop() onMouseOut=this.start()>      "&code_jk(rs("word"))&"</marquee></td></tr>"
    rs.movenext
  loop
  rs.close
  temp1=temp1&"<tr><td class=gray align=center>[ <a href='update.asp?action=news'>更多网站公告</a> ]      [ <a href='update.asp?action=forum'>更多论坛公告</a> ]</td></tr></table>"
  response.write kong&format_bar("<a href='update.asp'><b><font class=end>公告更新</font></b></a>",temp1,11,0,0,"|"&web_var(web_color,1)&"|80","")&"</td>"
end sub

sub main_update(n_jt,n_num,c_num,et,timt)
  dim temp1,topic,word
  if n_jt<>"" then n_jt=img_small(n_jt)
  temp1="<table border=0 width='100%' cellspacing=0 cellpadding=2 class=tf>"
  sql="select top "&n_num&" id,topic,word,tim from bbs_cast where sort='news' order by id desc"
  set rs=conn.execute(sql)
  do while not rs.eof
    topic=rs("topic")
    word=rs("word")
    temp1=temp1&vbcrlf&"<tr><td align=center height="&space_mod&"><a href='update.asp?action=news&id="&rs("id")&"' title='"&code_html(topic,1,0)&"'>"&code_html(topic,1,c_num)&"</a></td></tr><tr><td align=center height=65><MARQUEE id=typhoon onmouseover=typhoon.stop() onmouseout=typhoon.start() scrollAmount=1 scrollDelay=5 direction=up width=210 height=65 border=0>      "&word&format_end(et,"<font class=gray>"&time_type(rs("tim"),timt)&"</font>")&"</MARQUEE></td></tr><tr><td align=center valign=bottom height=25>[ <a href=update.asp?action=news>更多网站公告</a> ]    [ <a href=update.asp?action=forum>更多论坛公告</a> ]</td></tr>"
    rs.movenext
  loop
  rs.close
  temp1=temp1&"</table>"
  response.write kong&format_bar("<a href='update.asp'><b><font class=end>网站公告</font></b></a>",temp1,11,0,0,"|"&web_var(web_color,1)&"|80","")&"</td>"
end sub

sub links_main(lt,nummer)
  dim temp1,nname
  temp1="<table border=0 width='100%' cellspacing=0 cellpadding=0>"
  sql="select * from links where sort='"&lt&"' and hidden=1 order by orders"
  set rs=conn.execute(sql)
  do while not rs.eof
    temp1=temp1&vbcrlf&"<tr align=center height=40>"
    for i=1 to nummer
      if rs.eof then exit for
      temp1=temp1&vbcrlf&"<td width='16%'><a href='"&rs("url")&"' target=_blank>"
      if lt="txt" then
        temp1=temp1&code_html(rs("nname"),1,0)
      else
        temp1=temp1&"<img src='"&rs("pic")&"' border=0 width=88 height=31 title='"&code_html(rs("nname"),1,0)&"'>"
      end if
      temp1=temp1&"</a></td>"
      rs.movenext
    next
    temp1=temp1&vbcrlf&"</tr>"
  loop
  rs.close
  temp1=temp1&"</table>"
  response.write temp1
end sub

sub web_search(wt)
  if wt=1 then response.write ukong
%>
  <table border=0>
  <form action='search.asp' method=get>
  <tr>
  <td><%response.write img_small("new")%>站内搜索:</td>
  <td>&nbsp;<input type=text name=keyword value='' size=20 maxlength=20></td>
  <td>&nbsp;&nbsp;<select name=sea_type>
<option value='forum'>论坛</option>
<option value='article'>文栏</option>
<option value='down'>下载</option>
<option value='paste'>图片</option>
<option value='video'>影视</option>
<option value='flash'>Flash</option>
<option value='website'>网站</option>
</select>&nbsp;&nbsp;</td>
  <td><input type=checkbox name=celerity value='yes'></td>
  <td>快速搜索&nbsp;&nbsp;</td>
  <td valign=top><input type=image src='images/small/web_sea.gif' border=0></td>
  <td>&nbsp;&nbsp;<a href='search.asp?action=help' title='多功能搜索'>搜索帮助</a></td>
  </tr>
  </form>
  </table>
<%
end sub

sub ip_search
%>
<table border=0 cellpadding=0 cellspacing=0 width='100%'><tr><td colspan=2 align=left height=24>&nbsp;&nbsp;请输入正确的 IP 地址</td></tr>
<form action='ip_address.asp' method=post>
<tr height=26><td align=center><input type=text name=ip size=18></td>
<td><input type=submit value='搜索' style=""width:35;""></td></tr></form></table>

<%
end sub

sub vouch_top(ijt,sh,n_num)
  dim temp1,n_jt,et
  if n_jt<>"" then n_jt=img_small(n_jt)
  temp1="<table border=0 width='100%' cellspacing=0 cellpadding=2 class=tf>"
  sql="select top "&n_num&" name,url,remark from website where isgood=1 and hidden=1 order by counter desc,id"
  set rs=conn.execute(sql)
  do while not rs.eof
    temp1=temp1&vbcrlf&"<tr onmouseover=""javascript:this.bgColor='"&c1&"';"" onmouseout=""javascript:this.bgColor='"&c2&"';""><td height="&space_mod&" class=bw><img border=0 src='images/"&web_var(web_config,5)&"/jt13.gif'>&nbsp;<a href="&rs("url")&" target='_blank' title="&rs("remark")&">"&code_html(rs("name"),1,8)&"</a></td></tr><tr><td height=1 background='images/bg_dian.gif'></td></tr>"
    rs.movenext
  loop
  rs.close
  temp1=temp1&"</table>"
  response.write kong&table1%>
<tr<%response.write table2%>><td class=end> <%response.write img_small(us)%>  <b>最新推荐</b></td></tr>
<tr<%response.write table3%>><td align=center>
  <table border=0 width='98%' cellspacing=0 cellpadding=0>
  <tr><td align=center><% response.write temp1%></td></tr>
  </table>
</td></tr>
</table>
<%
end sub

sub main_gallery_pic(nnhead,dsql,nt,n_num,c_num,w,h)
  dim sk_bar,sk_class,temp1,temp2,nid,cid,sid,name,uname,tim,pic,spic,nhead:nhead=nnhead:sk_bar=11:sk_class="end"
  temp1="<table border=0 width='100%' cellspacing=0 cellpadding=2><tr align=center valign=top>"
  sql="select top "&n_num&" * from gallery where hidden=1 and types='"&nt&"'"&dsql
  select case nt
  case "paste"
    sql=sql&" order by id desc"
    if nhead="" then nhead="最新贴图" 
  end select
  set rs=conn.execute(sql)
  do while not rs.eof
    name=rs("name"):nid=rs("id"):cid=rs("c_id"):sid=rs("s_id"):uname=rs("username"):tim=rs("tim")
 pic=rs("pic"):spic=rs("spic")
    temp1=temp1&vbcrlf&"<td width='"&int(100\n_num)&"%'>"
 if nt="paste" then
 temp2="<table border=0 cellspacing=0 cellpadding=2 width='100%' class=tf><tr><td align=center><a href='gallery.asp?types=view&action=paste&c_id="&cid&"&s_id="&sid&"&id="&nid&"'"&atb&"><img src='"&url_true(web_var(web_upload,1),pic)&"' border=0 width='"&w&"' height='"&h&"' alt='图片名称:"&code_html(name,1,0)&" <br>发 布 人:"&rs("username")&"<br>整理时间:"&time_type(tim,33)&"'></a></td></tr>" & _
   vbcrlf&"<tr><td align=center class=bw><a href='gallery.asp?types=view&action=paste&c_id="&cid&"&s_id="&sid&"&id="&nid&"'"&atb&" class=red_3><b>"&code_html(name,1,c_num)&"</b></a></td></tr></table>"
 temp1=temp1&vbcrlf&format_k(temp2,1,5,w+7,h+30)&"</td>"
 else
 end if
    rs.movenext
  loop
  temp1=temp1&"</tr></table>"
  response.write kong&table1%>
<tr<%response.write table2%>><td class=end> <%response.write img_small(us)%>  <b>精彩贴图</b></td></tr>
<tr<%response.write table3%>><td align=center>
  <table border=0 width='98%' cellspacing=0 cellpadding=0>
  <tr><td align=center><% response.write temp1%></td></tr>
  </table>
</td></tr>
</table>
<%
end sub

sub main_flash_pic(nnhead,dsql,nt,n_num,c_num,w,h)
  dim sk_bar,sk_class,temp1,temp2,nid,cid,sid,name,uname,tim,pic,spic,nhead:nhead=nnhead:sk_bar=11:sk_class="end"
  temp1="<table border=0 width='100%' cellspacing=0 cellpadding=2><tr align=center valign=top>"
  sql="select top "&n_num&" * from flash where hidden=1 and types='"&nt&"'"&dsql
  select case nt
  case "flash"
    sql=sql&" order by id desc"
    if nhead="" then nhead="最新Flash"
  end select
  set rs=conn.execute(sql)
  do while not rs.eof
    name=rs("name"):nid=rs("id"):cid=rs("c_id"):sid=rs("s_id"):uname=rs("username"):tim=rs("tim")
 pic=rs("pic"):spic=rs("spic")
    temp1=temp1&vbcrlf&"<td width='"&int(100\n_num)&"%'>"
 if nt="flash" then
 temp2="<table border=0 cellspacing=0 cellpadding=2 width='100%' class=tf><tr><td align=center><a href='flash.asp?types=view&action=flash&c_id="&cid&"&s_id="&sid&"&id="&nid&"'"&atb&"><img src='"&url_true(web_var(web_upload,1),spic)&"' border=0 width='"&w&"' height='"&h&"' alt='Flash名称:"&code_html(name,1,0)&" <br>发 布 人:"&rs("username")&"<br>整理时间:"&time_type(tim,33)&"'></a></td></tr>" & _
   vbcrlf&"<tr><td align=center class=bw><a href='flash.asp?types=view&action=flash&c_id="&cid&"&s_id="&sid&"&id="&nid&"'"&atb&" class=red_3><b>"&code_html(name,1,c_num)&"</b></a></td></tr></table>"
 temp1=temp1&vbcrlf&format_k(temp2,1,5,w+10,h+30)&"</td>"
 else
 end if
    rs.movenext
  loop
  temp1=temp1&"</tr></table>"
  response.write kong&table1%>
<tr<%response.write table2%>><td class=end> <%response.write img_small(us)%>  <b>闪客剧场</b></td></tr>
<tr<%response.write table3%>><td align=center>
  <table border=0 width='98%' cellspacing=0 cellpadding=0>
  <tr><td align=center><% response.write temp1%></td></tr>
  </table>
</td></tr>
</table>
<%
end sub

sub vouch_left(vjt,vjt2)
  dim temp1
  if vjt<>"" then vjt=img_small(vjt)
  if vjt2<>"" then vjt2=img_small(vjt2)
  temp1=vbcrlf&"<table border=0 width='98%' cellspacing=0 cellpadding=4 align=center>" & _
 vbcrlf&"<tr><td height=5 width='48%'></td><td width='52%'></td></tr>" & _
 vbcrlf&"<tr><td>"&vjt&"<a href='gallery.asp?action=paste'>精彩贴图</a></td><td>"&vjt2&"<a href='user_put.asp?action=gallery'>推荐图片</a></td></tr>" & _
 vbcrlf&"<tr><td>"&vjt&"<a href='flash.asp?action=flash''>精彩动画</a></td><td>"&vjt2&"<a href='user_put.asp?action=flash'>推荐动画</a></td></tr>" & _
 vbcrlf&"<tr><td>"&vjt&"<a href='business.asp?action=business'>精彩交易</a></td><td>"&vjt2&"<a href='user_put.asp?action=business'>推荐源码</a></td></tr>" & _
 vbcrlf&"<tr><td>"&vjt&"<a href='website.asp?action=website'>网站推荐</a></td><td>"&vjt2&"<a href='user_put.asp?action=website'>推荐网站</a></td></tr>" & _
 vbcrlf&"</table>"
  call vouch_skin(format_menu(index_url),temp1,"",1)
end sub

sub vouch_skin(t1,t2,t3,t4)
  if t4=1 then response.write "<table border=0 width='96%' cellspacing=0 cellpadding=0 align=center><tr><td align=center>"

⌨️ 快捷键说明

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