{哈密}LD4.0风格大赏-灰色写意

楼主
{哈密}LD4.0风格大赏-灰色写意
……………………………………………………隐藏内容…
此帖内容已经加密,要查看请点击完整模式
…………………………………………………………………

1楼
推荐搭配仿Pw显区版模板

作者:一個人


代碼如下:

[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 bgcolor=#cccccc class=TBone><tr bgcolor=#666699><td colspan=6 class=TBHead>");
              document.write("<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td><img src=images/NULL.GIF width=2 height=3><br><a href=Boards.asp?Assort=" + BoardAssort + "><b><font color=white 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 align=center class=TBHead3><td> </td><td width=46%>论坛</td><td width=6%>主题</td><td width=6%>贴数</td><td width=28%>最后发表</td><td width=10%>版主</td></tr>");
           Flag = 1;
     }
     document.write("<tr bgcolor=#f7f7f7 align=center class=TBBG9><td width=25 bgcolor=eeeeee 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=版主专区");
           }
           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(" width=24 height=24></td>");
     document.write("<td align=Left><table width=100% border=0 cellspacing=0 cellpadding=3>");
     if(BoardImgUrl != "" && BoardImgUrl != null)document.write("<tr><td rowspan=3 width=" + BoardImgWidth + " valign=top><img src=images/null.gif width=2 height=3><br><a href=Board/Board.asp?BoardID=" + BoardID + "><img src=\"" + BoardImgUrl + "\" width=" + BoardImgWidth + " height=" + BoardImgHeight + " border=0></a></td><td width=4 rowspan=3><img src=images/null.gif width=2 height=2></td></tr>");
     document.write("<tr height=20><td><a href=Board/Board.asp?BoardID=" + BoardID + ">" + BoardName + "</a>");
     document.write("</td></tr>");
     document.write("<tr height=15><td>");
     document.write(BoardIntro);
     document.write("</td></tr>");
     document.write("</table></td>");
       document.write("<td align=center valign=middle><img src=images/null.gif height=2 width=2>" + TopicNum + "</td><td align=center valign=middle><img src=images/null.gif height=2 width=2>" + AnnounceNum + "</td>");
     document.write("<td align=Left valign=center><img src=images/null.gif height=2 width=2><br>");
     if(LastTopicName == "" || LastTopicName==null)
     {
           document.write("主题:无");
     }
     else
     {
           if(strlength(LastTopicName)>31)LastTopicName = LeftTrue(LastTopicName,31-3) + "..."
           LastTopicName = htmlencode(LastTopicName);
           if(ForumPass != "" || (BoardLimit&(1<<(2-1))) || (BoardLimit&(1<<(7-1))))
           {
                 document.write("主题:已设置为隐藏");
                 Temp = 1;
           }
           else
           {
                 if(parseInt(LastAnnounceID)==0){document.write("主题:" + htmlencode(LastTopicName));}
                 else{document.write("主题:<a href=announce/announce.asp?BoardID=" + BoardID + "&ID=" + LastAnnounceID + "&Aupflag=1&Anum=1>" + htmlencode(LastTopicName) + "</a>");}
           }
     }
     document.write("<br>");
     if(LastWriter == "")
     {
           document.write("回复:");
           LastWriter="无";
     }
     else
     {
           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("回复:" );
           if(LastWriter!="游客")
           {
                 if(Temp != 1)document.write("<a href=\"User/LookUserInfo.asp?Name=" + htmlencode(LastWriter) + "\">" + htmlencode(LastWriter) + "</a> ");
           }
           else
           {
                 document.write(htmlencode(LastWriter) + " ")
           }
                document.write("<br>");
           document.write("时间:");
           document.write(LastWriteTime);
           document.write("</td>");
     }
document.write("<td class=smalltxt align=center valign=middle>")
DisplayBoardMastList(MasterList,5);
document.write("</td></tr>")
}
[/CODE]
2楼
我下。。。。。。。。。。。。。。。。。。。
3楼
不下對不起我了
4楼
thx for sharing
5楼
去你官方看过拉
HOHO
以后换的时候在下哈
嘿2.!

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