分享
 
 
 

Xoops Newbb Modules 标准化 (Web Standard) 全过程 by Emerald 绿色学院 - Green Institute

王朝other·作者佚名  2006-01-09
窄屏简体版  字體: |||超大  

绿色学院 - green institute - 不听人间乐 - 想得到 - 做得到 - xoops

Xoops Newbb Modules 标准化 (Web Standard) 全过程 by Emerald 绿色学院 - Green Institute

PS: 这是我的备忘录., 其中使用的技巧我不想解说,也不想回答任何问题.

对应的模板: themes/Emerald-Forum

theme.html 源码

" /

" /

" /

" /

" /

" /

" /

/favicon.ico" rel="SHORTCUT ICON" /

" /

" /

CodeConvert

PageRank

HZZPY

ASCII

Calendar

Weather

GoogleCheat

ZH

SEO-GI

YNews!

P5

P6

P7

P8

P9

P10

首选: http://gi.it.to/ 备用: http://gi.qq.to/

首页

新闻

下载

源码

图片

文章

图书

交流

技术

0Day

辞典

搜客

网摘

工具

ODP

地图

RSS

Home

News

Downloads

Xoops

Photo

Article

Books

BBS

Forum

0Day

Glossary

GHDB

Digest

Tools

ODP

Sitemap

RSS

/search.htm" method="post" target="_Self"

嗨!

/user.php" target="_self"会员信息,

/user.php?op=logout" target="_self"退出登陆.

相册

日程

文档

综合.

/register.php" target="_self"用户注册!

绿色学院 - Green Institute!

/user.php" target="_self"会员登陆!

链接

联系

style.css 源码

/*****************************************************************

*CSS Document design by Emerald

*绿色学院 - Green Institute

* http://gi.2288.org:88/

\******************************************************************px*px*px*px

*---------------------------------------------------------------

*上 右下 左

*---------------------------------------------------------------

*TopRightDownLeft

\****************************************************************/

/**************************************************************************************************************************

*Xoops General Label By Emerald 绿色学院 - Green Institutehttp://gi.2288.org:88/

*

\*************************************************************************************************************************/

/* General Label */

body{

color: #000000;

font-size: 12px;

font-family: Verdana, Arial, Helvetica, sans-serif;

font-weight: normal;

text-align:center;

text-transform: capitalize;

text-decoration: none;

padding: 0px;

margin:0px;

overflow-x: hidden;

SCROLLBAR-ARROW-COLOR: #ffffff;

SCROLLBAR-TRACK-COLOR: #f38587;

SCROLLBAR-BASE-COLOR: #f06567;

}

a, a:link, a:hover, a:active, a:visited {

text-decoration: none;

font-size: 12px;

color: #000000;

}

a:hover {

background-color: #f3f4f5;

}

form, input, img {

margin:0px;

padding:0px;

overflow:hidden;

vertical-align:middle;

}

img {

border: 0;

}

div, ul, li, dl, dt, dd, table, tr, p, font {

font-size: 12px;

text-align:left;

margin:0px;

padding:0px;

overflow:hidden;

}

li {

list-style-type: square;

}

label{

background-color: #F38383;

width:100%;

display: block;

padding: 2px 0px 2px 16px;

margin:0px 0px 0px 1px;

}

table td {

border-width: 0;

vertical-align: top;

}

hr.borderBottom, hr{

border-bottom-width: thin;

border-bottom-style: dashed;

border-bottom-color: #000000;

margin:5px 0px 1px 0px;

width:100%;

}

/**************************************************************************************************************************

*Custom Variable By Emerald 绿色学院 - Green Institutehttp://gi.2288.org:88/

*

\*************************************************************************************************************************/

#bannerWS, #headerWS, #englishMenuWS, #searchMemberRssWS, #mainBlocksWS, #newbbHeaderTop {

margin: auto;

}

#r-b-2 a:hover, #r-b-2 a, #r-b-2, #r-b a, #r-b, #d-post-h-d, #d-post-h-r, #r-b a:hover, div.navigationCnTopWS, div.navigationCnMenuWS, div.linksContactAndOtherWS, div#siteInfoMessageWS, div#newbbBlocksForumNameWS, div#newbbBlocksNumberDateWS, div.newbbBlocksTimeWS, label#newbbBlocksWS, div#xphpbbiBlocksTopicForumWS, div#xphpbbiBlocksNumberDateWS, div.xphpbbiBlocksTopicTimePosterWS, div#xphpbbiLabel-rWS, #x-pbb-s-r, #x-pbb-s-r a, #x-pbb-s-r a:hover, #ams-td-ef{

text-align:right;

}

div.logoWS, div.searchFormWS, div.MemberWS, #centerRightBlocksWS, #rightBlocksWS, #siteInfoUserWS, #newbbBlocksTitleTopicWS, #newbbBlocksTitleRepliesWS, #newbbBlocksTitleViewsWS, #newbbBlocksTitleLastPostWS, #xphpbbiBlocksTitleTopicWS, #xphpbbiBlocksTitleRepliesWS, #xphpbbiBlocksTitleViewsWS, #xphpbbiBlocksTitleLastpostWS, div.xphpbbiBlocksTopicViewsWS, div.xphpbbiBlocksRepliesWS, div#xphpbbiBlocksTopicForumWS, div.xphpbbiBlocksImgWS, div#xphpbbiBlocksLeftWS, div.newbbBlocksViewsWS, div.newbbBlocksReliesWS, div#newbbBlocksForumNameWS, div#newbbBlocksTopicWS, div.domainWS, div#siteInfoUserWS{

position : absolute;

}

#navigationCnWS, #leftBlcoksWS, #customRightBlcoksWS, #newbbBlocksViewsWS, #newbbBlocksLastPostWS, #xphpbbiBlocksTopicTitleWS, div.xphpbbiBlocksTopicTimePosterWS, div#xphpbbiBlocksNumberDateWS, div.xphpbbiBlocksTitleWS, div#newbbBlocksNumberDateWS {

position : relative;

}

/**************************************************************************************************************************

*Xoops & System By Emerald 绿色学院 - Green Institutehttp://gi.2288.org:88/

*

\*************************************************************************************************************************/

div.xoopsCode {

background: #FFFFFF url(images/background.gif) no-repeat;

display: table;

width:100%;

border: 1px inset #000080;

font-family: "Courier New",Courier,monospace;

padding: 0px 6px 6px 6px;

}

div.xoopsQuote {

border: 1px inset #000080;

font-family: "Courier New",Courier,monospace;

padding: 0px 6px 6px 6px;

background: #FFFFFF url(images/background.gif) no-repeat;

display: table;

width:100%;

}

.odd, td.odd, tr.odd, div.odd { background-color: #eeeeee;}

.even, td.even, tr.even, div.even { background-color: #DDE1DE;}

div#content {

margin:auto;

width:760px;

float:none;

}

div.contentFloatLeft0px {

width:0px;

position: absolute;

left: 0px;

}

div.contentFloatRight760px {

width:760px;

right: 0px;

position: relative;

}

/**************************************************************************************************************************

*Green Institute Navigation Menu By Emerald 绿色学院 - Green Institutehttp://gi.2288.org:88/

*

\*************************************************************************************************************************/

/* Xoops Banner */

div#bannerWS{

width:765px;

vertical-align:top;

padding:0px;

margin-top:-15px;

}

/*************************************************************************************************************************/

/* Header */

div#headerWS {

