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

Jsp/Servlet

开发平台:

Java

  1. <#assign html=JspTaglibs["/WEB-INF/struts-html.tld"]>
  2. <#assign bean=JspTaglibs["/WEB-INF/struts-bean.tld"]>
  3. <#assign notel=pl.objectList>
  4. <html>
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=GBK">
  7. <title><@bean.message key="notemanage.title"/></title>
  8. <link href="css/css.css" rel="stylesheet" type="text/css">
  9. <script language=javascript>
  10. function comfirm_del(){
  11.   var ac=confirm('是否删除此文章?');
  12.   if (ac==false)
  13.   return false;
  14. }
  15. </script>
  16. </head>
  17. <body>
  18. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  19.   <tr>
  20.     <td height="96" bgcolor="#CCCCCC"> <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
  21.         <tr>
  22.           <td bgcolor="#6F8BB7"><strong><font color="#FFFFFF"><@html.link action="artManage"><font color="#FFFFFF"><@bean.message key="artmanage.title"/></font></@html.link>/<@html.link action="/noteManage"><font color="#FFFFFF"><@bean.message key="notemanage.title"/></font></@html.link>/<@html.link action="/sort"><font color="#FFFFFF"><@bean.message key="sort.title"/></font></@html.link></font></strong></td>
  23.         </tr>
  24.         <tr>
  25.           <td bgcolor="#FFFFFF">${pl.pageShowString}</td>
  26.         </tr>
  27.         <tr>
  28.           <td height="56" bgcolor="#F5F5F5"> <table width="99%" border="0" align="center" cellpadding="5" cellspacing="2">
  29.               <tr bgcolor="#E4EAF1">
  30.                 <td width="20%"> <div align="center"><strong><@bean.message key="notemanage.date"/></strong></div></td>
  31.                 <td width="40%"> <div align="center"><strong><@bean.message key="notemanage.content"/></strong></div></td>
  32.                 <td width="30%"> <div align="center"><strong><@bean.message key="notemanage.from"/></strong></div></td>
  33.                 <td width="10%"> <div align="center"><strong><@bean.message key="notemanage.action"/></strong></div></td>
  34.               </tr>
  35.               <#list notel as note>
  36.               <tr bgcolor="#EBEBEB">
  37.                 <td width="20%"> <div align="center"><font size='1'>${note.createtime?string("yyyy-MM-dd HH:mm:ss")}</font></div></td>
  38.                 <td width="40%">${note.content?replace("n","<BR/>")}</td>
  39.                 <td width="30%"> <div align="center"><font size='1'>${note.name} (${note.ip})</font></div></td>
  40.                 <td width="10%">
  41.                   <div align="center">
  42.                     <a href="noteManage.do?action=del&noteid=${note.id}" onclick="return comfirm_del()"><@bean.message key="blog.del"/></a>
  43.                   </div>
  44.                 </td>
  45.               </tr>
  46.               </#list>
  47.             </table></td>
  48.         </tr>
  49.       </table></td>
  50.   </tr>
  51. </table>
  52. </body>
  53. </html>