-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
34 lines (32 loc) · 999 Bytes
/
index.php
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
<?php include_once('header1.php');
if(isset($_SESSION['Username'])){
?>
<div class="post">
<h2 class="title"><a href="#">Welcome to Eklavya</a></h2>
<div style="clear: both;"> </div>
<div class="entry">
Welcome to Eklavya Enterprises' online shopping portal. Click the links on the Nav Bar at the top or the Side Bar to navigate. Feel free to contact us in case of any queries.
</div>
</div>
<?php }else{ ?>
<div class="post">
<h2 class="title"><a href="#">Login</a></h2>
<div style="clear: both;"> </div>
<div class="entry">
<form method="POST" action="dbentry.php">
<table id="login">
<tr>
<td>Login:</td>
<td><input type="text" name="Username" required></td>
</tr>
<tr>
<td>Password:</td>
<td><input type="password" name="Password" required> </td>
</tr>
</table>
<input type="submit" name="submit" value="Submit" class="more">
</form>
</div>
</div>
<?php } ?>
<?php include_once('footer.php'); ?>