summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/index.php b/index.php
new file mode 100644
index 0000000..e5d86bf
--- /dev/null
+++ b/index.php
@@ -0,0 +1,22 @@
+<?php
+require 'php/definitions.php'; # Variables and constants definition
+# Interact with variables in the execution environment
+require 'php/ws-procedures.php'; # website specific
+require 'php/vm-procedures.php'; # video management
+?>
+<!DOCTYPE html>
+<html lang="<?php echo $mdata[3] ?>">
+<head>
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
+ <link rel="stylesheet" type="text/css" href="/theme/body-wrapper.css"/>
+ <title><?php printf("%s - %s", $vdata[2], $mdata[0]) ?></title>
+</head>
+<body>
+ <div id="body-wrapper">
+ <div id="header"></div>
+ <div id="content-wrapper"><?php require 'divs/content-wrapper.php' ?></div>
+ <div id="sidebar"><?php require 'divs/sidebar.php' ?></div>
+ <div id="footer"><?php require 'divs/footer.php' ?></div>
+ </div>
+</body>
+</html>