index.jsp
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:39k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html;charset=utf-8"%>
  2. <%@ page import="com.redmoon.blog.*"%>
  3. <%@ page import="com.redmoon.forum.MsgDb"%>
  4. <%@ page import="com.redmoon.forum.person.UserDb"%>
  5. <%@ page import="cn.js.fan.module.photo.*"%>
  6. <%@ page import="cn.js.fan.db.*"%>
  7. <%@ page import="cn.js.fan.web.*"%>
  8. <%@ page import="cn.js.fan.util.*"%>
  9. <%@ page import="java.util.*"%>
  10. <%@ taglib uri="/WEB-INF/tlds/DirListTag.tld" prefix="left_dirlist" %>
  11. <%@ taglib uri="/WEB-INF/tlds/DocumentTag.tld" prefix="left_doc" %>
  12. <%@ taglib uri="/WEB-INF/tlds/DocListTag.tld" prefix="dl" %>
  13. <%@ taglib uri="/WEB-INF/tlds/DocumentTag.tld" prefix="doc" %>
  14. <%@ taglib uri="/WEB-INF/tlds/LabelTag.tld" prefix="lt" %>
  15. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  16. "http://www.w3.org/TR/html4/loose.dtd">
  17. <html>
  18. <head>
  19. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  20. <script src="../inc/common.js"></script>
  21. <%
  22. String title = SkinUtil.LoadString(request,"res.label.blog.index", "title");
  23. title = StrUtil.format(title, new Object[] {Global.AppName});
  24. %>
  25. <title><%=title%></title>
  26. <link href="common.css" rel="stylesheet" type="text/css">
  27. </head>
  28. <body>
  29. <jsp:useBean id="privilege" scope="page" class="com.redmoon.forum.Privilege"/>
  30. <%
  31. String privurl = StrUtil.getUrl(request);
  32. %>
  33. <%@ include file="blog_header.jsp"%>
  34. <!-- 导航条 -->
  35. <table width="1" border="0" cellspacing="0" cellpadding="0">
  36.   <tr>
  37.     <td height="6"></td>
  38.   </tr>
  39. </table>
  40. <table width="1" border="0" cellspacing="0" cellpadding="0">
  41.   <tr>
  42.     <td height="6"></td>
  43.   </tr>
  44. </table>
  45. <table width="892" border="0" align="center" cellpadding="0" cellspacing="0" class="line4t">
  46.   <tr>
  47.     <td width="325" valign="top" bgcolor="#F7F7F7"><table width="302" border="0" align="center" cellpadding="0" cellspacing="0">
  48.          <tr>
  49.           <td height="10"></td>
  50.         </tr>
  51. <tr>
  52.           <td height="25" background="images/button-bg-01.gif" class="line4t"><div style="PADDING-left:16px;padding-top:2px; "><img src="images/ico_015.gif" width="13" height="14" align="absmiddle"><img src="images/no.gif" width="50" height="8"><b><lt:Label res="res.label.blog.index" key="web_announcement"/><img src="images/no.gif" width="100" height="8"></b><img src="images/more.gif" width="32" height="9"></div></td>
  53.         </tr>
  54.         <tr>
  55.           <td height="10"></td>
  56.         </tr>
  57.         <tr>
  58.           <td height="146" valign="top" bgcolor="#FFFFFF" class="line4t">
  59. <MARQUEE onmouseover=stop() onmouseout=start() scrollAmount=1 
  60.                   direction=up height=120>
  61.             <TABLE cellSpacing=0 cellPadding=2 width="98%" border=0>
  62.               <TBODY>
  63.                 <dl:DocListTag action="list" query="" dirCode="blog_notice" start="0" end="11">
  64.                   <TR>
  65.                     <TD vAlign=top width=7><IMG height=6 hspace=2 
  66.                         src="images/ico5.gif" width=3 align=absMiddle 
  67.                         vspace=3></TD>
  68.                     <TD><dl:DocListItemTag field="title" length="27" mode="detail"> <a href="../doc_show.jsp?id=$id" title="#title">$title</a>$isNew </dl:DocListItemTag>                    </TD>
  69.                   </TR>
  70.                 </dl:DocListTag>
  71.               </TBODY>
  72.             </TABLE>
  73.             </MARQUEE>   
  74.   </td>
  75.         </tr>
  76.  <tr>
  77.           <td height="10"></td>
  78.         </tr>
  79.     </table></td>
  80.     <td width="565" bgcolor="#F7F7F7"><table width="98%"  border="0" cellspacing="0" cellpadding="0">
  81.        <tr>
  82.         <td height="10"></td>
  83.         </tr>
  84.   <tr>
  85.         <td width="554" height="150"><iframe scrolling="no" width="554" height="150" frameborder="0" src="../doc_show_content.jsp?dirCode=blog_ad1"></iframe></td>
  86.         </tr>
  87.       <tr>
  88.         <td height="5"></td>
  89.       </tr>
  90.       <tr>
  91.         <td height="29" bgcolor="#DCDCD4"> 
  92.           <table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0">  
  93.   <tr><form id="search" name="search" action="listmsg.jsp" method="post">
  94.     <td width="3%" align="center"><img src="images/i_search.gif" width="17" height="16"></td>
  95.     <td width="22%" align="center"><b><lt:Label res="res.label.blog.index" key="blog_search"/>&nbsp;</b></td>
  96.     <td width="22%">
  97.       <select id="searchType" name="searchType">
  98.           <OPTION value="msgTitle" selected><lt:Label res="res.label.blog.index" key="log_title"/></OPTION>
  99.           <OPTION value="msgContent"><lt:Label res="res.label.blog.index" key="log_content"/></OPTION>
  100.       </select>
  101.    </td>
  102.     <td width="34%"><input id="keyword" name="keyword" type="text" size="20" maxLength="40"></td>
  103.     <td width="19%"><input type="submit" name="Submit" value="<lt:Label res="res.label.blog.index" key="search"/>"></td>
  104.   </form> </tr>
  105. </table>
  106. </td>
  107.       </tr> <tr>
  108.         <td height="1" bgcolor="#555555"></td>
  109.       </tr>
  110.       <tr>
  111.         <td height="10"></td>
  112.       </tr>
  113.     </table></td>
  114.   </tr>
  115. </table>
  116. <table width="1" border="0" cellspacing="0" cellpadding="0">
  117.   <tr>
  118.     <td height="6" bgcolor="#555555"></td>
  119.   </tr>
  120. </table>
  121. <table width="892" border="0" align="center" cellpadding="0" cellspacing="0">
  122.   <tr>
  123.     <td bgcolor="#F7F7F7" class="line4t" valign="top"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
  124.         <tr>
  125.           <td height="10"></td>
  126.         </tr>
  127. <tr>
  128.           <td width="300" height="25" background="images/button-bg-01.gif" class="line4t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> &nbsp;<lt:Label res="res.label.blog.index" key="new_update"/></div></td>
  129.           <td width="300" background="images/button-bg-01.gif" class="line3t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> &nbsp;<lt:Label res="res.label.blog.index" key="hot_log"/></div></td>
  130.         </tr>
  131.         <tr>
  132.           <td height="10"></td>
  133.           <td></td>
  134.         </tr>
  135.         <tr>
  136.           <td bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top">
  137.   <div class="test">
  138. <%
  139. BlogDb bd = new BlogDb();
  140. bd = bd.getBlogDb();
  141. long[] newMsgs = bd.getNewBlogMsgs(9);
  142. int newMsgsLen = newMsgs.length;
  143. MsgDb md = new MsgDb();
  144. for (int i=0; i<newMsgsLen; i++) {
  145. md = md.getMsgDb(newMsgs[i]);
  146. %>
  147. <li><a href="../forum/showblog.jsp?rootid=<%=md.getId()%>" title="<%=md.getTitle()%>(<%=md.getName()%>)"><%=StrUtil.getLeft(md.getTitle(), 30)%></a></li>
  148. <%}%>      
  149.   </div>
  150.   </td>
  151.           <td bgcolor="#FFFFFF" class="line3t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top">
  152.           <div class="test">
  153. <%
  154. long[] hotMsgs = bd.getHotBlogMsgs(9);
  155. int hotMsgsLen = hotMsgs.length;
  156. for (int i=0; i<hotMsgsLen; i++) {
  157. md = md.getMsgDb(hotMsgs[i]);
  158. %>
  159. <li><a href="../forum/showblog.jsp?rootid=<%=md.getId()%>" title="<%=md.getTitle()%>(<%=md.getName()%>)"><%=StrUtil.getLeft(md.getTitle(), 30)%></a></li>
  160. <%}%>  
  161.   </div></td>
  162.         </tr>
  163.  <tr>
  164.           <td height="10"></td>
  165.         </tr>
  166.     </table></td>
  167.     <td width="2"></td>
  168.     <td width="260" valign="top" bgcolor="#F7F7F7" class="line4t">
  169. <table width="240" border="0" align="center" cellpadding="0" cellspacing="0">
  170.       <tr>
  171.         <td height="10"></td>
  172.       </tr>
  173.       <tr>
  174.         <td height="25" background="images/button-bg-01.gif" class="line4t" ><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> &nbsp;<lt:Label res="res.label.blog.frame" key="user_login"/></div></td>
  175.       </tr>
  176.       <tr>
  177.         <td height="10"></td>
  178.       </tr>
  179.   <%if (!privilege.isUserLogin(request)) {%>
  180.       <tr>
  181.         <td height="13" bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;">
  182. <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  183.           <form action="../login.jsp" method="post" name="form1" id="form1">
  184.   <tr>
  185.             <td><lt:Label res="res.label.blog.frame" key="name"/></td>
  186.             <td><input name="name" id="name" size="14" />          </tr>
  187.           <tr>
  188.             <td><lt:Label res="res.label.blog.frame" key="pwd"/></td>
  189.             <td><input name="pwd" type="password" id="pwd" size="14" /><input type="hidden" name="privurl" value="<%=privurl%>"></td>
  190.           </tr>
  191.           <tr>
  192.             <td><lt:Label res="res.label.blog.frame" key="test_code"/></td>
  193.             <td><input name="validateCode" type="text" id="validateCode" size="4" style="width:50" />
  194.                     <a href="#" onClick="$('imgValidateCode').src='../validatecode.jsp?' + 'xxx=' + new Date().getTime();"><img id="imgValidateCode" src="../validatecode.jsp" width="58" height="20" align="absmiddle" border=0/></a></td>
  195.           </tr>
  196.           <tr>
  197.              <td>&nbsp;</td>
  198.              <td height="28"><input type="button" name="register" value="<lt:Label res="res.label.blog.frame" key="register"/>" onclick="window.location.href='../regist.jsp'"/>
  199.       &nbsp;&nbsp;
  200.                       <input name="login" type="submit" value="<lt:Label res="res.label.blog.frame" key="login"/>"/>               &nbsp;</td>
  201.           </tr>
  202.   </form>
  203.         </table>
  204. </td>
  205.       </tr>
  206.   <%}else{%>
  207.   <tr>
  208.         <td height="13" bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;">
  209. <%
  210.   String userName = privilege.getUser(request);
  211.   UserDb me = new UserDb();
  212.   me = me.getUser(userName);
  213.   String myface = me.getMyface();
  214.   %>
  215.   <jsp:useBean id="Msg" scope="page" class="com.redmoon.forum.message.MessageMgr"/>
  216.   <%
  217.   int msgcount = 0;
  218.   msgcount = Msg.getNewMsgCount(request);
  219.   String welcome_you = SkinUtil.LoadString(request,"res.label.blog.frame", "welcome_you");
  220.   welcome_you = StrUtil.format(welcome_you, new Object[] {Global.AppName});
  221.   %>
  222.   <table width="100%" border="0" cellspacing="0" cellpadding="0">
  223.             <tr>
  224.               <td height="22"><%=welcome_you%></td>
  225.             </tr>
  226.             <tr>
  227.               <td height="22"> <lt:Label res="res.label.blog.frame" key="user"/><%=me.getNick()%></td>
  228.             </tr>
  229.             <tr>
  230.               <td height="22"><lt:Label res="res.label.blog.frame" key="before_login"/><%=DateUtil.format(me.getLastTime(), "yyyy-MM-dd")%></td>
  231.             </tr>
  232.             <tr>
  233.               <td height="22"><a href="../usercenter.jsp"><lt:Label res="res.label.blog.frame" key="user_center"/></a> <a href="myblog.jsp?userName=<%=StrUtil.UrlEncode(userName)%>"><lt:Label res="res.label.blog.frame" key="my_blog"/></a></td>
  234.             </tr>
  235.             <tr>
  236.               <td height="22"><a href="../message/message.jsp"><lt:Label res="res.label.blog.frame" key="message"/></a>(<font class="redfont"><%=msgcount%></font>)&nbsp;<a href="../exit.jsp?privurl=<%=privurl%>"><u><lt:Label res="res.label.blog.frame" key="exit_blog"/></u></a></td>
  237.             </tr>
  238.           </table>
  239.   </td>
  240.     </tr></table></td>
  241.   </tr>
  242.   <%}%>
  243.       <tr>
  244.         <td height="10"></td>
  245.       </tr>
  246. </table> 
  247. </tr>
  248. </table>
  249. <table width="1" border="0" cellspacing="0" cellpadding="0">
  250.   <tr>
  251.     <td height="6"></td>
  252.   </tr>
  253. </table>
  254. <%
  255. UserConfigDb ucd = new UserConfigDb();
  256. Vector vcl = bd.getAllHomeClasses();
  257. Iterator ircl = vcl.iterator();
  258. long[] msgIds = null;
  259. int msgIdsLen = 0;
  260. %>
  261. <table width="892" border="0" align="center" cellpadding="0" cellspacing="0">
  262.   <tr>
  263.     <td bgcolor="#F7F7F7" class="line4t" valign="top"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0"><tr>
  264.         <td width="300" valign="top">
  265. <%
  266. if (ircl.hasNext()) {
  267. Leaf lf = (Leaf)ircl.next();
  268. %>
  269.  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  270.           <tr>
  271.             <td height="10"></td>
  272.           </tr>
  273.           <tr>
  274.             <td width="300" height="25" background="images/button-bg-01.gif" class="line4t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> <a href="listblog.jsp?kind=<%=lf.getCode()%>"><%=lf.getName()%></a></div></td>
  275.           </tr>
  276.           <tr>
  277.             <td height="10"></td>
  278.           </tr>
  279.           <tr>
  280.             <td bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top"><div class="test">
  281. <%
  282. msgIds = bd.getBlogMsgsOfKind(9, lf.getCode());
  283. msgIdsLen = msgIds.length;
  284. for (int i=0; i<msgIdsLen; i++) {
  285. md = md.getMsgDb(msgIds[i]);
  286. %>
  287.             <li><a href="../forum/showblog.jsp?rootid=<%=md.getId()%>" title="<%=md.getTitle()%>(<%=md.getName()%>)"><%=StrUtil.getLeft(md.getTitle(), 20)%></a></li>
  288.             <%}%>
  289. </div></td>
  290.           </tr>
  291.         </table>
  292. <%}%> </td>
  293.         <td valign="top">
  294. <%
  295.  if (ircl.hasNext()) {
  296.     Leaf lf = (Leaf)ircl.next();
  297. %>
  298. <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  299.           <tr>
  300.             <td height="10"></td>
  301.           </tr>
  302.           <tr>
  303.             <td width="300" height="25" background="images/button-bg-01.gif" class="line3t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"><a href="listblog.jsp?kind=<%=lf.getCode()%>"><%=lf.getName()%></a></div></td>
  304.           </tr>
  305.           <tr>
  306.             <td height="10"></td>
  307.           </tr>
  308.           <tr>
  309.             <td bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top"><div class="test">
  310. <%
  311. msgIds = bd.getBlogMsgsOfKind(9, lf.getCode());
  312. msgIdsLen = msgIds.length;
  313. for (int i=0; i<msgIdsLen; i++) {
  314. md = md.getMsgDb(msgIds[i]);
  315. %>
  316.             <li><a href="../forum/showblog.jsp?rootid=<%=md.getId()%>" title="<%=md.getTitle()%>(<%=md.getName()%>)"><%=StrUtil.getLeft(md.getTitle(), 20)%></a></li>
  317.             <%}%>
  318. </div></td>
  319.           </tr>
  320.         </table><%}%></td>
  321.   </tr>
  322.    <tr>
  323.           <td height="10"></td>
  324.         </tr>
  325.     </table>
  326. </td>
  327.     <td width="2"></td>
  328.     <td width="260" valign="top" bgcolor="#F7F7F7" class="line4t"><table width="240" border="0" align="center" cellpadding="0" cellspacing="0">
  329.       <tr>
  330.         <td height="10"></td>
  331.       </tr>
  332.       <tr>
  333.         <td height="25" background="images/button-bg-01.gif" class="line4t" ><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> &nbsp;<lt:Label res="res.label.blog.frame" key="blog_star"/></div></td>
  334.       </tr>
  335.       <tr>
  336.         <td height="10"></td>
  337.       </tr>
  338.       <tr>
  339.         <td height="186" valign="top" bgcolor="#FFFFFF" class="line4t">
  340.           <%
  341. String star = StrUtil.getNullString(bd.getStar());
  342. if (!star.equals("")) {
  343. %>
  344.           <table width="80%"  border="0" align="center" cellpadding="0" cellspacing="0">
  345.             <tr>
  346.               <td align="center">&nbsp;</td>
  347.             </tr>
  348.             <tr>
  349.               <td align="center" bgcolor="#F7F7F7">
  350.                 <%
  351. ucd = ucd.getUserConfigDb(star);
  352. UserDb user = new UserDb();
  353. user = user.getUser(star);
  354. int myfacewidth=120,myfaceheight=150;
  355. String myface = user.getMyface();
  356. myfacewidth = user.getMyfaceWidth();
  357. myfaceheight = user.getMyfaceHeight();
  358. String RealPic = user.getRealPic();  
  359.     if (myface.equals("")) {%>
  360.                 <img src="../forum/images/face/<%=RealPic%>"/>
  361.                 <%}else{%>
  362.                 <img src="../images/myface/<%=myface%>" name="tus" width="<%=myfacewidth%>" height="<%=myfaceheight%>" id="tus" />
  363.                 <%}%>              </td>
  364.             </tr>
  365.             <tr>
  366.               <td height="5" bgcolor="#F7F7F7"></td>
  367.             </tr>
  368.             <tr>
  369.               <td bgcolor="#F7F7F7" >&nbsp;<lt:Label res="res.label.blog.frame" key="blog_left"/><a href="myblog.jsp?userName=<%=StrUtil.UrlEncode(star)%>" target="_blank"><%=ucd.getTitle()%></a></td>
  370.             </tr>
  371.             <tr>
  372.               <td bgcolor="#F7F7F7">&nbsp;<lt:Label res="res.label.blog.frame" key="introduction"/><%=ucd.getSubtitle()%></td>
  373.             </tr>
  374.             <tr>
  375.               <td bgcolor="#F7F7F7">&nbsp;<lt:Label res="res.label.blog.frame" key="article"/><%=ucd.getMsgCount()%></td>
  376.             </tr>
  377.             <tr>
  378.               <td bgcolor="#F7F7F7">&nbsp;<lt:Label res="res.label.blog.frame" key="comment"/><%=ucd.getReplyCount()%></td>
  379.             </tr>
  380.             <tr>
  381.               <td bgcolor="#F7F7F7">&nbsp;<lt:Label res="res.label.blog.frame" key="visit"/><%=ucd.getViewCount()%></td>
  382.             </tr>
  383.           </table>
  384.           <%
  385. }
  386. %>
  387.         </td>
  388.       </tr>
  389.       <tr>
  390.         <td height="8"></td>
  391.       </tr>
  392.     </table></td>
  393.   </tr>
  394. </table>
  395. <table width="1" border="0" cellspacing="0" cellpadding="0">
  396.   <tr>
  397.     <td height="6"></td>
  398.   </tr>
  399. </table>
  400. <table width="892" border="0" align="center" cellpadding="5" cellspacing="0" class="line4t">
  401.   <tr>
  402.     <td align="center" valign="top" bgcolor="#F7F7F7" width="879" height="104"><iframe width="100%" height="104" scrolling="no" frameborder="0" src="../doc_show_content.jsp?dirCode=blog_ad2"></iframe></td>
  403.   </tr>
  404. </table>
  405. <table width="1" border="0" cellspacing="0" cellpadding="0">
  406.   <tr>
  407.     <td height="6"></td>
  408.   </tr>
  409. </table>
  410. <table width="892" border="0" align="center" cellpadding="0" cellspacing="0">
  411.   <tr>
  412.     <td bgcolor="#F7F7F7" class="line4t" valign="top"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0"><tr>
  413.         <td width="300" valign="top">
  414. <%
  415. if (ircl.hasNext()) {
  416. Leaf lf = (Leaf)ircl.next();
  417. %>
  418.  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  419.           <tr>
  420.             <td height="10"></td>
  421.           </tr>
  422.           <tr>
  423.             <td width="300" height="25" background="images/button-bg-01.gif" class="line4t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> <a href="listblog.jsp?kind=<%=lf.getCode()%>"><%=lf.getName()%></a></div></td>
  424.           </tr>
  425.           <tr>
  426.             <td height="10"></td>
  427.           </tr>
  428.           <tr>
  429.             <td bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top"><div class="test">
  430. <%
  431. msgIds = bd.getBlogMsgsOfKind(9, lf.getCode());
  432. msgIdsLen = msgIds.length;
  433. for (int i=0; i<msgIdsLen; i++) {
  434. md = md.getMsgDb(msgIds[i]);
  435. %>
  436.             <li><a href="../forum/showblog.jsp?rootid=<%=md.getId()%>" title="<%=md.getTitle()%>(<%=md.getName()%>)"><%=StrUtil.getLeft(md.getTitle(), 20)%></a></li>
  437.             <%}%>
  438. </div></td>
  439.           </tr>
  440.         </table>
  441. <%}%> </td>
  442.         <td valign="top">
  443. <%
  444.  if (ircl.hasNext()) {
  445.     Leaf lf = (Leaf)ircl.next();
  446. %>
  447. <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  448.           <tr>
  449.             <td height="10"></td>
  450.           </tr>
  451.           <tr>
  452.             <td width="300" height="25" background="images/button-bg-01.gif" class="line3t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"><a href="listblog.jsp?kind=<%=lf.getCode()%>"><%=lf.getName()%></a></div></td>
  453.           </tr>
  454.           <tr>
  455.             <td height="10"></td>
  456.           </tr>
  457.           <tr>
  458.             <td bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top"><div class="test">
  459. <%
  460. msgIds = bd.getBlogMsgsOfKind(9, lf.getCode());
  461. msgIdsLen = msgIds.length;
  462. for (int i=0; i<msgIdsLen; i++) {
  463. md = md.getMsgDb(msgIds[i]);
  464. %>
  465.             <li><a href="../forum/showblog.jsp?rootid=<%=md.getId()%>" title="<%=md.getTitle()%>(<%=md.getName()%>)"><%=StrUtil.getLeft(md.getTitle(), 20)%></a></li>
  466.             <%}%>
  467. </div></td>
  468.           </tr>
  469.         </table><%}%></td>
  470.   </tr>
  471.    <tr>
  472.           <td height="10"></td>
  473.         </tr>
  474.     </table></td>
  475.     <td width="2"></td>
  476.     <td width="260" valign="top" bgcolor="#F7F7F7" class="line4t"><table width="240" border="0" align="center" cellpadding="0" cellspacing="0">
  477.       <tr>
  478.         <td height="10"></td>
  479.       </tr>
  480.       <tr>
  481.         <td height="25" background="images/button-bg-01.gif" class="line4t" ><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> &nbsp;<lt:Label res="res.label.blog.index" key="blog_rank"/></div></td>
  482.       </tr>
  483.       <tr>
  484.         <td height="10"></td>
  485.       </tr>
  486.       <tr>
  487.         <td height="27" bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;"><div class="test">
  488.             <%
  489. String[] postBlogs = bd.getPostRank(9);
  490. int postBlogsLen = postBlogs.length;
  491. for (int i=0; i<postBlogsLen; i++) {
  492. ucd = ucd.getUserConfigDb(postBlogs[i]);
  493. %>
  494.             <li><a href="myblog.jsp?userName=<%=StrUtil.UrlEncode(ucd.getUserName())%>" title="<%=ucd.getTitle()%>(<%=ucd.getUserName()%>)"><%=StrUtil.getLeft(ucd.getTitle(), 20)%></a></li>
  495.             <%}%>
  496.         </div></td>
  497.       </tr>
  498.       <tr>
  499.         <td height="10"></td>
  500.       </tr>
  501.     </table></td>
  502.   </tr>
  503. </table>
  504. <table width="1" border="0" cellspacing="0" cellpadding="0">
  505.   <tr>
  506.     <td height="6"></td>
  507.   </tr>
  508. </table>
  509. <table width="892" border="0" align="center" cellpadding="0" cellspacing="0">
  510.   <tr>
  511.     <td bgcolor="#F7F7F7" class="line4t"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
  512.       <tr>
  513.         <td height="10"></td>
  514.       </tr>
  515.       <tr>
  516.         <td width="300" height="25" background="images/button-bg-01.gif" class="line4t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> &nbsp;<lt:Label res="res.label.blog.index" key="blog_album"/></div></td>
  517.       </tr>
  518.       <tr>
  519.         <td height="10"></td>
  520.       </tr>
  521.       <tr>
  522.         <td height="186" bgcolor="#FFFFFF" class="line4t"><table width="96%"  border="0" align="center" cellpadding="0" cellspacing="10">
  523.           <tr>
  524.     <%
  525. int[] newPhotos = bd.getNewPhotos(6);
  526. if (newPhotos!=null) {
  527. int newPhotosLen = newPhotos.length;
  528. PhotoDb pd = new PhotoDb();
  529. for (int i=0; i<newPhotosLen; i++) {
  530. pd = pd.getPhotoDb(newPhotos[i]);
  531. %>
  532. <td>
  533. <a href="showphoto.jsp?userName=<%=StrUtil.UrlEncode(pd.getUserName())%>&id=<%=pd.getId()%>">
  534. <img src="<%=request.getContextPath()+"/"+pd.getImage()%>" alt="<%=pd.getTitle()%>" width=94 height=120 border=0>
  535. </a>
  536. </td>
  537. <%}
  538. }%>
  539.           </tr>
  540.         </table></td>
  541.       </tr>
  542.       <tr>
  543.         <td height="10"></td>
  544.       </tr>
  545.     </table></td>
  546.     <td width="2"></td>
  547.     <td width="260" valign="top" bgcolor="#F7F7F7" class="line4t"><table width="240" border="0" align="center" cellpadding="0" cellspacing="0">
  548.       <tr>
  549.         <td height="10"></td>
  550.       </tr>
  551.       <tr>
  552.         <td height="25" background="images/button-bg-01.gif" class="line4t" ><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> &nbsp;<lt:Label res="res.label.blog.frame" key="new_add"/></div></td>
  553.       </tr>
  554.       <tr>
  555.         <td height="10"></td>
  556.       </tr>
  557.       <tr>
  558.         <td height="27" bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top"><div class="test">
  559.             <%
  560. String[] newBlogs = bd.getNewBlogs(9);
  561. int newBlogsLen = newBlogs.length;
  562. for (int i=0; i<newBlogsLen; i++) {
  563. ucd = ucd.getUserConfigDb(newBlogs[i]);
  564. %>
  565.             <li><a href="myblog.jsp?userName=<%=StrUtil.UrlEncode(ucd.getUserName())%>" title="<%=ucd.getTitle()%>(<%=ucd.getUserName()%>)"><%=StrUtil.getLeft(ucd.getTitle(), 20)%></a></li>
  566.             <%}%>
  567.         </div></td>
  568.       </tr>
  569.       <tr>
  570.         <td height="10"></td>
  571.       </tr>
  572.     </table></td>
  573.   </tr>
  574. </table>
  575. <table width="1" border="0" cellspacing="0" cellpadding="0">
  576.   <tr>
  577.     <td height="6"></td>
  578.   </tr>
  579. </table>
  580. <table width="892" border="0" align="center" cellpadding="0" cellspacing="0">
  581.   <tr>
  582.     <td bgcolor="#F7F7F7" class="line4t" valign="top"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0"><tr>
  583.         <td width="300" valign="top">
  584. <%
  585. if (ircl.hasNext()) {
  586. Leaf lf = (Leaf)ircl.next();
  587. %>
  588.  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  589.           <tr>
  590.             <td height="10"></td>
  591.           </tr>
  592.           <tr>
  593.             <td width="300" height="25" background="images/button-bg-01.gif" class="line4t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> <a href="listblog.jsp?kind=<%=lf.getCode()%>"><%=lf.getName()%></a></div></td>
  594.           </tr>
  595.           <tr>
  596.             <td height="10"></td>
  597.           </tr>
  598.           <tr>
  599.             <td bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top"><div class="test">
  600. <%
  601. msgIds = bd.getBlogMsgsOfKind(9, lf.getCode());
  602. msgIdsLen = msgIds.length;
  603. for (int i=0; i<msgIdsLen; i++) {
  604. md = md.getMsgDb(msgIds[i]);
  605. %>
  606.             <li><a href="../forum/showblog.jsp?rootid=<%=md.getId()%>" title="<%=md.getTitle()%>(<%=md.getName()%>)"><%=StrUtil.getLeft(md.getTitle(), 20)%></a></li>
  607.             <%}%>
  608. </div></td>
  609.           </tr>
  610.         </table>
  611. <%}%> </td>
  612.         <td valign="top">
  613. <%
  614.  if (ircl.hasNext()) {
  615.     Leaf lf = (Leaf)ircl.next();
  616. %>
  617. <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  618.           <tr>
  619.             <td height="10"></td>
  620.           </tr>
  621.           <tr>
  622.             <td width="300" height="25" background="images/button-bg-01.gif" class="line3t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"><a href="listblog.jsp?kind=<%=lf.getCode()%>"><%=lf.getName()%></a></div></td>
  623.           </tr>
  624.           <tr>
  625.             <td height="10"></td>
  626.           </tr>
  627.           <tr>
  628.             <td bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top"><div class="test">
  629. <%
  630. msgIds = bd.getBlogMsgsOfKind(9, lf.getCode());
  631. msgIdsLen = msgIds.length;
  632. for (int i=0; i<msgIdsLen; i++) {
  633. md = md.getMsgDb(msgIds[i]);
  634. %>
  635.             <li><a href="../forum/showblog.jsp?rootid=<%=md.getId()%>" title="<%=md.getTitle()%>(<%=md.getName()%>)"><%=StrUtil.getLeft(md.getTitle(), 20)%></a></li>
  636.             <%}%>
  637. </div></td>
  638.           </tr>
  639.         </table><%}%></td>
  640.   </tr>
  641.    <tr>
  642.           <td height="10"></td>
  643.         </tr>
  644.     </table></td>
  645.     <td width="2"></td>
  646.     <td width="260" valign="top" bgcolor="#F7F7F7" class="line4t"><table width="240" border="0" align="center" cellpadding="0" cellspacing="0">
  647.       <tr>
  648.         <td height="10"></td>
  649.       </tr>
  650.       <tr>
  651.         <td height="25" background="images/button-bg-01.gif" class="line4t" ><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> &nbsp;<lt:Label res="res.label.blog.index" key="commend_blog"/></div></td>
  652.       </tr>
  653.       <tr>
  654.         <td height="10"></td>
  655.       </tr>
  656.       <tr>
  657.         <td height="27" bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;"><div class="test">
  658.             <%
  659. Vector vrcmd = bd.getAllRecommandBlogs();
  660. Iterator irrcmd = vrcmd.iterator();
  661. while (irrcmd.hasNext()) {
  662. ucd = (UserConfigDb)irrcmd.next();
  663. %>
  664.             <li><a href="myblog.jsp?userName=<%=StrUtil.UrlEncode(ucd.getUserName())%>" title="<%=ucd.getTitle()%>(<%=ucd.getUserName()%>)"><%=StrUtil.getLeft(ucd.getTitle(), 20)%></a></li>
  665.             <%}%>
  666.         </div></td>
  667.       </tr>
  668.       <tr>
  669.         <td height="8"></td>
  670.       </tr>
  671.     </table></td>
  672.   </tr>
  673. </table>
  674. <table width="1" border="0" cellspacing="0" cellpadding="0">
  675.   <tr>
  676.     <td height="6"></td>
  677.   </tr>
  678. </table>
  679. <table width="892" border="0" align="center" cellpadding="0" cellspacing="0">
  680.   <tr>
  681.     <td bgcolor="#F7F7F7" class="line4t" valign="top"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0"><tr>
  682.         <td width="300" valign="top">
  683. <%
  684. if (ircl.hasNext()) {
  685. Leaf lf = (Leaf)ircl.next();
  686. %>
  687.  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  688.           <tr>
  689.             <td height="10"></td>
  690.           </tr>
  691.           <tr>
  692.             <td width="300" height="25" background="images/button-bg-01.gif" class="line4t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> <a href="listblog.jsp?kind=<%=lf.getCode()%>"><%=lf.getName()%></a></div></td>
  693.           </tr>
  694.           <tr>
  695.             <td height="10"></td>
  696.           </tr>
  697.           <tr>
  698.             <td bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top"><div class="test">
  699. <%
  700. msgIds = bd.getBlogMsgsOfKind(9, lf.getCode());
  701. msgIdsLen = msgIds.length;
  702. for (int i=0; i<msgIdsLen; i++) {
  703. md = md.getMsgDb((int)msgIds[i]);
  704. %>
  705.             <li><a href="../forum/showblog.jsp?rootid=<%=md.getId()%>" title="<%=md.getTitle()%>(<%=md.getName()%>)"><%=StrUtil.getLeft(md.getTitle(), 20)%></a></li>
  706.             <%}%>
  707. </div></td>
  708.           </tr>
  709.         </table>
  710. <%}%> </td>
  711.         <td valign="top">
  712. <%
  713.  if (ircl.hasNext()) {
  714.     Leaf lf = (Leaf)ircl.next();
  715. %>
  716. <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  717.           <tr>
  718.             <td height="10"></td>
  719.           </tr>
  720.           <tr>
  721.             <td width="300" height="25" background="images/button-bg-01.gif" class="line3t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"><a href="listblog.jsp?kind=<%=lf.getCode()%>"><%=lf.getName()%></a></div></td>
  722.           </tr>
  723.           <tr>
  724.             <td height="10"></td>
  725.           </tr>
  726.           <tr>
  727.             <td bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top"><div class="test">
  728. <%
  729. msgIds = bd.getBlogMsgsOfKind(9, lf.getCode());
  730. msgIdsLen = msgIds.length;
  731. for (int i=0; i<msgIdsLen; i++) {
  732. md = md.getMsgDb(msgIds[i]);
  733. %>
  734.             <li><a href="../forum/showblog.jsp?rootid=<%=md.getId()%>" title="<%=md.getTitle()%>(<%=md.getName()%>)"><%=StrUtil.getLeft(md.getTitle(), 20)%></a></li>
  735.             <%}%>
  736. </div></td>
  737.           </tr>
  738.         </table><%}%></td>
  739.   </tr>
  740.    <tr>
  741.           <td height="10"></td>
  742.         </tr>
  743.     </table></td>
  744.     <td width="2"></td>
  745.     <td width="260" valign="top" bgcolor="#F7F7F7" class="line4t"><table width="240" border="0" align="center" cellpadding="0" cellspacing="0">
  746.       <tr>
  747.         <td height="10"></td>
  748.       </tr>
  749.       <tr>
  750.         <td height="25" background="images/button-bg-01.gif" class="line4t" ><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> &nbsp;<lt:Label res="res.label.blog.frame" key="web_statistics"/></div></td>
  751.       </tr>
  752.       <tr>
  753.         <td height="10"></td>
  754.       </tr>
  755.       <tr>
  756.         <td height="170" bgcolor="#FFFFFF" class="line4t">
  757.           <table width="80%"  border="0" align="center" cellpadding="0" cellspacing="0">
  758.             <tr>
  759.               <td height="25"><img src="images/tu_newgroup.gif" width="15" height="12" align="absmiddle">&nbsp;<lt:Label res="res.label.blog.frame" key="blog_left"/><%=bd.getBlogCount()%> </td>
  760.             </tr>
  761.             <tr>
  762.               <td height="25"><img src="images/tu_newgroup.gif" width="15" height="12" align="absmiddle">&nbsp;<lt:Label res="res.label.blog.frame" key="log_left"/><%=bd.getTopicCount()%> </td>
  763.             </tr>
  764.             <tr>
  765.               <td height="25"><img src="images/tu_newgroup.gif" width="15" height="12" align="absmiddle">&nbsp;<lt:Label res="res.label.blog.frame" key="web_statistics_comment"/><%=bd.getPostCount()-bd.getTopicCount()%> </td>
  766.             </tr>
  767.             <%String newUserName = StrUtil.getNullString(bd.getNewBlogUserName());%>
  768.             <tr>
  769.               <td height="25"><img src="images/tu_newgroup.gif" width="15" height="12" align="absmiddle">&nbsp;<lt:Label res="res.label.blog.frame" key="add"/><a href="<%=StrUtil.UrlEncode(newUserName)%>"><%=newUserName%></a> </td>
  770.             </tr>
  771.             <tr>
  772.               <td height="25"><img src="images/tu_newgroup.gif" width="15" height="12" align="absmiddle">&nbsp;<lt:Label res="res.label.blog.frame" key="yesterday"/><%=bd.getYestodayCount()%> </td>
  773.             </tr>
  774.             <tr>
  775.               <td height="25"><img src="images/tu_newgroup.gif" width="15" height="12" align="absmiddle">&nbsp;<lt:Label res="res.label.blog.frame" key="today"/><%=bd.getTodayCount()%></td>
  776.             </tr>
  777.         </table></td>
  778.       </tr>
  779.       <tr>
  780.         <td height="10"></td>
  781.       </tr>
  782.     </table></td>
  783.   </tr>
  784. </table>
  785. <table width="1" border="0" cellspacing="0" cellpadding="0">
  786.   <tr>
  787.     <td height="6"></td>
  788.   </tr>
  789. </table>
  790. <table width="892" border="0" align="center" cellpadding="5" cellspacing="0" class="line4t">
  791.   <tr>
  792.     <td align="center" valign="top" bgcolor="#F7F7F7" width="879" height="104"><iframe width="100%" height="104" scrolling="no" frameborder="0" src="../doc_show_content.jsp?dirCode=blog_ad3"></iframe></td>
  793.   </tr>
  794. </table>
  795. <table width="1" border="0" cellspacing="0" cellpadding="0">
  796.   <tr>
  797.     <td height="6"></td>
  798.   </tr>
  799. </table>
  800. <table width="892" border="0" align="center" cellpadding="0" cellspacing="0">
  801.   <tr>
  802.     <td bgcolor="#F7F7F7" class="line4t" valign="top"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0"><tr>
  803.         <td width="300" valign="top">
  804. <%
  805. if (ircl.hasNext()) {
  806. Leaf lf = (Leaf)ircl.next();
  807. %>
  808.  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  809.           <tr>
  810.             <td height="10"></td>
  811.           </tr>
  812.           <tr>
  813.             <td width="300" height="25" background="images/button-bg-01.gif" class="line4t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> <a href="listblog.jsp?kind=<%=lf.getCode()%>"><%=lf.getName()%></a></div></td>
  814.           </tr>
  815.           <tr>
  816.             <td height="10"></td>
  817.           </tr>
  818.           <tr>
  819.             <td bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top"><div class="test">
  820. <%
  821. msgIds = bd.getBlogMsgsOfKind(9, lf.getCode());
  822. msgIdsLen = msgIds.length;
  823. for (int i=0; i<msgIdsLen; i++) {
  824. md = md.getMsgDb((int)msgIds[i]);
  825. %>
  826.             <li><a href="../forum/showblog.jsp?rootid=<%=md.getId()%>" title="<%=md.getTitle()%>(<%=md.getName()%>)"><%=StrUtil.getLeft(md.getTitle(), 20)%></a></li>
  827.             <%}%>
  828. </div></td>
  829.           </tr>
  830.         </table>
  831. <%}%> </td>
  832.         <td valign="top">
  833. <%
  834.  if (ircl.hasNext()) {
  835.     Leaf lf = (Leaf)ircl.next();
  836. %>
  837. <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  838.           <tr>
  839.             <td height="10"></td>
  840.           </tr>
  841.           <tr>
  842.             <td width="300" height="25" background="images/button-bg-01.gif" class="line4t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"><a href="listblog.jsp?kind=<%=lf.getCode()%>"><%=lf.getName()%></a></div></td>
  843.           </tr>
  844.           <tr>
  845.             <td height="10"></td>
  846.           </tr>
  847.           <tr>
  848.             <td bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top"><div class="test">
  849. <%
  850. msgIds = bd.getBlogMsgsOfKind(9, lf.getCode());
  851. msgIdsLen = msgIds.length;
  852. for (int i=0; i<msgIdsLen; i++) {
  853. md = md.getMsgDb(msgIds[i]);
  854. %>
  855.             <li><a href="../forum/showblog.jsp?rootid=<%=md.getId()%>" title="<%=md.getTitle()%>(<%=md.getName()%>)"><%=StrUtil.getLeft(md.getTitle(), 20)%></a></li>
  856.             <%}%>
  857. </div></td>
  858.           </tr>
  859.         </table><%}%></td>
  860.   </tr>
  861.    <tr>
  862.           <td height="10"></td>
  863.         </tr>
  864.     </table></td>
  865.     <td width="2"></td>
  866.     <td width="260" rowspan="3" valign="top" bgcolor="#F7F7F7" class="line4t"><table width="240" border="0" align="center" cellpadding="0" cellspacing="0">
  867.       <tr>
  868.         <td height="10"></td>
  869.       </tr>
  870.       <tr>
  871.         <td height="25" background="images/button-bg-01.gif" class="line4t" ><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> &nbsp;<lt:Label res="res.label.blog.index" key="link"/></div></td>
  872.       </tr>
  873.       <tr>
  874.         <td height="10"></td>
  875.       </tr>
  876.       <tr>
  877.         <td height="27" bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;"><div class="test">
  878. <doc:DocumentTag dirCode="blog_ad4">$content</doc:DocumentTag>
  879.         </div></td>
  880.       </tr>
  881.     </table></td>
  882.   </tr>
  883.   <tr>
  884.     <td height="6" valign="top"></td>
  885.     <td></td>
  886.   </tr>
  887.   <tr>
  888.     <td bgcolor="#F7F7F7" class="line4t" valign="top"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
  889.       <tr>
  890.         <td height="10"></td>
  891.       </tr>
  892.       <tr>
  893.         <td width="300" height="25" background="images/button-bg-01.gif" class="line4t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> &nbsp;<SPAN class=b3>日 志 分 类</SPAN></div></td>
  894.       </tr>
  895.       <tr>
  896.         <td height="10"></td>
  897.       </tr>
  898.       <tr>
  899.         <td height="170" bgcolor="#FFFFFF" class="line4t"><table width="95%"  border="0" align="center" cellpadding="0" cellspacing="8" bgcolor="FBFBF3" class="line4-x-b">
  900.             <tr>
  901.               <td align="center" class="color1">
  902.                 <%
  903. int i = 0;
  904. com.redmoon.blog.LeafChildrenCacheMgr dlcm = new com.redmoon.blog.LeafChildrenCacheMgr("root");
  905. java.util.Vector vt = dlcm.getDirList();
  906. Iterator irv = vt.iterator();
  907. while (irv.hasNext()) {
  908. Leaf leaf = (Leaf) irv.next();
  909. String parentCode = leaf.getCode();
  910. i = i + 1;
  911. %>
  912.                 <a href="listblog.jsp?kind=<%=leaf.getCode()%>"><%=leaf.getName()%></a>&nbsp;
  913.                 <%if(i%6 == 0){%>
  914.                 <br>
  915.                 <%}else{ 
  916.    if(irv.hasNext()){
  917. %>
  918.             -&nbsp
  919.             <% }
  920.   }%>
  921.             <%}%>
  922.               </td>
  923.             </tr>
  924.         </table></td>
  925.       </tr>
  926.       <tr>
  927.         <td height="10"></td>
  928.       </tr>
  929.     </table></td>
  930.     <td></td>
  931.   </tr>
  932. </table>
  933. <table width="1" border="0" cellspacing="0" cellpadding="0">
  934.   <tr>
  935.     <td height="6"></td>
  936.   </tr>
  937. </table>
  938. <%@ include file="footer.jsp"%>
  939. </body>
  940. </html>