Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
63 lines (60 sloc)
1.95 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
session_start(); | |
?> | |
<html> | |
<head> | |
<title> | |
Welcome to ABC Airlines | |
</title> | |
<link rel="stylesheet" type="text/css" href="css/style.css"/> | |
<link rel="stylesheet" href="font-awesome-4.7.0\css\font-awesome.min.css"> | |
</head> | |
<body> | |
<img class="logo" src="images/irctc.jpg"/> | |
<h1 id="title"> | |
ABC Aircraft Maintenance | |
</h1> | |
<div> | |
<ul> | |
<li><a href="home_page.php"><i class="fa fa-home" aria-hidden="true"></i> Home</a></li> | |
<li> | |
<?php | |
if(isset($_SESSION['login_user'])&&$_SESSION['user_type']=='Administrator') | |
{ | |
echo "<a href=\"admin_ticket_message.php\"><i class=\"fa fa-ticket\" aria-hidden=\"true\"></i> Schedule Maintenance</a>"; | |
} | |
else | |
{ | |
echo "<a href=\"login_page.php\"><i class=\"fa fa-ticket\" aria-hidden=\"true\"></i> Schedule Maintenance</a>"; | |
} | |
?> | |
</li> | |
<li><a href="home_page.php"><i class="fa fa-plane" aria-hidden="true"></i> About Us</a></li> | |
<li><a href="home_page.php"><i class="fa fa-phone" aria-hidden="true"></i> Contact Us</a></li> | |
<li> | |
<?php | |
if(isset($_SESSION['login_user'])&&$_SESSION['user_type']=='Customer') | |
{ | |
echo "<a href=\"customer_homepage.php\"><i class=\"fa fa-sign-in\" aria-hidden=\"true\"></i> Login</a>"; | |
} | |
else if(isset($_SESSION['login_user'])&&$_SESSION['user_type']=='Administrator') | |
{ | |
echo "<a href=\"admin_homepage.php\"><i class=\"fa fa-sign-in\" aria-hidden=\"true\"></i> Login</a>"; | |
} | |
else | |
{ | |
echo "<a href=\"login_page.php\"><i class=\"fa fa-sign-in\" aria-hidden=\"true\"></i> Login</a>"; | |
} | |
?> | |
</li> | |
</ul> | |
</div> | |
<div class="container"> | |
<div class="welcome_text">ABC Aircraft Maintenance !</div> | |
<img src="images/maxx.jpg" width=50%> | |
</div> | |
<!--check out addling local host in links and other places | |
shift login/logout buttons to right side | |
--> | |
</body> | |
</html> |