Chairman.jsp~90~
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:8k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- <%@ page contentType="text/html; charset=GBK" %>
- <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
- <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
- <%@ taglib uri="FCKeditor" prefix="FCK" %>
- <%@ page language="java" import="com.fredck.FCKeditor.*" %>
- <%@ page language="java" import="com.chinacannel.entity.*;" %>
- <html>
- <head>
- <title>Chairman</title>
- <link href="<%=request.getContextPath() %>/Manage/Css/skinv2.0.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript">
- function FCKeditor_OnComplete( editorInstance ){
- window.status = editorInstance.Description ;
- }
- function OpenInf(key){
- location.href = "<%=request.getContextPath() %>/Manage/Information.do?todo=OpenInformation&key=" + key;
- }
- </script>
- </head>
- <body bgcolor="#ffffff">
- <form method="post" id="form1" action="<%=request.getContextPath() %>/Manage/Information.do?todo=EditInformation">
- <table cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr bgcolor="#cfdbe8">
- <td style="WIDTH: 20px" width="20" bgcolor="#cfdbe8" height="19"> <img height="10" src="<%=request.getContextPath() %>/Manage/images/icon.gif" width="12" alt="" /></td>
- <td valign="middle" bgcolor="#cfdbe8" colspan="2"> <c:out value="${MainTitle}" /></td>
- </tr>
- <tr>
- <td style="HEIGHT: 31px" valign="top" align="left" height="80"> </td>
- <td style="HEIGHT: 31px" valign="middle" align="left" colspan="2">
- <img src="<%=request.getContextPath() %>/Manage/images/edit.gif" align="middle" alt="" /> <c:out value="${ChildTitle}" />
- </td>
- </tr>
- <tr>
- <td style="HEIGHT: 1px" valign="top" align="left"></td>
- <td style="HEIGHT: 1px" valign="top" align="left" width="820" bgcolor="#cfdbe8"></td>
- <td style="HEIGHT: 1px; width: 144px;" valign="top" align="left"></td>
- </tr>
- <tr>
- <td style="HEIGHT: 381px" valign="top" align="left"></td>
- <td style="HEIGHT: 381px" valign="top" align="left" colspan="2">
- <br/>
- <c:if test="${key == 'DSZZL'}">
- <input type="button" name="btnQuery" value=" 董事长致辞" class="Botton" onclick="OpenInf('DSZZC');" />
- <input type="button" name="btnQuery" value=" 活动信息" class="Botton" onclick="OpenInf('HDXX');" />
- <br /><br />
- </c:if>
- <table align="left" bgcolor="#cccccc" border="0" cellpadding="1" cellspacing="1" width="98%">
- <tr bgcolor="#ffffff">
- <td style="height: 25px; width: 117px;">
- 信息标题:
- </td>
- <td style="height: 23px">
- <input type="text" id="txtTitle" name="title" value='<c:out value="${inf.inf_Title}" />' />
- <input type="hidden" id="hidID" name="id" value='<c:out value="${inf.inf_ID}" />' />
- <input type="hidden" id="hidKey" name="key" value='<c:out value="${key}" />' />
- <input type="hidden" id="hidCatID" name="catID" value='<c:out value="${cat.cat_ID}" />' />
- </td>
- </tr>
- <tr bgcolor="#ffffff">
- <td style="height: 25px; width: 117px;">
- 信息内容:
- </td>
- <td style="height: 23px">
- <%
- Information information = (Information)request.getAttribute("inf");
- FCKeditor oFCKeditor ;
- oFCKeditor = new FCKeditor( request, "content" ) ;
- // oFCKeditor.setBasePath( request.getContextPath() + "/" ) ;
- oFCKeditor.setWidth("600");
- oFCKeditor.setHeight("200");
- oFCKeditor.setToolbarSet("Inf");
- if(information != null){
- if(information.getInf_Content() != null){
- oFCKeditor.setValue(information.getInf_Content());
- }
- }
- out.println( oFCKeditor.create() ) ;
- %>
- </td>
- </tr>
- <c:if test="${key == 'DSZZL'}">
- <tr bgcolor="#ffffff">
- <td style="height: 25px; width: 117px;">
- 活动信息:
- </td>
- <td style="height: 23px">
- <table width="520" border="0" cellpadding="0" cellspacing="0" class="table_Left">
- <tr>
- <td height="25" width="300" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>标题</strong></td>
- <td width="100" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>上传时间</strong></td>
- <td width="120" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>操作</strong></td>
- </tr>
- </table>
- <div id="divList">
- <c:forEach var="inf" items="${list}" varStatus="status">
- <table width="520" border="0" cellpadding="0" cellspacing="0" class="table_Left">
- <tr>
- <td width="300" class="table_Right" height="25">
- <c:out value="${inf.inf_Title}" />
- </td>
- <td width="100" class="table_Right" align="center">
- <bean:write name="inf" property="inf_Time" format="yyyy-MM-dd"/>
- </td>
- <td width="120" align="center" class="table_Right">
- <a href='<%=request.getContextPath() %>/Manage/Information.do?todo=OpenInformation&infID=<c:out value="${inf.inf_ID}" />'>编辑</a>
- |
- <a href='<%=request.getContextPath() %>/Manage/Information.do?todo=DeleteInformation&infID=<c:out value="${inf.inf_ID}" />'>删除</a>
- </td>
- </tr>
- </table>
- </c:forEach>
- </div>
- </td>
- </tr>
- <tr bgcolor="#ffffff">
- <td style="height: 25px; width: 117px;">
- 董事长致辞:
- </td>
- <td style="height: 23px">
- <table width="520" border="0" cellpadding="0" cellspacing="0" class="table_Left">
- <tr>
- <td height="25" width="300" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>标题</strong></td>
- <td width="100" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>上传时间</strong></td>
- <td width="120" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>操作</strong></td>
- </tr>
- </table>
- <div id="divList">
- <c:forEach var="inf" items="${list}" varStatus="status">
- <table width="520" border="0" cellpadding="0" cellspacing="0" class="table_Left">
- <tr>
- <td width="300" class="table_Right" height="25">
- <c:out value="${inf.inf_Title}" />
- </td>
- <td width="100" class="table_Right" align="center">
- <bean:write name="inf" property="inf_Time" format="yyyy-MM-dd"/>
- </td>
- <td width="120" align="center" class="table_Right">
- <a href='<%=request.getContextPath() %>/Manage/Information.do?todo=OpenInformation&infID=<c:out value="${inf.inf_ID}" />'>编辑</a>
- |
- <a href='<%=request.getContextPath() %>/Manage/Information.do?todo=DeleteInformation&infID=<c:out value="${inf.inf_ID}" />'>删除</a>
- </td>
- </tr>
- </table>
- </c:forEach>
- </div>
- </td>
- </tr>
- </c:if>
- <tr bgcolor="#ffffff" align="center">
- <td colspan="2">
- <input type="submit" id="btnSave" value="保 存" />
- <input type="submit" value="返 回" />
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </form>
- </body>
- </html>