width:760px;

height:92px;

}

div#headerWS div.logoWS {

float:left;

width: 290px;

}

div#headerWS div#navigationCnWS div.navigationCnTopWS {

font-family: Tahoma, sans-serif;

}

div#headerWS div#navigationCnWS div.navigationCnTopWS a#refresh10{

background-color: #ffffff;

color: #ffffff;

}

div#headerWS div#navigationCnWS div.domainWS {

right: 180px;

margin:-2px 0px 0px 0px;

text-transform: none;

}

div#headerWS div#navigationCnWS div.catchwordWS{

color: #F3BB97;

padding: 24px 0px 0px 300px;

text-align:center;

}

div#headerWS div#navigationCnWS div.navigationCnMenuWS{

padding: 10px 0px 0px 0px;

font-family: Tahoma, sans-serif;

}

/*************************************************************************************************************************/

/* English Navigation Menu */

div#englishMenuWS{

width:760px;

background-color: #f06567;

padding-left:3px;

}

div#englishMenuWS a{

background-color: #f06567;

padding: 5px 3px;

display: block;

float:left;

color:#ffffff;

}

div#englishMenuWS a:hover{

background-color: #f3bb97;

display:block;

}

/*************************************************************************************************************************/

/* search & Member & Contact */

div#searchMemberRssWS{

width:760px;

height:22px;

}

div#searchMemberRssWS div.MemberWS {

padding: 4px 0px 0px 165px;

}

div#searchMemberRssWS div.linksContactAndOtherWS {

padding: 4px 0px 0px 0px;

}

div#searchMemberRssWS div.searchFormWS forminput.searchInput, input.searchButton{

position: relative;

vertical-align:middle;

top:1px;

border: thin none #000000;

}

/**************************************************************************************************************************

*Xoops Main Blocks By Emerald 绿色学院 - Green Institutehttp://gi.2288.org:88/

*

\*************************************************************************************************************************/

/*************************************************************************************************************************/

/* Site footer */

div#footerWS{

width:100%;

background-color: #F06567;

padding: 4px 0px;

text-align:center;

color:#ffffff;

}

div#footerWS a {

color:#ffffff;

}

div#footerWS a:hover {

color:#ffffff;

background-color:#7EDE7C;

}

div#googleCrawler {

background-color: #CC6600;

text-align:center;

color:#ffffff;

}

/*************************************************************************************************************************/

/* Google Ad, Site footer */

div#googleAd{

width:120px;

position: absolute;

top: 0px;

right: 0px;

white-space: nowrap;

}

/**************************************************************************************************************************

*Xoops Newbb Modules By Emerald 绿色学院 - Green Institutehttp://gi.2288.org:88/

*

\*************************************************************************************************************************/

/*************************************************************************************************************************/

/* Newbb Header */

div#newbbHeaderTop {

width:760px;

background-color:#669900;

}

div#newbbHeaderTopImg {

float:left;

position: relative;

left: 0px;

}

div#newbbHeaderLogo {

text-align:right;

}

div#newbbHeaderLink, div#newbbHeaderLink a{

text-align:right;

color:#ffffff;

margin:15px 0px 0px 0px;

}

div#newbbHeaderLink a:hover{

}

div#newbbHeaderNav {

white-space:nowrap;

}

/*************************************************************************************************************************/

/* Newbb Body */

div.newbbMdForum {

width:510px;

background-color:#669900;

color:#ffffff;

left: 0px;

text-align:center;

position: absolute;

}

div.newbbMdTopics {

width:50px;

background-color:#669900;

color:#ffffff;

left: 510px;

position: absolute;

text-align:center;

}

div.newbbMdPosts {

width:50px;

background-color:#669900;

color:#ffffff;

right: 150px;

position: absolute;

text-align:center;

}

div.newbbMdLastpost {

width:150px;

background-color:#669900;

color:#ffffff;

left: 610xpx;

float:right;

text-align:center;

}

div.newbbBodyCatTitle {

width:100%;

background-color:#cfcfcf;

text-align:center;

}

div.newbbBodyForumFolder {

width:150px;

text-align:center;

background-color:#efefef;

position:absolute;

left:0px;

height:45px;

}

div.newbbBodySubForumFolder {

width:150px;

text-align:center;

background-color:#efefef;

position:absolute;

left:0px;

height:63px;

}

div.newbbBodyForumSubforum {

width:760px;

margin:0px 0px 0px 150px;

position:relative;

padding:0px 0px 2px 0px;

background-color:#efefef;

}

div.newbbBodyForumName {

width:360px;

position:absolute;

left:150px;

height:45px;

background-color:#efefef;

}

div.newbbBodyForumTopics {

width:50px;

left:510px;

text-align:center;

position:absolute;

background-color:#dedede;

height:45px;

}

div.newbbBodyForumPosts {

width:50px;

left:560px;

text-align:center;

position:absolute;

background-color:#dedede;

height:45px;

}

div.newbbBodyLastpostInfo {

width:150px;

left:610px;

text-align:right;

position:relative;

background-color:#dedede;

height:45px;

}

div#newbbBodyMarkForum {

background-color:#669900;

left:0px;

width:100%;

}

div#newbbBodyMarkForum a {

color:#ffffff;

}

div#newbbBodyOnline {

width:222px;

height:78px;

float:left;

}

div#newbbBodyImgDescription {

position:absolute;

left:222px;

margin:32px 0px 0px -20px;

}

/*************************************************************************************************************************/

/* Newbb Viewforum */

div.newbbViewforumMdSubForum {

width:510px;

background-color:#669900;

color:#ffffff;

left: 0px;

text-align:center;

position: absolute;

}

div.newbbViewforumMdTopics {

width:50px;

background-color:#669900;

color:#ffffff;

left: 510px;

position: absolute;

text-align:center;

}

div.newbbViewforumMdPosts {

width:50px;

background-color:#669900;

color:#ffffff;

right: 150px;

position: absolute;

text-align:center;

}

div.newbbViewforumMdLastpost {

width:150px;

background-color:#669900;

color:#ffffff;

left: 610px;

float:right;

text-align:center;

}

div.newbbViewforumForumFolder {

width:150px;

text-align:center;

background-color:#efefef;

position:absolute;

left:0px;

height:45px;

}

div.newbbViewforumForumName {

width:360px;

position:absolute;

left:150px;

height:45px;

background-color:#efefef;

}

div.newbbViewforumForumTopics {

width:50px;

left:510px;

text-align:center;

position:absolute;

background-color:#dedede;

height:45px;

}

div.newbbViewforumForumPosts {

width:50px;

left:560px;

text-align:center;

position:absolute;

background-color:#dedede;

height:45px;

}

div.newbbViewforumLastpostInfo {

width:150px;

left:610px;

text-align:right;

position:relative;

background-color:#dedede;

height:45px;

}

div.newbbViewforumAddPostAndPageNavTop {

height:25px;

}

div.newbbViewforumAddpollPostOrRegister {

position: absolute;

width: 80%;

left: 0px;

margin:0px 0px 12px 0px;

}

div.newbbViewforumPageNav {

float:right;

margin:0px 0px 12px 0px;

padding:3px 0px 0px 0px;

}

div.newbbViewforumForumNameParent {

width:760px;

background-color:#669900;

text-align:center;

color:#ffffff;

}

div.newbbViewforumMdAll1 {

background-color:#dfe2e6;

padding:1px 0px 0px 0px;

font-weight:bold;

}

