You are on page 1of 10

online book project Different files 1.Main.

html <html> <head> <title> BOOKSTORE</title> </head> <body bgcolor="cyan"> <center> <strong><h1>Welcome to book store</h1></strong> <form method="post" action="admin.html" target=_blank > <h4>ADMIN LOGIN </h4><input type="submit" value="click here"> </form> <form method="post" action="login.html" target=_blank > <h4>USER LOGIN </h4><input type="submit" value="click here"> </form> </center> </body> </html>

2.Login.html <html> <head> <title> login page</title> </head> <body bgcolor="cyan"> <center> <strong><h1> BOOKSTORE </h1></strong></center> <right> <table align="center" border="0"> <tr> <form method="post" action="catalog.html" > <td><h4>User name:</td> <td><input type="text" ></td> <td></td> </tr> <tr> <td><h4>Password:</td> <td><input type="password"></td> <td></td> </tr> <tr> <td> </td> <td><input type="submit" value="Submit" ><input type="reset" value="Reset"></td> </form> </td> <td> </td> </tr> </table>

<table align="center" border="0"> <tr><td>For registration Click Here</td></tr> <tr> <td> <form method="post" action="userpro.html"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="submit" value="Register" > </form> </td></tr> </table></body></html>

3.abc.html <html> <body> <form method="post" action="add.html" > <b>click to add books <br> </b><input type="submit" value="add"> </form> <form method="post" action="delete.html" > <b>click to delete books <br> </b><input type="submit" value="delete"> </form> <form method="post" action="add1.html" > <b>click to add members <br> </b><input type="submit" value="add"> </form> <form method="post" action="delete1.html"> <b>click to delete members <br> </b><input type="submit" value="delete"> </form> <form method="post" action="add2.html" > <b>click to add category <br> </b><input type="submit" value="add"> </form> <form method="post" action="delete2.html" > <b>click to delete category <br> </b><input type="submit" value="detete"> </form> <form method="post" action="main.html" > <b>click to logout <br> </b><input type="submit" value="logout"> </form> <body> </html>

4.add.html

<html> <head> <title>addbook</title> <script> function al() {alert("book added"); } </script> </head> <body> <form> book name:<input type="text" name="bookname"> <input type="submit" value="submit" onclick="al()"> </form> <form method="post" action="abc.html" > <input type="submit" value="back" > </form> </body> </html> 5.add1.html <html> <head> <title>addmem</title> <script> function al() {alert("mem added") } </script> </head> <body> <form> <input type="text" name="mem name"> mem name:<input type="submit" value="submit" onclick="al()"> </form> <form method="post" action="abc.html" > <input type="submit" value="back" > </form> </body> </html> 6.add2.html <html> <head> <title>addcat</title> <script> function al() {alert("cat added") } </script> </head> <body> <form> <input type="text" name="mem name">

add cat:<input type="submit" value="submit" onclick="al()"> </form> <form method="post" action="abc.html" > <input type="submit" value="back" > </form> </body> </html>

7.admin.html <html> <head> <title> login page</title> </head> <body bgcolor="cyan"> <center> <strong><h1> BOOKSTORE </h1></strong></center> <right> <table align="center" border="0"> <tr> <form method="post" action="abc.html" > <td><h4>User name:</td> <td><input type="text" ></td> <td></td> </tr> <tr> <td><h4>Password:</td> <td><input type="password"></td> <td></td> </tr> <tr> <td> </td> <td><input type="submit" value="Submit" ><input type="reset" value="Reset"></td> </form> </td> <td> </td> </tr> </table> </body> </html> 8.Catalog.html <html> <head> <title> books catalog</title> </head> <body bgcolor="cyan"> <center><h1>BOOKSTORE</h1></center> <form method="post" action="shopping.html"> <left> <table> <tr> <td><b><h3>Computer programming books</td>

<td></td></tr> <tr> <td></td> <td><h4>C&Ds</td> </tr> <tr> <td></td> <td><h4>Ads</td> </tr> <tr> <td></td> <td><h4>JAVA </td></tr> <tr> <td><b><h3>Database books</td> <td></td> </tr> <tr> <td></td> <td><h4>Oracle</td> </tr> <tr> <td></td> <td><h4>Ms SQL Server </td></tr> <tr> <td></td> <td><h4>MySql </td> </tr> </table> </h4> <center> <b>To buy one of these books <br> </b><input type="submit" value="click here"> </center> </form> <form method="post" action="main.html" > <b>click to logout <br> </b><input type="submit" value="logout"> </form> </body> </html>

9.Catalog1.html <html> <head> <title> books catalog</title> </head> <body bgcolor="cyan"> <center><h1>BOOKSTORE</h1></center> <left> <table> <tr>

