-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalter.html
88 lines (87 loc) · 2.06 KB
/
alter.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Books管理后台</title>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<link rel="stylesheet" type="text/css" href="css/alter.css">
</head>
<body>
<div>
<div class="content">
<div class="header">
<h1>Welcome!</h1>
</div>
<div class="left">
<ul>
<li>
<a href="info.html">概况</a>
</li>
<li>
<a href="add.html">添加图书</a>
</li>
<li>
<a href="search.html">查找图书</a>
</li>
<li>
<a href="register.html">添加帐户</a>
</li>
<li>
<a href="user.php?action=logout">注销</a>
</li>
</ul>
</div>
<div class="right">
<div>
<form id="form" method="post" onsubmit="return AlterHandle(this)">
BookID: <span id="BookID"></span> <br />
Name: <input type="text" name="Name" /> <br />
Author: <input type="text" name="Author" /> <br />
Published Date: <input type="text" name="Pubdate" /> <br />
Subject: <input type="text" name="Subject" /> <br />
Publisher: <input type="text" name="Publisher" /> <br />
Price: <input type="text" name="Price" /> <br />
AddOn: <input type="text" name="AddOn" /> <br />
<input type="submit" name="submit" /> <br />
</form>
<div id="feedback">
<div id="yes_alter">
<p>数据修改成功</p>
<br/>
<table id="data">
<tr>
<th>BookID</th>
<th>Name</th>
<th>Author</th>
<th>Published Date</th>
<th>Subject</th>
<th>Publisher</th>
<th>Price</th>
<th>AddOn</th>
</tr>
<tr id="record">
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
</table>
</div>
<div id="no_alter">
<p>数据修改失败</p>
</div>
</div>
</div>
<div>
</div>
</div>
</div>
</div>
</body>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/alter.js"></script>
</html>