From 857ecf0581857ccf8d05209c5f77983f47ef3117 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 15 Aug 2008 14:48:35 +0000 Subject: Central: Created user panel index Refs #25 and #35 --- central/trunk/theme/index.tpl | 33 +++++++++++++++++---------------- central/trunk/theme/userpanel.tpl | 26 ++++++++++++++++++++++++++ central/trunk/userpanel.php | 18 ++++++++++++++++++ 3 files changed, 61 insertions(+), 16 deletions(-) create mode 100644 central/trunk/theme/userpanel.tpl create mode 100644 central/trunk/userpanel.php diff --git a/central/trunk/theme/index.tpl b/central/trunk/theme/index.tpl index 789928b..54c58c7 100644 --- a/central/trunk/theme/index.tpl +++ b/central/trunk/theme/index.tpl @@ -1,19 +1,20 @@ - - <!--SITENAME--> InstaDisc Central Server - - -
-

InstaDisc

+ + <!--SITENAME--> InstaDisc Central Server + -

Welcome to 's InstaDisc Central Server! -

InstaDisc is a wonderful productivity-increasing notification program. For more information about the project itself, see - its project site.

An InstaDisc "Central Server" is where you can - register for the InstaDisc service. There are many Central Servers around the world, you generally pick the one that is - closest to you. If you would like to choose 's, why not register now? -

Register -
Login -
Activation page -

- + +
+

InstaDisc

+ +

Welcome to 's InstaDisc Central Server! +

InstaDisc is a wonderful productivity-increasing notification program. For more information about the project itself, see + its project site.

An InstaDisc "Central Server" is where you can + register for the InstaDisc service. There are many Central Servers around the world, you generally pick the one that is + closest to you. If you would like to choose 's, why not register now? +

Register +
Login +
Activation page +

+ diff --git a/central/trunk/theme/userpanel.tpl b/central/trunk/theme/userpanel.tpl new file mode 100644 index 0000000..63be6f1 --- /dev/null +++ b/central/trunk/theme/userpanel.tpl @@ -0,0 +1,26 @@ + + + <!--SITENAME--> InstaDisc Central Server + + + +
+

InstaDisc

+ +

Welcome to your user panel. Here are the things you can do: + +

+ +

If you own a subscription and wish to have this Central Server sponser it, you can use the options below: + +

+
+ + diff --git a/central/trunk/userpanel.php b/central/trunk/userpanel.php new file mode 100644 index 0000000..879a75c --- /dev/null +++ b/central/trunk/userpanel.php @@ -0,0 +1,18 @@ +add('SITENAME', instaDisc_getConfig('siteName')); + $template->add('USERNAME', $_SESSION['username']); + $template->display(); +} else { + header('Location: index.php'); +} + +?> -- cgit 1.4.1