div.newbbViewforumMdTopics2 {

position:absolute;

width:380px;

text-align:center;

left:0px;

background-color:#dfe2e6;

}

div.newbbViewforumMdPoster {

position:absolute;

width:80px;

text-align:center;

left:380px;

background-color:#dfe2e6;

}

div.newbbViewforumMdReplies {

position:absolute;

width:50px;

text-align:center;

left:460px;

background-color:#dfe2e6;

}

div.newbbViewforumMdViews {

position:absolute;

width:50px;

text-align:center;

left:510px;

background-color:#dfe2e6;

}

div.newbbViewforumMdRatings {

position:absolute;

width:50px;

text-align:center;

left:560px;

background-color:#dfe2e6;

}

div.newbbViewforumMddate {

position:absolute;

width:150px;

text-align:center;

left:610px;

background-color:#dfe2e6;

}

div.newbbViewforumTopicFolder {

position:absolute;

width:50px;

left:0px;

text-align:center;

background-color:#efefef;

height:46px;

}

div.newbbViewforumTopicIcon {

position:absolute;

width:50px;

left:50px;

text-align:center;

background-color:#efefef;

height:46px;

}

div.newbbViewforumTopicsTitle {

position:absolute;

width:360px;

left:100px;

white-space:nowrap;

background-color:#efefef;

height:46px;

}

div.newbbViewforumTopicPoster {

position:absolute;

width:80px;

left:380px;

margin:24px 0px 0px 0px;

text-align:center;

}

div.newbbViewforumTopicReplies {

position:absolute;

width:50px;

left:460px;

text-align:center;

height:46px;

background-color:#dedede;

}

div.newbbViewforumTopicViews {

position:absolute;

width:50px;

left:510px;

text-align:center;

height:46px;

background-color:#dedede;

}

div.newbbViewforumTopicRating {

position:absolute;

width:50px;

left:560px;

text-align:center;

height:46px;

background-color:#dedede;

}

div.newbbViewforumTopicLastpost {

position:relative;

width:150px;

left:610px;

text-align:right;

height:46px;

background-color:#dedede;

}

div.newbbViewforumCommonTopics {

background-color:#cfcfcf;

text-align:center;

width:100%;

font-weight:bold;

}

div.newbbViewforumMdImTopics {

background-color:#cfcfcf;

text-align:center;

width:100%;

margin:14px 0px 0px 0px;

font-weight:bold;

}

div.newbbViewforumSelectionForm {

text-align:center;

background-color:#cfcfcf;

vertical-align:middle;

}

div#newbbViewforumMarkForum {

background-color:#669900;

left:0px;

width:100%;

}

div#newbbViewforumMarkForum a {

color:#ffffff;

}

div.newbbViewforumJumboxAndOnline {

position: absolute;

width: 80%;

left: 0px;

margin:0px 0px 0px 0px;

padding:12px 0px 0px 0px;

}

div.newbbViewforumPermissionTable {

float:right;

margin:0px 0px 0px 0px;

padding:3px 0px 0px 0px;

}

div.newbbViewforumDescriptionImg {

text-align:right;

padding:2px 0px;

margin:-60px 0px 0px -48px;

}

/*************************************************************************************************************************/

/* Newbb Viewtopic Flat */

div.newbbViewtopicOnline {

padding:2px;

}

div.newbbViewtopicAddPostAndPageNavTop {

height:25px;

}

div.newbbViewtopicAddpollPostOrRegister {

position: absolute;

width: 80%;

left: 0px;

margin:0px 0px 0px 0px;

}

div.newbbViewtopicPageNav {

float:right;

margin:0px 0px 0px 0px;

padding:3px 0px 0px 0px;

}

div.newbbViewtopicMainHeader {

width:760px;

line-height:24px;

background-color:#669900;

color:#ffffff;

}

div.newbbViewtopicMainHeader a {

background-color:#669900;

color:#ffffff;

}

div.newbbViewtopicMdposter {

position:absolute;

width:130px;

left:0px;

margin:0px 0px 12px 0px;

}

div.newbbViewtopicDown2 {

position:absolute;

width:110px;

left:110px;

margin:0px 0px 12px 0px;

}

div.newbbViewtopicMdthreadTopicTitle {

position:absolute;

width:422px;

left:130px;

white-space:nowrap;

}

div.newbbViewtopicViewStylePN{

text-align:right;

}

div.newbbViewtopicRateRadioParent, div.newbbViewtopicRateRadioParent a{

height:20px;

background-color:#669900;

color:#ffffff;

}

div.newbbViewtopicRateRadio {

float:left;

}

div.newbbViewtopicPrevNextTopicDwon {

text-align:right;

vertical-align:middle;

padding:3px 0px 0px 0px;

}

div.newbbViewtopicJumpboxAndManageIcon {

position:absolute;

width:50%;

left:0px;

padding:24px 0px 0px 0px;

}

div.newbbViewtopicPermissionTable {

float:right;

text-align:right;

}

div.newbbViewtopicPageNavDown {

}

div.newbbViewtopicAddpollPostOrRegisterDown {

float:left;

}

/*************************************************************************************************************************/

/* Newbb Thread */

div.newbbViewtopicThreadHeader {

height:18px;

vertical-align:middle;

background-color:#87af38;

font-weight:bold;

}

div.newbbViewtopicThreaedPoster {

position:absolute;

left:0px;

width:130px;

}

div.newbbViewtopicThreaedPostDate {

position:absolute;

left:130px;

padding:2px 0px 0px 0px;

}

div.newbbViewtopicThreaedBottons {

position:relative;

left:430px;

width:330px;

text-align:right;

}

div.newbbViewtopicThreadPostBody {

background-color:#e5edd0;

}

div.newbbViewtopicThreadPosterInfo {

position:absolute;

width:130px;

left:0px;

padding:0px 0px 0px 2px;

white-space:nowrap;

}

div.newbbViewtopicThreadPostBodyText {

width:630px;

left:130px;

position:relative;

}

div.newbbViewtopicThreadPostCount {

text-align:right;

}

div.newbbViewtopicThreadPostText {

padding:2px;

font-size:14px;

}

div.newbbViewtopicThreadPostTextLeft {

float:left;

}

div.newbbViewtopicThreadPostTextRight {

height:180px;

}

div.newbbViewtopicThreadPostAttachment {

text-align:center;

}

div.newbbViewtopicThreadPostEdit {

text-align:right;

}

div.newbbViewtopicThreadPostSignature {

text-align:right;

}

div.newbbViewtopicThreadHeight {

float:right;

height:80px;

width:1px;

}

div.newbbViewtopicThreadDown {

height:20px;

background-color:#afc974;

}

div.newbbViewtopicThreadFunctionImg {

position:absolute;

width:130px;

left:0px;

}

div.newbbViewtopicthreadUP {

float:right;

width:22px;

}

div.newbbViewtopicThreadUserbar {

position:absolute;

width:500px;

left:130px;

white-space:nowrap;

}

div.newbbViewtopicThreadPosterIp {

position:relative;

left:630px;

width:130px;

white-space:nowrap;

text-align:right;

padding:0px 2px 0px 0px;

}

/*************************************************************************************************************************/

/* Newbb Viewtopic Thread Tree */

div.newbbViewtopicThreadTreeSubject {

position:absolute;

width:530px;

left:0px;

text-align:center;

}

div.newbbViewtopicThreadTreeMdPoster {

position:absolute;

width:80px;

left:530px;

}

