苹果树下风格及模板宽屏完美修改版

楼主
苹果树下风格及模板宽屏完美修改版
……………………………………………………隐藏内容…
此帖内容已经加密,要查看请点击完整模式
…………………………………………………………………

1楼
先把模板贴出来吧,但是并不适合其他风格,因为模板里有一个我自己添加的CSS定义.TBBG8,如果要用到其他风格必须在风格对应的STYLE文件里添加这个定义,.TBBG8{BackGround-color:#DFDFD4;}

模板预览见1楼。模板名称:苹果树下  勾选首页列表信息完全显示,在相应表格内添加以下代码,然后在风格中启用。

[CODE]function displayboard(BoardID,BoardAssort,BoardName,BoardIntro,LastWriter,LastWriteTime,TopicNum,AnnounceNum,ForumPass,LastAnnounceID,LastTopicName,MasterList,BoardLimit,AssortName,TodayAnnounce,GoodNum,BoardImgUrl,BoardImgWidth,BoardImgHeight,onlineUser,LowerBoard,AssortMaster)
{
     var Temp = 0;
     if(CurrentAssosrt!=BoardAssort)
     {
           CurrentAssosrt = BoardAssort
           if(Flag == 1)
           {      document.write("</table>");
                 if(GBL_TableBottomString != "")document.write("<table width=" + DEF_BBS_ScreenWidth + " border=0 cellspacing=0 cellpadding=0 align=center><tr><td>" + GBL_TableBottomString + "</td></tr></table>");
                 document.write("<br>");
           }
           if(GBL_TableHeadString != "")document.write("<table width=" + DEF_BBS_ScreenWidth + " border=0 cellspacing=0 cellpadding=0 align=center><tr><td>" + GBL_TableHeadString + "</td></tr></table>");
           document.write("<table width=" + DEF_BBS_ScreenWidth + " border=0 cellspacing=1 cellpadding=5 align=center  class=TBone><tr><td colspan=7 class=TBHead>");
           document.write("<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td align=left class=TBHead><a href=Boards.asp?Assort=" + BoardAssort + "><b><font class=HeadFont>" + AssortName + "</font></b></a></td><td align=right><img src=images/NULL.GIF width=2 height=3><br><font color=white class=HeadFont>" + DEF_PointsName7 + ":");
              DisplayBoardMastList(AssortMaster,5,1);
              document.write("</font></td></tr></table></td></tr>");
           document.write("<tr class=TBBG8 align=center><td width=4%>图例</td><td width=55%>论坛</td><td width=6%>主题</td><td width=6%>帖数</td><td width=18%>最后发表</td><td width=11%>"+DEF_PointsName8+"</td></tr>");
           Flag = 1;
     }
     document.write("<tr align=center class=TBBG9 onmouseover=\"this.style.backgroundColor='#F8F8F8';\" onmouseout=\"this.style.backgroundColor='';\"><td class=TBBG1><img src=images/" + GBL_DefineImage + "BoardTopic/");
     if(TodayAnnounce > 0)document.write("_");
     if(ForumPass!="")
     {
           document.write("lock.gif title=保密论坛");
     }
     else
     {
           if(BoardLimit&(1<<(7-1)))
           {
                 document.write("lock3.gif title=" + DEF_PointsName8 + "专区");
           }
           else
           {
                 if((BoardLimit&(1<<(4-1))) && (BoardLimit&(1<<(3-1))) && (BoardLimit&(1<<(6-1))))
                 {
                       document.write("readonly.gif title=只读论坛");
                 }
                 else
                 {
                       if(BoardLimit&(1<<(2-1)))
                       {
                             document.write("lock2.gif title=正式会员论坛");
                       }
                       else
                       {
                             if(BoardLimit&(1<<(1-1)))
                             {
                                   document.write("lock1.gif title=注册认证论坛");
                             }
                             else
                             {
                                   if(BoardLimit&(1<<(9-1)))
                                   {
                                         document.write("open.gif title=开放论坛");
                                   }
                                   else
                                   {
                                         document.write("1.gif title=常规论坛");
                                   }
                             }
                       }
                 }
           }
     }
     document.write("></td>");
     document.write("<td align=Left><table width=100% border=0 cellspacing=0 cellpadding=0>");
     if(BoardImgUrl != "" && BoardImgUrl != null)document.write("<tr><td rowspan=4 width=" + BoardImgWidth + " valign=top><a href=b/b.asp?B=" + BoardID + "><img src=\"" + BoardImgUrl + "\" width=" + BoardImgWidth + " height=" + BoardImgHeight + " border=0></a></td><td width=4 rowspan=4></td></tr>");
     document.write("<tr height=20><td><a href=b/b.asp?B=" + BoardID + ">" + BoardName + "</a>");
     document.write("(今日:<font class=Redfont>" + TodayAnnounce + "</FONT>)");
     document.write("</td><td align=right rowspan=2 valign=top><a href=a/a2.asp?B=" + BoardID + "><img src=images/" + GBL_DefineImage + "BoardTopic/post.gif border=0 title=在此论坛发表新帖子></a><br><a href=b/eb.asp?B=" + BoardID + "><img src=images/" + GBL_DefineImage + "BoardTopic/elist.gif border=0 title=查看精华区内容(共" + GoodNum + "精华帖子)></a></td></tr>");
     document.write("<tr><td>");
     document.write(BoardIntro);
     document.write("</td>");
     document.write("</table></td>");
     document.write("<td class=TBBG1>" + TopicNum + "</td><td class=TBBG9>" + AnnounceNum + "</td>");
     if(LastTopicName == "" || LastTopicName==null)
     {
           document.write("<td class=TBBG1>");
           document.write("该版面没有任何主题");
     }
     else
     {
           if(strlength(LastTopicName)>31)LastTopicName = LeftTrue(LastTopicName,31-3) + "..."
           LastTopicName = htmlencode(LastTopicName);
           if(ForumPass != "" || (BoardLimit&(1<<(15-1))) || (BoardLimit&(1<<(2-1))) || (BoardLimit&(1<<(7-1))))
           {
                 document.write("<td class=TBBG1>");
                 document.write("私密论坛");
                 Temp = 1;
           }
           else
           {     
                 document.write("<td class=TBBG1 align=center>");
                 if(LastWriteTime.length==14)LastWriteTime = LastWriteTime.substr(0,4) + "-" + LastWriteTime.substr(4,2) + "-" + LastWriteTime.substr(6,2) + " " + LastWriteTime.substr(8,2) + ":" + LastWriteTime.substr(10,2)
                 document.write("<a href=a/a.asp?B=" + BoardID + "&ID=" + LastAnnounceID + "&Aupflag=1&Anum=1>"+ htmlencode(LastTopicName) +"<br></a>"+LastWriteTime+" By:");
           }
     }
     if(LastWriter!="游客" && LastWriter!="")
     {if(Temp != 1)document.write("<a href=\"User/LookUserInfo.asp?Name=" + htmlencode(LastWriter) + "\">" + htmlencode(LastWriter) + "</a> ");}
     else
     {if(LastWriter != "")document.write(htmlencode(LastWriter) + " ");}
     document.write("</td><td class=TBBG9>");
     DisplayBoardMastList(MasterList,5,0);
     document.write("</td></tr>");
}
[/CODE]
2楼
 支持一下
3楼
元老复出了,呵呵。
4楼
[QUOTE][b]下面引用由[u]shillan[/u]发表的内容:[/b]

元老复出了,呵呵。[/QUOTE]

呵呵,三年多没给LEADBBS做过什么贡献了,和我同时期的老LD的朋友们也都走的差不多了,现在我回来了,我希望能够给LEADBBS带来更多的人气,特别是插件区,缺乏像样的作品,很多插件都是由3.14甚至2.88版的插件拿过来直接用的,还有一些插件BUG很多,需要进一步完善
5楼
[QUOTE][b]下面引用由[u]puppyleon[/u]发表的内容:[/b]


呵呵,三年多没给LEADBBS做过什么贡献了,和我同时期的老LD的朋友们也都走的差不多了,现在我回来了,我希望能够给LEADBBS带来更多的人气,特别是插件区,缺乏像样的作品,很多插件都是由3.1...[/QUOTE]
好,以后就看你的了。[em05]

电脑版 Page created in 0.0720 seconds with 4 queries.