This repository has been archived by the owner on Jan 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
32 lines (32 loc) · 1.71 KB
/
header.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
<!DOCTYPE html>
<html>
<head>
<title>Project Telecine</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
<link href="http://fonts.googleapis.com/css?family=Alegreya+SC:400" rel="stylesheet" type="text/css">
<link type="text/css" rel="stylesheet" href="styles/normalize.css" />
<link type="text/css" rel="stylesheet" media="screen" href="styles/main.css" />
<script type="text/javascript" src="js/modernizr.min.js"></script>
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</head>
<body>
<div id="container">
<header>
<h1>Project Telecine</h1>
<h2>Film to Video on the cheap</h2>
</header>
<nav>
<ul>
<?php
$class = ' selected';
$page = $_SERVER["PHP_SELF"];
?>
<li class="index<?php echo(preg_match('/index.php/i', $page) ? $class : '') ?>"><a href="index.php">Introduction</a></li>
<li class="operation<?php echo(preg_match('/operation.php/i', $page) ? $class : '') ?>"><a href="operation.php">Operation</a></li>
<li class="application<?php echo(preg_match('/application.php/i', $page) ? $class : '') ?>"><a href="application.php">Application</a></li>
<li class="problems<?php echo(preg_match('/problems.php/i', $page) ? $class : '') ?>"><a href="problems.php">Problems</a></li>
<li class="conclusion<?php echo(preg_match('/conclusion.php/i', $page) ? $class : '') ?>"><a href="conclusion.php">Conclusion</a></li>
</ul>
</nav>