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

📄 resource_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/resource.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_list","${param.module}");
	selectInit("type_list","${param.type}");
	selectInit("scope_list","${param.scope}");
	selectInit("oper_type_list","${param.oper}");
}
</script>

<body onLoad="pageInit()">
<form action="" method="post" name="cms4j">
<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr height="12"> 
    <td width="26"><img src="../../images/admin/oper_table_up_left.gif" width="26" height="12"></td>
    <td width="1358" background="../../images/admin/oper_table_up_bg.gif" height="12"></td>
    <td width="26"><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="16%" class="title_bar">资源维护
                  <select name="module_list" class="form_select" id="module_list" onChange="module_filter()">
                    <option selected>所有模块</option>
                    <cms4j:module>
				  <option value="<%=module_info.getMODULE_ID()%>"><%=module_info.getNAME()%></option>
				  </cms4j:module>
                  </select>                  </td>
                <td width="20%" align="left" class="title_bar">
				<select name="type_list" class="form_select" id="type_list" onChange="type_filter()">
                  <option value="" selected>所有类别</option>
                  <option value="type_menu">菜单</option>
                  <option value="type_common">普通</option>
                  </sclect>
                    </select>
                  <select name="scope_list"  class="form_select" id="scope_list" onChange="scope_filter()">
                    <option value="" selected>所有来源</option>
                    <option value="scope_inside">CMS4J</option>
                    <option value="scope_outside">外部链接</option>
                  </select>
                  <select name="oper_type_list" class="form_select" id="oper_type_list" onChange="oper_filter()">
                    <option value="" selected>操作类型</option>
                    <option value="oper_type_execute">执行命令</option>
                    <option value="oper_type_list">列表页</option>
                    <option value="oper_type_oper">操作页</option>
                    </select></td>
                <td width="64%" align="left" class="title_bar">                <input type="button" name="Submit" value="添加新资源" onClick="location.href='resource_add.jsp'"></td>
              </tr>
              <tr height="4"> 
                <td height="4" colspan="3"></td>
              </tr>
            </table>
            <table width="1700" border="0" cellpadding="0" cellspacing="1" class="table_border_bg">
              <tr class="table_title">
                <td width="11%">操作</td>
                <td width="6%" align="center">ID</td>
                <td width="15%">资源名称</td>
                <td width="9%" align="center">所属模块</td>
                <td width="3%" align="center">类型</td>
                <td width="8%">来源</td>
                <td width="6%">状态</td>
                <td width="15%">ACTION</td>
                <td width="27%">资源实现类</td>
                </tr>
			  <cms4j:resource state="all" module="${param.module}" type="${param.type}" scope="${param.scope}" oper="${param.oper}">
              <tr class="table_border_cell_bg">
                <td align="center" class="text_button"> <a href="../../do?action=orderRes&id=<%=res_info.getRES_ID()%>&type=up&orderNum=<%=res_info.getORDER_NUM()%>">↑升</a> <a href="../../do?action=orderRes&id=<%=res_info.getRES_ID()%>&type=down&orderNum=<%=res_info.getORDER_NUM()%>">↓降</a> <a href="resource_modify.jsp?id=<%=res_info.getRES_ID()%>">改</a> <a href="../../do?action=delRes&delItem=<%=res_info.getRES_ID()%>">删</a> <a href="../../do?action=setResState&operItem=<%=res_info.getRES_ID()%>&state=<%=res_info.getSTATE_OPER_STATE()%>"><%=res_info.getSTATE_OPER_NAME()%></a></td>
                <td align="center"><%=res_info.getRES_ID()%></td>
                <td align="left"><%=res_info.getNAME()%> [<%=res_info.getRES_OPER_TYPE_NAME()%>]</td>
                <td align="center"><%=res_info.getMODULE_ID_NAME()%></td>
                <td align="center"><%=res_info.getRES_TYPE_NAME()%></td>
                <td align="center"><%=res_info.getRES_SOURCE_TYPE_NAME()%></td>
                <td align="center"><%=res_info.getSTATE_NAME()%></td>
                <td align="left"><%=res_info.getRES_ACTION_2()%></td>
                <td align="left"><%=res_info.getCOMMAND()%></td>
                </tr>
			  </cms4j:resource>
            </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="2000" 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 + -