'; if ($sysconf['logout_message']) { $msg .= 'alert(\''.__('You Have Been Logged Out From Electronic Theses and Dissertation System').'\');'; } $msg .= 'location.href = \''.SWB.'index.php?p=login\';'; $msg .= ''; // unset admin cookie flag setcookie('admin_logged_in', true, time()-86400, SWB); // completely destroy session cookie simbio_security::destroySessionCookie($msg, COOKIES_NAME, SWB.'admin/', true);