You are not logged in!!!"; } else { //********** BEGIN CONTENT **********// $query = "SELECT users.id, users.password, users.created, users.username, users.firstname, users.lastname, users.email, usertypes.typename AS usertype FROM users, usertypes WHERE users.id = :id"; $stmt = $sql->prepare($query); $stmt->execute(array(':id' => $_SESSION['user_id'])); $user = $stmt->fetchObject(); ?>
You may make changes to your user profile below if you wish. Updates will take effect immediately on pressing "Save".
"; //********** END CONTENT **********// } require_once($yaptc_inc . "footer.inc.php"); ?>