Newbb 重构 (Xoops) by Emerald 绿色学院 - Green Institute

Newbb Blocks, Shows recent topics in the forums
-----------------------------------------------------------------------------------------------------------
div (380px) Newbb Blocks Topic Title
---------------------------------------------------------------------------------------------------
div (50px, left 380px )Newbb Blocks Topic Replies
---------------------------------------------------------------------------------------------------
div (50px, left 430px )Newbb Blocks Topic Views
---------------------------------------------------------------------------------------------------
div (120px, left 490px )Newbb Blocks Topic Last Post
/*-----------------------------------------------------------------------------------------------*/
div (380px) Newbb Blocks Topic
---------------------------------------------------------------------------------------------------
div (380px, text-align:right, margin:12px 0px 0px 0px;) Newbb Blocks Forum Name
---------------------------------------------------------------------------------------------------
div (280px,left:315px)
---------------------------------------------------------------------------------------------------
div (50px,left:50px) Newbb Blocks Replies
-------------------------------------------------------------------------------------------
div (50px,left:100px) Newbb Blocks Views
-------------------------------------------------------------------------------------------
div (120px,float:right) Newbb Blocks Times
-------------------------------------------------------------------------------------------


/*************************************************************************************************************************/
*
* Xoops Blocks & Modules By Emerald 绿色学院 - Green Institute http://gi.2288.org:88/
*
/*************************************************************************************************************************/
/* Newbb Modules */
#newbbBlocksTitleTopicWS, #newbbBlocksTitleRepliesWS, #newbbBlocksTitleViewsWS, #newbbBlocksTitleLastPostWS {
top: auto;
color: #000000;
}
div#newbbBlocksTitleTopicWS {
width:380px;
left: 0px;
text-align:center;
}
div#newbbBlocksTitleRepliesWS {
width:50px;
left: 380px;
}
div#newbbBlocksTitleViewsWS {
width:50px;
left: 430px;
}
div#newbbBlocksTitleLastPostWS {
width:120px;
left: 490px;
}
div#newbbBlocksTopicWS {
width:380px;
left: 0px;
float:left;
white-space: nowrap;
position: absolute;
line-height:150%;
margin:0px 0px 0px 5px;
}
div#newbbBlocksForumNameWS {
width:380px;
left: 0px;
text-align:right;
position: absolute;
margin:12px 0px 0px 0px;
line-height:150%;
}
div#newbbBlocksNumberDateWS {
width:280px;
position: relative;
left:315px;
text-align:right;
line-height:150%;
}
div#newbbBlocksNumberDateWS div.newbbBlocksReliesWS{
width: 50px;
position: absolute;
left:50px;
text-align:center;
line-height:150%;
}
div#newbbBlocksNumberDateWS div.newbbBlocksViewsWS{
width: 50px;
position: absolute;
left:100px;
text-align:center;
line-height:150%;
}
div#newbbBlocksNumberDateWS div.newbbBlocksTimeWS{
width:180px;
text-align:right;
line-height:150%;
right:0px;
float:right;
}
label#newbbBlocksWS {
background-color:#fdfdfd;
float:right;
text-align:right;
letter-spacing: 3px;
padding:0px 10px 0px 0px;
margin:0px 2px 0px 0px;
}

<{if $block.disp_mode == 0}>
<div id="newbbBlocksTitleTopicWS"><{$block.lang_topic}></div>
<div id="newbbBlocksTitleRepliesWS"><{$block.lang_replies}></div>
<div id="newbbBlocksTitleViewsWS"><{$block.lang_views}></div>
<div id="newbbBlocksTitleLastPostWS"><{$block.lang_lastpost}></div>
<br />
<{foreach item=topic from=$block.topics}>
<div id="newbbBlocksTopicWS">
<a href="<{$xoops_url}>/modules/newbb/viewtopic_id<{$topic.id}>-<{$topic.forum_id}>.htm#threadtop">
<{if $topic.topic_subject eq NONE}>
<{else}>
<{$topic.topic_subject}>
<{/if}>
<{$topic.title}></a>
</div>
<div id="newbbBlocksForumNameWS">
<{$topic.topic_page_jump}>
<a href="<{$xoops_url}>/modules/newbb/forum_<{$topic.forum_id}>.htm#xoops"><{$topic.forum_name}></a>
</div>
<div id="newbbBlocksNumberDateWS">
<div class="newbbBlocksReliesWS"><{$topic.replies}></div>
<div class="newbbBlocksViewsWS"><{$topic.views}></div>
<div class="newbbBlocksTimeWS"><{$topic.time}></div>
</div>
<{/foreach}>
<{elseif $block.disp_mode == 1}>
<{$block.lang_topic}>
<{$block.lang_replies}>
<{$block.lang_lastpost}>

<{foreach item=topic from=$block.topics}>
<ul >
<a href="<{$xoops_url}>/modules/newbb/viewtopic_id<{$topic.id}>-<{$topic.forum_id}>.htm#threadtop" ><{$topic.title}></a>
<{$topic.replies}>
<{$topic.time}>
</ul>
<{/foreach}>
<{elseif $block.disp_mode == 2}>
<{foreach item=topic from=$block.topics}>
<ul>
<a href="<{$xoops_url}>/modules/newbb/viewtopic.php?topic_id=<{$topic.id}>&amp;forum=<{$topic.forum_id}>"><{$topic.title}></a>
</ul>
<{/foreach}>
<{/if}>
<label id="newbbBlocksWS"><a href="<{$xoops_url}>/modules/newbb/"><{$block.lang_visitforums}></a></label>


/****************************************************************/
*
* author : Emerald<btbtd@yahoo.com.cn>
*
* homepage : http://gi.2288.org:88/
*
* Seo-Gi : http://seo.2288.org:99
*
* sitename : 绿色学院 - Green Institute
*
* date : 2005-3-4 0:48:41
*
/****************************************************************/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值