Release 2.3.9 and rerun of some files
[fa-stable.git] / access / logout.php
1 <?php
2 /**********************************************************************
3     Copyright (C) FrontAccounting, LLC.
4         Released under the terms of the GNU General Public License, GPL, 
5         as published by the Free Software Foundation, either version 3 
6         of the License, or (at your option) any later version.
7     This program is distributed in the hope that it will be useful,
8     but WITHOUT ANY WARRANTY; without even the implied warranty of
9     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
10     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
11 ***********************************************************************/
12 $page_security = 'SA_OPEN';
13 $path_to_root="..";
14 include($path_to_root . "/includes/session.inc");
15 add_js_file('login.js');
16
17 include($path_to_root . "/includes/page/header.inc");
18 page_header(_("Logout"), true, false, '');
19
20 echo "<table width='100%' border='0'>
21   <tr>
22         <td align='center'><img src='$path_to_root/themes/default/images/logo_frontaccounting.png' alt='FrontAccounting' width='250' height='50' onload='fixPNG(this)' /></td>
23   </tr>
24   <tr>
25     <td>&nbsp;</td>
26   </tr>
27   <tr>
28     <td><div align='center'><font size=2>";
29 echo _("Thank you for using") . " ";
30
31 echo "<strong>$app_title $version</strong>";
32
33 echo "</font></div></td>
34   </tr>
35   <tr>
36     <td>&nbsp;</td>
37   </tr>
38   <tr>
39     <td><div align='center'>";
40 echo "<a href='$path_to_root/index.php'><b>" . _("Click here to Login Again.") . "</b></a>";
41 echo "</div></td>
42   </tr>
43 </table>
44 <br>\n";
45 end_page(false, true);
46 session_unset();
47 @session_destroy();
48 ?>
49
50