mcramer
2012-09-20 c8ccbfb4f4e323d828af15f0bc33cc979cc501b9
interface/web/sites/web_sites_stats.php
@@ -70,10 +70,10 @@
    {
      global $app;
      
      $app->tpl->setVar('sum_this_month',number_format(intval($this->sum_this_month), 0, '.', ' '));
      $app->tpl->setVar('sum_this_year',number_format(intval($this->sum_this_year), 0, '.', ' '));
      $app->tpl->setVar('sum_last_month',number_format(intval($this->sum_last_month), 0, '.', ' '));
      $app->tpl->setVar('sum_last_year',number_format(intval($this->sum_last_year), 0, '.', ' '));
      $app->tpl->setVar('sum_this_month',number_format($app->functions->intval($this->sum_this_month), 0, '.', ' '));
      $app->tpl->setVar('sum_this_year',number_format($app->functions->intval($this->sum_this_year), 0, '.', ' '));
      $app->tpl->setVar('sum_last_month',number_format($app->functions->intval($this->sum_last_month), 0, '.', ' '));
      $app->tpl->setVar('sum_last_year',number_format($app->functions->intval($this->sum_last_year), 0, '.', ' '));
      $app->tpl->setVar('sum_txt',$app->listform->lng('sum_txt'));
      
      $app->tpl_defaults();
@@ -82,7 +82,7 @@
}
$list = new list_action;
$list->SQLExtWhere = "type = 'vhost'";
$list->SQLExtWhere = "(type = 'vhost' or type = 'vhostsubdomain')";
$list->SQLOrderBy = 'ORDER BY domain';
$list->onLoad();