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

类别:网站制作 点击:0 评论:0 推荐:
绿色学院 - green institute - 不听人间乐 - 想得到 - 做得到 - xoops

Xphpbbi Blocks, Shows recent topics in the forums
-----------------------------------------------------------------------------------------------------------
div (50px)
---------------------------------------------------------------------------------------------------
div (330px)
---------------------------------------------------------------------------------------------------
div (50px)
---------------------------------------------------------------------------------------------------
div (50px)
---------------------------------------------------------------------------------------------------
div (120px)
/*-----------------------------------------------------------------------------------------------*/
div (380px) xphpbbi Blocks Left
---------------------------------------------------------------------------------------------------
div (50px)
-------------------------------------------------------------------------------------------
div (330px)
-------------------------------------------------------------------------------------------
div (380px)
---------------------------------------------------------------------------------------------------
div (220px)
---------------------------------------------------------------------------------------------------
div (50px)
-------------------------------------------------------------------------------------------
div (50px)
-------------------------------------------------------------------------------------------
div (120px)
-------------------------------------------------------------------------------------------

/*************************************************************************************************************************/
/* Xphpbbi Modules */
#xphpbbiBlocksTitleTopicWS, #xphpbbiBlocksTitleRepliesWS, #xphpbbiBlocksTitleViewsWS, #xphpbbiBlocksTitleLastpostWS {
top: auto;
}
div#xphpbbiBlocksTitleTopicWS {
width:380px;
left: 0px;
}
div#xphpbbiBlocksTitleRepliesWS {
width:50px;
left: 380px;
text-align:left;
}
div#xphpbbiBlocksTitleViewsWS {
width:50px;
left: 430px;
text-align:left;
}
div#xphpbbiBlocksTitleLastpostWS {
width:120px;
left: 480px;
text-align:center;
}
div#xphpbbiBlocksLeftWS {
width:380px;
position: absolute;
}
div#xphpbbiBlocksLeftWS div.xphpbbiBlocksImgWS {
width:50px;
position: absolute;
left:0px;
}
div#xphpbbiBlocksLeftWS div.xphpbbiBlocksTitleWS {
float:left;
left: 25px;
text-align:left;
position: relative;

}
div#xphpbbiBlocksTopicForumWS {
left: 320px;
text-align:right;
position: absolute;
margin:12px 0px 0px 0px;
}
div#xphpbbiBlocksNumberDateWS {
width:280px;
left:315px;
text-align:right;
position: relative;
}
div#xphpbbiBlocksNumberDateWS div.xphpbbiBlocksRepliesWS {
width: 50px;
position: absolute;
left:50px;
text-align:center;
}
div#xphpbbiBlocksNumberDateWS div.xphpbbiBlocksTopicViewsWS {
width: 50px;
position: absolute;
left:100px;
text-align:center;
}
div#xphpbbiBlocksNumberDateWS div.xphpbbiBlocksTopicTimePosterWS {
width:180px;
text-align:right;
right:0px;
float:right;
position: relative;
}
div#xphpbbiLabel-lWS {
width:300px;
float:left;
background-color: #fdfdfd;
letter-spacing: 3px;
padding:0px 10px 0px 0px;
margin:10px 0px 0px 2px;
}
div#xphpbbiLabel-rWS {
text-align:right;
letter-spacing: 3px;
padding:0px 10px 0px 0px;
margin:10px 2px 0px 0px;
background-color: #fdfdfd;
}

<div id="xphpbbiBlocksTitleTopicWS"><{$block.lang_topic}></div>
<div id="xphpbbiBlocksTitleRepliesWS"><{$block.lang_replies}></div>
<div id="xphpbbiBlocksTitleViewsWS"><{$block.lang_views}></div>
<div id="xphpbbiBlocksTitleLastpostWS"><{$block.lang_lastpost}></div>
<br />
<{if $block.full_view == true}>
<{foreach item=topic from=$block.topics}>
<div id="xphpbbiBlocksLeftWS">
<div class="xphpbbiBlocksImgWS"><img src="<{$topic.img_dir}>" alt="<{$topic.forum_name}>"></div>
<div class="xphpbbiBlocksTitleWS"><a href="<{$xoops_url}>/modules/xphpbbi/viewtopic_<{$topic.id}>.htm#top" ><{$topic.title}></a></div>
</div>
<{$topic.pages}>
<div id="xphpbbiBlocksTopicForumWS"><a href="<{$xoops_url}>/modules/xphpbbi/viewtopic_<{$topic.forum_id}>.htm#top" ><{$topic.forum_name}></a>
</div>
<div id="xphpbbiBlocksNumberDateWS">
<div class="xphpbbiBlocksRepliesWS"><{$topic.replies}></div>
<div class="xphpbbiBlocksTopicViewsWS"><{$topic.views}></div>
<div class="xphpbbiBlocksTopicTimePosterWS">
<{$topic.time}><{if $topic.isuser}><br /><a href='<{$xoops_url}>/modules/xphpbbi/profile.php?mode=viewprofile&u=<{$topic.poster_id}>'><{$block.lang_by}>: <{$topic.poster_name}></a><{else}>
<{$block.lang_by}>: <{$topic.poster_name}> <{/if}>
</div>
</div>
<{/foreach}>
<div id="xphpbbiLabel-lWS"><a href="http://www.bbpixel.com">::BBpixel::</a></div>
<div id="xphpbbiLabel-rWS"><a href="<{$xoops_url}>/modules/xphpbbi/"><{$block.lang_visitforums}></a></div>
<{else}>
<ul>
<{$block.lang_topic}>
<{$block.lang_replies}>
<{$block.lang_lastpost}>
</ul>
<{foreach item=topic from=$block.topics}>
<ul >

<a href="<{$xoops_url}>/modules/xphpbbi/viewtopic_<{$topic.forum_id}>.htm#top" ><img src='<{$topic.img_dir}>'></img></a>

<a href="<{$xoops_url}>/modules/xphpbbi/viewtopic_<{$topic.id}>.htm#top" ><{$topic.title}></a> <{$topic.pages}>
<{$topic.replies}>
<{$topic.time}><{if $topic.isuser}> <a href='<{$xoops_url}>/modules/xphpbbi/profile.php?mode=viewprofile&u=<{$topic.poster_id}>'><{$block.lang_by}>:&nbsp;<{$topic.poster_name}></a><{else}> <{$block.lang_by}>:&nbsp;<{$topic.poster_name}> <{/if}>
</ul>
<{/foreach}>
<a href="http://www.bbpixel.com">::BBpixel::</a>
<a href="<{$xoops_url}>/modules/xphpbbi/"><{$block.lang_visitforums}></a>
<{/if}>

/****************************************************************\
*
* author : Emerald<[email protected]>
*
* homepage : http://gi.2288.org:88/
*
* Seo-Gi : http://seo.2288.org:99
*
* sitename : 绿色学院 - Green Institute
*
* date : 2005-3-4 0:48:41
*
\****************************************************************/

本文地址:http://com.8s8s.com/it/it30777.htm