'._('Error: Incorrect password').''; } if (empty($_SESSION['adminPasswordHash']) || $auth == false) { echo '
'; } // Test connexion, si c'est ok : if ($auth==true) { languesSwitch(); // Connect DB try { if (preg_match('/^sqlite/', DB)) { $dbco = new PDO(DB); } else { $dbco = new PDO(DB, DBUSER, DBPASS); } $dbco->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch ( PDOException $e ) { die('DB connect error : '.$e->getMessage()); } if (isset($_POST['action'])) { if ($_POST['action'] == 'DeleteEmail' && isset($_POST['email'])) { DeleteEmail($_POST['email']); } if ($_POST['action'] == 'AddBlacklistEmail' && isset($_POST['email'])) { AddBlacklistEmail($_POST['email']); } if ($_POST['action'] == 'DeleteAlias' && isset($_POST['id']) && isset($_POST['alias'])) { DeleteAlias($_POST['id'], $_POST['alias']); } if ($_POST['action'] == 'DisableAlias' && isset($_POST['id']) && isset($_POST['alias'])) { DisableAlias($_POST['id'], $_POST['alias'], $_POST['email']); } } ?> '._('Statistics').' : '; echo 'User '.$_POST['email'].' : '; if (count($requestUtilisateur) != 0) { echo ''; if (!BlacklistEmail($_POST['email'])) { echo ''; } } else { echo 'Not found !'; } echo '
'; echo ''; if (count($requestUtilisateur) != 0) { echo 'Status | Alias | DateCreat | DateExpir | Comment |
---|---|---|---|---|
'.$utilisateur['alias'].'
'; if ($utilisateur['status'] == 5) { echo ''; } echo ' |
'.$utilisateur['dateCreat'].' | '.$utilisateur['dateExpir'].' | '.$utilisateur['comment'].' |
Number of alias | Action | |
---|---|---|
'; if (BlacklistEmail($recordActif['email'])) { echo ' '; } echo $recordActif['email'].' | '.$recordActif['calias'].' | '; if (!BlacklistEmail($recordActif['email'])) { echo ''; } echo ' |