找回密码
 注册
广告投放 虚位以待【阿里云】2核2G云新老同享 99元/年,续费同价做网站就用糖果主机-sugarhosts.comJtti.com-新加坡服务器,美国服务器,香港服务器
查看: 1404|回复: 3

想在SABLOG-X中加个广告~怎么加啊

[复制链接]
发表于 2006 年 8 月 23 日 14:02:13 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
我想在右下角加个GOOGLE的AD
160*600的
怎么在啊
在Left.htm里面怎么改
<!--<?php
if ($options['show_calendar']) {print <<<EOT
-->
<table border="0" cellpadding="0" cellspacing="0" style="background-image:url(templates/$options[templatename]/calendar/month{$calendar[cur_month]}.gif);">
  <tr>  
  <td><table width="180" cellpadding="0" cellspacing="2">
    <tr align="center">
      <td colspan="7" class="curdate"><a href="./?setdate=$calendar[prevmonth]">&laquo;</a> $calendar[cur_date] <a href="./?setdate=$calendar[nextmonth]">&raquo;</a></td>
    </tr>
    <tr>
      <td class="week"><font color="#CC0000">日</font></td>
      <td class="week">一</td>
      <td class="week">二</td>
      <td class="week">三</td>
      <td class="week">四</td>
      <td class="week">五</td>
      <td class="week"><font color="#53A300">六</font></td>
    </tr>
        $calendar[html]
  </table></td>  
  </tr>  
</table>
<img src="templates/$options[templatename]/images/index_12.gif" border="0" style="align:center"></img>
<!--
EOT;
}
if ($options['show_categories']) {print <<<EOT
-->
<h2>日志分类</h2>
<ul>
<!--
EOT;
if(empty($catecache)){print <<<EOT
-->
  <li>没有任何分类</li>
<!--
EOT;
}else{
foreach($catecache AS $data){
print <<<EOT
-->
<li><a href="./rss.php?cid=$data[cid]"><img src="templates/$options[templatename]/images/xml.gif" border="0" valign="absbuttom"></a><a href="./?cid=$data[cid]&cname=$data[url]">$data[name]</a> [$data[articles]]</li>
<!--
EOT;
}}print <<<EOT
-->
</ul>
<!--
EOT;
}
if ($options['show_hottags']) {print <<<EOT
-->
<img src="templates/$options[templatename]/images/index_12.gif" border="0" style="align:center"></img>
<h2>热门标签</h2>
<ul>
<!--
EOT;
if(empty($tagcache)){print <<<EOT
-->
  <li>没有任何标签</li>
<!--
EOT;
}else{
foreach($tagcache AS $data){
print <<<EOT
-->
<li><a href="?action=tags&item=$data[url]">$data[tag]</a> [$data[usenum]]</li>
<!--
EOT;
}}print <<<EOT
-->
</ul>
<!--
EOT;
}
if ($options['show_archives']) {print <<<EOT
-->
<img src="templates/$options[templatename]/images/index_12.gif" border="0" style="align:center"></img>
<h2>日志归档</h2>
<ul>
  <!--
EOT;
if(empty($archivecache)){print <<<EOT
-->
  <li>没有任何归档</li>
<!--
EOT;
}else{
foreach($archivecache AS $key => $val){
$v = explode(",", $key);
$e_month = ($v[1] < 10) ? str_replace("0", "", $v[1]) : $v[1];
print <<<EOT
-->
  <li><a href="./?setdate=$v[0]$v[1]">$monthname[$e_month], $v[0]</a> [$val]</li>
<!--
EOT;
}}print <<<EOT
-->
</ul>
<!--
EOT;
}print <<<EOT
-->
<img src="templates/$options[templatename]/images/index_12.gif" border="0" style="align:center"></img>
<h2>搜索文章</h2>
<form method="post" action="post.php">
<input type="hidden" name="action" value="search" />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><input class="formfield" maxlength="30" size="15" name="keywords" />
    </td>
    <td style="padding-left: 5px"><input type="submit" class="formbutton" value="确定" />
    </td>
  </tr>
  <tr>
    <td colspan="2"><a href="./?action=search" style="margin-right:15px;">高级搜索</a><a href="./?action=searchstats">热门搜索Top50</a></td>
  </tr>
