星☆空 | 对生活要知足,学习要不知足,为人处事要知不足. 卍 ♂ | ♀ 卐 - 科技以人为本....

QQ:908202921, Msn:btbtd@live.com gI.2288.oRg:88 绿色学院 - GrEeN InsTiTutE, www.btbtd.org

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
*
/****************************************************************/
阅读更多
文章标签: div float url class date
个人分类: Me Xoops Me xhtml & css
上一篇Xoops Web Standard (Themes Source + CSS Document) by Emerald 绿色学院 - Green Institute
下一篇Xphpbbi 重构 (Xoops) by Emerald 绿色学院 - Green Institute
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