id/views/profile.php

32 lines
481 B
PHP
Raw Normal View History

2024-06-28 21:41:35 +00:00
<?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>