📄 index.jsp
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="/inc/pv/super.jsp"%>
<%@ include file="/inc/public/msg.jsp"%>
<%
//获取所有的菜单类型列表
java.util.ArrayList lists = new java.util.ArrayList();
igec.site.base.bean.SysObj info = new igec.site.base.bean.SysObj();
int iFlag = igec.site.base.business.HelpBusiness.getLists(lists,info,request);
if(iFlag<0){
showError("程序异常!",out);
return;
}
String strCurMenuPic = igec.site.base.business.DataUtilBusiness.getFieldValue("SHOWIMG","TAB_IGECMENU","WHERE ID='" + strMenuId + "'");
%>
<html>
<head>
<title>系统帮助信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link rel="stylesheet" type="text/css" href="<%=strCssPath%>">
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/public.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/check.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/xmlhttp.js"></script>
<script language="javascript" src="<%=strSkinBase%>/js/forbid.js"></script>
<script language="javascript">
<!--
function deleteRs(strRsId){
var strResult = "";
if(strRsId==null || strRsId==""){
strResult = getSelectRsFromForm("RSID",form1);
if("ERROR"==strResult){
return;
}
}else{
strResult = strRsId;
}
delRs("<%=site.bean.SitePara.strVirtualName + site.bean.SitePara.strManageFolder%>/help.do?action=del&id=" + strResult);
}
//-->
</script>
</head>
<body class="bodycolor" topmargin="5">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="<%=strSkinBase%>/images/menu/sys/<%=strCurMenuPic%>" align="absmiddle"><span class="big3"> 新建帮助信息</span>
</td>
</tr>
</table>
<div align="center">
<input type="button" value="新建帮助信息" class="BigButton" title="新建系统帮助信息" onclick="openWindow('add.jsp?iid=<%=strMenuId%>','200','200');">
</div>
<br>
<table width="95%" border="0" cellspacing="0" cellpadding="0" height="3">
<tr>
<td background="<%=strSkinBase%>/images/dian1.gif" width="100%"></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="<%=strSkinBase%>/images/notify_open.gif" align="absmiddle"><span class="big3"> <a name="bottom">帮助信息列表</span>
</td>
</tr>
</table>
<table align="center" border="0" cellspacing="1" width="100%" class="small" bgcolor="#000000" cellpadding="3">
<form name="form1" id="form1">
<%
for(int i=0;i<lists.size();i++){
igec.site.base.bean.SysObj so = (igec.site.base.bean.SysObj)lists.get(i);
if(so!=null){
%>
<tr class="TableLine1 TextColor2">
<td nowrap>
<input type="checkbox" name="RSID" value="<%=so.getStrValue1()%>">
</td>
<td nowrap align="center"><%=so.getStrValue1()%></td>
<td nowrap align="center"><%=so.getStrValue2()%></td>
<td nowrap align="center"><%=so.getStrValue4()%></td>
<td nowrap align="center">
<a href="javascript:" onclick="javascript:openWindow('edit.jsp?id=<%=so.getStrValue1()%>&iid=<%=strMenuId%>','200','200');">编辑</a>
<a href="javascript:" onclick="javascript:deleteRs('<%=so.getStrValue1()%>');">删除</a>
</td>
</tr>
<%}}%>
<thead class="TableHeader">
<td nowrap align="center" width="5%">选择</td>
<td nowrap align="center" width="10%">ID</td>
<td nowrap align="center">名称</td>
<td nowrap align="center" width="15%">添加时间</td>
<td nowrap align="center" width="15%">操作</td>
</thead>
<tr class="TableControl">
<td colspan="10">
<input type="checkbox" name="allbox" id="allbox_for" onClick="checkAll(this,'RSID',form1);">
<label for="allbox_for">全选</label>
<input type="button" value="删除" class="SmallButton" onClick="deleteRs('');" title="删除所选用户">
</td>
</tr>
</form>
</table>
<table border="0" cellspacing="0" width="100%" cellpadding="0">
<tr><td height="40" <%if(lists.size()>0){%>align="right"<%}else{%>align="center"<%}%> valign="middle"><span class="big3"><%=info.getStrValue5()%></span></td></tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -