中国IT动力,最新最全的IT技术教程
最新100篇 | 推荐100篇 | 专题100篇 | 排行榜 | 搜索 | 在线API文档
首 页 | 程序开发 | 操作系统 | 软件应用 | 图形图象 | 网络应用 | 精文荟萃 | 教育认证 | 硬件维护 | 未整理篇 | 站长教程
ASP JS PHP工程 ASP.NET 网站建设 UML J2EESUN .NET VC VB VFP 网络维护 数据库 DB2 SQL2000 Oracle Mysql
服务器 Win2000 Office C DreamWeaver FireWorks Flash PhotoShop 上网宝典 CorelDraw 协议大全 网络安全 微软认证
硬件维护  CPU  主板  硬盘  内存  显卡  显示器  键盘鼠标  声卡音箱  打印机  机箱电源  BIOS  网卡  C#  Java  Delphi  vs.net2005
  当前位置:> 程序开发 > Web开发 > 临时文章
Xphpbbi 重构 (Xoops) by Emerald 绿色学院 - Green Institute
作者:未知 时间:2005-07-27 23:33 出处:CSDN 责编:chinaitpower
              摘要:Xphpbbi 重构 (Xoops) by Emerald 绿色学院 - Green Institute
绿色学院 - 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<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
*
\****************************************************************/
关闭本页
 
首页 | 投资与合作 | 服务条款 | 隐私政策 | 收藏本站 | 设为首页 | 新用户注册 | 免责声明 | 使用帮助
Copyright ©2005-2008 chinaitpower.com All rights reserved. www.chinaitpower.com 版权所有