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

Jsp/Servlet

开发平台:

Java

  1. <#assign html=JspTaglibs["/WEB-INF/struts-html.tld"]>
  2. <#assign bean=JspTaglibs["/WEB-INF/struts-bean.tld"]>
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=GBK">
  6. <title><@bean.message key="sort.title"/></title>
  7. <link href="css/css.css" rel="stylesheet" type="text/css">
  8. <script language=JavaScript>
  9. function changurl() {
  10.   var tourl = document.sortForm.sortid.options[document.sortForm.sortid.options.selectedIndex].value;
  11.   window.location = "sort.do?action=show&sortid="+tourl;
  12. }
  13. </script>
  14. </head>
  15. <body>
  16. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  17.   <tr>
  18.     <td bgcolor="#CCCCCC"><table width="100%" border="0" cellpadding="3" cellspacing="1">
  19.         <tr>
  20.           <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>
  21.         </tr>
  22.         <tr>
  23.           <td bgcolor="#FFFFFF"><div align="right">[<@bean.message key="sort.setsort"/>][<@bean.message key="sort.usesort"/>]</div></td>
  24.         </tr>
  25.         <tr>
  26.           <td bgcolor="#F5F5F5"><table width="99%" border="0" align="center" cellpadding="5" cellspacing="2">
  27.             <@html.form action="/sort">
  28.               <tr>
  29.                 <td bgcolor="#EBEBEB"><@bean.message key="sort.sortlist"/>
  30.                   <@html.select property="sortid" onchange="changurl()">
  31.                     <@html.options collection="sortSelList" property="value" labelProperty="label"/>
  32.                   </@html.select>
  33.                 </td>
  34.               </tr>
  35.             </@html.form>
  36.             </table>
  37.             <table width="99%" border="0" align="center" cellpadding="5" cellspacing="2">
  38.               <@html.form action="/sortOpt">
  39.               <@html.hidden property="action" value="add"/>
  40.               <tr bgcolor="#E4EAF1">
  41.                 <td colspan="2"><strong><@bean.message key="sort.addsort"/>:</strong></td>
  42.               </tr>
  43.               <tr>
  44.                 <td width="18%" bgcolor="#EBEBEB">
  45.                   <div align="center"><@bean.message key="sort.inputsortname"/></div></td>
  46.                 <td width="82%" bgcolor="#EBEBEB"><@html.text property="addsortname" styleClass="INPUT1"></@html.text></td>
  47.               </tr>
  48.               <tr>
  49.                 <td bgcolor="#EBEBEB">&nbsp;</td>
  50.                 <td bgcolor="#EBEBEB"><@html.submit styleClass="BUTTN-FIX1"><@bean.message key="sort.addsort"/></@html.submit></td>
  51.               </tr>
  52.               </@html.form>
  53.             </table>
  54.             <table width="99%" border="0" align="center" cellpadding="5" cellspacing="2">
  55.               <@html.form action="/sortOpt">
  56.               <@html.hidden property="action" value="up"/>
  57.               <@html.hidden property="sortid"/>
  58.               <tr bgcolor="#E4EAF1">
  59.                 <td colspan="2"><strong><@bean.message key="sort.upsort"/>:</strong></td>
  60.               </tr>
  61.               <tr>
  62.                 <td width="18%" bgcolor="#EBEBEB"> <div align="center"><@bean.message key="sort.upsortname"/></div></td>
  63.                 <td width="82%" bgcolor="#EBEBEB"> <@html.text property="upsortname" styleClass="INPUT1"></@html.text></td>
  64.               </tr>
  65.               <tr>
  66.                 <td bgcolor="#EBEBEB">&nbsp;</td>
  67.                 <td bgcolor="#EBEBEB"><@html.submit styleClass="BUTTN-FIX1"><@bean.message key="sort.upsort"/></@html.submit></td>
  68.               </tr>
  69.               </@html.form>
  70.             </table>
  71.             <table width="99%" border="0" align="center" cellpadding="5" cellspacing="2">
  72.               <@html.form action="/sortOpt">
  73.               <@html.hidden property="action" value="del"/>
  74.               <@html.hidden property="sortid"/>
  75.               <tr bgcolor="#E4EAF1">
  76.                 <td colspan="2"><strong><@bean.message key="sort.delsort"/>:</strong></td>
  77.               </tr>
  78.               <tr>
  79.                 <td width="18%" bgcolor="#EBEBEB"><div align="center"><@bean.message key="sort.delselsort"/></div></td>
  80.                 <td width="82%" bgcolor="#EBEBEB"><@html.submit styleClass="BUTTN-FIX1"><@bean.message key="sort.delsort"/></@html.submit></td>
  81.               </tr>
  82.               </@html.form>
  83.             </table></td>
  84.         </tr>
  85.       </table></td>
  86.   </tr>
  87. </table>
  88. </body>
  89. </html>