summaryrefslogtreecommitdiff
path: root/manage.php
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2008-02-03 23:23:24 +0000
committerNathan Kinkade <nath@nkinka.de>2008-02-03 23:23:24 +0000
commitd895b852a6e160496ffc760d46d3719a3d62ff86 (patch)
tree52230bb04148197e8312e09b5c5273417e7a3be9 /manage.php
Initial checkin of nutridb.org and basic subversion directory structure
Diffstat (limited to 'manage.php')
-rw-r--r--manage.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/manage.php b/manage.php
new file mode 100644
index 0000000..17fc443
--- /dev/null
+++ b/manage.php
@@ -0,0 +1,21 @@
+<?php
+
+# include the main site config where various global variables
+# and libraries are included
+include("config.php");
+
+# the user must be logged in to access this script. if they are
+# not then this function will send them back to the index page
+loginRequired();
+
+# grab the various parts. these sections are not printed to the screen
+# but rather dumped into smarty variables that will simply be printed
+# in the template, so the order doesn't matter here at the moment
+include("header.php");
+include("sidebar_left.php");
+include("sidebar_right.php");
+include("footer.php");
+
+$smarty->display("manage.tpl");
+
+?>