所有分类列表
本站推荐
本类模板排行 Top12
模板介绍
风格名称]: 2008新年春节风格_墨香轩论坛无错版
[调试\适用版本]: Discuz!_6.0.0_简体
[制作时间]:2007年12月26日
[发布时间]:2007年12月27日
[适用版本]:GBK 、UTF
[作品类型]: 原创制作
[原创作者]: Satiling
[演示]: http://www.51-luck.com/bbs (觉得好的朋友送个IP,那就谢谢了)
本人提供本模板带来的相关问题解决(本模板在Discuz!_6.0.0_简体 UTF-8测试无任何问题,谢谢)
暂时不支持宽屏!最佳显示为1024*768
风格使用说明:
1、最新版本支持宽屏用户!
2、好多用户说安装后不能显示四格,我在这解释下,这个风格用到discuz.htm文件,
由于以前你们四格显示用到default下的discuz.htm文件,现在使用的风格是newsyear目录下的discuz.htm文件,这就是导致无法显示四格的原因,解决办法就是原来你们修改了default下的discuz.htm文件里的什么内容,现在同样修改newsyear目录下的discuz.htm文件内容,这样就可以显示,切忌不要把default下的discuz.htm文件直接覆盖newsyear目录下的discuz.htm文件。
3、请大家不要问一些最基本的问题,本人只提供本模板的技术问题!
=============================================
首页四格代码发布出来,大家自己添加!
代码如下:
打开下载的压缩包,找到templates/newyear/discuz.html文件
-------------------------------------------------------------------------------
找到
<div id="ad_text"></div>
--------------------------------------------------------------------------------
在下面添加:
----------------------------------------------------------------------------------
<!-- 首页四格代码开始 -->
<div class="mainbox forumlist" style="padding:0;">
<table cellspacing="0" cellpadding="0">
<thead class="category">
<tr>
<td align="center" style="padding:0 1px 0 0"><h3>≡ 论坛图片 ≡</h3></td>
<td align="center" style="padding:0"><h3>≡ 最新帖子 ≡</h3></td>
<td align="center" style="padding:0 1px 0 1px"><h3>≡ 最新回复 ≡</h3></td>
<td align="center" style="padding:0"><h3>≡ 本月精华 ≡</h3></td>
</tr>
</thead>
<tr>
<td width="25%">
<script type="text/javascript" src="pic.php"></script>
</td>
<td width="25%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td width="24" style="padding:0;border-top:0px;"><img src="images/list.gif" border="0" /></td>
<td background="images/listbg.gif" style="line-height:20px;padding:0;border-top:0px;background-repeat: repeat-y" width="100%">
<!--{loop $new_post_threadlist $nthread}-->
<!--{if $nthread[replies]}-->
<div style="overflow: hidden;height: 20px;width: 100%;"><a href="viewthread.php?tid=$nthread[tid]" $nthread['highlight'] title='最新帖子 {LF}所在论坛: $nthread[forumname]{LF}主题标题: $nthread[subject] {LF}主题作者: $nthread[author]{LF}发表时间: $nthread[date]{LF}浏览次数: $nthread[views] 次 {LF}回复次数: $nthread[replies] 次{LF}最后回复: $nthread[lastreplytime]{LF}{lang lastpost}: $nthread[lastposter]'>$nthread[view_subject]</a></div>
<!--{else}-->
<div style="overflow: hidden;height: 20px;width: 100%;"><a href="viewthread.php?tid=$nthread[tid]" $nthread['highlight'] title='最新帖子 {LF}所在论坛: $nthread[forumname]{LF}主题标题: $nthread[subject] {LF}主题作者: $nthread[author]{LF}发表时间: $nthread[date]{LF}浏览次数: $nthread[views] 次 {LF}回复次数: $nthread[replies] 次{LF}最后回复: 暂时没有回复'>$nthread[view_subject]</a></div>
<!--{/if}-->
<!--{/loop}-->
</td>
</tr>
</table>
</td>
<td width="25%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td width="24" style="padding:0;border-top:0px;"><img src="images/list.gif" border="0" /></td>
<td background="images/listbg.gif" style="line-height:20px;padding:0;border-top:0px;background-repeat: repeat-y" width="100%">
<!--{loop $new_reply_threadlist $rthread}-->
<div style="overflow: hidden;height: 20px;width: 100%;"><a href="viewthread.php?tid=$rthread[tid]" $rthread['highlight'] title='最新回复 {LF}所在论坛: $rthread[forumname]{LF}主题标题: $rthread[subject]{LF}主题作者: $rthread[author]{LF}发表时间: $rthread[date]{LF}浏览次数: $rthread[views] 次{LF}回复次数: $rthread[replies] 次{LF}最后回复: $rthread[lastreplytime]{LF}{lang lastpost}: $rthread[lastposter]'>$rthread[view_subject]</a></div>
<!--{/loop}-->
</td>
</tr>
</table>
</td>
<td width="25%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td width="24" style="padding:0;border-top:0px;"><img src="images/list.gif" border="0" /></td>
<td background="images/listbg.gif" style="line-height:20px;padding:0;border-top:0px;background-repeat: repeat-y" width="100%">
<!--{loop $new_hot_threadlist $mthread}-->
<div style="overflow: hidden;height: 20px;width: 100%;"><a href="viewthread.php?tid=$mthread[tid]" $mthread['highlight'] title='本月精华 {LF}所在论坛: $mthread[forumname]{LF}主题标题: $mthread[subject]{LF}主题作者: $mthread[author]{LF}发表时间: $mthread[date]{LF}浏览次数: $mthread[views] 次{LF}回复次数: $mthread[replies] 次{LF}最后回复: $mthread[lastreplytime]{LF}{lang lastpost}: $mthread[lastposter]'>$mthread[view_subject]</a></div>
<!--{/loop}-->
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!-- 首页四格代码结束 -->
====================================================
绿色评论 点击发表 (请语言健康,不违反国家法律,心态平地发表高见)
更多模版
相关模版
版权说明与提示