div.newbbViewtopicThreadTreeMdDate {

position:relative;

width:150px;

left:610px;

text-align:right;

}

div.newbbViewtopicThreadTreePostTitle {

position:absolute;

width:530px;

left:0px;

text-align:center;

white-space:nowrap;

}

div.newbbViewtopicThreadTreePoster {

position:absolute;

width:80px;

left:530px;

}

div.newbbViewtopicThreadPostTime {

position:relative;

width:150px;

left:610px;

text-align:right;

}

/*************************************************************************************************************************/

/* Newbb Online */

div.newbbOnlineTotal {

font-weight:bold;

padding:2px 0px 0px 0px;

}

div.newbbOnlineImage {

float:left;

padding:4px 0px 0px 0px;

}

div.NewbbOnlineInfo {

padding:4px 0px 0px 0px;

}

效果预览:

http://blog.csdn.net/images/blog_csdn_net/btbtd/95726/o_newbb.index.jpg

Newbb_index.html 源码

效果预览: http://blog.csdn.net/images/blog_csdn_net/btbtd/95726/o_newbb.index.jpg

<!-- start module contents -->

<{include file="db:newbb_header.html" }>

<div>

<DIV CLASS="newbbMdForum"><{$smarty.const._MD_FORUM}></DIV>

<DIV CLASS="newbbMdTopics"><{$smarty.const._MD_TOPICS}></DIV>

<DIV CLASS="newbbMdPosts"><{$smarty.const._MD_POSTS}></DIV>

<DIV CLASS="newbbMdLastpost"><{$smarty.const._MD_LASTPOST}></DIV>

</div>

<!-- start forum categories -->

<{foreach item=category from=$categories}>

<{if $category.forums }>

<{if $category.permission}>

<DIV CLASS="newbbBodyCatTitle"><a href="<{$xoops_url}>/modules/newbb/forum-cat_<{$category.cat_id}>.htm"><{$category.cat_title}></a> </DIV>

<{$category.cat_description}>

<!-- start forums -->

<{foreach item=forum from=$category.forums}>

<{if $forum.forum_permission}>

<DIV>

<{if $forum.subforum}>

<DIV CLASS="newbbBodySubForumFolder"><{$forum.forum_folder}></DIV>

<{else}>

<DIV CLASS="newbbBodyForumFolder"><{$forum.forum_folder}></DIV>

<{/if}>

<DIV CLASS="newbbBodyForumName" onMouseOver ="this.style.backgroundColor='#F3F4F5'" onMouseOut ="this.style.backgroundColor='#efefef'">

<a href="<{$xoops_url}>/modules/newbb/forum_<{$forum.forum_id}>.htm"><{$forum.forum_name}></a>

<{$forum.forum_desc}>

<{if $forum.forum_moderators}><{$smarty.const._MD_MODERATOR}><{$forum.forum_moderators}><{/if}>

</DIV>

<DIV CLASS="newbbBodyForumTopics"><{$forum.forum_topics}></DIV>

<DIV CLASS="newbbBodyForumPosts"><{$forum.forum_posts}></DIV>

<DIV CLASS="newbbBodyLastpostInfo">

<{$forum.forum_lastpost_time}> <br />

<{$forum.forum_lastpost_icon}> <br />

<{$forum.forum_lastpost_user}>

</DIV>

</DIV>

<{if $forum.subforum}>

<DIV CLASS="newbbBodyForumSubforum" onMouseOver ="this.style.backgroundColor='#F3F4F5'" onMouseOut ="this.style.backgroundColor='#efefef'">

<{$smarty.const._MD_SUBFORUMS}><{$img_subforum}>

<{foreach item=subforum from=$forum.subforum}>

| <a href="forum_<{$subforum.forum_id}>.htm"><{$subforum.forum_name}></a><{/foreach}> |

</DIV>

<{/if}>

<{/if}>

<{/foreach}>

<!-- end forums -->

<{/if}>

<{/if}>

<{/foreach}>

<!-- end forum categories -->

<DIV ID="newbbBodyMarkForum"><a href="<{$mark_read}>" ><{$smarty.const._MD_MARK_ALL_FORUMS}><{$smarty.const._MD_MARK_READ}></a><a href="<{$mark_UNread}>"><{$smarty.const._MD_MARK_ALL_FORUMS}><{$smarty.const._MD_MARK_UNREAD}></a> <{$rss_enable}></DIV>

<DIV>

<div ID="newbbBodyOnline"><{if $online}><{include file='db:newbb_online.html'}><{/if}></div>

<DIV ID="newbbBodyImgDescription"><{$img_hotfolder}> = <{$smarty.const._MD_NEWPOSTS}><{$img_folder}> = <{$smarty.const._MD_NONEWPOSTS}><{$img_locked_newposts}> = <{$smarty.const._MD_PRIVATEFORUM_NEWPOSTS}><{$img_locked_nonewposts}> = <{$smarty.const._MD_PRIVATEFORUM_NONEWPOSTS}></DIV>

</DIV>

<{include file='db:system_notification_select.html'}>

<!-- end module contents -->

newbb_viewforum.html 源码

效果预览: http://blog.csdn.net/images/blog_csdn_net/btbtd/95726/o_newbb_viewforum.html.jpg

<!-- start module contents -->

<{include file="db:newbb_header.html" }>

<{if $subforum}>

<!-- start forum categories -->

<A NAME="xoops"></A>

<DIV>

<DIV CLASS="newbbViewforumMdSubForum"><{$smarty.const._MD_SUBFORUMS}></DIV>

<DIV CLASS="newbbViewforumMdTopics"><{$smarty.const._MD_TOPICS}></DIV>

<DIV CLASS="newbbViewforumMdPosts"><{$smarty.const._MD_POSTS}></DIV>

<DIV CLASS="newbbViewforumMdLastpost"><{$smarty.const._MD_LASTPOST}></DIV>

</DIV>

<!-- start forums -->

<{section name=forum loop=$subforum}>

<{if $subforum[forum].forum_permission}>

<DIV>

<DIV CLASS="newbbViewforumForumFolder"><{$subforum[forum].forum_folder}></DIV>

<DIV CLASS="newbbViewforumForumName"><A HREF="<{$xoops_url}>/modules/newbb/forum_<{$subforum[forum].forum_id}>.htm"><{$subforum[forum].forum_name}></A><{$subforum[forum].forum_desc}>

<{if $subforum[forum].forum_moderators}><{$smarty.const._MD_MODERATOR}>:<{$subforum[forum].forum_moderators}><{/if}> </DIV>

<DIV CLASS="newbbViewforumForumTopics"><{$subforum[forum].forum_topics}></DIV>

<DIV CLASS="newbbViewforumForumPosts"><{$subforum[forum].forum_posts}></DIV>

<DIV CLASS="newbbViewforumLastpostInfo"><{$subforum[forum].forum_lastpost_time}><BR /><{$subforum[forum].forum_lastpost_icon}><BR /><{$subforum[forum].forum_lastpost_user}></DIV>

</DIV>

<{/if}>

<{/section}>

<!-- end forums -->

<{/if}>

<{if $forum_moderators}><DIV>(<{$smarty.const._MD_MODERATEDBY}>: <{$forum_moderators}>)</DIV><{/if}>

<DIV CLASS="newbbViewforumAddPostAndPageNavTop">

<DIV CLASS="newbbViewforumAddpollPostOrRegister"><{$forum_addpoll}><{$forum_post_or_register}></DIV>

