Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ABC_Air_11727989/home.php
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
52 lines (47 sloc)
1.54 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 | |
// We need to use sessions, so you should always start sessions using the below code. | |
session_start(); | |
// If the user is not logged in redirect to the login page... | |
if (!isset($_SESSION['loggedin'])) { | |
header('Location: index.html'); | |
exit; | |
} | |
?> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>ABC</title> | |
<link href="style.css" rel="stylesheet" type="text/css"> | |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css"> | |
</head> | |
<body class="loggedin"> | |
<nav class="navtop"> | |
<div> | |
<h1>ABC Air</h1> | |
<a href="profile.php"><i class="fas fa-user-circle"></i>Profile</a> | |
<a href="logout.php"><i class="fas fa-sign-out-alt"></i>Logout</a> | |
</div> | |
</nav> | |
<div class="content"> | |
<h2>Home Page</h2> | |
</div> | |
<br> | |
<div style="text-align:center"> | |
<img src="air.jpg" style="width:35%; height:25%"> | |
</div> | |
<div class="content"> | |
<p>Welcome to ABC Air Official Website!<br><br>ABC Air is a small aircraft service company that carry out the aircraft maintenance for the civil operators. The | |
company records the total number of flying hours for each aircraft, servicing time, man-hours of the engineers | |
and related maintenance.</p> | |
</div> | |
<div class="content"> | |
<h2>List of Engineers</h2> | |
<p>Aeronautical Engineer ; ID : 100002 | |
<br>Aerospace Engineer ; ID : 100003 | |
<br>Astronautical Engineer ; ID : 100004 | |
<br>Avionics Engineer ; ID : 100005 | |
<br>Mechanical Engineer ; ID : 100006</p> | |
</div> | |
</body> | |
</html> |