-
Notifications
You must be signed in to change notification settings - Fork 0
/
head.php
25 lines (24 loc) · 851 Bytes
/
head.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
<?php
header("Content-Type:text/html;charset=utf-8");
include_once 'includes/UserInformation.php';
$email = $_SESSION['email'];
$userinfo = new UserInformation();
$userinfo -> setEmail($email);
$userinfo -> selectInfo();
$username = $userinfo -> getUsername();
?>
<html>
<head>
<title>to-do-list</title>
</head>
<body>
<div align="center">
<table width="1000">
<tr><td align="right" width="100%">Hellow <b><?php echo "$username"?></b> ! <a href="logout.php">log out</a></td></tr>
<tr><td><hr color="lightblue"></td></tr>
<tr><td height="35" valign="middle"><a href="home.php">Home</a> | <a href="inbox.php">Inbox</a> | <a href="calendar.php">Calendar</a> | <a href="map.php">Map</a> | <a href="modify.php">Modify</a></td></tr>
<tr><td><hr color="lightblue"></td></tr>
</table>
</div>
</body>
</html>