X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=testing%2FMCTXWeb%2Fpublic_html%2Fusers%2Fmodels%2Fheader.php;h=dae224171f87b7d384b74cfeafaf13c9af520bd9;hb=5303f53cb44fffd4c59890d3c333f74d7cd7cb4e;hp=239a10a8b9bc96b4a5fac26eddd150c51e49a0f5;hpb=3dfde391486e81a357e08a24ccb7903c8adfa5aa;p=matches%2FMCTX3420.git diff --git a/testing/MCTXWeb/public_html/users/models/header.php b/testing/MCTXWeb/public_html/users/models/header.php index 239a10a..dae2241 100644 --- a/testing/MCTXWeb/public_html/users/models/header.php +++ b/testing/MCTXWeb/public_html/users/models/header.php @@ -3,36 +3,108 @@ UserCake Version: 2.0.2 http://usercake.com */ -echo " - - + +//Variables to set: +//$custom_header_scripts +//$custom_sidebar + +function startPage() { +global $loggedInUser; + +echo ' + + - - ".$websiteName." - - + MCTX3420 Web Interface + + + + + + + '.$custom_header_scripts.' - "; - -/** - * Make the remainder of the page - */ -function createPage($title) -{ - echo " -
-
-
-

User Managment

-

$title

-
"; - - include("left-nav.php"); - - echo " -
-
"; + + +
+ +
+ + +
+ + +
+ '; + + require_once("left-nav.php"); + if (isUserLoggedIn()) { + echo ' +
+'; } +} //function startPage() + + +function finishPage() { +if (isUserLoggedIn()) { +echo ' +
+ +'; +} + +echo ' +
+
+ + +'; +} + + ?>