better coding standards
[banana.git] / disconnect.php
1 <?php
2 /********************************************************************************
3 * disconnect.php : exit page
4 * ----------------
5 *
6 * This file is part of the banana distribution
7 * Copyright: See COPYING files that comes with this distribution
8 ********************************************************************************/
9
10 require_once("include/session.inc.php");
11 require_once("include/profile.inc.php");
12 require_once("include/error.inc.php");
13
14 $profile=getprofile();
15 require_once($profile['locale']);
16
17 $_SESSION=array();
18 session_destroy();
19
20 require_once("include/header.inc.php");
21 ?>
22 <div class="title">
23 <?php echo $locale['disconnect']['title'];?>
24 </div>
25 <p class="normal">
26 <?php echo $locale['disconnect']['back'];?>
27 </p>
28 <?php
29 require_once("include/footer.inc.php");
30 ?>