sort.ftl
资源名称:Myblog.rar [点击查看]
上传用户:wlfwy2004
上传日期:2016-12-12
资源大小:33978k
文件大小:5k
源码类别:
Jsp/Servlet
开发平台:
Java
- <#assign html=JspTaglibs["/WEB-INF/struts-html.tld"]>
- <#assign bean=JspTaglibs["/WEB-INF/struts-bean.tld"]>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=GBK">
- <title><@bean.message key="sort.title"/></title>
- <link href="css/css.css" rel="stylesheet" type="text/css">
- <script language=JavaScript>
- function changurl() {
- var tourl = document.sortForm.sortid.options[document.sortForm.sortid.options.selectedIndex].value;
- window.location = "sort.do?action=show&sortid="+tourl;
- }
- </script>
- </head>
- <body>
- <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td bgcolor="#CCCCCC"><table width="100%" border="0" cellpadding="3" cellspacing="1">
- <tr>
- <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>
- </tr>
- <tr>
- <td bgcolor="#FFFFFF"><div align="right">[<@bean.message key="sort.setsort"/>][<@bean.message key="sort.usesort"/>]</div></td>
- </tr>
- <tr>
- <td bgcolor="#F5F5F5"><table width="99%" border="0" align="center" cellpadding="5" cellspacing="2">
- <@html.form action="/sort">
- <tr>
- <td bgcolor="#EBEBEB"><@bean.message key="sort.sortlist"/>
- <@html.select property="sortid" onchange="changurl()">
- <@html.options collection="sortSelList" property="value" labelProperty="label"/>
- </@html.select>
- </td>
- </tr>
- </@html.form>
- </table>
- <table width="99%" border="0" align="center" cellpadding="5" cellspacing="2">
- <@html.form action="/sortOpt">
- <@html.hidden property="action" value="add"/>
- <tr bgcolor="#E4EAF1">
- <td colspan="2"><strong><@bean.message key="sort.addsort"/>:</strong></td>
- </tr>
- <tr>
- <td width="18%" bgcolor="#EBEBEB">
- <div align="center"><@bean.message key="sort.inputsortname"/></div></td>
- <td width="82%" bgcolor="#EBEBEB"><@html.text property="addsortname" styleClass="INPUT1"></@html.text></td>
- </tr>
- <tr>
- <td bgcolor="#EBEBEB"> </td>
- <td bgcolor="#EBEBEB"><@html.submit styleClass="BUTTN-FIX1"><@bean.message key="sort.addsort"/></@html.submit></td>
- </tr>
- </@html.form>
- </table>
- <table width="99%" border="0" align="center" cellpadding="5" cellspacing="2">
- <@html.form action="/sortOpt">
- <@html.hidden property="action" value="up"/>
- <@html.hidden property="sortid"/>
- <tr bgcolor="#E4EAF1">
- <td colspan="2"><strong><@bean.message key="sort.upsort"/>:</strong></td>
- </tr>
- <tr>
- <td width="18%" bgcolor="#EBEBEB"> <div align="center"><@bean.message key="sort.upsortname"/></div></td>
- <td width="82%" bgcolor="#EBEBEB"> <@html.text property="upsortname" styleClass="INPUT1"></@html.text></td>
- </tr>
- <tr>
- <td bgcolor="#EBEBEB"> </td>
- <td bgcolor="#EBEBEB"><@html.submit styleClass="BUTTN-FIX1"><@bean.message key="sort.upsort"/></@html.submit></td>
- </tr>
- </@html.form>
- </table>
- <table width="99%" border="0" align="center" cellpadding="5" cellspacing="2">
- <@html.form action="/sortOpt">
- <@html.hidden property="action" value="del"/>
- <@html.hidden property="sortid"/>
- <tr bgcolor="#E4EAF1">
- <td colspan="2"><strong><@bean.message key="sort.delsort"/>:</strong></td>
- </tr>
- <tr>
- <td width="18%" bgcolor="#EBEBEB"><div align="center"><@bean.message key="sort.delselsort"/></div></td>
- <td width="82%" bgcolor="#EBEBEB"><@html.submit styleClass="BUTTN-FIX1"><@bean.message key="sort.delsort"/></@html.submit></td>
- </tr>
- </@html.form>
- </table></td>
- </tr>
- </table></td>
- </tr>
- </table>
- </body>
- </html>