Ejemplo n.º 1
0
if (isset($_POST['u_session_name'])) {
    if (isset($_POST['active'])) {
        $isactive = 1;
    } else {
        $isactive = 0;
    }
    ClassSession::updatesession($_POST['s_id'], $_POST['u_session_name'], $_POST['date'], $isactive);
}
$loggedinuser = User::showmeuser($_SESSION['user_id']);
//activating a spesific session
if (isset($_GET['activate'])) {
    ClassSession::activate($_GET['activate']);
}
//Removing a session
if (isset($_GET['sessionrmv'])) {
    ClassSession::rmvsession($_GET['sessionrmv']);
}
//$myclients = Client::find_all();
//	 foreach($myclients as $client1){
//		echo $client1->full_name();
//		 }
include '../includes/pagestructure.php';
include '../includes/smartbanner.php';
include '../includes/smartnav.php';
adminhead('Welcome to Urban Illustration');
admintopbar();
?>
 <div id="content">
     
 		<div id="maincontent">
        	<div class="textcontentalone">