diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-15 14:48:35 +0000 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-15 14:48:35 +0000 |
| commit | 857ecf0581857ccf8d05209c5f77983f47ef3117 (patch) | |
| tree | c0a2c4987e48d0ff7f8d73536ed70075846d126c /central/trunk | |
| parent | 4d4f2acfe707a83dec8789f8159cb60eab38e290 (diff) | |
| download | instadisc-857ecf0581857ccf8d05209c5f77983f47ef3117.tar.gz instadisc-857ecf0581857ccf8d05209c5f77983f47ef3117.tar.bz2 instadisc-857ecf0581857ccf8d05209c5f77983f47ef3117.zip | |
Central: Created user panel index
Refs #25 and #35
Diffstat (limited to 'central/trunk')
| -rw-r--r-- | central/trunk/theme/index.tpl | 33 | ||||
| -rw-r--r-- | central/trunk/theme/userpanel.tpl | 26 | ||||
| -rw-r--r-- | central/trunk/userpanel.php | 18 |
3 files changed, 61 insertions, 16 deletions
| 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 @@ | |||
| 1 | <HTML> | 1 | <HTML> |
| 2 | <HEAD> | 2 | <HEAD> |
| 3 | <TITLE><!--SITENAME--> InstaDisc Central Server</TITLE> | 3 | <TITLE><!--SITENAME--> InstaDisc Central Server</TITLE> |
| 4 | </HEAD> | 4 | </HEAD> |
| 5 | <BODY> | ||
| 6 | <CENTER> | ||
| 7 | <H1><!--SITENAME--> InstaDisc</H1> | ||
| 8 | 5 | ||
| 9 | <P>Welcome to <!--SITENAME-->'s InstaDisc Central Server! | 6 | <BODY> |
| 10 | <P>InstaDisc is a wonderful productivity-increasing notification program. For more information about the project itself, see | 7 | <CENTER> |
| 11 | <A HREF="http://fourisland.com/projects/instadisc/">its project site</A>.<P>An InstaDisc "Central Server" is where you can | 8 | <H1><!--SITENAME--> InstaDisc</H1> |
| 12 | register for the InstaDisc service. There are many Central Servers around the world, you generally pick the one that is | 9 | |
| 13 | closest to you. If you would like to choose <!--SITENAME-->'s, why not register now? | 10 | <P>Welcome to <!--SITENAME-->'s InstaDisc Central Server! |
| 14 | <P><A HREF="register.php">Register</A> | 11 | <P>InstaDisc is a wonderful productivity-increasing notification program. For more information about the project itself, see |
| 15 | <BR><A HREF="login.php">Login</A> | 12 | <A HREF="http://fourisland.com/projects/instadisc/">its project site</A>.<P>An InstaDisc "Central Server" is where you can |
| 16 | <BR><A HREF="activate.php">Activation page</A> | 13 | register for the InstaDisc service. There are many Central Servers around the world, you generally pick the one that is |
| 17 | </CENTER> | 14 | closest to you. If you would like to choose <!--SITENAME-->'s, why not register now? |
| 18 | </BODY> | 15 | <P><A HREF="register.php">Register</A> |
| 16 | <BR><A HREF="login.php">Login</A> | ||
| 17 | <BR><A HREF="activate.php">Activation page</A> | ||
| 18 | </CENTER> | ||
| 19 | </BODY> | ||
| 19 | </HTML> | 20 | </HTML> |
| 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 @@ | |||
| 1 | <HTML> | ||
| 2 | <HEAD> | ||
| 3 | <TITLE><!--SITENAME--> InstaDisc Central Server</TITLE> | ||
| 4 | </HEAD> | ||
| 5 | |||
| 6 | <BODY> | ||
| 7 | <CENTER> | ||
| 8 | <H1><!--SITENAME--> InstaDisc</H1> | ||
| 9 | |||
| 10 | <P>Welcome to your user panel. Here are the things you can do: | ||
| 11 | |||
| 12 | <UL> | ||
| 13 | <LI><A HREF="changepassword.php">Change your Password</A></LI> | ||
| 14 | <LI><A HREF="logout.php">Log out</A></LI> | ||
| 15 | </UL> | ||
| 16 | |||
| 17 | <P>If you own a subscription and wish to have this Central Server sponser it, you can use the options below: | ||
| 18 | |||
| 19 | <UL> | ||
| 20 | <LI><A HREF="addsub.php">Submit a Subscription for Sponsership</A></LI> | ||
| 21 | <LI><A HREF="activatesub.php">Activate a Subscription</A></LI> | ||
| 22 | <LI><A HREF="mansub.php">Manage subscriptions</A></LI> | ||
| 23 | </UL> | ||
| 24 | </CENTER> | ||
| 25 | </BODY> | ||
| 26 | </HTML> | ||
| 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 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | /* InstaDisc Server - A Four Island Project */ | ||
| 4 | |||
| 5 | include('instadisc.php'); | ||
| 6 | include('template.php'); | ||
| 7 | |||
| 8 | if (isset($_SESSION['username'])) | ||
| 9 | { | ||
| 10 | $template = new FITemplate('userpanel'); | ||
| 11 | $template->add('SITENAME', instaDisc_getConfig('siteName')); | ||
| 12 | $template->add('USERNAME', $_SESSION['username']); | ||
| 13 | $template->display(); | ||
| 14 | } else { | ||
| 15 | header('Location: index.php'); | ||
| 16 | } | ||
| 17 | |||
| 18 | ?> | ||
