File: /home/nyiet8349bzl/Backup/sbc_back/homedir/public_html/old-myadmin/admin/index.php
<?php
require_once '../../library/config.php';
require_once '../library/functions.php';
$_SESSION['login_return_url'] = $_SERVER['REQUEST_URI'];
checkUser();
$view = (isset($_GET['view']) && $_GET['view'] != '') ? $_GET['view'] : '';
switch ($view) {
case 'list' :
$content = 'list.php';
$pageTitle = 'Bagwarsoftware CP - View Admin';
break;
case 'modify' :
$content = 'modify.php';
$pageTitle = 'Bagwarsoftware CP - Modify Admin';
break;
case 'changepsw' :
$content = 'changepsw.php';
$pageTitle = 'Bagwarsoftware CP - Change Password';
break;
case 'changeShip' :
$content = 'changeShip.php';
$pageTitle = 'Bagwarsoftware CP - Change Shipment Cost';
break;
default :
$content = 'list.php';
$pageTitle = 'Bagwarsoftware CP - View Admin';
}
$script = array('../library/admin.js');
require_once '../include/bkadmin.php';
?>