-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
48 lines (40 loc) · 1.5 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php session_start(); ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Freedomchat</title>
<link rel="icon" href="img/eagle.ico" type="image/x-icon"/>
<!-- Bootstrap core CSS -->
<link href="/css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="/css/custom.css" rel="stylesheet">
<link href="/css/contacts.css" rel="stylesheet">
<link href="/css/chat.css" rel="stylesheet">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/tripledes.js"></script>
<script src="/js/script.js"></script>
<script src="/js/chat.js"></script>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="header">
<?php
$user = $_SESSION['user'];
if ($user != "") {
echo '
<ul class="nav nav-pills pull-right">
<li class="active"><a href="logout.php">Log Out</a></li>
</ul>';
}
?>
<a href="/"><img class="logo" src="img/logo.png" height="50px" alt="Freedom Chat" /></a>
</div>