issue 70 site count in dashboard

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8803 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-08-18 07:41:14 +00:00
parent 19e395eb2c
commit e3bfd18de7
4 changed files with 33 additions and 1 deletions

View file

@ -21,6 +21,9 @@
}
/**
* @brief Return site list
**/
function getSiteAllList()
{
if(Context::get('domain')) $args->domain = Context::get('domain');
@ -33,6 +36,19 @@
$this->add('site_list', $siteList);
}
/**
* @brief Return site count
**/
function getSiteCountByDate($date = '')
{
if($date) $args->regDate = date('Ymd', strtotime($date));
$output = executeQuery('site.getSiteCountByDate', $args);
if(!$output->toBool()) return 0;
return $output->data->count;
}
function makeGnbUrl($member_srl)
{
global $lang;