Location: PHPKode > projects > Mummi (Multi-user MOD_MP3 Interface) > mummi.0.6/htroot/users.php
<?

// Setting the title of the page
$title = "Users Section";

// Include files
include "common.php";
include "$lib_path/design.inc";

// Set the user navbars.
if(!$HTTP_COOKIE_VARS[login_active]) $nav_array = array(main);
elseif($os->num_rows("SELECT user_name FROM users WHERE user_name='$session_array[user_name]' AND user_type='1'")) $nav_array = array_merge($GLOBALS[admin_navbox_array], $os->get_navbox_array($session_array[user_name]));
else $nav_array = array_merge($GLOBALS[basic_navbox_array], $os->get_navbox_array($session_array[user_name]));


$GLOBALS[contents00] = <<<ENDcontents00

Welcome, $session_array[user_name], to your personal start page.
<br><br>

ENDcontents00;

$contents = array("$GLOBALS[page_title]"=>"$GLOBALS[contents00]");

draw_header("$GLOBALS[page_title]");
draw_nav($nav_array);
draw_sect($contents);
draw_footer();
ob_end_flush();
?>
Return current item: Mummi (Multi-user MOD_MP3 Interface)