/
userprofile.php
34 lines (32 loc) · 960 Bytes
/
userprofile.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
<!DOCTYPE html>
<html>
<head>
<title>User profile</title>
<?php
include_once 'view.php';
include_once 'head.php';
?>
</head>
<body>
<?php include_once 'header.php'; ?>
<?php include_once 'menu.php'; ?>
<div id="main">
<div class="container">
<div class="news">
<div class="box">
<?php if(isset($_GET['id'])){ ?>
<h1>User profile</h1>
<?php
printUserProfile($_GET['id']);
} ?>
</div>
</div>
<div class="sidebar">
<?php include_once 'userbox.php'; ?>
<?php include_once 'commentsbox.php'; ?>
</div>
</div>
</div>
<?php include_once 'footer.php'; ?>
</body>
</html>