<?php
include('../../config.inc.php');
if (!isset($_SESSION['oreon'])) Session::Start();
$oreon=$_SESSION['oreon'];
$locID=$_SESSION['locID'];
$radius=$oreon->database->getradiusconfiguration($locID);
$radius_server=$radius['general_radius_server'];
$radiussecret=$radius['general_radius_server_secret'];
if (isset($_POST['type']))
$type=$_POST['type'];
if (isset($_POST['attr']))
$attr=$_POST['attr'];
$pullUser =$_POST['ID'];
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="STYLESHEET" type="text/css" href="../../style/popup.css">
<title> Add unit to user </title>
</head>
<body>
<table style="text-align: left; width: 400px; height: 25px;" border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr><td>';
include('disconnect_user.php');
echo '<script language="JavaScript">window.opener.location.reload();self.close();</script>';
echo "</td>";
echo ' </tr>
</tbody>
</table>
</body>
</html>';
?>