-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathheader.php
More file actions
104 lines (89 loc) · 3.42 KB
/
header.php
File metadata and controls
104 lines (89 loc) · 3.42 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
94
95
96
97
98
99
100
101
102
103
104
<?php
require_once('initialize.php');
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles/main_style.css" type="text/css">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="styles/custom_nav.css" type="text/css">
<title>Synonyms</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<link href="https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.12/css/dataTables.bootstrap.min.css" rel="stylesheet"/>
<link rel="stylesheet" href="./mainStyleSheet.css">
</head>
<body class="body_background">
<div id="wrap">
<div id="nav">
<ul>
<a href="index.php">
<li class="horozontal-li-logo">
<img src ="./images/silcHeader.png">
<br/>Name in Synonyms</li>
</a>
<a href="play.php">
<li <?php if($nav_selected == "PLAY"){ echo 'class="current-page"'; } ?>>
<img src="./images/play.png">
<br/>Play</li>
</a>
<a href="submitPuzzle.php">
<li <?php if($nav_selected == "Submit Puzzle"){ echo 'class="current-page"'; } ?>>
<img src="./images/submit puzzle.png">
<br/>Submit Puzzle</li>
</a>
<a href="admin.php">
<li <?php if($nav_selected == "Admin"){ echo 'class="current-page"'; } ?>>
<img src="./images/Admin.png">
<br/>Admin</li>
</a>
<a href="about.php">
<li <?php if($nav_selected == "About"){ echo 'class="current-page"'; } ?>>
<img src="./images/About.png">
<br/>About</li>
</a>
<a href="login.php">
<li <?php if($nav_selected == "Login"){ echo 'class="current-page"'; } ?>>
<img src="./images/Login.png">
<br/>Login</li>
</a>
</ul>
<br />
</div>
<table style="width:1250px">
<tr>
<?php
if ($left_buttons == "YES") {
?>
<td style="width: 120px;" valign="top">
<?php
if ($nav_selected == "PLAY") {
include("./index.php");
} elseif ($nav_selected == "Submit Puzzle") {
include("./left_menu_list.php");
} elseif ($nav_selected == "Admin") {
include("./left_menu_admin.php");
} elseif ($nav_selected == "About") {
include("./left_menu_about.php");
} elseif ($nav_selected == "LOGIN") {
include("./login.php");
} else {
include("./left_menu.php");
}
?>
</td>
<td style="width: 1100px;" valign="top">
<?php
} else {
?>
<td style="width: 100%;" valign="top">
<?php
}
?>