?? show_book.jsp
字號:
<html>
<head>
<%@ page contentType="text/html; charset=gb2312"%>
<%@ page import="java.sql.*"%>
<title>用戶顯示</title>
<!--
.style1 {font-size: 14px}
.style2 {
color: #0000FF;
font-size: 36px;
}
.style3 {color: #FF0000}
.style4 {color: #FF0000; font-size: 14px; }
body {
background-color: #00FFFF;
}
.STYLE5 {font-size: 24px; }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style type="text/css">
<!--
body {
background-color: #000000;
}
.style1 {color: #FF0000}
.style2 {color: #FFFF00}
.style3 {color: #0000FF}
.style4 {font-size: 36px}
.style5 {font-family: "華文琥珀"}
.style6 {font-size: 24px}
.style7 {font-size: 12px}
.style8 {color: #FF0000; font-size: 12px; }
.style9 {color: #00FF00}
.STYLE13 {font-size: 16}
.STYLE14 {color: #FF0000; font-size: 16; }
.STYLE15 {font-size: 16px}
.STYLE16 {color: #FF0000; font-size: 16px; }
-->
</style></head>
<script language="javascript" >
<!--
function chek()
{
if(form1.no.value=="")
{
alert("請輸入書籍編號!");
return(false);
}
if (form1.name.value=="")
{ alert("請輸入書籍名稱!");
return(false);
}
if (form1.price.value=="")
{ alert("請輸入書籍價格!");
return(false);
}
return(true);
}
-->
</script>
<body>
<div align="center">
<table width="537" border="0">
<tr>
<td width="531"><div align="center"><span class="style3 style4 style5">書籍信息</span></div></td>
</tr>
<tr>
<td height="311"><form name="form1" method="post" onSubmit="chek()">
<table width="535" border="0">
<tr>
<td width="94"><span class="style1 style7 STYLE15">書籍編號
</span></td>
<td width="431"><span class="style1 style7 STYLE13">
<input name="id" type="text" id="t1">
</span></td>
</tr>
<tr>
<td><span class="STYLE16 STYLE15">書籍名稱
</span></td>
<td><span class="STYLE14">
<input name="name" type="text" id="t2">
</span></td>
</tr>
<tr>
<td><span class="STYLE16 STYLE15">書籍作者
</span></td>
<td><span class="STYLE14">
<input name="author" type="text" id="t3">
</span></td>
</tr>
<tr>
<td><span class="STYLE16 STYLE15">出 版 社
</span></td>
<td><span class="STYLE14">
<input name="press" type="text" id="t4">
</span></td>
</tr>
<tr>
<td><span class="STYLE16 STYLE15">書籍價格
</span></td>
<td><span class="STYLE14">
<input name="price" type="text" id="t5">
</span></td>
</tr>
<tr>
<td><span class="STYLE16">備 注
</span></td>
<td><span class="STYLE14">
<textarea name="note" id="text6" cols="22" rows="5"></textarea>
</span></td>
</tr>
<tr>
<td colspan="2"><span class="style1">
<input name="Submit2" type="submit" value="添加書籍"onclick="document.form1.action='register_bookconfirm.jsp';document.form1.submit()">
<input type="submit" name="button" id="button" value="刪除書籍"onclick="document.form1.action='deletebook_db.jsp'; document.form1.submit()">
</span></td>
</tr>
<tr>
<td colspan="2"><span class="STYLE5"><a href="login.jsp" class="style6">返回首頁</a></span></td>
</tr>
</table>
</form>
<div align="center"></div></td>
</tr>
</table>
<p> </p>
</div>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -