-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuser.php
39 lines (34 loc) · 1.12 KB
/
user.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
35
36
37
38
39
<?php
include_once("include/functions.php");
include_once("include/config.php");
include_once("include/header_footer.php");
include_once("include/phpBB.php");
?>
<html>
<head>
<meta charset="utf-8" />
<title>Un projet de malade - <?php echo($user->data['username']); ?></title>
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="icon" type="image/x-icon" href="favicon.ico" />
</head>
<body>
<?php add_header(); ?>
<section id="main">
<?php
if(!$user->data['is_registered']) include('include/not_registered.php');
else {
secure_get();
$current_page = 'user.php';
print_sort_form($current_page, $current_url, $sort_array);
print_user_annonces($current_page, $current_url, $sort_array);
//Si on veut afficher les commentaires
if ($current_url['annonce'] != 0 && $current_url['comments'] == 'true')
print_comments_annonce($current_page, $current_url, $sort_array);
} ?>
</section>
<?php add_footer(); ?>
<script src="js/jquery-ui.min.js"></script>
<script src="js/functions.js"></script>
</body>
</html>