Files
WebDB/website/views/header.php
Lars van Hijfte b206d243b9 Validator fixes
Changes chat, profile and settings pages so it is compatible with the validator of w3
2017-02-02 18:17:58 +01:00

33 lines
1006 B
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"
/>
<button type="submit">
<i class="fa fa-search"></i>
</button>
</form>
</div>
<div class="right profile-menu">
<div id="profile-hello-popup">
<div id="hello-loop">
Hallo
</div>
<?= $userinfo["fname"] ?>
</div>
<img alt="<?= $userinfo["lname"] ?>" id="own-profile-picture" class="profile-picture" src="<?=$userinfo["profilepicture"]?>"/><i id="open-notifications" class="fa fa-bars"></i>
</div>
</header>
<?php include("notification-center.php"); ?>