37 lines
628 B
PHP
37 lines
628 B
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<?php
|
|
include("../views/head.php");
|
|
$_SESSION["userID"] = 2;
|
|
include_once("../queries/connect.php");
|
|
include_once("../queries/settings.php");
|
|
?>
|
|
<style>
|
|
@import url("styles/settings.css");
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<?php
|
|
/*
|
|
* This view adds the main layout over the screen.
|
|
* Header and menu.
|
|
*/
|
|
|
|
include("../views/main.php");
|
|
|
|
if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
|
updateSettings();
|
|
}?>
|
|
|
|
<?php
|
|
/* Add your view files here. */
|
|
include("../views/settings-view.php");
|
|
|
|
/* This adds the footer. */
|
|
include("../views/footer.php");
|
|
|
|
?>
|
|
</body>
|
|
</html>
|