forked from Ashishkumaraswamy/socialnetwork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
navigation.php
57 lines (51 loc) · 1.84 KB
/
navigation.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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="css/navigation.css">
<link rel="icon" type="image/png" href="images/logoicon.ico"/>
<script src='https://kit.fontawesome.com/a076d05399.js'></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
<body><div class="navigation" style="background-color: #202020;">
<div class="logo">
<a class="no-underline" href="mainpage.php">
<img src="images/name.png" alt="IMG" style="width:120px;height:45px;">
</a>
</div>
<div class="navigation-search-container" style="width: 500px; margin-bottom: 13px">
<i class="fa fa-search" id="searchicon"></i>
<input class="search-field" type="text" placeholder="Search" id="searchinput" style="width: 500px" autocomplete="off">
<div class="search-container">
<div class="search-container-box">
<div class="search-results" id="searchlist" style="margin-top: 20px; margin-bottom: 20px">
</div>
</div>
</div>
</div>
<div class="navigation-icons">
<?php
echo'<a href="posting.php?user_id='. $_SESSION['unique_id'] .'" class="navigation-link">
<i class="fas fa-plus"></i>
</a>';
?>
<a href="news.php" class="navigation-link">
<i class="fa fa-compass"></i>
</a>
<?php
echo'<a href="chat.php?user_id='. $_SESSION['unique_id'] .'" class="navigation-link">
<i class="fa fa-paper-plane"></i>
</a>';
?>
<?php
echo '<a href="user.php?user_id='. $_SESSION['unique_id'] .'" class="navigation-link">
<i class="fa fa-user-circle"></i>
</a>';
?>
<a href="" class="navigation-link">
<i class="fa fa-sign-out-alt"></i>
</a>
</div>
</div>
</body>
<script type="text/javascript" src="javascript/navigation.js"></script>
</html>