<DIV CLASS="newbbViewforumPageNav"><{$forum_pagenav}></DIV>

</DIV>

<A NAME="xoops"></A>

<DIV CLASS="newbbViewforumForumNameParent"><{$forum_name}></DIV>

<DIV CLASS="newbbViewforumMdAll1">

<DIV CLASS="newbbViewforumMdTopics2"><A HREF="<{$h_topic_link}>"><{$smarty.const._MD_TOPICS}></A></DIV>

<DIV CLASS="newbbViewforumMdPoster"><A HREF="<{$h_poster_link}>"><{$smarty.const._MD_POSTER}></A></DIV>

<DIV CLASS="newbbViewforumMdReplies"><A HREF="<{$h_reply_link}>"><{$smarty.const._MD_REPLIES}></A></DIV>

<DIV CLASS="newbbViewforumMdViews"><A HREF="<{$h_views_link}>"><{$smarty.const._MD_VIEWS}></A></DIV>

<{if $rating_enable}>

<DIV CLASS="newbbViewforumMdRatings"><A HREF="<{$h_rating_link}>"><{$smarty.const._MD_RATINGS}></A></DIV>

<{/if}>

<DIV CLASS="newbbViewforumMddate"><A HREF="<{$h_date_link}>"><{$smarty.const._MD_DATE}></A></DIV>

</DIV>

<{if $sticky > 0}>

<{if $rating_enable}>

<DIV CLASS="newbbViewforumMdImTopics"><{$smarty.const._MD_IMTOPICS}></DIV>

<{else}>

<DIV CLASS="newbbViewforumMdImTopics"><{$smarty.const._MD_IMTOPICS}></DIV>

<{/if}>

<{/if}>

<!-- start forum topic -->

<{foreach name=loop item=topic from=$topics}>

<{if $topic.stick}>

<{if $smarty.foreach.loop.iteration == $sticky+1}>

<{if $rating_enable}>

<DIV CLASS="newbbViewforumCommonTopics"><{$smarty.const._MD_NOTIMTOPICS}></DIV>

<{else}>

<DIV CLASS="newbbViewforumCommonTopics"><{$smarty.const._MD_NOTIMTOPICS}></DIV>

<{/if}>

<{/if}>

<{/if}>

<DIV>

<DIV CLASS="newbbViewforumTopicFolder"><{$topic.topic_folder}></DIV>

<DIV CLASS="newbbViewforumTopicIcon"><{$topic.topic_icon}></DIV>

<DIV CLASS="newbbViewforumTopicsTitle" onMouseOver ="this.style.backgroundColor='#F3F4F5'" onMouseOut ="this.style.backgroundColor='#efefef'">

<A HREF="<{$topic.topic_link}>">

<{if $topic.allow_prefix}>

<{if $topic.topic_subject eq NONE}>

<{else}>

<{$topic.topic_subject}>

<{/if}>

<{/if}>

<{$topic.topic_title}>

</A>

<{$topic.attachment}>

<{$topic.topic_page_jump}>

</DIV>

<DIV CLASS="newbbViewforumTopicPoster"><{$topic.topic_poster}></DIV>

<DIV CLASS="newbbViewforumTopicReplies"><{$topic.topic_replies}></DIV>

<DIV CLASS="newbbViewforumTopicViews"><{$topic.topic_views}></DIV>

<DIV CLASS="newbbViewforumTopicRating">

<{if $rating_enable}>

<{$topic.rating_img}>

<{/if}>

</DIV>

<DIV CLASS="newbbViewforumTopicLastpost">

<{$topic.topic_last_posttime}><BR />

<{$topic.topic_page_jump_icon}><BR />

<{$smarty.const._MD_BY}> <{$topic.topic_last_poster}>

</DIV>

</DIV>

<{/foreach}>

<!-- end forum topic -->

<DIV CLASS="newbbViewforumSelectionForm">

<{strip}>

<FORM METHOD="get" ACTION="viewforum.php">

<{$smarty.const._MD_SORTEDBY}>:<{$forum_selection_sort}><{$forum_selection_order}><{$forum_selection_since}>

<INPUT TYPE="hidden" NAME="forum" VALUE="<{$forum_id}>" />

<INPUT TYPE="submit" NAME="refresh" VALUE="<{$smarty.const._MD_GO}>" />

</FORM>

<{/strip}>

</DIV>

<DIV CLASS="newbbViewforumAddPostAndPageNavTop">

<DIV CLASS="newbbViewforumAddpollPostOrRegister"><{$forum_addpoll}><{$forum_post_or_register}></DIV>

<DIV CLASS="newbbViewforumPageNav"><{$forum_pagenav}></DIV>

</DIV>

<!-- end forum main table -->

<DIV ID="newbbViewforumMarkForum"><A HREF="<{$mark_read}>"><{$smarty.const._MD_MARK_ALL_TOPICS}><{$smarty.const._MD_MARK_READ}></A><A HREF="<{$mark_unread}>"><{$smarty.const._MD_MARK_ALL_TOPICS}><{$smarty.const._MD_MARK_UNREAD}></A> <{$rss_enable}></DIV>

<DIV>

<DIV CLASS="newbbViewforumJumboxAndOnline">

<{if $show_jumpbox == true}> <{$forum_jumpbox}><{/if}>

<{if $online}><{include file='db:newbb_online.html'}><{/if}>

<DIV CLASS="newbbViewforumDescriptionImg">

<{$img_newposts}>=<{$smarty.const._MD_NEWPOSTS}>

<{$img_hotnewposts}>=<{$smarty.const._MD_MORETHAN}>

<{$img_locked}>=<{$smarty.const._MD_TOPICLOCKED}>

<{$img_digest}>=<{$smarty.const._MD_TOPICDIGEST}><BR />

<{$img_folder}>=<{$smarty.const._MD_NONEWPOSTS}>

<{$img_hotfolder}>=<{$smarty.const._MD_MORETHAN2}>

<{$img_sticky}>=<{$smarty.const._MD_TOPICSTICKY}>

<{$img_poll}>=<{$smarty.const._MD_TOPICHASPOLL}>

</DIV>

</DIV>

<DIV CLASS="newbbViewforumPermissionTable"><{$permission_table}></DIV>

</DIV>

<!-- end module contents -->

<{include file='db:system_notification_select.html'}>

newbb_viewtopic_flat.html 源码

效果预览: http://blog.csdn.net/images/blog_csdn_net/btbtd/95726/o_newbb_viewtopic_flat.html.jpg

<!-- start module contents -->

<{include file="db:newbb_header.html" }>

<{if $online}>

<DIV CLASS="newbbViewtopicOnline">

<{$smarty.const._MD_BROWSING}>

<{foreach item=user from=$online.users}>

<A HREF="<{$user.link}>">

<{if $user.color}>

<SPAN STYLE="color:<{$user.color}>"><{$user.uname}></SPAN>

<{else}>

<{$user.uname}>

<{/if}>

</A>

<{/foreach}>

<{if $online.num_anonymous}>

<{$online.num_anonymous} <{$smarty.const._MD_ANONYMOUS_USERS}>

<{/if}>

</DIV>

<{/if}>

<{if $topic_poll}>

<DIV CLASS="newbbViewtopicPollResult">

<{if $topic_pollresult}>

