-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHome.php
53 lines (48 loc) · 2.22 KB
/
Home.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
session_start();
?>
<!DOCTYPE >
<html >
<head>
<link rel="stylesheet" type="text/css" href="style.css" />
<title>BirdLogger | Bird database</title>
</head>
<body>
<div id="container">
<div id="mainpic">
<h1>BirdLogger</h1>
<h2>The best bird database</h2>
<?php if (isset($_SESSION["loggedin"])) : ?>
<h3> <b><?php echo htmlspecialchars($_SESSION["username"]); ?></b></h3>
<?php endif ?>
</div>
<div id="menu">
<ul>
<li class="menuitem"><a href="Home.php">Home</a></li>
<li class="menuitem"><a href="BirdTool.php">Search</a></li>
<li class="menuitem"><a href="LogBook.php">LogBook</a></li>
<li class="menuitem"><a href="Contact.php">Contact</a></li>
<?php if (!isset($_SESSION["loggedin"])) : ?>
<li class="menuitem"><a href="login.php">Login</a></li>
<?php endif ?>
<?php if (isset($_SESSION["loggedin"])) : ?>
<li class="menuitem"> <a href="logout.php">Logout</a> </li>
<?php endif ?>
</ul>
</div>
<div id="content">
<h2>Welcome to The BirdLogger Website!</h2>
<h3>Powered by Green Kingfisher Inc.</h3>
<p> </p>
<h3>How to Use</h3>
<p>Our site is an all-in-one tool to identify, and log birds you find in the wild! With a database of nearly one thousand North American birds, the possibilities for birding enthusiasts are endless. Search for birds by name on our Search page, and discover all kinds of neat information about them like their habitat and feeding habits. Even listen to their unique bird calls!</p>
<p> </p>
<h3>Your Own Account</h3>
<p>Create an account and log-in to have access to your very own logbook, where you can add sightings of birds you spot in the wild. Keep tally of how many birds of each species you see in your birding ventures.</p>
<p> </p>
<p> </p>
<p> </p>
</div>
</div>
</body>
</html>