This repository was archived by the owner on Mar 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
99 lines (74 loc) · 2.56 KB
/
header.php
File metadata and controls
99 lines (74 loc) · 2.56 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
<?php
ob_start();
session_start();
include 'connect.php';
if(isset($_SESSION['Username']))
{
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>STS</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Loading Bootstrap -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/bootstrap-theme.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/messenger-theme-flat.css" rel="stylesheet">
<link href="css/messenger.css" rel="stylesheet">
<link href="css/datepicker.css" rel="stylesheet">
<link href="css/star-rating.css" media="all" rel="stylesheet" type="text/css"/>
<!-- <link href="css/desktop.css" rel="stylesheet" media="(min-width: 1200px)" />-->
<script src="js/jquery.js"></script>
<script src="js/star-rating.js" type="text/javascript"></script>
<script src="js/Chart.js"></script>
<script src="js/bootstrap-datepicker.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/pagination.js"></script>
<script src="js/miniNotification.js"></script>
<script src="js/jquery.form.js"></script>
<script src="js/messenger.min.js"></script>
<script type="text/javascript">
Messenger.options = {
extraClasses: 'messenger-fixed messenger-on-top messenger-on-center',
theme: 'ice'
}
</script>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div id="notification">
<p>The ticket has been successfully created</p>
</div>
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<a class="navbar-brand" href="index.php">Support Tickets System</a>
</div>
<form class="navbar-form navbar-left" role="search">
<div class="form-group">
<input type="text" class="form-control" placeholder="Search">
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>
<?
$eng_info = mysql_query("select * from users where Username = '".$_SESSION['Username']."'");
$row13dsa33 = mysql_fetch_array($eng_info);
?>
<p class="navbar-text navbar-right">Signed in as <strong> <a href="<? echo 'profile.php?id=' . $row13dsa33['id'] . ''; ?>"><? echo $_SESSION['Username']; ?></a> </strong>, <a href="logout.php">logout</a></p>
</div><!-- /.container-fluid -->
</nav>
<?
}
else
{
// Not logged in
header('Location: login.php');
exit();
}
?>