<td><b><h3>Computer programming books</td> <td></td></tr> <tr> <td></td> <td><h4>C&Ds</td> </tr> <tr> <td></td> <td><h4>Ads</td> </tr> <tr> <td></td> <td><h4>JAVA </td></tr> <tr> <td><b><h3>Database books</td> <td></td> </tr> <tr> <td></td> <td><h4>Oracle</td> </tr> <tr> <td></td> <td><h4>Ms SQL Server </td></tr> <tr> <td></td> <td><h4>MySql </td> </tr> </table> </h4> <center> <form method="post" action="add.html" > <b>click to add books <br> </b><input type="submit" value="add"> </form> <form method="post" action="delete.html" > <b>click to delete books <br> </b><input type="submit" value="delete"> </center> </form> </body> </html>

10.delete.html <html> <head> <title>deletebook</title> <script> function al() {alert("book deleted") } </script> </head>

<body> <form> <input type="text" name="bookname"> book name:<input type="submit" value="submit" onclick="al()"> </form> <form method="post" action="abc.html" > <input type="submit" value="back" > </form> </body> </html>

11.delete1.html <html> <head> <title>deletemem</title> <script> function al() {alert("mem delete") } </script> </head> <body> <form> <input type="text" name="mem name"> mem name:<input type="submit" value="submit" onclick="al()"> </form> <form method="post" action="abc.html" > <input type="submit" value="back" > </form> </body> </html> 12.delete2.html <html> <head> <title>deletecat</title> <script> function al() {alert("cat delete") } </script> </head> <body> <form> <input type="text" name="cat name"> <input type="submit" value="submit" onclick="al()"> </form> <form method="post" action="abc.html" > <input type="submit" value="back" > </form> </body>

</html>

13. Ordrconform.html <html> <head><title>order conformation</title></head> <body bgcolor="cyan"> <center> Your order Is Conformed <h2><b>THANK YOU</h2> </center> <form method="post" action="main.html" > <b>click to logout <br> </b><input type="submit" value="logout"> </form> </body></html>

14.Payment.html <html> <head><title>payment</title></head> <body bgcolor="cyan"> <center><h1>Payment By Credit Card</h1></center> <form method=post action="ordrconform.html"> <br><br><br><br><br> <table align="center"> <tr> <td>Total Amount:</td> <td><input type="text" name="amount"> </td> </tr> <tr> <td>Credit Card Number:</td> <td><input type="text" name="ccno"></td> </tr> <tr> <td>Cvv Code:</td> <td><input type="text" name="ccno"> </td> </tr> <tr> <td></td> <td><input type="submit" value="Submit"> </td></form> <td></td><td> <form method="post" action="shopping.html" > <input type="submit" value="back" ></td> </form> </tr> </table> </body> </html>

15.Shopping.html

<html> <head><title>shopping cart</title> </head> <body bgcolor="cyan"> <center><h1> Shopping Cart</h1></center> <br><br><br><br><br> <table align="center"> <tr> <td>Text Books</td> <td> <select > <opt group label="select the book"> <option value="C&DS">C&DS <option value="ADS">ADS <option value="Java">JAVA <option value="Oracle">ORACLE <option value="Ms SQL Server">Ms SQL Server <option value="MySql">MySql </optgroup> </select> </td></tr> <tr> <td> Quantity</td> <td> <input type="text" id="q"> </td></tr> <tr> <td></td> <td> <form method=post action="payment.html"> <input type="submit" value=ok /> </form> </td></tr> <td></td> <td> <form method=post action="catalog.html"> <input type="submit" value="back"> </form> </table> <center> <pre>Cost of one book = 500.00 <br> shipping is = 100.00</pre> </center> </body> </html> 16Userpro.html <html> <head> <title> login page</title> </head> <body bgcolor="cyan"> <center><strong><h1> BOOKSTORE </h1></strong></center> <center><strong><h2> USER PROFILE</h2></strong></center> <form method="post" action="catalog.html" >

<right> <table align="CENTER"> <tr> <td>Username:</td> <td><input type="text" name="name1"></td> </tr> <tr> <td>Password:</td> <td><input type="password" name="pass1"></td> </tr> <tr> <td>Confirm Password:</td> <td><input type="password" name="pass2"></td> </tr> <tr> <td>Gender: </td><td> Male:<input type="radio" name="sex" id="male">Female: <input type="radio" name="sex" id="female" ></td> </tr> <tr> <td>Address:</td> <td><textarea name="address" rows=5 cols=19> </textarea> </td> <tr><td></td> <td> <input type="submit" value="submit" > <input type="reset" value="reset"></td> </tr> </form></body></html> Start with main.html and open in browser

You might also like