forked from aemunahmar/DBProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
93 lines (85 loc) · 3.92 KB
/
index.html
File metadata and controls
93 lines (85 loc) · 3.92 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Welcome to Vehicle Dealership">
<link rel="icon" type="image/png" href="images/caricon.png">
<title>Welcome to Vehicle Dealership</title>
<link rel="stylesheet" type=text/css href="styles/main.css">
</head>
<body>
<?php session_start(); ?>
<header>
<div id="logo"><a><img src="images/logo.png"></a></div>
<nav>
<ul>
<?php
if(isset($_SESSION['customer']))
{
echo '<li><a href="logout.php">Logout</a></li>';
echo '<li><a href="custAccount.html" style=text-decoration:none;>Welcome ' . $_SESSION['fname'] . '</a></li>';
} else if(isset($_SESSION['wsmanager']) || isset($_SESSION['ldmanager1']) || isset($_SESSION['ldmanager2']) || isset($_SESSION['salesrep1']) || isset($_SESSION['salesrep2']))
{
echo '<li><a href="logout.php">Logout</a></li>';
echo '<li><a href="empAccount.html" style=text-decoration:none;>Welcome ' . $_SESSION['fname'] . '</a></li>';
} else
{
echo '<li>';
echo '<a style=color:red;>Sign In</a>';
echo '<ul class="dropdown">';
echo '<li><a href="signIn.html">Customers</a></li>';
echo '<li><a href="empSignin.html">Employees</a></li>';
echo '</ul>';
echo '</li>';
echo '<li><a href="registerPage.html">Register</a></li>';
}
?>
<li><a>|</a></li>
<li><a href="contactUs.html">Contact Us</a></li>
<li><a href="tabVehicles.html">Vehicles</a></li>
<li><a href="tabPackages.html">Packages</a></li>
<li><a href="tabRebates.html">Rebates</a></li>
<li id="current-page"><a href="index.html">Home</a></li>
</ul>
</nav>
<section>
<div>
<img class="center-top" src="images/dealership2.jpg" style="display: block; width: 100%; height: 500px; border-top: red 6px solid;">
</div>
</section>
</header>
<section id="searchbar">
<div class="section">
<h1 id="header">Search New Inventory</h1>
<form id="form">
<input type="search" placeholder="Type Search Here">
<button type="submit" id="button">Search</button>
</form>
</div>
</section>
<section id="mainpageContent">
<div class="section">
<div class="content">
<h2>Explore Vehicles</h2>
<img src="images/searchVehicle.png" style="width: 110px; height: 100px;">
<p>Check out some of our vehicles including: cars, minivans, trucks, SUVs, hybrids, and more</p>
</div>
<div class="content">
<h2>Find a Dealer</h2>
<img src="images/locateDealer.jpeg" style="width: 90px; height: 100px;">
<p>Find you local dealer to select your ideal vehicle in our company to help you explore our vehicles.</p>
</div>
<div class="content">
<h2>Buy Your Vehicle</h2>
<img src="images/buyCar.png" style="width: 130px; height: 100px;">
<p>Work with our representative to purchase your ideal vehicle and process a affordable payment method</p>
</div>
</div>
</section>
<footer>
<h3>All Rights Reserved, Copyright © 2020</h3>
</footer>
</body>
</html>