Alternc  latest
Alternc logiel libre pour l'hébergement
mem_logout.php
Go to the documentation of this file.
1 <?php
2 /*
3  ----------------------------------------------------------------------
4  LICENSE
5 
6  This program is free software; you can redistribute it and/or
7  modify it under the terms of the GNU General Public License (GPL)
8  as published by the Free Software Foundation; either version 2
9  of the License, or (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  To read the license please visit http://www.gnu.org/copyleft/gpl.html
17  ----------------------------------------------------------------------
18 */
19 
20 /**
21  * Logout a member.
22  *
23  * @copyright AlternC-Team 2000-2017 https://alternc.com/
24  */
25 
26 require_once("../class/config.php");
27 
28 $mem->del_session();
29 
30 if (!isset($charset) || ! $charset) $charset="UTF-8";
31 @header("Content-Type: text/html; charset=$charset");
32 
33 ?>
34 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
35 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
36 <head>
37 <title><?php __("Disconnected"); ?></title>
38 <link rel="stylesheet" href="styles/style.css" type="text/css" />
39 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />
40 </head>
41 <body style="margin: 20px;" onLoad="setTimeout('redirect_panel()', 1500)">
42  <div id="global">
43 
44  <div id="content" style="width:1000px;">
45  <h3 style="text-align: center"><?php __("Disconnected"); ?></h3>
46 
47  <?php __("You have been logged out of your administration desktop."); ?><br />
48  <p><a href="index.php"><?php __("Click here to log in"); ?></a></p>
49  <p>&nbsp;</p>
50  </div>
51  <div style="clear:both;" ></div>
52  </div>
53 <script type="text/javascript">
54 function redirect_panel() {
55  window.location = "index.php"
56 }
57 </script>
58 </body>
59 </html>
$mem
Definition: bootstrap.php:71
__($str)
Definition: functions.php:404