| @@ 223-232 (lines=10) @@ | ||
| 220 | * |
|
| 221 | * @return int |
|
| 222 | */ |
|
| 223 | public function getMemberCountByDate($date = '') |
|
| 224 | { |
|
| 225 | $args = new stdClass(); |
|
| 226 | if($date) $args->regDate = date('Ymd', strtotime($date)); |
|
| 227 | ||
| 228 | $output = executeQuery('member.getMemberCountByDate', $args); |
|
| 229 | if(!$output->toBool()) return 0; |
|
| 230 | ||
| 231 | return $output->data->count; |
|
| 232 | } |
|
| 233 | ||
| 234 | /** |
|
| 235 | * Return site join member count with date |
|
| @@ 919-935 (lines=17) @@ | ||
| 916 | * @param string $date |
|
| 917 | * @return int |
|
| 918 | */ |
|
| 919 | function getSiteCountByDate($date = '') |
|
| 920 | { |
|
| 921 | $args = new stdClass(); |
|
| 922 | ||
| 923 | if($date) |
|
| 924 | { |
|
| 925 | $args->regDate = date('Ymd', strtotime($date)); |
|
| 926 | } |
|
| 927 | ||
| 928 | $output = executeQuery('admin.getSiteCountByDate', $args); |
|
| 929 | if(!$output->toBool()) |
|
| 930 | { |
|
| 931 | return 0; |
|
| 932 | } |
|
| 933 | ||
| 934 | return $output->data->count; |
|
| 935 | } |
|
| 936 | ||
| 937 | function getFaviconUrl($default = true) |
|
| 938 | { |
|