- <%@ 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 checkAddBBS()
- {
- if(document.AddBBS.Title.value=="")
- {
- alert("请输入文章主题!");
- document.AddBBS.Title.focus();
- return false;
- }
- if(document.AddBBS.Anonymity.checked)
- {
- document.AddBBS.PublishUserID.value = <%=SystemParament.GetAnonymity()%>;
- }
- }
- </script>
- <style type="text/css">
- <!--
- .imgtd {
- border: 1px solid #0A0A0A;
- }
- -->
- </style>
- </head>
- <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0">
- <table width="100%" height="100%" border="0" align="center" cellspacing="0">
- <tr>
- <td align="center" valign="top"><p> </p>
- <%
- Request m_request = new Request(request);
- int iSysDirID = m_request.GetInt("SysDirID");
- int intUserID = m_session.GetInt("UserID");
- %>
- <form name="AddBBS" action="AddOnBBSAction.jsp?SysDirID=<%=iSysDirID%>" method="post" onSubmit="javascript:return checkAddBBS();">
- <table border="0" 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="60" size="60">
- </td>
- </tr>
- <tr>
- <td align="right" valign="middle"><font color="#0A0A0A">表情:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input name="FaceID" type="radio" value="1">
- <img src="/images/BBS/face1.gif">
- <input name="FaceID" type="radio" value="2">
- <img src="/images/BBS/face2.gif">
- <input name="FaceID" type="radio" value="3">
- <img src="/images/BBS/face3.gif">
- <input name="FaceID" type="radio" value="4">
- <img src="/images/BBS/face4.gif">
- <input name="FaceID" type="radio" value="5">
- <img src="/images/BBS/face5.gif">
- <input name="FaceID" type="radio" value="6">
- <img src="/images/BBS/face6.gif">
- <input name="FaceID" type="radio" value="7">
- <img src="/images/BBS/face7.gif">
- <input name="FaceID" type="radio" value="8">
- <img src="/images/BBS/face8.gif">
- <input name="FaceID" type="radio" value="9">
- <img src="/images/BBS/face9.gif">
- </td>
- </tr>
- <tr>
- <td align="right" valign="middle"> </td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input name="FaceID" type="radio" value="10">
- <img src="/images/BBS/face10.gif">
- <input name="FaceID" type="radio" value="11">
- <img src="/images/BBS/face11.gif">
- <input name="FaceID" type="radio" value="12">
- <img src="/images/BBS/face12.gif">
- <input name="FaceID" type="radio" value="13">
- <img src="/images/BBS/face13.gif">
- <input name="FaceID" type="radio" value="14">
- <img src="/images/BBS/face14.gif">
- <input name="FaceID" type="radio" value="15">
- <img src="/images/BBS/face15.gif">
- <input name="FaceID" type="radio" value="16">
- <img src="/images/BBS/face16.gif">
- <input name="FaceID" type="radio" value="17">
- <img src="/images/BBS/face17.gif">
- <input name="FaceID" type="radio" value="18">
- <img src="/images/BBS/face18.gif">
- </td>
- </tr>
- <tr>
- <td align="right" valign="middle"><font color="#0A0A0A">内容:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <textarea name="Content" cols="50" rows="10"></textarea>
- <%java.util.Date t_Date = new java.util.Date();%>
- <input name="PublishTime" type="hidden" value="<%=StringNew.GetDateString(t_Date,"yyyy-MM-dd HH:mm:ss")%>">
- <input name="PublishUserID" type="hidden" Value="<%=intUserID%>">
- <input name="Station" type="hidden" Value="_0_">
- <input name="SysDirID" type="hidden" Value="<%=iSysDirID%>">
- <input name="ViewTimes" type="hidden" Value="0">
- </td>
- </tr>
- <tr>
- <td align="right" valign="middle"> </td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input name="Anonymity" type="checkbox">匿名发布
- </td>
- </tr>
- <tr>
- <td align="right" valign="middle"> </td>
- <td colspan="3" align="left" valign="middle" nowrap> </td>
- </tr>
- <tr>
- <td align="right" valign="middle"> </td>
- <td colspan="3" align="left" valign="middle" nowrap> <input type="submit" value="确定">
- <input type="reset" value="重填">
- <input type="button" value="返回" onclick="window.location='BBSOnManage.jsp?SysDirID=<%=iSysDirID%>';">
- </td>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- </table>
- </body>
- </html>