This repository has been archived on 2020-01-20. You can view files and clone it, but cannot push or open issues or pull requests.
evoauth/htdocs/popup_fin.php

39 lines
791 B
PHP
Raw Normal View History

2005-09-12 21:51:19 +02:00
<?
require_once "includes/config.php";
require "includes/database.php";
2005-09-13 22:45:04 +02:00
session_name("EVOAUTH_PHPSESSION");
2005-09-12 21:51:19 +02:00
session_start();
delrules();
// suppression des règles concernées
function delrules()
{
// suppression des règles de firewall
2005-09-24 11:49:16 +02:00
system("/usr/bin/sudo /usr/local/bin/evoauth -d ".$_SESSION['ip']."> /dev/null");
2005-09-12 21:51:19 +02:00
update_statut($_SESSION['login'], "0");
}
2005-09-13 22:45:04 +02:00
session_unset("EVOAUTH_PHPSESSION");
2005-09-12 21:51:19 +02:00
session_destroy();
?>
<html>
<body text="black" alink="black" vlink="black">
<table align="center">
<tr>
2005-09-13 22:45:04 +02:00
<td><b>A bientôt.</b></td>
2005-09-12 21:51:19 +02:00
</tr><tr>
2005-09-13 22:45:04 +02:00
<td align="center"></td>
2005-09-12 21:51:19 +02:00
</tr><tr>
2005-09-13 22:45:04 +02:00
<td align="center"><a href="javascript: window.close()"><img src="images/fin.png"></a></td>
2005-09-12 21:51:19 +02:00
</tr>
</tr><tr>
2005-09-13 22:45:04 +02:00
<td align="center"><font size="1" color="black">Fermer</font></td>
2005-09-12 21:51:19 +02:00
</tr>
</table>
</body>
</html>