blob: 8685fcfe6810650440ae40d467b7779169753271 (
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
|
<?php
include_once 'includes/db_inc.php';
include_once 'model/User.php';
session_start();
$current = new User();
if (!isset($_GET['name'])) {
} else {
$current->get_by_name($_GET['name'], $dbc);
}
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo $current->name; ?>'s Profile - cflip.net forum</title>
</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>
|