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

Jsp/Servlet

开发平台:

Java

  1. <#assign html=JspTaglibs["/WEB-INF/struts-html.tld"]>
  2. <#assign bean=JspTaglibs["/WEB-INF/struts-bean.tld"]>
  3. <#assign logic=JspTaglibs["/WEB-INF/struts-logic.tld"]>
  4. <@html.html locale=true>
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=GBK">
  7. <title><@bean.message key="addlinks.title"/></title>
  8. <link href="css/css.css" rel="stylesheet" type="text/css">
  9. <script>
  10. function goBack() {
  11.   location.href='blogInfoHigh.do';
  12. }
  13. </script>
  14. </head>
  15. <body>
  16. <@html.form action="/addLinks">
  17.   <@html.hidden property="action"/>
  18.   <@html.hidden property="linktype"/>
  19.   <@html.hidden property="id"/>
  20.   <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  21.     <tr>
  22.       <td bgcolor="#CCCCCC"><table width="100%" border="0" cellpadding="0" cellspacing="1">
  23.           <tr>
  24.             <td bgcolor="#F7F5E8"><table width="100%" border="0" cellpadding="5" cellspacing="1">
  25.                 <tr>
  26.                   <td><div align="right"><strong><@bean.message key="addlinks.addtxet"/></strong></div></td>
  27.                 </tr>
  28.                 <tr>
  29.                   <td><hr size="1" noshade></td>
  30.                 </tr>
  31.                 <tr>
  32.                   <td><table width="100%" border="0" cellpadding="5">
  33.                       <tr>
  34.                         <td width="21%" bgcolor="#FFFFFF"><div align="right"><@bean.message key="addlinks.linktext"/></div></td>
  35.                         <td width="79%" bgcolor="#F5F5F5"><@html.text property="linktext" style="width:100%" styleClass="INPUT2" maxlength="255"></@html.text></td>
  36.                       </tr>
  37.                       <tr>
  38.                         <td bgcolor="#FFFFFF"><div align="right"><@bean.message key="addlinks.linkurl"/></div></td>
  39.                         <td bgcolor="#F5F5F5"><@html.text property="linkurl" styleClass="INPUT2" style="width:100%" maxlength="255"></@html.text></td>
  40.                       </tr>
  41.                       <@logic.equal name="addLinksForm" property="linktype" scope="request" value="1">
  42.                       <tr>
  43.                         <td bgcolor="#FFFFFF"><div align="right"><@bean.message key="addlinks.linkimgsrc"/></div></td>
  44.                         <td bgcolor="#F5F5F5"><@html.text property="linkimgsrc" styleClass="INPUT2" style="width:100%" maxlength="255"></@html.text></td>
  45.                       </tr>
  46.                       </@logic.equal>
  47.                       <tr>
  48.                         <td bgcolor="#FFFFFF"><div align="right"><@bean.message key="addlinks.linktype"/></div></td>
  49.                         <td bgcolor="#F5F5F5">
  50.                         <@logic.equal name="addLinksForm" property="linktype" scope="request" value="0">
  51.                           <@bean.message key="addlinks.textlink"/>
  52.                         </@logic.equal>
  53.                         <@logic.equal name="addLinksForm" property="linktype" scope="request" value="1">
  54.                           <@bean.message key="addlinks.piclink"/>
  55.                         </@logic.equal>
  56.                         </td>
  57.                       </tr>
  58.                     </table></td>
  59.                 </tr>
  60.                 <tr>
  61.                   <td><hr size="1" noshade></td>
  62.                 </tr>
  63.                 <tr>
  64.                   <td><div align="center">
  65.                       <@html.submit styleClass="BUTTN-FIX1"><@bean.message key="blog.submitadd"/></@html.submit>
  66.                     </div></td>
  67.                 </tr>
  68.                 <tr>
  69.                   <td><div align="center"><@html.link href="javascript:history.go(-1);"><@bean.message key="blog.gobackpage"/></@html.link></div></td>
  70.                 </tr>
  71.               </table></td>
  72.           </tr>
  73.         </table></td>
  74.     </tr>
  75.   </table>
  76. </@html.form>
  77. </body>
  78. </@html.html>