-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauthentication_Page.php
More file actions
64 lines (52 loc) · 1.51 KB
/
Copy pathauthentication_Page.php
File metadata and controls
64 lines (52 loc) · 1.51 KB
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
<?php
require_once('PHP/login_session_functions.php');
starting_session();
?>
<html>
<?php require_once('PHP/search_functions.php');?>
<title>Authentication Page</title>
<link rel="stylesheet" href="style/index_style.css"/>
<body>
<div class="main_wrapper">
<!--Header -->
<div class="header">
<!--Login and Sign up Links -->
<div class="Account_header"> (Welcome <?php echo $_SESSION['my_user_name'];?> ) <a href="index.php" > Logout</a> </div>
<h1 id="title">UBooks </h1>
</div>
<!--End Header -->
<!-- Menu Bar -->
<hr>
<div class="menu_bar">
<ul id="menu">
<li><a href="authentication_Page.php">Home</a></li>
<li><a href="profile_Page.php">Profile</a></li>
<li><a href="history_Page.php">History</a></li>
<li><a href="sell_Page.php">Sell</a></li>
</ul>
<div id="form">
<form action="authentication_Page.php" method="post">
<select name="searchtype">
<option value="showAll">All</option>
<option value="author">Author</option>
<option value="title">Title</option>
<option value="isbn">ISBN</option>
</select>
<input name="searchterm" type="text">
<input type="submit" value="search">
</form>
</div>
</div>
<hr>
<!--List of Books-->
<div class="content_wrapper">
<div id="content_area">
<!--display database content-->
<?php seachProducts_Auth();?>
<!--END display database content-->
</div>
</div>
<div id="footer"></div>
</div>
</body>
</html>