📄 weekly_important_thing.jsp
字号:
<%@ page contentType="text/html;charset=GB2312"%>
<%@ page import="cn.com.aheadsoft.recordset.NEWeekImportRecordSet,cn.com.aheadsoft.util.StringFormat,cn.com.aheadsoft.util.UserInfo,cn.com.aheadsoft.manage.UserPurviewManage" %>
<%
NEWeekImportRecordSet set = (NEWeekImportRecordSet) request.getAttribute("result");
String isweek = (String) request.getAttribute("isweek");
UserInfo userinfo = (UserInfo)session.getAttribute("userinfo");
UserPurviewManage priority = new UserPurviewManage();
int weekinsert = priority.getUserPopInt(userinfo, "3", "6", "i");
int weekdelete = priority.getUserPopInt(userinfo, "3", "6", "d");
int newsinsert = priority.getUserPopInt(userinfo, "3", "5", "i");
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>每周要事页</title>
<link href="/krm/jsp/css/css.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="F1F7F9">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="F1F7F9">
<tr height="8">
<td></td>
</tr>
<tr>
<td align="center" bgcolor="F1F7F9">
<fieldset style="width:95%; text-align:center">
<legend><img src="/krm/jsp/tskmanage/taskimage/tsk_mzyslb.gif"></legend>
<br>
<table border="1" width="95%" align="center" height="30%" bordercolor="A1B7DB" class="collapse">
<%if(weekinsert > 5){%>
<div align="right">
<a href="/krm/jsp/tskmanage/week/set_weekly_thing.jsp">
<img src="/krm/jsp/image/add.gif" border="0"></a>
</div>
<%}%>
<tr>
<%if(isweek.equals("y")){%>
<td height="18" colspan="6" bgcolor="#3366CC" class="common" align="center"><font color="#FFFFFF">本周要事</font></td>
<%}else{%>
<td height="18" colspan="6" bgcolor="#3366CC" class="common" align="center"><font color="#FFFFFF">全部周要事</font></td>
<%}%>
</tr>
<tr><td class="common" width="7%" align="center" bgcolor="#D4E8F4">编号</td>
<td class="common" width="15%" align="center" bgcolor="#D4E8F4">时间</td>
<td class="common" width="50%" align="center" bgcolor="#D4E8F4">要事标题</td>
<td class="common" width="20%" align="center" bgcolor="#D4E8F4">列入大事记</td>
<td class="common" width="8%" align="center" bgcolor="#D4E8F4">删除</td></tr>
<%if(null != set){
int i = 0;
while(set.next()){%>
<tr><td class="common" width="7%" align="center" bgcolor="#F7FDF3"><%=i+1%></td>
<td class="common" width="15%" align="center" bgcolor="#F7FDF3"><%=set.getW_Date()%></td>
<td class="common" width="50%" align="center" bgcolor="#F7FDF3"><%=StringFormat.toOldFormat(set.getW_Content())%></td>
<%if(set.getW_Import().equals("n")){%>
<%if(newsinsert > 5){%>
<td width="20%" class="common" align="center" bgcolor="#F7FDF3"><a href="/krm/servlet/AttachInfoServlet?module=news&&status=i&&queryterm=week&&id=<%=set.getW_ID()%>">列入大事记</a></td>
<%}else{%>
<td class="common" width="20%" align="center" bgcolor="#F7FDF3">列入大事记</td>
<%}%>
<%}else{%>
<td class="common" width="20%" align="center" bgcolor="#F7FDF3">已列入大事记</td>
<%}%>
<%if(weekdelete > 5){%>
<td width="8%" class="common" align="center" bgcolor="#F7FDF3"><a href="/krm/servlet/AttachInfoServlet?module=weekimport&&status=d&&id=<%=set.getW_ID()%>&&isweek=<%=isweek%>" onclick="return(confirm('确定要删除吗?'))">删除</a></td>
<%}else{%>
<td width="8%" class="common" align="center" bgcolor="#F7FDF3">删除</td>
<%}%>
</tr>
<%i++;
}}%>
<tr>
<%if(isweek.equals("y")){%>
<td height="18" colspan="6" class="common" align="right"><font color="#FFFFFF"><a href="/krm/servlet/AttachInfoServlet?module=weekimport&&status=q&&queryterm=all">全部周要事</a>
</font></td>
<%}else{%>
<td height="18" colspan="6" class="common" align="right"><font color="#FFFFFF"><a href="/krm/servlet/AttachInfoServlet?module=weekimport&&status=q&&queryterm=week">本周要事</a></font></td>
<%}%>
</tr>
</table>
<br>
</fieldset>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -