啊血儿的风格顶部如何加广告呢(如图) 广告希望各页面都可以看到 谁指点一下 谢谢
我很菜 希望说清楚具体在哪里加上广告代码 先行谢过
- <?exit?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=$_SCONFIG[charset]" />
- <title>$_SCONFIG[sitename] $_SCONFIG[seotitle]</title>
- <meta name="keywords" content="$_SCONFIG[sitename] $_SCONFIG[seokeywords]" />
- <meta name="description" content="$_SCONFIG[sitename] $_SCONFIG[seodescription]" />
- <link rel="stylesheet" type="text/css" href="{S_URL}/templates/$_SCONFIG
- [template]/css/style.css" />
- $_SCONFIG[seohead]
- <script type="text/javascript">
- var siteUrl = "{S_URL}";
- </script>
- <script src="{S_URL}/include/js/ajax.js" type="text/javascript"
- language="javascript"></script>
- <script src="{S_URL}/include/js/common.js" type="text/javascript"
- language="javascript"></script>
- </head>
- <body>
- <div id="wrap">
- <div id="header">
- <div id="a_topmenu">
- <span>
- <a href="{S_URL}/">首页</a> |
- <a href="#action/bbs#">论坛</a> |
- <a href="{S_URL}/batch.search.php">搜索</a>
- </span>
- <div id="userpanel"><script src="{S_URL}/a03_batch.panel.php"
- type="text/javascript" language="javascript"></script></div>
- </div>
- <div id="pagetitle">
- <!--{if !empty($_SCONFIG['indexadheader'])}-->
- <div class="banner468">$_SCONFIG[indexadheader]</div>
- <!--{/if}-->
- <div>
- <a href="{S_URL}/"><img id="logo" src="{S_URL}/templates/
- $_SCONFIG[template]/images/logo.gif" alt="$_SCONFIG[sitename]" /></a>
- </div>
- </div>
- <div id="topmenu">
- <div>
- <!--{loop $channels['menus'] $key $value}-->
- <a href="$value[url]" class="$key">$value[name]</a>
- <!--{/loop}-->
- </div>
- </div>
- <div id="navigation">
- <form id="searchform" action="{S_URL}/batch.search.php"
- method="post">
- <input type="text" id="searchkey" name="searchkey" />
- <select name="type" id="type">
- <option value="">全部</option>
- <!--{loop $channels['types'] $value}-->
- <option value="$value[nameid]">$value[name]
- </option>
- <!--{/loop}-->
- </select>
- <button type="submit" name="subjectsearch" value="true">搜索
- </button>
- </form>
- <p>您的位置:<a href="{S_URL}/">首页</a></p>
- </div>
- </div>
- <!--{if !empty($_SCONFIG['indexadcenter'])}-->
- <div class="content" style="background: none; margin-bottom: 0.5em;">
- $_SCONFIG[indexadcenter]
- </div>
- <!--{/if}-->
- <div class="content" style="margin-bottom: 4px;">
- <div class="a_sideR">
- <div style="height:100px; width:200px; background:#999999;
- overflow:hidden; margin-bottom:6px;">
- <a href="http://bbs.06635.com/"><img src="images/gg/gg1.gif"
- width="200" height="100" border="0" /></a><!---->
- </div>
- <!--一周评论热点-->
- <!--{block name="spacenews" parameter="order/i.lastpost
- DESC/limit/0,11/cachetime/7500/cachename/newnews/tpl/data"}-->
- <div class="block" style="height: 278px; overflow: hidden;">
- <h3>一周评论热点</h3>
- <ul class="msgtitlelist">
- <!--{if !empty($_SBLOCK['replyhot'])}-->
- <!--{loop $_SBLOCK['replyhot'] $value}-->
- <li><a href="$value[url]" title="$value
- [subjectall]">$value[subject]</a></li>
- <!--{/loop}-->
- <!--{/if}-->
- </ul>
- </div>
- </div>
- <div class="sideL">
- <!--图文资讯幻灯片-->
- <!--{block name="spacenews"
- parameter="haveattach/1/showattach/1/order/i.dateline
- DESC/limit/0,4/subjectlen/24/subjectdot/1/cachetime/11930/cachename/picnews/tpl/data"}-->
- <div id="slideimg" class="block" style="height: 253px; overflow:
- hidden;">
- <!--{if !empty( $_SBLOCK['picnews'])}-->
- <script type="text/javascript" language="javascript">
- <!--
- var xsTextBar = 1; //是否显示文字链接,1为显示,0为不显示
- var xsPlayBtn = 0; //是否显示播放按钮,1显示,0为不显示
- var xsImgSize = new Array(286,220); //幻灯图片的尺寸,格式为“宽度,
- 高度”
-
- var xsImgs = new Array();
- var xsImgLinks = new Array();
- var xsImgTexts = new Array();
-
- <!--{eval $i=0;}-->
- <!--{loop $_SBLOCK['picnews'] $key $value}-->
- xsImgs[$i] = "$value[a_thumbpath]";
- xsImgLinks[$i] = "<!--{eval echo url_remake($value['url']);}-->";
- xsImgTexts[$i] = "<!--{eval echo addslashes($value[subject])}-->";
- <!--{eval $i++;}-->
- <!--{/loop}-->
- //-->
- </script>
- <script language="javascript" type="text/javascript"
- src="{S_URL}/include/js/slide.js"></script>
- <!--{/if}-->
- </div>
- <!--{block name="announcement"
- parameter="order/displayorder/limit/0,2/cachetime/96400/subjectlen/40/cachename/announce/tpl
- /data"}-->
- <div id="announcement" class="block" style="height: 116px; overflow:
- hidden;">
- <h3>站点公告 • 调查</h3>
- <ul class="msgtitlelist">
- <!--{if empty($_SBLOCK['announce'])}-->
- <li>暂时没有公告</li>
- <!--{else}-->
- <!--{loop $_SBLOCK['announce'] $value}-->
- <li>[公告] <a href="$value[url]">$value[subject]
- </a></li>
- <!--{/loop}-->
- <!--{/if}-->
- <!--{block name="poll" parameter="order/dateline
- DESC/limit/0,2/cachetime/80000/subjectlen/40/cachename/poll/tpl/data"}-->
- <!--{if empty($_SBLOCK['poll'])}-->
- <li>暂时没有调查</li>
- <!--{else}-->
- <!--{loop $_SBLOCK['poll'] $value}-->
- <li>[调查] <a href="$value[url]">$value
- [subject]</a></li>
- <!--{/loop}-->
- <!--{/if}-->
- </ul>
- </div>
- </div>
- <div class="a_mainarea">
- <!--一周点击排行头条-->
- <!--{block name="spacenews"
- parameter="dateline/604800/showattach/1/showdetail/1/order/i.viewnum
- DESC/limit/0,1/subjectlen/46/subjectdot/1/messagelen/120/messagedot/1/cachetime/18600/cachen
- ame/headnews/tpl/data"}-->
- <div id="headline" class="block">
- <!--{if !empty($_SBLOCK[headnews])}-->
- <!--{loop $_SBLOCK[headnews] $value}-->
- <!--{if !empty($value[a_thumbpath])}--><a href="$value
- [url]"><img src="$value[a_thumbpath]" alt="" /></a><!--{/if}-->
- <strong><a href="$value[url]">$value[subject]</a></strong>
- <p>$value[message]</p>
- <!--{/loop}-->
- <!--{/if}-->
- </div>
-
- <!--最新资讯 -->
- <!--{block name="spacenews" parameter="order/i.dateline
- DESC/subjectlen/38/subjectdot/1/limit/0,18/cachetime/10800/cachename/newnews/tpl/data"}-->
- <div id="focus" class="block" style="border-top-width:0;">
- <ul class="a_list2col linelist" style="height:193px;
- overflow:hidden;">
- <!--{loop $_SBLOCK['newnews'] $value}-->
- <li><a href="$value[url]" title="$value
- [subjectall]">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
-
- <div style="height:100px; width:440px; background:#999999;
- overflow:hidden;">
- <a href="http://bbs.06635.com/register.php"><img
- src="images/gg/gg2.gif" width="440" height="100" border="0" /><!--axueer03_2-->
- </div>
-
- </div>
- </div>
-
- <!--{if !empty($channels['types']['blog'])}-->
- <div id="blogblock">
- <div class="content" style="margin-bottom: 4px;">
- <div class="a_sideR">
- <!--{block name="userspace" parameter="order/u.spaceallnum
- DESC/limit/0,10/cachetime/44000/cachename/topspace/tpl/data"}-->
- <div id="hotspace" class="block stat" style="height:
- 240px;">
- <a href="#action/spaces#" class="more">所有空间</a>
- <h3>空间排行</h3>
- <ol>
- <!--{loop $_SBLOCK['topspace'] $value}-->
- <li><em>$value[spaceallnum]</em><a
- href="$value[url]">$value[spacename]</a></li>
- <!--{/loop}-->
- </ol>
- </div>
-
- <!--{block name="spacefile"
- parameter="dateline/604800/order/i.viewnum
- DESC/limit/0,11/subjectlen/25/cachetime/41700/cachename/recommendfile/tpl/data"}-->
- <div id="hotfile" class="block" style="height:275px;
- overflow:hidden;">
- <h3><a href="#action/file#">文件</a> • 周点击榜
- </h3>
- <ul class="msgtitlelist">
- <!--{loop $_SBLOCK['recommendfile'] $value}-->
- <li><a href="$value[url]">$value[subject]
- </a> <span class="smalltxt">($value[viewnum])</span></li>
- <!--{/loop}-->
- </ul>
- </div>
-
-
- </div>
- <div class="sideL">
- <!-- 同城空间 -->
- <div id="cityspace" class="block cleanblock">
- <script language="javascript" type="text/javascript"
- src="{S_URL}/include/js/city.js"></script>
- <form action="{S_URL}/batch.search.php"
- method="post">
- <script language="javascript"
- type="text/javascript">showprovince('province', 'city', '');</script><script
- language="javascript" type="text/javascript">showcity('city', '');</script>
- <button type="submit" name="usersearch"
- value="true">同城空间</button>
- </form>
- </div>
- <!--{block name="tag" parameter="order/spaceallnum
- DESC/limit/0,30/cachetime/21600/cachename/hottag/tpl/data"}-->
- <div id="hottag" class="block">
- <h3>热门标签</h3>
- <div style="height: 10.5em;">
- <!--{loop $_SBLOCK['hottag'] $value}-->
- <a href="$value[url]">$value[tagname]<em>
- ($value[spaceallnum])</em></a>
- <!--{/loop}-->
- </div>
- </div>
-
- <div class="block" style="height:200px; overflow:hidden;">
- <h3><a href="#action/group#" class="more">更多</a>周热门圈子
- </h3>
- <!-- 热门圈子 -->
- <!--{block name="group"
- parameter="lastpost/604800000/order/g.usernum
- DESC/limit/0,9/cachetime/29900/cachename/catgroup/tpl/data"}-->
- <!--{loop $_SBLOCK['catgroup'] $key $value}-->
- <!--{if $key==0}-->
- <div style="float: left; width: 105px;
- overflow: hidden; margin-left: -5px;">
- <ul class="avatarlist">
- <li>
- <div><a
- href="$value[url]"><img src="$value[logo]" alt="$value[groupname]" style="width: 75px;
- height: 75px;" /></a></div>
- <ul>
- <li><a
- href="$value[url]" target="_blank">$value[groupname]</a></li>
- <li><a
- href="#uid/$value[uid]#" style="color: #090;" target="_blank">$value[username]</a></li>
- <li
- class="smalltxt"><span class="users">成员: $value[usernum]</span></li>
- <li
- class="smalltxt"><a href="javascript:joingroup('$value[gid]');" class="joingroup" title="加
- 入本圈">加入本圈</a></li>
- </ul>
- </li>
-
- </ul>
- </div>
- <!--{elseif $key>0}-->
- <!--{if $key==1}-->
- <ul class="msgtitlelist" style="margin-left:
- 95px; margin-right: 5px;">
- <!--{/if}-->
- <li><cite><a href="#uid/$value[uid]#"
- target="_blank">$value[username]</a> </cite><a href="$value[url]" target="_blank">$value
- [groupname]</a></li>
- <!--{/if}-->
- <!--{/loop}-->
- </ul>
- </div>
-
- </div>
- <div class="a_mainarea">
- <div class="block cleanblock" style="height:416px;
- overflow:hidden;">
- <h3><a href="#action/spaces#">个人空间</a> • <a
- href="#action/blog#">日志</a> • <a href="#action/image#">图片</a></h3>
- <!-- 最新发布的日志 -->
- <!--{block name="spaceblog" parameter="order/i.dateline
- DESC/limit/0,18/showspacename/1/subjectlen/40/subjectdot/1/cachetime/14800/cachename/coolblo
- g/tpl/data"}-->
- <ul class="a_list2col" style=" margin-
- bottom:10px;height:190px; overflow:hidden;">
- <!--{loop $_SBLOCK['coolblog'] $value}-->
- <li><cite><a href="#uid/$value[uid]#">$value[username]</a>
- </cite><a href="$value[url]">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
-
- <!--{block name="spaceimage" parameter="order/i.lastpost
- DESC/limit/0,10/cachetime/11400/subjectlen/16/showdetail/1/cachename/commendimage/tpl/data"}
- -->
- <div id="newimage">
- <ul class="a_imgthumblist">
- <!--{loop $_SBLOCK['commendimage'] $value}-->
- <li>
- <a href="$value[url]"><img
- src="$value[image]" alt="$value[subject],$value[imagenum]幅,by $value[username]" /></a>
- </li>
- <!--{/loop}-->
- </ul>
- </div>
-
- </div>
- </div>
- <div style="clear:left;height:100px; width:750px;
- background:#999999; overflow:hidden;">
- <a href="http://bbs.06635.com/"><img src="images/gg/gg3.gif"
- width="750" height="100" border="0" /></a><!--axueer03_3-->
- </div>
- </div>
- </div>
- <!--{/if}-->
- <!--{if !empty($channels['menus']['bbs'])}-->
- <div id="bbsblock">
- <div class="content">
- <div class="a_sideR">
- <div style="height:100px; width:200px; background:#999999;
- overflow:hidden; margin-bottom:6px;">
- <a href="http://bbs.06635.com/"><img src="images/gg/gg4.gif"
- width="200" height="100" border="0" /></a><!--axueer03_4-->
- </div>
- <!--{block name="spacelink"
- parameter="dateline/604800/order/i.viewnum
- DESC/limit/0,9/subjectlen/25/cachetime/31700/cachename/hotlink/tpl/data"}-->
- <div id="hotlink" class="block">
- <h3><a href="#action/link#">书签</a> • 周点击榜
- </h3>
- <ul class="msgtitlelist" style="height: 195px;
- overflow: hidden;">
- <!--{loop $_SBLOCK['hotlink'] $value}-->
- <li><a href="$value[url]">$value[subject]
- </a> <span class="smalltxt">($value[viewnum])</span></li>
- <!--{/loop}-->
- </ul>
- </div>
- </div>
- <div class="sideL">
-
- <div class="block" style="height: 211px; overflow: hidden;">
- <a href="#action/goods#" class="more">更多</a>
- <h3>最新上架商品</h3>
- <!-- 一周热评 -->
- <!--{block name="spacegoods" parameter="order/i.dateline
- DESC/limit/0,2/subjectlen/14/subjectdot/1/showdetail/1/cachetime/11900/cachename/weekcommend
- goods/tpl/data"}-->
- <div class="a_goodslist">
- <!--{loop $_SBLOCK['weekcommendgoods'] $value}-->
-
- <div><a href="$value[url]"><img src="$value
- [thumb]" alt="$value[subject]" /></a></div>
- <!--{/loop}-->
- </div>
- <!-- 一周热评 -->
- <!--{block name="spacegoods" parameter="order/i.lastpost
- DESC/limit/0,10/showdetail/1/cachetime/12900/cachename/newgoods/tpl/data"}-->
- <ul class="msgtitlelist" style="margin-left:
- 90px; margin-right: 5px;">
- <!--{loop $_SBLOCK['newgoods'] $value}-->
-
- <li><cite><a href="#uid/$value[uid]#"
- target="_blank">$value[username]</a></cite><a href="$value[url]">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- </div>
- <div class="a_mainarea">
- <div class="block cleanblock" style="height:211px;
- overflow:hidden;">
- <a href="#action/bbs#" class="more">更多</a>
- <h3>论坛</h3>
- <!--{block name="bbsthread" parameter="order/t.lastpost
- DESC/subjectlen/40/limit/0,16/cachetime/5630/cachename/newthread/tpl/data"}-->
- <ul class="a_list2col" style="height:165px;
- overflow:hidden;">
- <!--{loop $_SBLOCK['newthread'] $value}-->
- <li><cite><a href="#uid/$value
- [authorid]/action/viewpro#" target="_blank">$value[author]</a></cite><a href="$value
- [url]">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- </div>
- <div></div>
- <!--{block name="spacevideo" parameter="order/i.dateline
- DESC/limit/0,8/showdetail/1/subjectlen/30/cachetime/12000/cachename/newvideo/tpl/data"}-->
- <div id="hotratevideo" class="block"
- style="clear:left;height:110px;width:750px;padding-top:5px;overflow:hidden;">
- <ul class="imgthumblist">
- <!--{loop $_SBLOCK['newvideo'] $value}-->
- <li class="smallthumb">
- <div><a href="$value[url]"
- title="$value[subject], by $value[username]"><img src="$value[image]" alt="$value[subject]"
- /></a></div>
- <p><a href="$value[url]">$value
- [subject]</a></p>
- </li>
- <!--{/loop}-->
- </ul>
- </div>
- </div>
- </div>
- <!--{/if}-->
- <!-- /Content -->
- <!-- Footer -->
- <div id="footer">
- <!--{if !empty($_SCONFIG['indexadfooter'])}-->
- $_SCONFIG[indexadfooter]
- <!--{/if}-->
- <p>
- <a href="{S_URL}/">$_SCONFIG[sitename]</a> |
- <a href="{B_URL}/" target="_blank">交流论坛</a> |
- <a href="{S_URL}/?action/site/type/panel">快捷面板</a> |
- <a href="{S_URL}/?action/site/type/map">站点地图</a> |
- <a href="{S_URL}/?action/site/type/link">友情链接</a> |
- <a href="{S_URL}/?action/spaces">空间列表</a> |
- <a href="{S_URL}/archiver/">站点存档</a> |
- <a href="mailto:$_SCONFIG[adminemail]">联系我们</a>
- </p>
- <p id="copyright">
- Powered by <a href="http://www.supesite.com"
- target="_blank"><strong>Supe<span>Site</span></strong></a> <em><?=S_VER?></em>
- © 2001-2007 <a href="http://www.comsenz.com"
- target="_blank">Comsenz Inc.</a>
- <br />{eval debuginfo();}
- </p>
- </div>
- <!-- /Footer -->
- </div>
- <!--{if !empty($_SCONFIG['indexadfloating']) || !empty($_SCONFIG['indexadside'])}-->
- <script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
- <script language="javascript">
- <!--{if !empty($_SCONFIG['indexadfloating'])}-->
- var lengthobj = getWindowSize();
- lsfloatdiv('floatAdv', 0, 0, "<div style="position: absolute; right: 6px; bottom:
- -"+lengthobj.winHeight+"px;"><!--{eval echo jsstrip($_SCONFIG['indexadfloating']);}--
- ></div>").floatIt();
- <!--{/if}-->
- <!--{if !empty($_SCONFIG['indexadside'])}-->
- lsfloatdiv('coupleBannerAdv', 0, 0, "<div style="position: absolute; left: 6px; top:
- 6px;"><!--{eval echo jsstrip($_SCONFIG['indexadside']);}--><br><img
- src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'"
- onClick="closeBanner('coupleBannerAdv');"></div><div style="position: absolute; right:
- 6px; top: 6px;"><!--{eval echo jsstrip($_SCONFIG['indexadside']);}--><br><img
- src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'"
- onClick="closeBanner('coupleBannerAdv');"></div>").floatIt();
- <!--{/if}-->
- </script>
- <!--{/if}-->
- <!--{if !empty($_SCONFIG['indexadwindow'])}-->
- <script type="text/javascript">
- window.open('$_SCONFIG[indexadwindow]');
- </script>
- <!--{/if}-->
- </body>
- </html>
复制代码
[ 本帖最后由 2linet 于 2008-4-26 17:00 编辑 ] |