prepare("SELECT `username` FROM `admin` WHERE `superadmin`='1' and active='1'"); $stmt->execute(); $AdminData = $stmt->fetch(PDO::FETCH_ASSOC); } catch(PDOException $e) { $_SESSION['return'] = array( 'type' => 'danger', 'msg' => 'MySQL: '.$e ); } ?>
a-z A-Z - _ .
query("SELECT DISTINCT `username`, CASE WHEN `active`='1' THEN '".$lang['admin']['yes']."' ELSE '".$lang['admin']['no']."' END AS `active` FROM `domain_admins` WHERE `username` IN ( SELECT `username` FROM `admin` WHERE `superadmin`!='1' )"); $rows_username = $stmt->fetchAll(PDO::FETCH_ASSOC); } catch(PDOException $e) { $_SESSION['return'] = array( 'type' => 'danger', 'msg' => 'MySQL: '.$e ); } if(!empty($rows_username)): while ($row_user_state = array_shift($rows_username)): ?>
prepare("SELECT `domain` FROM `domain_admins` WHERE `username` = :username"); $stmt->execute(array('username' => $row_user_state['username'])); $rows_domain = $stmt->fetchAll(PDO::FETCH_ASSOC); } catch(PDOException $e) { $_SESSION['return'] = array( 'type' => 'danger', 'msg' => 'MySQL: '.$e ); } while ($row_domain = array_shift($rows_domain)) { echo htmlspecialchars($row_domain['domain']).'
'; } ?>
a-z A-Z - _ .

Domain: (._domainkey)

v=DKIM1;k=rsa;t=s;s=email;p=