您的位置:首页 > 运维架构

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

2005-03-04 00:47 615 查看
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}>&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
相关文章推荐