Project structure:
The project consists mainly of several ASP files and a database:
Book.mdb: Storing the contents of a database
Index.asp: The main document of the website, most of the content is displayed by it
Buy.asp: The content of shopping blue
In.asp: For logon use
Registry.asp: Make you a member of our
Database (Book.mdb):
The first table is book, which stores some of the relevant information about the bibliography, structured as follows:
Id
Integral type
The serial number of the book
Name
Character
The name of the book
Author
Character
Author
Brief
Character
Brief introduction
Ifcover
Integral type
Whether home display
Price
Double precision
Price
Publisher
Character
Press
Cover
Character
The path to the picture of the cover
Flag
Integral type
Sign
The second table is info, which is used to store members ' information, structured as follows:
Id
Character
Member Login number
Name
Character
Member name
Pwd
Character
Login Password
Email
Character
Address
Character
Address
Phone
Character
Phone
Post
Character
Zip
Sfz
Character
ID number
The third table is class, which is used to store categories of bibliographies, which are structured as follows:
Id
Character
Number
Name
Character
Category
Contents of several ASP files:
Index.asp
<!--
Divided into three TD, the most important one in the middle, most of the operation is to the middle one.
-->
<%@ Language=vbscript%>
<script language=javascript>
function Openwindow (num) {
window.open ("info.asp?key=" + num, "Yu", 0,0)
}
</script>
<script language=javascript>
function Buy (name) {
window.open ("buy.asp?name=" + Name, "Yu", 0,0)
}
</script>
<script language=javascript>
function ViewPage (ipage) {
Document. Page.txtpage.value=ipage
Document. Page.submit ()
}
</script>
<HTML>
<HEAD>
<title> Online Bookstore </title>
<meta name= "generator" content= "Microsoft Visual Studio 6.0" >
<P> for you to get a more favorable price, please apply to be our member and login here. </P>
<p> Payment Method: The use of the post office or door-to-door method.
</p></TD></TR></TBODY></TABLE></P>
<p Align=center><font size=2 color=blue> This site contains text and pictures copyright Attribution Evou
All, without permission, shall not be transcribed <br> Yevou </font></p>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.