-
Notifications
You must be signed in to change notification settings - Fork 0
/
frame_header.php
66 lines (60 loc) · 2.29 KB
/
frame_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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<title>Musico</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="assets/js/script.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.6/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"></script>
</head>
<body background="assets\images\backgrounds\home_bg.png">
<?php
require_once('sqlconnection.php');
require_once 'authentication.inc';
include("includes/classes/Playlist.php");
include("includes/classes/Track.php");
include("includes/classes/Artist.php");
include("includes/classes/User.php");
include("includes/classes/Album.php");
?>
<nav class="navbar navbar-expand-md bg-dark navbar-dark">
<a class="navbar-brand" href="index.php" title="Index page">Musico</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="collapsibleNavbar">
<ul class="navbar-nav">
<!-- <li class="nav-item">
<a class="nav-link" href="">Explore</a>
</li>
<li class="nav-item">
<a class="nav-link" href="">Account</a>
</li>-->
<?php
if(sessionAuthenticated()){?>
<li class="nav-item">
<a class="nav-link" href="user.php">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="foryou.php">For You</a>
</li>
<li class="nav-item">
<a class="nav-link" href="logout.php">Logout</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#"></a>
</li>
<form class="form-inline right" method = "Get" action="search.php">
<input class="form-control" type="text" name="keyword" placeholder="Search">
<button class="btn btn-success" type="submit">Search</button>
</form>
<?php
} ?>
</ul>
</div>
</nav>