left.jsp
上传用户:bjjsss
上传日期:2018-06-10
资源大小:4236k
文件大小:4k
源码类别:

SilverLight

开发平台:

Java

  1. <%@ page contentType="text/html;charset=UTF-8" language="java"%>
  2. <%@ page import="cn.com.blogonline.*"%>
  3. <%@ page import="java.util.*"%>
  4. <%
  5. Blog blog = (Blog)session.getAttribute(Constants.VISIT_BLOG_KEY);
  6. List sortList = (List)session.getAttribute(Constants.SORT_LIST_KEY);
  7. Sort sort = null;
  8. List linkList = (List)session.getAttribute(Constants.LINK_LIST_KEY);
  9. Links link = null;
  10. %>
  11. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  12. <html>
  13. <head>
  14. <title>主菜单</title>
  15. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  16. <link rel="StyleSheet" type="text/css" href="images/mystyle.css">
  17. <base target="main">
  18. </head>
  19. <body>
  20. <table cellspacing="0" cellpadding="0" width="750" background="images/bk_11.jpg" border="0">
  21. </table>
  22. <table border="1" width="750" bordercolor="#FCD447" height="450">
  23. <tr>
  24. <td width="137" valign="top" height="156">
  25. <table border="1" width="100%" bordercolor="#FF9900">
  26. <tr>
  27. <td width="100%">
  28. <img border="0" src="images/<%=blog.getImage()%>" width="180" height="121" alt="">
  29. </td>
  30. </tr>
  31. <tr>
  32. <td width="100%">
  33. <p align="center">
  34. <b><font color="#FF0000"><%=blog.getSubject()%>的Blog</font></b>
  35. </p>
  36. </td>
  37. </tr>
  38. </table>
  39. </td>
  40. </tr>
  41. <tr>
  42. <td width="137" valign="top" height="73">
  43. <table border="1" width="141%" bordercolor="#FF9900" height="69">
  44. <tr>
  45. <td width="100%" height="17">
  46. <b><font color="#FF0000">导航栏</font></b>
  47. </td>
  48. </tr>
  49. <tr>
  50. <td width="100%" height="17">
  51. <p align="center">
  52. <a href="blogOperate?sortid=0&amp;pageid=0" target="main">个人首页</a>
  53. </p>
  54. </td>
  55. </tr>
  56. <tr>
  57. <td width="50%" height="17">
  58. <p align="center">
  59. <a href="blogAdminMain.jsp" target="_parent">个人管理</a>
  60. </p>
  61. </td>
  62. </tr>
  63. </table>
  64. </td>
  65. </tr>
  66. <tr>
  67. <td width="137" valign="top" height="67">
  68. <table border="1" width="140%" bordercolor="#FF9900">
  69. <tr>
  70. <td width="100%">
  71. <b><font color="#FF0000">文章分类</font></b>
  72. </td>
  73. </tr>
  74. <tr>
  75. <td width="100%">
  76. <p align="center">
  77. <a href="blogOperate?sortid=0&amp;pageid=0" target="main">所有文章</a>
  78. </p>
  79. </td>
  80. </tr>
  81. <%if(sortList != null ){
  82.        for(int i = 0;i < sortList.size();i++)
  83.        {  
  84.         sort = (Sort)sortList.get(i);
  85.       %>
  86. <tr>
  87. <td width="100%">
  88. <p align="center">
  89. <a href="blogOperate?sortid=<%=sort.getId()%>&amp;pageid=0" target="main"><%=sort.getName()%></a>
  90. </p>
  91. </td>
  92. </tr>
  93. <%
  94.          }
  95.       } %>
  96. </table>
  97. </td>
  98. </tr>
  99. <tr>
  100. <td width="137" valign="top" height="73">
  101. <table border="1" width="140%" bordercolor="#FF9900">
  102. <tr>
  103. <td width="100%">
  104. <b><font color="#FF0000">我的链接</font></b>
  105. </td>
  106. </tr>
  107. <%if(linkList != null ){
  108.        for(int i = 0;i < linkList.size();i++)
  109.        {  
  110.         link = (Links)linkList.get(i);
  111.       %>
  112. <tr>
  113. <td width="100%">
  114. <p align="center">
  115. <a href="<%=link.getUrl()%>" target="_blank"><%=link.getName()%></a>
  116. </p>
  117. </td>
  118. </tr>
  119. <%
  120.          }
  121.       } %>
  122. </table>
  123. </td>
  124. </tr>
  125. <tr>
  126. <td width="137" valign="top" align="center" height="17">
  127. <font color="#FF9900">网页计数器:<%=blog.getVisitcount()%></font>
  128. </td>
  129. </tr>
  130. </table>
  131. </body>
  132. </html>