<{include file="db:newbb_poll_results.html poll=$poll}">

<{else}>

<{include file="db:newbb_poll_view.html" poll=$poll}>

<{/if}>

</DIV>

<{/if}>

<DIV CLASS="newbbViewtopicAddPostAndPageNavTop">

<DIV CLASS="newbbViewtopicAddpollPostOrRegister"><{$forum_addpoll}><{$forum_post_or_register}> &nbsp;<{$forum_reply}></DIV>

<DIV CLASS="newbbViewtopicPageNav"><{if $forum_page_nav}><{$forum_page_nav}><{/if}> </DIV>

</DIV>

<!-- start topic thread -->

<DIV CLASS="newbbViewtopicMainHeader">

<DIV CLASS="newbbViewtopicMdposter">

<{$smarty.const._MD_POSTER}>

</DIV>

<DIV CLASS="newbbViewtopicDown2"><A HREF="#threadbottom"><{$down2}></A><A NAME="threadtop"></A></DIV>

<DIV CLASS="newbbViewtopicMdthreadTopicTitle"><{$smarty.const._MD_THREAD}> <{$topic_title}></DIV>

<DIV CLASS="newbbViewtopicViewStylePN">

<A HREF="viewtopic.php?viewmode=flat&amp;order=<{$order_current}>&amp;topic_id=<{$topic_id}>&amp;forum=<{$forum_id}>" /><{$smarty.const._FLAT}></a> | <A HREF="viewtopic.php?viewmode=thread&amp;order=<{$order_other}>&amp;topic_id=<{$topic_id}>&amp;forum=<{$forum_id}>" /><{$lang_order_other}></a> | <A HREF="viewtopic.php?viewmode=threaded&amp;order=<{$order_current}>&amp;

topic_id=<{$topic_id}>&amp;forum=<{$forum_id}>&amp;move=prev&amp;topic_time=<{$topic_time}>"> <{$smarty.const._MD_PREVTOPIC}></A> | <A HREF="viewtopic.php?viewmode=threaded&amp;order=<{$order_current}>&amp;

topic_id=<{$topic_id}>&amp;forum=<{$forum_id}>&amp;move=next&amp;topic_time=<{$topic_time}>"> <{$smarty.const._MD_NEXTTOPIC}></A>

</DIV>

</DIV>

<DIV><{foreach item=topic_post from=$topic_posts}> <{include file="db:newbb_thread.html" topic_post=$topic_post}> <{/foreach}></DIV>

<DIV CLASS="newbbViewtopicRateRadioParent">

<DIV CLASS="newbbViewtopicRateRadio">

<FORM ACTION="ratethread.php" METHOD="post">

<{$rss_enable}><INPUT TYPE="radio" NAME="rate" ID="rate5" VALUE="5" /> <{$rate5}> <{$smarty.const._MD_RATE5}> | <INPUT TYPE="radio" NAME="rate" ID="radio" VALUE="4" /> <{$rate4}> <{$smarty.const._MD_RATE4}> | <INPUT TYPE="radio" NAME="rate" ID="radio2" VALUE="3" /> <{$rate3}> <{$smarty.const._MD_RATE3}>

| <INPUT TYPE="radio" NAME="rate" ID="radio3" VALUE="2" /> <{$rate2}> <{$smarty.const._MD_RATE2}>

| <INPUT TYPE="radio" NAME="rate" ID="radio4" VALUE="1" /> <{$rate1}> <{$smarty.const._MD_RATE1}> | <INPUT TYPE="hidden" NAME="topic_id" VALUE="<{$topic_id}>" /><INPUT TYPE="hidden" NAME="forum" VALUE="<{$forum_id}>" /><INPUT TYPE="submit" CLASS="button" VALUE="<{$smarty.const._MD_RATING}>" />

</FORM>

</DIV>

<DIV CLASS="newbbViewtopicPrevNextTopicDwon">

<A HREF="viewtopic.php?viewmode=threaded&amp;order=<{$order_current}>&amp;

topic_id=<{$topic_id}>&amp;forum=<{$forum_id}>&amp;move=prev&amp;topic_time=<{$topic_time}>"> <{$smarty.const._MD_PREVTOPIC}></A> | <A HREF="viewtopic.php?viewmode=threaded&amp;order=<{$order_current}>&amp;

topic_id=<{$topic_id}>&amp;forum=<{$forum_id}>&amp;move=next&amp;topic_time=<{$topic_time}>"> <{$smarty.const._MD_NEXTTOPIC}></A>

</DIV>

</DIV>

<DIV CLASS="newbbViewtopicAddPostAndPageNavTop">

<DIV CLASS="newbbViewtopicAddpollPostOrRegister"><{$forum_addpoll}><{$forum_post_or_register}> &nbsp;<{$forum_reply}> &nbsp;<A HREF="#threadbottom" onClick="ToggleBlock('quick_reply', this)" ><{$display_icon}></A></DIV>

<DIV CLASS="newbbViewtopicPageNav"><{if $forum_page_nav}><{$forum_page_nav}><{/if}> </DIV>

</DIV>

<!-- end topic thread -->

<DIV>

<DIV CLASS="newbbViewtopicJumpboxAndManageIcon">

<{$forum_jumpbox}><BR />

<A HREF="<{$topic_print_link}>" TARGET="_blank" TITLE="<{$smarty.const._MD_PRINTTOPICS}>"><{$printer}></A>

<{if $viewer_is_admin == true}>

<{foreach item=act from=$admin_actions}> <{$act}> <{/foreach}>

<{if count($adminpoll_actions)>0 }>

<{foreach item=actpoll from=$adminpoll_actions}> <{$actpoll}> <{/foreach}>

<{elseif $xoops_isuser == true && $xoops_userid == $topic_post.poster_uid}>

<{foreach item=actpoll from=$adminpoll_actions}> <{$actpoll}> <{/foreach}>

<{/if}>

<{/if}><BR /><BR />

<A HREF="#threadtop"><{$up}></A><A NAME="threadbottom"></A>

</DIV>

<DIV CLASS="newbbViewtopicPermissionTable"><{$permission_table}></DIV>

</DIV>

<!-- end module contents -->

<{if $quickreply.show}>

<{if $display_stat}>

<DIV ID="quick_reply" STYLE="display: <{$display}>"><{$quickreply.form}></DIV>

<{/if}>

<{/if}>

<div><{include file='db:system_notification_select.html'}></div>

newbb_viewtopic_thread.html.jpg 源码

效果预览: http://blog.csdn.net/images/blog_csdn_net/btbtd/95726/o_newbb_viewtopic_thread.html.jpg

<!-- start module contents -->

<{include file="db:newbb_header.html" }>

<{if $online}>

<DIV CLASS="newbbViewtopicOnline">

<{$smarty.const._MD_BROWSING}>

<{foreach item=user from=$online.users}>

<A HREF="<{$user.link}>">

<{if $user.color}>

<SPAN STYLE="color:<{$user.color}>"><{$user.uname}></SPAN>

<{else}>

<{$user.uname}>

<{/if}>

</A>

<{/foreach}>

<{if $online.num_anonymous}>

<{$online.num_anonymous} <{$smarty.const._MD_ANONYMOUS_USERS}>

<{/if}>

</DIV>

<{/if}>

<{if $topic_poll}>

<DIV CLASS="newbbViewtopicPollResult">

<{if $topic_pollresult}>

<{include file="db:newbb_poll_results.html poll=$poll}">

<{else}>

<{include file="db:newbb_poll_view.html" poll=$poll}>

<{/if}>

</DIV>

<{/if}>

<!-- start topic tree -->

<DIV CLASS="newbbViewtopicThreadTreeParent">

<DIV class="newbbViewtopicThreadTreeSubject"><{$smarty.const._MD_SUBJECT}></DIV>

<div CLASS="newbbViewtopicThreadTreeMdPoster"><{$smarty.const._MD_POSTER}></div>

<DIV CLASS="newbbViewtopicThreadTreeMdDate"><{$smarty.const._MD_DATE}></DIV>

</DIV>

<{foreach item=topic_tree from=$topic_trees}>

<div CLASS="<{cycle values="EVEN,ODD"}>">

<DIV CLASS="newbbViewtopicThreadTreePostTitle"><{$topic_tree.post_prefix}> <{$topic_tree.post_image}> <{$topic_tree.post_title}></DIV>

<DIV CLASS="newbbViewtopicThreadTreePoster"><{$topic_tree.poster}></DIV>

<DIV CLASS="newbbViewtopicThreadPostTime"><{$topic_tree.post_time}></DIV>

</div>

<{/foreach}>

<!-- end topic tree -->

<DIV CLASS="newbbViewtopicAddPostAndPageNavTop">

<DIV CLASS="newbbViewtopicAddpollPostOrRegister"><{$forum_addpoll}><{$forum_post_or_register}> &nbsp;<{$forum_reply}></DIV>

<DIV CLASS="newbbViewtopicPageNav"><{if $forum_page_nav}><{$forum_page_nav}><{/if}> </DIV>

</DIV>

<!-- start topic thread -->

<DIV CLASS="newbbViewtopicMainHeader">

<DIV CLASS="newbbViewtopicMdposter">

<{$smarty.const._MD_POSTER}>

</DIV>

<DIV CLASS="newbbViewtopicDown2"><A HREF="#threadbottom"><{$down2}></A><A NAME="threadtop"></A></DIV>

<DIV CLASS="newbbViewtopicMdthreadTopicTitle"><{$smarty.const._MD_THREAD}> <{$topic_title}></DIV>

<DIV CLASS="newbbViewtopicViewStylePN">

<A HREF="viewtopic.php?viewmode=flat&amp;order=<{$order_current}>&amp;topic_id=<{$topic_id}>&amp;forum=<{$forum_id}>" /><{$smarty.const._FLAT}></a> | <A HREF="viewtopic.php?viewmode=thread&amp;order=<{$order_other}>&amp;topic_id=<{$topic_id}>&amp;forum=<{$forum_id}>" /><{$lang_order_other}></a> | <A HREF="viewtopic.php?viewmode=threaded&amp;order=<{$order_current}>&amp;

topic_id=<{$topic_id}>&amp;forum=<{$forum_id}>&amp;move=prev&amp;topic_time=<{$topic_time}>"> <{$smarty.const._MD_PREVTOPIC}></A> | <A HREF="viewtopic.php?viewmode=threaded&amp;order=<{$order_current}>&amp;

topic_id=<{$topic_id}>&amp;forum=<{$forum_id}>&amp;move=next&amp;topic_time=<{$topic_time}>"> <{$smarty.const._MD_NEXTTOPIC}></A>

</DIV>

</DIV>

<{foreach item=topic_post from=$topic_posts}> <{include file="db:newbb_thread.html" topic_post=$topic_post}> <{/foreach}>

<DIV CLASS="newbbViewtopicRateRadioParent">

<DIV CLASS="newbbViewtopicRateRadio">

<FORM ACTION="ratethread.php" METHOD="post">

<{$rss_enable}><INPUT TYPE="radio" NAME="rate" ID="rate5" VALUE="5" /> <{$rate5}> <{$smarty.const._MD_RATE5}> | <INPUT TYPE="radio" NAME="rate" ID="radio" VALUE="4" /> <{$rate4}> <{$smarty.const._MD_RATE4}> | <INPUT TYPE="radio" NAME="rate" ID="radio2" VALUE="3" /> <{$rate3}> <{$smarty.const._MD_RATE3}>

| <INPUT TYPE="radio" NAME="rate" ID="radio3" VALUE="2" /> <{$rate2}> <{$smarty.const._MD_RATE2}>

| <INPUT TYPE="radio" NAME="rate" ID="radio4" VALUE="1" /> <{$rate1}> <{$smarty.const._MD_RATE1}> | <INPUT TYPE="hidden" NAME="topic_id" VALUE="<{$topic_id}>" /><INPUT TYPE="hidden" NAME="forum" VALUE="<{$forum_id}>" /><INPUT TYPE="submit" CLASS="button" VALUE="<{$smarty.const._MD_RATING}>" />

</FORM>

</DIV>

<DIV CLASS="newbbViewtopicPrevNextTopicDwon">

<A HREF="viewtopic.php?viewmode=threaded&amp;order=<{$order_current}>&amp;

topic_id=<{$topic_id}>&amp;forum=<{$forum_id}>&amp;move=prev&amp;topic_time=<{$topic_time}>"> <{$smarty.const._MD_PREVTOPIC}></A> | <A HREF="viewtopic.php?viewmode=threaded&amp;order=<{$order_current}>&amp;

topic_id=<{$topic_id}>&amp;forum=<{$forum_id}>&amp;move=next&amp;topic_time=<{$topic_time}>"> <{$smarty.const._MD_NEXTTOPIC}></A>

</DIV>

</DIV>

<DIV CLASS="newbbViewtopicAddPostAndPageNavTop">

<DIV CLASS="newbbViewtopicAddpollPostOrRegister"><{$forum_addpoll}><{$forum_post_or_register}> &nbsp;<{$forum_reply}> &nbsp;<A HREF="#threadbottom" onClick="ToggleBlock('quick_reply', this)" ><{$display_icon}></A></DIV>

<DIV CLASS="newbbViewtopicPageNav"><{if $forum_page_nav}><{$forum_page_nav}><{/if}> </DIV>

</DIV>

<!-- end topic thread -->

<DIV>

<DIV CLASS="newbbViewtopicJumpboxAndManageIcon">

<{$forum_jumpbox}><BR />

<A HREF="<{$topic_print_link}>" TARGET="_blank" TITLE="<{$smarty.const._MD_PRINTTOPICS}>"><{$printer}></A>

<{if $viewer_is_admin == true}>

<{foreach item=act from=$admin_actions}> <{$act}> <{/foreach}>

<{if count($adminpoll_actions)>0 }>

<{foreach item=actpoll from=$adminpoll_actions}> <{$actpoll}> <{/foreach}>

<{elseif $xoops_isuser == true && $xoops_userid == $topic_post.poster_uid}>

<{foreach item=actpoll from=$adminpoll_actions}> <{$actpoll}> <{/foreach}>

<{/if}>

<{/if}><BR /><BR />

<A HREF="#threadtop"><{$up}></A><A NAME="threadbottom"></A>

</DIV>

<DIV CLASS="newbbViewtopicPermissionTable"><{$permission_table}></DIV>

</DIV>

<!-- end module contents -->

<{if $quickreply.show}>

<{if $display_stat}>

<DIV ID="quick_reply" STYLE="display: <{$display}>"><{$quickreply.form}></DIV>

<{/if}>

<{/if}>

<DIV><{include file='db:system_notification_select.html'}></DIV>

newbb_thread.html 源码

<!-- start comment post -->

<A ID="forumpost<{$topic_post.post_id}>?"></A><A ID="forumpost<{$topic_post.post_id}>"></A>

<DIV CLASS="newbbViewtopicThreadHeader">

<DIV CLASS="newbbViewtopicThreaedPoster"><A HREF="#threadbottom"><{$down}></A><{$topic_post.poster_name}></DIV>

<DIV CLASS="newbbViewtopicThreaedPostDate"><{$smarty.const._MD_POSTEDON}><{$topic_post.post_date}></DIV>

<DIV CLASS="newbbViewtopicThreaedBottons"><{foreach item=btn from=$topic_post.thread_buttons}> <A HREF="<{$btn.link}>&amp;post_id=<{$topic_post.post_id}>" TITLE="<{$btn.name}>"> <{$btn.image}></A> <{/foreach}></DIV>

</DIV>

<DIV CLASS="newbbViewtopicThreadPostBody">

<DIV CLASS="newbbViewtopicThreadPosterInfo">

<{if $topic_post.poster_uid != 0}>

<{$topic_post.poster_rank_title}><BR />

<{$topic_post.poster_rank_image}><BR>

<IMG CLASS="comUserImg" SRC="<{$xoops_upload_url}>/<{$topic_post.poster_avatar}>" ALT="" /><BR>

<{$smarty.const._MD_JOINED}>: <{$topic_post.poster_regdate}><BR>

<{$smarty.const._MD_FROM}> <{$topic_post.poster_from}><BR>

<{$smarty.const._MD_POSTS}>: <{$topic_post.poster_postnum}><BR>

<{if $groupbar_enable}> <{$smarty.const._MD_GROUP}> <BR />

<{$topic_post.poster_groups}> <BR>

<{/if}>

<{$topic_post.poster_status}><BR>

<{else}>

<{$anonymous_prefix}>

<{$topic_post.poster_uname}>

<{/if}>

</DIV>

<DIV CLASS="newbbViewtopicThreadPostBodyText">

<DIV CLASS="newbbViewtopicThreadPostCount">第 <{$topic_post.post_no}> 楼</DIV>

<DIV >

<DIV CLASS="newbbViewtopicThreadPostTextLeft"><{$topic_post.post_text}></DIV>

<DIV CLASS="newbbViewtopicThreadPostTextRight"></DIV>

</DIV>

<{if $topic_post.post_attachment}><DIV CLASS="newbbViewtopicThreadPostAttachment"><{$topic_post.post_attachment}></DIV><{/if}>

<{if $topic_post.post_edit}><DIV CLASS="newbbViewtopicThreadPostEdit"><{$topic_post.post_edit}></DIV><{/if}>

<{if $topic_post.poster_sig}>

<DIV CLASS="newbbViewtopicThreadPostSignature">

<IMG SRC="<{$xoops_url}>/modules/newbb/images/underwrite.gif" ><BR /><{$topic_post.poster_sig}>

</DIV>

<{/if}>

</DIV>

</DIV>

<DIV CLASS="newbbViewtopicThreadDown">

<DIV CLASS="newbbViewtopicThreadFunctionImg"><{foreach item=abtn from=$topic_post.thread_action}> <A HREF="<{$abtn.link}>&amp;post_id=<{$topic_post.post_id}>" TARGET="_blank" TITLE="<{$abtn.name}>"> <{$abtn.image}></A> <{/foreach}>

<DIV CLASS="newbbViewtopicthreadUP"><A HREF="#threadtop" TITLE="<{$smarty.const._MD_UP}>"><{$p_up}></A></DIV>

</DIV>

<DIV CLASS="newbbViewtopicThreadUserbar"><{$topic_post.poster_userbar}></DIV>

<DIV CLASS="newbbViewtopicThreadPosterIp"><{if $viewer_is_admin == true and $topic_post.poster_ip}> IP: <{$topic_post.poster_ip}> <{/if}></DIV>

</DIV>

<!-- end comment post -->

newbb_header.html 源码

<LINK REL="stylesheet" TYPE="text/css" MEDIA="all" HREF="<{$xoops_url}>/modules/newbb/newbb.css" />

<DIV ID="newbbHeaderTop">

<DIV ID="newbbHeaderTopImg"><A HREF="<{$xoops_url}>/modules/newbb/"><IMG SRC="<{$xoops_url}>/modules/newbb/images/top.gif" WIDTH="200" HEIGHT="100" BORDER="0" ALIGN="LEFT" ></A></DIV>

<DIV ID="newbbHeaderLogo"><A HREF="<{$xoops_url}>/modules/newbb/"><IMG SRC="<{$xoops_url}>/modules/newbb/images/logo.gif" BORDER="0" ALIGN="RIGHT"></A></DIV>

<DIV ID="newbbHeaderLink">

<A HREF="<{$unread_link}>"><{$smarty.const._MD_UNREAD}></A><A HREF="<{$digest_link}>"><{$smarty.const._MD_DIGEST}></A><A HREF="<{$all_link}>"><{$smarty.const._MD_ALL}></A><A HREF="<{$unreplied_link}>"><{$smarty.const._MD_UNREPLIED}></A><A HREF="<{$xoops_url}>/modules/newbb/search.php"><{$smarty.const._MD_ADVSEARCH}></A><{if $xoops_isadmin}><{$forum_index_cpanel}><{/if}>

</DIV>

</DIV>

<DIV ID="newbbHeaderNav">

<IMG SRC="<{$xoops_url}>/modules/newbb/images/lead.gif" WIDTH="16" HEIGHT="16">

<A HREF="<{$xoops_url}>/modules/newbb/">绿色学院 - Green Institute - Xoops 技术论坛</A>

<{if $parent_forum}>

-> <A HREF="<{$xoops_url}>/modules/newbb/"><{$lang_forum_index}></A>

<A HREF="<{$xoops_url}>/modules/newbb/forum_<{$parent_forum}>.htm"><{$parent_name}></A>

-> <A HREF="<{$xoops_url}>/modules/newbb/forum_<{$forum_id}>.htm"><{$forum_name}></A>

<{$topic_title}>

<{else}>

<A HREF="<{$xoops_url}>/modules/newbb/forum_<{$forum_id}>.htm"><{$forum_name}></A>

<{$topic_title}>

<{/if}>

</DIV>

newbb_online.html 源码

<DIV CLASS="newbbOnlineTotal"><{$smarty.const._MD_USERS_ONLINE}><{$online.num_total}> <{$smarty.const._MD_BROWSING_FORUM}></DIV>

<DIV CLASS="newbbOnline">

<div CLASS="newbbOnlineImage"><{$online.image}></div>

<DIV CLASS="NewbbOnlineInfo">

[ <span style="color:<{$color_admin}>"><{$smarty.const._MD_ADMINISTRATOR}></span> ] [ <span style="color:<{$color_mod}>"><{$smarty.const._MD_MODERATOR}></span> ]<br />

<{$online.num_anonymous}> <{$smarty.const._MD_ANONYMOUS_USERS}>

<{if $online.num_user}><br />

<{$online.num_user}>

<{$smarty.const._MD_REGISTERED_USERS}>

<{foreach item=user from=$online.users}>

<a href="<{$user.link}>">

<{if $user.color}>

<span style="color:<{$user.color}>"><{$user.uname}></span>

<{else}>

<{$user.uname}>

<{/if}>

</a>

<{/foreach}>

<{/if}>

</DIV>

</DIV>

/****************************************************************

*

* 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-16 22:41:34

*

\****************************************************************/

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有