PJBLOG使用技巧(10)
程序代码
Select tag_id,tag_name,tag_count FROM blog_tag
将其改为:
程序代码
Select tag_id,tag_name,tag_count FROM blog_tag orDER BY tag_count DESC,tag_id ASC
(3)在后台重建数据缓存。
25.在日志显示下方添加Google Adsense及Search
===================================================
在Template\Article.asp中的“查看次数...”后添加以下代码:
程序代码
<div id="Content_GoogleAD2" class="content-width"><div style="text-align:left;padding:3px;background:#F7F6F4">
<div style="float:right">
<!-- Search Google -->
<center>
<form method="get" action="http://www.google.com/custom" target="_blank">
<table bgcolor="#F7F6F4">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a>
<br/>
<input type="text" name="q" size="13" maxlength="255" value=""></input>
<input type="submit" name="sa" value="搜索"></input>
<input type="hidden" name="client" value="pub-9468857571508298"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="UTF-8"></input>
<input type="hidden" name="oe" value="UTF-8"></input>
<input type="hidden" name="cof" value="GALT:#333333;GL:1;DIV:#37352E;VLC:000000;AH:center;BGC:E9E8E0;LBGC:8E866F;ALC:000000;LC:000000;T:44423A;GFNT:663333;GIMP:663333;LH:31;LW:88;L:http://www.coosuo.com/logo/bloglogo.gif;S:http://www.coosuo.com/blog;LP:1;FORID:1;"></input>
<input type="hidden" name="hl" value="zh-CN"></input>
</td></tr></table>
</form>
</center>
<!-- Search Google -->
</div>
<script type="text/javascript"><!--
google_ad_client = "pub-9468857571508298";
google_alternate_ad_url = "http://www.coosuo.com/upload/fuqian.jpg";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "E9E8E0";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "336699";
google_color_text = "333333";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
内容版权声明:除非注明,否则皆为本站原创文章。