forked from codewithnick/facebook-by-nick-v-1.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
34 lines (34 loc) · 1009 Bytes
/
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
<?php
session_start();
?>
<div class="headermenu">
<div id ='wrapper'>
<div class="logo">
<img src="Addmie.png">
</div>
<div class="title"> Addmie</div>
<div class="search_box">
<form action="search.php" method="GET" id= "search">
<input type="text" name="q" size="60" placeholder="search">
<div id='search_font'><input type='button' name="search_submit" placeholder="search_submit"/></div>
</form>
</div>
<div>
<?php
if(isset($_SESSION['user_login'])){
echo
'
<div id="wrapper" style="width:auto;">
<ul>
<li><a href="home.php"><div style="font-size:18px;">home</div></a></li>
<li><a href="profile.php"><div style="font-size:18px;">profile</div></a></li>
<li><a href="logout.php"><div style="font-size:18px;">logout</div></a></li>
<li><a href="settings.php"><div style="font-size:18px;">settings</div></a></li>
</ul>
</div>
';
}
?>
</div>
</div>
</div>