📄 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 + -