mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 04:09:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@242 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bec327d337
commit
a4e2f31a53
6 changed files with 83 additions and 17 deletions
|
|
@ -14,13 +14,26 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief 등록된 스패머의 목록을 return
|
||||
* @brief 등록된 금지 IP의 목록을 return
|
||||
**/
|
||||
function getSpammerList() {
|
||||
function getDeniedIPList() {
|
||||
$oDB = &DB::getInstance();
|
||||
$args->sort_index = "regdate";
|
||||
$args->page = Context::get('page')?Context::get('page'):1;
|
||||
$output = $oDB->executeQuery('spamfilter.getSpammerList', $args);
|
||||
$output = $oDB->executeQuery('spamfilter.getDeniedIPList', $args);
|
||||
if(!$output->data) return;
|
||||
if(!is_array($output->data)) return array($output->data);
|
||||
return $output->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 등록된 금지 Word 의 목록을 return
|
||||
**/
|
||||
function getDeniedWordList() {
|
||||
$oDB = &DB::getInstance();
|
||||
$args->sort_index = "regdate";
|
||||
$args->page = Context::get('page')?Context::get('page'):1;
|
||||
$output = $oDB->executeQuery('spamfilter.getDeniedWordList', $args);
|
||||
if(!$output->data) return;
|
||||
if(!is_array($output->data)) return array($output->data);
|
||||
return $output->data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue