session_start();
include('../verifuser.php');
include('verifsuperuser.php');
include ('dbconnec.php');
include ('cipher.php');
?>
if( isset($_GET['id']) ){
if( $_GET['id'] != '' ){
$userid = $_GET['id'];
$sql = 'DELETE FROM `superauth` WHERE id="'.$userid.'"';
$req = mysql_query($sql) or die('Erreur SQL !
'.$sql.'
'.mysql_error());
header('location:admin_main.php');
exit;
}
else {
header ("location:../error.php");
exit;
}
}
else{
header ("location:../error.php");
exit;
}
?>