AddArticle.jsp
资源名称:OA.rar [点击查看]
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:7k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="com.gforce.gfoa.*,com.gforce.currency.*,java.util.*" %>
- <jsp:include page="/CheckLogin.jsp" flush="true"/> <% Session m_session = new Session(session); %>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="pragma" content="no-cache">
- <title>新闻管理-- GForce OA 2.0</title>
- <link href="/css/txt.jsp" rel="stylesheet" type="text/css">
- <script language="JavaScript" src="/js/changestyle.js"></script>
- <script language="JavaScript" type="text/javascript">
- function checkAddArticle()
- {
- if(document.addarticle.Title.value=="")
- {
- alert("请输入主题内容!");
- document.addarticle.Title.focus();
- return false;
- }
- }
- </script>
- <style type="text/css">
- <!--
- .imgtd {
- border: 1px solid #0A0A0A;
- }
- -->
- </style>
- </head>
- <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0" onload="document.addarticle.Title.focus();">
- <table width="100%" height="100%" border="0" align="center" cellspacing="0">
- <tr>
- <td align="center" valign="top">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td height="50" valign="top" background="../images/dy-back.gif">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr valign="middle">
- <td width="61" align="center" height="20"><img src="../images/dy-01.gif" width="38" height="36"></td>
- <td width="118" nowrap="nowrap" valign="middle"><strong><font color="#000000">信息新增</font></strong></td>
- <td align="right" nowrap="nowrap" valign="bottom">
- <!-- 群增<img src="../images/MulAdd.gif" onMouseOver="this.src='../images/MulAdd_a.gif';" onMouseOut="this.src='../images/MulAdd.gif';" border="0" height="22" width="59"> -->
- <!-- <img src="/images/Single.gif" onMouseOver="this.src='/images/Single_a.gif';" onMouseOut="this.src='/images/Single.gif';" border="0" height="22" width="59" alt=""> -->
- <!-- 修改<img src="../images/Update.gif" onMouseOver="this.src='../images/Update_a.gif';" onMouseOut="this.src='../images/Update.gif';" border="0" height="22" width="59"> -->
- <!-- 删除<img src="../images/Del.gif" onMouseOver="this.src='../images/Del_a.gif';" onMouseOut="this.src='../images/Del.gif';" border="0" height="22" width="59"> -->
- <!-- 查看<img src="../images/Query.gif" onMouseOver="this.src='../images/Query_a.gif';" onMouseOut="this.src='../images/Query.gif';" border="0" height="22" width="59"> -->
- <!-- 组合查询<img src="../images/GroupQuery.gif" onMouseOver="this.src='../images/GroupQuery_a.gif';" onMouseOut="this.src='../images/GroupQuery.gif';" border="0" height="22" width="79"> -->
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <%
- Request m_request = new Request(request);
- int iSysDirID = m_request.GetInt("SysDirID");
- int intUserID = m_session.GetInt("UserID");
- %>
- <form name="addarticle" action="AddArticleAction.jsp?SysDirID=<%=iSysDirID%>" method="post" onSubmit="javascript:return checkAddArticle();">
- <table border="1" cellpadding="0" cellspacing="0" width="90%">
- <tr>
- <td width="80" align="right" valign="middle"><font color="#0A0A0A">标 题: </font></td>
- <td colspan="3" align="left" valign="middle" nowrap> <input name="Title" type="text" maxlength="100" size="37">
- </td>
- </tr>
- <tr>
- <td align="right" valign="middle"><font color="#0A0A0A">作 者: </font></td>
- <td colspan="3" align="left" valign="middle" nowrap> <input name="Author" type="text" maxlength="50" size="20">
- </td>
- </tr>
- <tr>
- <td align="right" valign="middle"><font color="#0A0A0A">出 版 社: </font></td>
- <td colspan="3" align="left" valign="middle" nowrap> <input name="Publisher" type="text" maxlength="100" size="37">
- </td>
- </tr>
- <tr>
- <td align="right" valign="middle"><font color="#0A0A0A">来源网址: </font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input name="FromURL" type="text" maxlength="150" size="37">
- <%java.util.Date t_Date = new java.util.Date();%>
- <input name="PublishDate" type="hidden" value="<%=StringNew.GetDateString(t_Date,"yyyy-MM-dd")%>">
- </td>
- </tr>
- <tr>
- <td align="right" valign="middle"><font color="#0A0A0A">内 容: </font></td>
- <td colspan="3" align="left" valign="middle" nowrap height="280">
- <IFRAME ID="WebEditor1" src="/WebEditor/WebEditor.jsp?id=Content" frameborder="0" scrolling="no" width="550" height="350"></IFRAME>
- <textarea name="Content" cols="75" rows="3" readonly="true" style="display:none;"></textarea>
- <input name="ViewTimes" type="hidden" Value="0"> </td>
- </tr>
- <tr>
- <td align="right" valign="middle"><font color="#0A0A0A">是否热点: </font></td>
- <td align="left" valign="middle" nowrap colspan="3"> <font color="#0A0A0A">
- <input name="IsHot" type="radio" value="1">是
- <input name="IsHot" type="radio" value="0" checked>否</font>
- </td>
- </tr>
- <tr>
- <td align="right" valign="middle"><font color="#0A0A0A">关 键 字: </font></td>
- <td align="left" valign="middle" nowrap colspan="3"> <input name="KeyWords" type="text" maxlength="100" size="37">
- <input name="PublishUserID" type="hidden" Value="<%=intUserID%>">
- </td>
- </tr>
- </table>
- <table width="90%" border="0">
- <tr>
- <td> </td>
- </tr>
- <tr>
- <td> </td>
- <td align="right" valign="middle" nowrap>
- <td colspan="3" align="right" valign="middle" nowrap><input type="submit" value="确 定" style="background-color: #FFFFFF; border: 1 solid #000000"> <input type="reset" value="重 填" style="background-color: #FFFFFF; border: 1 solid #000000"> <input type="button" value="返 回" onclick="window.location='ArticleManage.jsp?SysDirID=<%=iSysDirID%>';" style="background-color: #FFFFFF; border: 1 solid #000000">
- </td>
- </tr>
- <tr>
- <td align="right" valign="middle"> </td>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- </table>
- </body>
- </html>