User interface mode detected on login.
[fa-stable.git] / access / logout.php
1 <?php
2
3 $page_security = 1;
4 $path_to_root="..";
5 include($path_to_root . "/includes/session.inc");
6 include_once($path_to_root . "/includes/ui/ui_view.inc");
7
8 page(_("Logout"), true, false, "", get_js_png_fix());
9
10 ?>
11
12 <table width="100%" border="0">
13   <tr>
14         <td align="center"><img src="<?php echo "$path_to_root/themes/default/images/logo_frontaccounting.png";?>" alt="FrontAccounting" width="250" height="50" onload="fixPNG(this)"></td>
15   </tr>
16   <tr>
17     <td>&nbsp;</td>
18   </tr>
19   <tr>
20     <td><div align="center"><font size=2>
21 <?php
22                 echo _("Thank you for using") . " ";
23
24                         echo "<strong>$app_title $version</strong>";
25 ?>
26          </font></div></td>
27   </tr>
28   <tr>
29     <td>&nbsp;</td>
30   </tr>
31   <tr>
32     <td><div align="center">
33         <?php
34      echo "<a href='$path_to_root/index.php?" . SID ."'><b>" . _("Click here to Login Again.") . "</b></a>";
35 ?>
36       </div></td>
37   </tr>
38 </table>
39 <br>
40 <?php
41
42         end_page(false, true);
43         session_unset();
44         session_destroy();
45 ?>
46
47