[phpMP-CVS] CVS: phpMP/admin nav.php,NONE,1.1 index.php,1.3,1.4
Status: Pre-Alpha
Brought to you by:
heimidal
From: Anthony W. <ant...@us...> - 2003-02-08 17:20:44
|
Update of /cvsroot/phpmp/phpMP/admin In directory sc8-pr-cvs1:/tmp/cvs-serv22529a/admin Modified Files: index.php Added Files: nav.php Log Message: Started work on the admin panel. Not much yet, but I am getting to something. (Non-Graphical - it actually looks horrible, but that will change when I get an idea for the main template) --- NEW FILE: nav.php --- <?php // Basic Navigation (not very pretty, just a throw-together for testing define( C_PHPMP_ROOT, '../' ); include_once( C_PHPMP_ROOT . 'includes/core.php' ); $Core = new Core(); $Core->init(); /******* Comented for Testing ******* if (U_AUTH_LEVEL != AUTH_LVL_ADMIN) { exit; end; } *************************************/ print "<base target=\"cont\">\n"; print "Navigation File"; ?> Index: index.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/admin/index.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** index.php 8 Feb 2003 09:44:17 -0000 1.3 --- index.php 8 Feb 2003 17:20:39 -0000 1.4 *************** *** 1,5 **** <?php ! //This file will house the frameset for the phpMP admin interface. ?> --- 1,25 ---- <?php ! define( C_PHPMP_ROOT, '../' ); ! ! include_once( C_PHPMP_ROOT . 'includes/core.php' ); ! ! $Core = new Core(); ! ! $Core->init(); ! ! /******* Commented for Testing ******* ! if (U_AUTH_LEVEL != AUTH_LVL_ADMIN) ! { ! exit; ! end; ! } ! **************************************/ ! ! // Create the frameset navigation ! print "<frameset cols=\"150, *\">"; ! print "<frame name=\"nav\" src=\"" . C_PHPMP_ROOT . "admin/nav.php\">"; ! print "<frame name=\"cont\" src=\"\">"; ! print "</frameset>"; ?> |