WeakWiki


include\logout.include.php



/********************************************************************************
WeakWiki (WeakWiki logout page include file: logout.include.php)
Copyright (C) 2010 Alexander Lang

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this
program; if not, see .

Project Home: http://weakwiki.robnet.wmweb.at/
Contact:      robbiblubber@robnet.wmweb.at
********************************************************************************/



require_once(_lang('logout'));


$pm = new PageMenu();
$pm->add("" . _L_LO_0000 . "");
$pm->write();


if($_GET['action'] == 'logout')
{
	logout();
	
	$m = new MessageBox(_L_LO_0010, _L_LO_0011, MSG_SUCCESS);
	$m->write();
		
	echo("\n");
}
else
{
	$m = new MessageBox(_L_LO_0010, _L_LO_0012, MSG_SUCCESS);
	$m->write();
}

?>

WeakWiki