prepare("SELECT `address`, `goto`, `validity` FROM `spamalias` WHERE `goto` = :username AND `validity` >= :unixnow"); $stmt->execute(array(':username' => $username, ':unixnow' => time())); $rows = $stmt->fetchAll(PDO::FETCH_ASSOC); } catch(PDOException $e) { $_SESSION['return'] = array( 'type' => 'danger', 'msg' => 'MySQL: '.$e ); } if(!empty($rows)): while ($row = array_shift($rows)): ?>



5:15


prepare("SELECT `value`, `prefid` FROM `filterconf` WHERE `option`='whitelist_from' AND `object`= :username"); $stmt->execute(array(':username' => $username)); $rows = $stmt->fetchAll(PDO::FETCH_ASSOC); } catch(PDOException $e) { $_SESSION['return'] = array( 'type' => 'danger', 'msg' => 'MySQL: '.$e ); } if (count($rows) == 0): ?>

prepare("SELECT `value`, `prefid` FROM `filterconf` WHERE `option`='blacklist_from' AND `object`= :username"); $stmt->execute(array(':username' => $username)); $rows = $stmt->fetchAll(PDO::FETCH_ASSOC); } catch(PDOException $e) { $_SESSION['return'] = array( 'type' => 'danger', 'msg' => 'MySQL: '.$e ); } if (count($rows) == 0): ?>

data-on-text="" data-off-text="">

data-on-text="" data-off-text="">