</table>
</form>
<!--
EOT;
if($options['allow_search_comments']){print <<<EOT
-->
<img src="templates/$options[templatename]/images/index_12.gif" border="0" style="align:center"></img>
<h2>搜索评论</h2>
<form method="post" action="./post.php">
<input type="hidden" name="action" value="search" />
<input type="hidden" name="searchfrom" value="comment" />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><input class="formfield" maxlength="30" size="15" name="keywords" />
    </td>
    <td style="padding-left: 5px"><input type="submit" class="formbutton" value="确定" />
    </td>
  </tr>
  <tr>
    <td colspan="2">匹配评论人和内容</td>
  </tr>
</table>
</form>
<!--
EOT;
}
if ($options['show_recentcomments']) {print <<<EOT
-->
<img src="templates/$options[templatename]/images/index_12.gif" border="0" style="align:center"></img>
<h2>最新评论</h2>
<ul>
<!--
EOT;
if(empty($newcommentcache)){print <<<EOT
-->
  <li>没有任何评论</li>
<!--
EOT;
}else{
foreach($newcommentcache AS $data){
print <<<EOT
-->
  <li><a href="./?action=show&id=$data[articleid]&cmid=$data[commentid]&goto=newcm">$data[content]</a>
    <div class="newcminfo">$data[dateline] - $data[author]</div>
  </li>
<!--
EOT;
}}print <<<EOT
-->
</ul>
<div style="text-align:right;padding-top: 10px;"><a href="./?action=comments">更多...</a></div>
<!--
EOT;
}
if ($options['show_statistics']) {print <<<EOT
-->
<img src="templates/$options[templatename]/images/index_12.gif" border="0" style="align:center"></img>
<h2>博客信息</h2>
<ul>
  <li>分类数量: <font color="#333399">$stats[cate_count]</font></li>
  <li>文章数量: <font color="#333399">$stats[article_count]</font></li>
  <li>评论数量: <font color="#333399">$stats[comment_count]</font></li>
  <li>标签数量: <font color="#333399">$stats[tag_count]</font></li>
  <li>附件数量: <font color="#333399">$stats[attachment_count]</font></li>
  <li>引用数量: <font color="#333399">$stats[trackback_count]</font></li>
  <li>注册用户: <font color="#333399">$stats[user_count]</font></li>
  <li>今日访问: <font color="#333399">$stats[today_view_count]</font></li>
  <li>总访问量: <font color="#333399">$stats[all_view_count]</font></li>
  <li>程序版本: <font color="#333399">1.0</font></li>
  <li>程序编码: <font color="#333399">UTF-8</font></li>
</ul>
<!--
EOT;
}
if ($options['show_links']) {print <<<EOT
-->
<img src="templates/$options[templatename]/images/index_12.gif" border="0" style="align:center"></img>
<h2>友情链接</h2>
<ul>
<!--
EOT;
if(empty($linkcache)){print <<<EOT
-->
      <li><a href="http://www.4ngel.net" target="_blank" title="安全天使网络安全小组">S4T</a></li>
      <li><a href="http://www.sablog.net" target="_blank" title="Sablog-X官方网站">Sablog-X</a></li>
      <li><a href="http://www.4ngel.net/blog/angel" target="_blank" title="angel's blog">angel's blog</a></li>
<!--
EOT;
}else{
foreach($linkcache AS $data){
print <<<EOT
-->
      <li><a href="$data[url]" target="_blank" title="$data[note]">$data[name]</a></li>
<!--
EOT;
}}print <<<EOT
-->
</ul>
<!--
EOT;
}
if($options['icp']){print <<<EOT
--><div id="icp">$options[icp]</div><!--
EOT;
}
?>
加在哪个地方
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
发表于 2006 年 8 月 23 日 23:21:02 | 显示全部楼层
【腾讯云】2核2G云服务器新老同享 99元/年,续费同价
可以加在这行
--><div id="icp">$options[icp]</div><!--
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

发表于 2006 年 9 月 4 日 16:42:45 | 显示全部楼层
为什么不在HEADER里面改..
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

发表于 2006 年 9 月 10 日 14:57:23 | 显示全部楼层
还是不行
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|金光论坛

GMT+8, 2025 年 2 月 5 日 00:46 , Processed in 0.027895 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表