⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 module_list.jsp

📁 基于j2ee的动态网站开发的cms代码下载。
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" language="java" errorPage="" %>
<%@ taglib uri="/cms4j" prefix="cms4j" %>

<script src="../../js/common.js"></script>
<script src="../../js/page_init.js"></script>
<script src="js/module.js"></script>



<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>CMS4J </title>
<link href="../skin/blue/css/oper_area_style.css" rel="stylesheet" type="text/css">
</head>

<script>
//页面初始化
function pageInit(){
	selectInit("module_type_id","${param.type}");
	//selectInit("module_domain","${param.domain}");
	selectInit("module_purview","${param.purview}");
}
</script>

<body onLoad="pageInit()">
<form action="" method="post">
<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr height="12"> 
    <td width="3%"><img src="../../images/admin/oper_table_up_left.gif" width="26" height="12"></td>
    <td width="92%" background="../../images/admin/oper_table_up_bg.gif" height="12"></td>
    <td width="5%"><img src="../../images/admin/oper_table_up_right.gif" width="26" height="12"></td>
  </tr>
  <tr> 
    <td colspan="3"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="5" background="../../images/admin/oper_table_left_bg.gif"><img src="../../images/admin/oper_table_left_bg.gif" width="5" height="2"></td>
          <td background="../../images/admin/oper_table_bg.gif"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="33%" class="title_bar">模块维护
                  <select name="module_type_id" class="form_select" id="module_type_id" onChange="type_filter()">
                    <option selected>所有模块分类</option>
                    <cms4j:module_type>
				    <option value="<%=module_type_info.getMODULE_TYPE_ID()%>"><%=module_type_info.getMODULE_TYPE_NAME()%></option>
                 	 </cms4j:module_type>
                  </select></td>
                <td width="39%" align="center" class="title_bar"><select name="module_purview" class="form_select"  onChange="purview_filter()">
				  <option value="" selected>任意授权类型</option>
				  <option value="purview_thick">粗粒度</option>
				  <option value="purview_thin">细粒度</option>
                  </select></td>
                <td width="28%" align="right" class="title_bar">                <input type="button" name="Submit" value="添加新模块" onClick="location.href='module_add.jsp'"></td>
              </tr>
              <tr height="4"> 
                <td height="4" colspan="3"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellpadding="0" cellspacing="1" class="table_border_bg">
              <tr class="table_title">
                <td width="6%" align="center">ID</td>
                <td width="15%">模块名称</td>
                <td width="27%">描述</td>
                <td width="13%" align="center">所属分类</td>
                <td width="8%">授权</td>
                <td width="8%">状态</td>
                <td width="23%">操作</td>
              </tr>
              
			  <cms4j:module state="all" domain="${param.domain}" filter="${param.type}" purview="${param.purview}">
			  <tr class="table_border_cell_bg">
                <td align="center"><%=module_info.getMODULE_ID()%></td>
                <td align="left"><%=module_info.getNAME()%></td>
                <td align="left"><%=module_info.getMODULE_DESC()%></td>
                <td align="center"><%=module_info.getMODULE_TYPE_ID_NAME()%></td>
                <td align="center"><%=module_info.getPURVIEW_TYPE_NAME()%></td>
                <td align="center"><%=module_info.getSTATE_NAME()%></td>
                <td align="center" class="text_button"> <a href="../../do?action=orderModule&id=<%=module_info.getMODULE_ID()%>&type=up&orderNum=<%=module_info.getORDER_NUM()%>">↑升</a> <a href="../../do?action=orderModule&id=<%=module_info.getMODULE_ID()%>&type=down&orderNum=<%=module_info.getORDER_NUM()%>">↓降</a> <a href="module_modify.jsp?id=<%=module_info.getMODULE_ID()%>">修改</a> <a href="../../do?action=delModule&delItem=<%=module_info.getMODULE_ID()%>">删除</a> <a href="../../do?action=setModuleState&operItem=<%=module_info.getMODULE_ID()%>&state=<%=module_info.getSTATE_OPER_STATE()%>"><%=module_info.getSTATE_OPER_NAME()%></a></td>
              </tr>
			  </cms4j:module>
            </table>
            </td>
          <td width="5" background="../../images/admin/oper_table_right_bg.gif"><img src="../../images/admin/oper_table_right_bg.gif" width="5" height="2"></td>
        </tr>
      </table></td>
  </tr>
  <tr height="13"> 
    <td><img src="../../images/admin/oper_table_down_left.gif" width="26" height="13"></td>
    <td width="100%" height="13" background="../../images/admin/oper_table_down_bg.gif"></td>
    <td align="right"><img src="../../images/admin/oper_table_down_right.gif" width="26" height="13"></td>
  </tr>
</table>
</form>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -