" ."" ."{$entry['id']}" ."#{$entry['post']}" ."".(intval($entry['status']) == 1 ? "Deleted": "Recovered")."" ."{$entry['reason']}" ."{$entry['dt']}" ."{$entry['ends']}" ."{$entry['call']}" ."" .""; } } static function log_pagination(){ $count = 0; $_count = SQL::kq("SELECT COUNT(*) FROM `worlds`.`banhammer`", SQL::ONE | SQL::NUM); if(!empty($_count)) $count = $_count[0]; Katana::pagination(ceil($count/Order::MAXTHRDS), "io/moderation/log/page"); } static function action_ban($target, $reason){ if(SQL::q("INSERT INTO `banned` (`ip`, `reason`) VALUES ('{$target}', '{$reason}')")){ new Note("Banned [{$target}]. Reason: {$reason}", Note::SUCCESS); } else { new Note("Unable to ban [{$target}]!", Note::FAILURE); } } }