You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.6 KiB

5 months ago
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@page import="util.Info"%>
<%@page import="dao.CommDAO"%>
<%@page import="util.PageManager"%>
<%
if((String)request.getSession().getAttribute("username")==null || (String)request.getSession().getAttribute("username")=="")
{
out.print("<script>alert('<27>Բ<EFBFBD><D4B2><EFBFBD>,<2C><><EFBFBD><EFBFBD><EFBFBD>ȵ<EFBFBD>½!');parent.location=parent.location;</script>");
}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></title>
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
-->
</style></head>
<body>
<%
String id=request.getParameter("id");
String biao=request.getParameter("biao");
HashMap ext = new HashMap();
//String tglparentid=request.getParameter("tglparentid")==null?"":request.getParameter("tglparentid");
//ext.put("tglparentid",tglparentid);
//ext.put("issh","<22><>");
new CommDAO().insert(request,response,"pinglun",ext,true,true,"");
%>
<script language="javascript">
function check()
{
if(document.form1.pinglunneirong.value==""){alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");document.form1.pinglunneirong.focus();return false;}
}
</script>
<form action="hsgpinglun.jsp?f=f" method="post" name="form1" onsubmit="return checkform();">
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#333333" style="border-collapse:collapse" class="newsline">
<tr style="display:none">
<td><3E><><EFBFBD>ţ<EFBFBD></td>
<td><input name='xinwenID' type='text' id='xinwenID' value='<%=id%>' readonly="readonly" />
&nbsp;*</td>
</tr>
<tr>
<td><3E><><EFBFBD>֣<EFBFBD></td>
<td><select name="pingfen" id="pingfen">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</td>
</tr>
<tr>
<td><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD></td>
<td><textarea name='pinglunneirong' cols='50' rows='5' id='pinglunneirong'></textarea>
&nbsp;*</td>
</tr>
<tr>
<td><3E><><EFBFBD><EFBFBD><EFBFBD>ˣ<EFBFBD></td>
<td><input name='pinglunren' type='text' id='pinglunren' value="<%=request.getSession().getAttribute("username")%>" />
&nbsp;*</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" name="Submit5" value="<22>ύ" onclick="return check();" />
<input type="reset" name="Submit22" value="<22><><EFBFBD><EFBFBD>" />
<input name="biao" type="hidden" id="biao" value="<%=biao%>" /></td>
</tr>
</table>
</form>
</body>
</html>