Files
WebDB/website/views/header.php
Lars van Hijfte e71054c654 Merge branch 'joey-testing' into 'master'
Fixed login/register and added logout.php

See merge request !68
2017-01-19 13:37:56 +01:00

37 lines
1.4 KiB
PHP

<?php
include_once ("../queries/header.php");
$userinfo = getHeaderInfo();
?>
<header>
<div id="header-logo">
<a href="profile.php"><img src="img/top-logo.png" alt="MyHyvesbook+" /></a>
</div>
<div id="header-search">
<form action="search.php" method="get">
<input name="search"
type="text"
placeholder="Zoek naar wat je wil"
required
/>
<input type="submit"
value="Zoek"/>
</form>
</div>
<div class="right profile-menu">
<div id="profile-menu-popup">
<a href="logout.php"><span style="color: red;" class="fa fa-sign-out" data-title="Uitloggen"></span></a> |
<a href="settings.php"><span style="color: blue;" class="fa fa-cog" data-title="Instellingen"></span></a> |
<a href="profile.php"><span style="color: green;" class="fa fa-user" data-title="Profiel"></span></a>
</div>
<div id="profile-hello-popup">
<div id="hello-loop">
Hallo
</div>
<?=$userinfo["fname"]?> <?=$userinfo["lname"]?>
</div>
<img id="own-profile-picture" class="profile-picture" src="<?=$userinfo["profilepicture"]?>"/>
</div>
<a href="chat.php"><div class="right fa fa-comments-o" id="open-chat" data-title="Prive chats"></div></a>
</header>