首页自定义N格。[FOR PW6.3.2]

Category : 技术文档 | Post on 2008/10/18 18:55 by YAM | Comments:0
本插件适合想调用个别板块文章的朋友,也许你们会用的着!  
没啥技术含量,只是利用了首页调用的原理外加TABLE实现的 :)
[s:19]  期待这个插件很久了,高三了也没啥时间弄 - - !
  
求人不如求己吧,自己想想办法,还是把这问题解决了。
鄙人不才,如有错误的地方大家请打击打击!   [s:23]

先看演示吧:

http://bbs.iehack.com  要是以为是AD的请看下面的图片演示吧  :(

图片:

点击在新窗口中浏览此图片

好了,有兴趣的看修改方法。。。。


第一步:
引用
使用 PHPWind首页调用 功能前需要先在 new.php 文件中设置好相关参数,文件里附有说明。



第二步:

打开风格/index.htm.

找到:


<!--
EOT;
}else{print <<<EOT
-->
<div style="margin-top:7px;"></div>
<!--
EOT;
}if($db_iftag && $db_tagindex){print <<<EOT


上面添加:

<div class="t">
<table cellspacing="0" cellpadding="0" width="100%">
<tr class="tr3 tac h">
<td width="22%">=今日更新工具=</td>
<td width="22%">=今日更新教程=</td>
<td width="22%">=QQ专区更新=</td>
<td width="20%">=最新问答,解答加分=</td>
<td width="14%">=最热点击HOT=</td>
</tr>
<tr class="tr3">
<td width="22%"><script src="http://bbs.iehack.com/new.php?action=article&fidin=111&digest=0&postdate=0&author=0&fname=0&hits=0&replies=0&num=10&length=40&order=1"></script>
</td>
<td width="22%">

<script src="http://bbs.iehack.com/new.php?action=article&fidin=60&digest=0&postdate=0&author=0&fname=0&hits=0&replies=0&pre=0&num=10&length=40&order=1"></script>
</td>

<td width="22%">
<script src="http://bbs.iehack.com/new.php?action=article&fidin=57&digest=0&postdate=0&author=0&fname=0&hits=0&replies=0&pre=0&num=10&length=36&order=1"></script>
</td>

<td width="20%">
<script src="http://bbs.iehack.com/new.php?action=article&fidin=90&digest=0&postdate=0&author=0&fname=0&hits=0&replies=0&pre=0&num=10&length=36&order=1"></script>
</td>
<td align=center width="14%">
<A href="http://bbs.iehack.com/read.php?tid-15292.html"><IMG style="WIDTH: 123px; HEIGHT: 164px" height=50 alt="" hspace=0 src="http://bbs.iehack.com/images/others/zhao.jpg" width=150 border=0></A>
</td>
</tr>
</table>
</div>



完成 !


看到这里懂点代码的朋友都会了吧? 注意看script部分,不会的可以参考下后台的调用帮助文档!

详细的我就不说了,有问题大家提出来吧,我会解答的

我也可以免费帮大家弄,新手站长可以叫我帮忙哈,到我博客留言就可以了




引用
PS:有需要的朋友请留言,说出你们想要的N格,想调用的板块文章,留下你们的论坛地址:)  我会帮忙做的,谢谢大家的支持!!

最后编辑: YAM 编辑于2008/10/18 19:00
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
昵称   密码   游客无需密码
网址   电邮   [注册]