id/views/profile.php
2024-06-28 22:41:35 +01:00

32 lines
481 B
PHP

<?php
//global $user;
if (is_null($user)) {
$error = true;
$error_body = "Not logged in.";
}
?>
<!doctype html>
<html lang="en">
<head>
<?php include "partials/head.php" ?>
</head>
<body>
<?php include "partials/header.php" ?>
<?php
if ($error) {
include 'partials/error.php';
include 'partials/footer.php';
exit();
}
?>
<p><?= $profile_owner['id'] ?></p>
<?php include 'partials/footer.php' ?>
</body>
</html>