{@$oCounterModel = &getModel('counter')}
{@$site_module_info = Context::get('site_module_info')}
{@$output = $oCounterModel->getStatus(array('00000000', date('Ymd',time()-60*60*24), date('Ymd')), $site_module_info->site_srl)}
{print_r($output)}
<!--@foreach($output as $key => $val)-->
<!--@if(!$key)-->{@$total_counter=$val}
<!--@elseif($key == date("Ymd"))--> {@$today_counter=$val};
<!--@else-->{@$yesterday_counter=$val}
<!--@end-->
<!--@end-->
{print_r($total_counter)}