WebRoot/tiezi/tieziadd.jsp
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="com.util.*"%>
<%
request.setCharacterEncoding("gb2312");//设置页面字符集
DBO db=new DBO();//初始数据链接
/*
帖子信息添加页面
*/
%>
<!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" />
<LINK href="../images/style.css" type=text/css rel=stylesheet>
<link rel="stylesheet" type="text/css" media="screen" href="../css/tinyTips.css" />
<script language="javascript">
function checkDo(){
if(form.tz.value==""){
alert("帖子不能为空");
return false;
form.tz.focus();
}
if(form.zt.value==""){
alert("主题不能为空");
return false;
form.zt.focus();
}
if(form.tp.value==""){
alert("图片不能为空");
return false;
form.tp.focus();
}
if(form.nr.value==""){
alert("内容不能为空");
return false;
form.nr.focus();
}
if(form.yh.value==""){
alert("用户不能为空");
return false;
form.yh.focus();
}
if(form.fbsj.value==""){
alert("发布时间不能为空");
return false;
form.fbsj.focus();
}
if(form.sfjh.value==""){
alert("是否精华不能为空");
return false;
form.sfjh.focus();
}
后面还有 65 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。