=$lang['user']['spamfilter_wl'];?>
=$lang['user']['spamfilter_wl_desc'];?>
=$lang['user']['spamfilter_table_rule'];?>
=$lang['user']['spamfilter_table_action'];?>
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):
?>
=$lang['user']['spamfilter_table_empty'];?>
=$lang['user']['spamfilter_bl'];?>
=$lang['user']['spamfilter_bl_desc'];?>
=$lang['user']['spamfilter_table_rule'];?>
=$lang['user']['spamfilter_table_action'];?>
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):
?>
=$lang['user']['spamfilter_table_empty'];?>