skin0_list.ftl
上传用户:wlfwy2004
上传日期:2016-12-12
资源大小:33978k
文件大小:15k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <#assign artl=pl.objectList>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  6. <title>${blog.blogname}</title>
  7. <style type="text/css">
  8. <!--
  9. body {
  10. font-family: "Verdana", "Tahoma","宋体";
  11. font-size: 9pt;
  12. }
  13. table {
  14. font-family: "Verdana", "Tahoma","宋体";
  15. font-size: 9pt;
  16. }
  17. .FONT1 {
  18. font-family: "Verdana", "Tahoma","宋体";
  19. font-size: 14px;
  20. }
  21. a            { color: #990000; text-decoration: none }
  22. a:link       { text-decoration: none; color: #990000 }
  23. a:visited    { text-decoration: none; color: #990000 }
  24. a:hover      { text-decoration: underline; color: #FF0000 }
  25. a:active     { text-decoration: underline; color: #FF0000 }
  26. .INPUT1{font-family:Verdana,Tahoma,宋体; font-size: 12px;border: 1px solid #999999;}
  27. select,Textarea{font-family:Tahoma,Verdana,宋体; font-size: 12px;border: 1px solid #999999;}
  28. .TD1 {
  29. line-height: 30px;
  30. }
  31. .BUTTN-FIX
  32. {
  33. BACKGROUND-COLOR:#e0e0d5;
  34. font-size: 12px;
  35. border-top-width: 1px;
  36. border-right-width: 1px;
  37. border-bottom-width: 1px;
  38. border-left-width: 1px;
  39. border-top-style: ridge;
  40. border-right-style: ridge;
  41. border-bottom-style: ridge;
  42. border-left-style: ridge;
  43. border-top-color: #FFFFFF;
  44. border-left-color: #FFFFFF;
  45. font-family: "Arial", "Helvetica", "sans-serif";
  46. border-right-color: #CCCCCC;
  47. border-bottom-color: #CCCCCC;
  48. width: 80px;
  49. height: 20px;
  50. }
  51. .BUTTN-FIX1
  52. {
  53. BACKGROUND-COLOR:#e0e0d5;
  54. font-size: 12px;
  55. border-top-width: 1px;
  56. border-right-width: 1px;
  57. border-bottom-width: 1px;
  58. border-left-width: 1px;
  59. border-top-style: ridge;
  60. border-right-style: ridge;
  61. border-bottom-style: ridge;
  62. border-left-style: ridge;
  63. border-top-color: #FFFFFF;
  64. border-left-color: #FFFFFF;
  65. font-family: "Arial", "Helvetica", "sans-serif";
  66. border-right-color: #CCCCCC;
  67. border-bottom-color: #CCCCCC;
  68. height: 20px;
  69. }
  70. .INPUT2 {
  71. font-family: "Verdana", "Tahoma", "宋体";
  72. font-size: 12px;
  73. border-bottom-style: dotted;
  74. border-top-width: 0px;
  75. border-right-width: 0px;
  76. border-bottom-width: 1px;
  77. border-left-width: 0px;
  78. border-bottom-color: #999999;
  79. }
  80. p {
  81. line-height: 16pt;
  82. }
  83. -->
  84. </style>
  85. <style type="text/css">
  86. <!--
  87. .today {  background-color: #CCD5D7; font-weight: bold; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; font-size: 8pt}
  88. .hasrecord { background-color: #DBE1E3 ; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; font-size: 8pt}
  89. .cc {  font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; font-size: 8pt}
  90. .hd {  cursor: hand; font-size: 8pt; font-family: "Georgia", "Times New Roman", "Times", "serif"}
  91. .mainddbg {  background-color: #cccccc}
  92. .headbg {  background-color: #6694DF}
  93. .datehead {  color: #FFFFFF}
  94. .eachdaytext {  color: #000000}
  95. .eachdaybg {  background-color: #F5F5F5}
  96. .weekday{  font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; font-size: 8pt}
  97. -->
  98. </style>
  99. </head>
  100. <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  101. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  102.   <tr bgcolor="#B03900">
  103.     <td width="75%" height="43"> <table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
  104.         <tr>
  105.           <td><strong><font size="4">${blog.blogname}</font></strong></td>
  106.         </tr>
  107.       </table></td>
  108.     <td width="25%"> <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
  109.         <tr>
  110.           <td><div align="center"><strong><font color="#FFFFFF">[<a href="${blog.username}"><font color="#FFFFFF">首页</font></a>][申请][帮助]</font></strong></div></td>
  111.         </tr>
  112.       </table></td>
  113.   </tr>
  114. </table>
  115. <table width="100%" border="0" cellpadding="0" cellspacing="5" bgcolor="#F5F5F5">
  116.   <tr>
  117.     <td width="75%" height="65" bgcolor="#D1D1D1"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  118.         <tr>
  119.           <td>${blog.description}</td>
  120.         </tr>
  121.       </table> </td>
  122.     <td width="25%" bgcolor="#E4E4E4"><div align="center"></div></td>
  123.   </tr>
  124.   <tr>
  125.     <td valign="top"><table width="98%" border="0" align="center" cellpadding="1" cellspacing="1">
  126.         <tr>
  127.           <td>
  128.           <b>※全部档案文件※</b><br><br>
  129.           <table width=100% border=0 cellspacing=0 cellpadding=0 style='word-break:break-all;WORD-WRAP: break-word;'>
  130.             <#list artl as art>
  131.               <tr>
  132.                 <td height=20>
  133.                   <!--· <a href=read.do?artid=${art.id}&blogid=${art.blogid}&username=${art.username}>${art.title}</a> (<font style='font size=8pt'>${art.username}发表于${art.posttime?string("yyyy-MM-dd HH:mm:ss")}</font>)-->
  134.                   · <a href='${blog.username}-${blog.id}-${art.id}.html'>${art.title}</a> (<font style='font size=8pt'>${art.username}发表于${art.posttime?string("yyyy-MM-dd HH:mm:ss")}</font>)
  135.                 </td>
  136.               </tr>
  137.             </#list>
  138.             <tr>
  139.               <td>
  140.                 <div align="center">${pl.pageShowString}</div>
  141.               </td>
  142.             </tr>
  143.           </table>
  144.           </td>
  145.         </tr>
  146.       </table></td>
  147.     <td valign="top">
  148.       <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
  149.         <tr>
  150.           <td><div align="center">:我的日历:</div></td>
  151.         </tr>
  152.         <tr>
  153.           <td>
  154.             <div align="center">
  155.               <span id=cc style="width:190"></span>
  156.               <script language=javascript>
  157.                 //showcc函数中dd参数表示mm月的天数,默认为1
  158.                 function showlink(dt,dm)
  159.                 {
  160.                   dc=dt;
  161.                   dt=dt+",";
  162.                   var strpostdd="${postdates}";
  163.                   d = new Date();
  164.                   if(strpostdd.indexOf(dt)!=-1)
  165.                   {
  166.                     if(dm!=d.getDate())
  167.                     return "<div class=hasrecord><a href=blogList.do?action=showdate&blogid=${blog.id}&username=${blog.username}&date="+dc+"><font class=eachdaytext>"+dm+"</font></a></div>";
  168.                     else
  169.                     {
  170.                       if (dm>d.getDate())
  171.                       {
  172.                         return "<span class=cc>"+dm+"</span>";
  173.                       }
  174.                       else
  175.                       {
  176.                         return "<div class=today><a href=blogList.do?action=showdate&blogid=${blog.id}&username=${blog.username}&date="+dc+" ><font class=eachdaytext>"+dm+"</font></a></div>";
  177.                       }
  178.                     }
  179.                   }
  180.                   else
  181.                   {
  182.                     if(dm==d.getDate())
  183.                     return "<div class=today>"+dm+"</span>";
  184.                     else
  185.                     return "<span class=cc>"+dm+"</span>";
  186.                   }
  187.                 }
  188.                 function showcc(yy,mm,dd)
  189.                 {
  190.                   mm--;
  191.                   var arrdd=new Array(31,28,31,30,31,30,31,31,30,31,30,31);
  192.                   if(dd==1)
  193.                   dd=arrdd[mm];
  194.                   switch(mm)
  195.                   {
  196.                     case 0:strmm="January"
  197.                     break;
  198.                     case 1:strmm="February"
  199.                     break;
  200.                     case 2:strmm="March"
  201.                     break;
  202.                     case 3:strmm="April"
  203.                     break;
  204.                     case 4:strmm="May"
  205.                     break;
  206.                     case 5:strmm="June"
  207.                     break;
  208.                     case 6:strmm="July"
  209.                     break;
  210.                     case 7:strmm="August"
  211.                     break;
  212.                     case 8:strmm="September"
  213.                     break;
  214.                     case 9:strmm="October"
  215.                     break;
  216.                     case 10:strmm="November"
  217.                     break;
  218.                     case 11:strmm="December"
  219.                     break;
  220.                   }
  221.                   var thisyear=yy;
  222.                   var thismonth=mm;
  223.                   var lastday=dd;
  224.                   if(thismonth==1)
  225.                   {
  226.                     if (thisyear%4==0 || (thisyear%100==0 && thisyear%400==0))
  227.                     {
  228.                       lastday=29;
  229.                       arrdd[1]=29;
  230.                     }
  231.                     else
  232.                     {
  233.                       lastday=28;
  234.                       arrdd[1]=28;
  235.                     }
  236.                   }
  237.                   tempyy=yy-1;
  238.                   if(mm!=1)
  239.                   tempmm=mm;
  240.                   else
  241.                   tempmm=1
  242.                   if(tempmm<1)
  243.                   {tempmm=1;
  244.                   tempdd=arrdd[0];}
  245.                   else
  246.                   {tempdd=arrdd[mm-1];}
  247.                   if(mm!=12)
  248.                   tempmm1=mm+2;
  249.                   else
  250.                   tempmm1=12;
  251.                   if(tempmm1>12)
  252.                   {tempmm1=12;
  253.                   tempdd1=arrdd[11];}
  254.                   else
  255.                   {tempdd1=arrdd[mm+1];}
  256.                   tempyy1=yy+1;
  257.                   tempstr="<table width=100% border=0 cellspacing=1 cellpadding=2 class=mainddbg id=cctb><tr><td colspan=7 class=headbg><table width=100% cellspacing=0 cellpadding=0>";
  258.                   tempstr+="<tr><td align=left width=32><span class=hd  title='上一年' onclick=showcc("+tempyy+","+parseInt(mm+1)+","+dd+")>&lt;&lt;</span> <span class=hd title='上一月' onclick=showcc("+yy+","+tempmm+","+tempdd+")>&lt;</span></td>";
  259.                   tempstr+="<td align=center class=cc><font class=datehead><b>:"+strmm+" "+yy+":</b></font></td>";
  260.                   tempstr+="<td align=right width=32><span class=hd title='下一月' onclick=showcc("+yy+","+tempmm1+","+tempdd1+")>&gt;</span> <span class=hd title='下一年' onclick=showcc("+tempyy1+","+parseInt(mm+1)+","+dd+")>&gt;&gt;</span></td></tr></table></td></tr>";
  261.                   tempstr+="<tr class=cc><td align=center class=weekday>Sun</td><td align=center class=weekday>Mon</td><td align=center class=weekday>Tue</td><td align=center class=weekday>Wed</td><td align=center class=weekday>Thu</td><td align=center class=weekday>Fri</td><td align=center class=weekday>Sat</td></tr>";
  262.                   tempstr+="<tr>";
  263.                   thisdd = new Date();
  264.                   thisdd.setFullYear(thisyear,thismonth,1);
  265.                   firstday=thisdd.getDay();
  266.                   cmi=42;
  267.                   if (lastday<31 || firstday==0)
  268.                   cmi=36;
  269.                   for(i=0;i<cmi;i++)
  270.                   {
  271.                     tempstr+="<td class=eachdaybg><div align=center>";
  272.                     if (firstday<=i && i<firstday+lastday)
  273.                     {cs=i-firstday+1;
  274.                     cd=(yy+"-"+parseInt(mm+1)+"-"+cs).toString();
  275.                     tempstr+=showlink(cd,cs);}
  276.                     tempstr+="</center></td>";
  277.                     if ((i+1) % 7 ==0)
  278.                     tempstr+="</tr><tr id=tb>";
  279.                   }
  280.                   tempstr+="</tr></table>";
  281.                   cc.innerHTML=tempstr;
  282.                   newtb=document.all("tb");
  283.                   for(j=0;j<newtb.length;j++)
  284.                   {
  285.                     if (newtb[j].innerHTML=="")
  286.                     {
  287.                       newtb[j].removeNode(true);
  288.                     }
  289.                   }
  290.                   if(cctb.rows[cctb.rows.length-1].cells[0].innerText=="")
  291.                   cctb.deleteRow();
  292.                   //document.fm.news.value=cc.innerHTML;
  293.                 }
  294.                 showcc(${showcc});
  295.                 </script>
  296.             </div>
  297.           </td>
  298.         </tr>
  299.       </table>
  300.       <table width="98%" border="0" align="center" cellpadding="5" cellspacing="2">
  301.         <tr>
  302.           <td bgcolor="#E4E4E4">&nbsp;</td>
  303.         </tr>
  304. <tr>
  305. <td bgcolor="#E4E4E4">
  306.           <table width="60%" border="0" align="center" cellpadding="0" cellspacing="0">
  307.             <tr>
  308.               <td bgcolor="#CCCCCC">
  309.                 <table width="100%" border="0" cellpadding="5" cellspacing="1">
  310.                   <tr>
  311.                     <td bgcolor="#F5F5F5">
  312.                       <div align="center">
  313.                         <a href="login.do">用户登录</a>
  314.                       </div>
  315.                     </td>
  316.                   </tr>
  317.                   <tr>
  318.                     <td bgcolor="#F5F5F5">
  319.                       <div align="center">
  320.                         <a href="reg.do">会员注册</a>
  321.                       </div>
  322.                     </td>
  323.                   </tr>
  324.                 </table>
  325.               </td>
  326.             </tr>
  327.           </table>
  328. </td>
  329. <tr>
  330. <tr>
  331. <td bgcolor="#E4E4E4">
  332. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  333.           <tr>
  334.             <td>最近日志</td>
  335.           </tr>
  336.         </table>
  337.         <table width="100%" border="0" cellpadding="3" cellspacing="1">
  338.           <tr>
  339.             <td>
  340.               <#list newartlist as newart>
  341.                <!--· <a href='read.do?artid=${newart.id}&blogid=${blog.id}&username=${blog.username}'>${newart.title}</a> <font size='1'>(${newart.posttime?string("yyyy-MM-dd")})</font><br>-->
  342.                · <a href='${blog.username}-${blog.id}-${newart.id}.html'>${newart.title}</a> <font size='1'>(${newart.posttime?string("yyyy-MM-dd")})</font><br>
  343.               </#list>
  344.             </td>
  345.           </tr>
  346.           <tr>
  347.             <td>
  348.               <div align="right">
  349.                 <a href='blogList.do?action=all&blogid=${blog.id}&username=${blog.username}'>全部日志</a>
  350.               </div>
  351.             </td>
  352.           </tr>
  353.         </table>
  354. </td>
  355. </tr>
  356. <tr>
  357. <td bgcolor="#E4E4E4">
  358. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  359.           <tr>
  360.             <td>最近留言</td>
  361.           </tr>
  362.         </table>
  363.         <table width="100%" border="0" cellpadding="3" cellspacing="1">
  364.           <tr>
  365.             <td>
  366.             <#list notelist as note>
  367.                <!--· <a href='read.do?artid=${note.artid}&blogid=${note.blogid}&username=${blog.username}'>-->
  368.                · <a href='${blog.username}-${blog.id}-${note.artid}.html'>
  369.                  <#if (note.content?length > 20)>
  370.                    ${note.content[0..20]}...
  371.                  <#else>
  372.                    ${note.content}
  373.                  </#if>
  374.                </a> <font size='1'>(${note.createtime?string("yyyy-MM-dd")})</font><br>
  375.             </#list>
  376.             </td>
  377.           </tr>
  378.           <tr>
  379.             <td>
  380.               <div align="right"></div>
  381.             </td>
  382.           </tr>
  383.         </table>
  384. </td>
  385. </tr>
  386. <tr>
  387.           <td bgcolor="#E4E4E4">
  388.             <#list linktext as linkt>
  389.             <a href='${linkt.linkurl}' target='_blank'>${linkt.linktext}</a>
  390.             <#if blog.letterbookmark = 1>
  391.               <br>
  392.             <#else>
  393.               &nbsp;&nbsp;
  394.             </#if>
  395.             </#list>
  396.   <br>
  397.   <br>
  398.             <#list linklogo as linkl>
  399.             <a href='${linkl.linkurl}' target='_blank'><img src='${linkl.linkimgsrc}'border=0 alt='${linkl.linktext}'/></a>
  400.             <#if blog.letterbookmark = 1>
  401.               <br>
  402.             <#else>
  403.               &nbsp;&nbsp;
  404.             </#if>
  405.             </#list>
  406.   </td>
  407.         </tr>
  408.         <#if blog.logourl != "">
  409. <tr>
  410.           <td bgcolor="#E4E4E4">
  411.             <img src="${blog.logourl}" width=80 height=31>
  412.   </td>
  413.         </tr>
  414.         </#if>
  415.       </table> </td>
  416.   </tr>
  417. </table>
  418. </body>
  419. </html>