blob: c43a700a92cb69df5eb59b27878a44a6348c1c1c (
plain)
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
include_once 'includes/db_inc.php';
include_once 'model/User.php';
session_start();
$current = new User();
if (!isset($_GET['id'])) {
} else {
$current->get_by_id($_GET['id'], $dbc);
}
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo $current->name; ?>'s Profile - cflip.net forum</title>
<link rel="stylesheet" href="styles/style.css">
</head>
<body>
<?php include_once "templates/header.php" ?>
<h1><?php echo $current->name; ?></h1>
member since <?php echo date('M d, Y', strtotime($current->date)); ?>
</body>
</html>
|