X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=testing%2FMCTXWeb%2Fpublic_html%2Fusers%2Findex.php;fp=testing%2FMCTXWeb%2Fpublic_html%2Fusers%2Findex.php;h=9cec83cf6d0f4ded0da2bdef9d8679a062642af7;hb=5303f53cb44fffd4c59890d3c333f74d7cd7cb4e;hp=63d11fb24224a09c0138c3aab4cd256162754b47;hpb=3dfde391486e81a357e08a24ccb7903c8adfa5aa;p=matches%2FMCTX3420.git diff --git a/testing/MCTXWeb/public_html/users/index.php b/testing/MCTXWeb/public_html/users/index.php index 63d11fb..9cec83c 100644 --- a/testing/MCTXWeb/public_html/users/index.php +++ b/testing/MCTXWeb/public_html/users/index.php @@ -5,43 +5,23 @@ http://usercake.com */ require_once("models/config.php"); -if (!securePage($_SERVER['PHP_SELF'])){die();} -require_once("models/header.php"); +if (!isUserLoggedIn()) { header("Location: login.php"); die();} -echo " - -
-
-
-

UserCake

-

2.00

-
"; -include("left-nav.php"); +require_once("models/header.php"); +startPage(); +echo ' +
+
Welcome!
+

+ This is the administration site for this site. Here, you can manage + the list of users who has access to this site. +

+

+ +

+
+'; -echo " -
-
-

Thank you for downloading UserCake. 100% Free and Opensource.

-

Copyright (c) 2009-2012

-

Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the 'Software'), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions:

-

The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software.

-

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE.

-
-
-
- -"; +finishPage(); ?>