?? guestbook_manage.jsp
字號(hào):
<%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
<%
/*
* ┌──────────────────── 深度學(xué)習(xí) ──┐
* │程序名稱:留言板后臺(tái)管理
* │軟件類別:功能模塊
* │授權(quán)方式:
* │作 用:用于網(wǎng)站一般留言
* │說(shuō) 明:
* │日 期:2007/8/10
* │編寫人:呂海鵬
* └──────────────────── www.deepteach.com ──┘
*/
%>
<%@page import="com.deepteach.guestBook.*" %>
<%@page import="java.util.ArrayList"%>
<%
//-----------------定義留言板常用信息 開始 -----------------
String meta_keywords="deepteach.com,";
String meta_description="deepteach.com";
String head_title="deepteach.com,";
String siteName="深度學(xué)習(xí)(jsp)留言板";
String siteCopyRight="版權(quán)所有 deepteach.com";
int GuestBook_user_id = 0 ; //GuestBook_user_id網(wǎng)站變量定義留言板用戶 默認(rèn)0
//-----------------定義留言板常用信息 結(jié)束 -----------------
%>
<!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=GBK" />
<meta name="keywords" content="<%=meta_keywords%>" />
<meta name="description" content="<%=meta_description%>" />
<title>【<%=siteName%>后臺(tái)管理】<%=head_title%></title>
<link href="../styles/style_GuestBook.css" rel="stylesheet" type="text/css" />
</head>
<body>
<br /> <br />
<h3><%=siteName%></h3>
<hr width="90%"/>
<br />
<!-------留言板 開始-------------->
<%
String action="noAction";
if(request.getParameter("action")!=null)
{action=request.getParameter("action");}
if ( action.equals("add") )
{
%>
<script language="javascript">
function check_form() {
if (document.form1.username.value=="") {
window.alert("請(qǐng)輸入姓名!!!");
document.form1.username.focus();
return false;
}
if (document.form1.tel.value=="") {
window.alert("請(qǐng)輸入電話!!!");
document.form1.tel.focus();
return false;
}
if (document.form1.email.value=="") {
window.alert("請(qǐng)輸入E-mail!!!");
document.form1.email.focus();
return false;
}
if (document.form1.content.value=="") {
window.alert("請(qǐng)輸入留言內(nèi)容!!!");
document.form1.content.focus();
return false;
}
}
</script>
<form id="form1" name="form1" method="post" action="?action=save&GuestType=<%=request.getParameter("GuestType")%>" onSubmit="return check_form()">
<table width="95%" align="center" cellpadding="0" cellspacing="0"class="table_td_guest">
<tr>
<td colspan="2" height="25"> 書寫留言(*為必填項(xiàng))</td>
</tr>
<tr>
<td align="center">姓
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -