{@ $_day=1; $j = 0; $check_month = sprintf("%s%s",$admin_date_info->_year,$admin_date_info->_month); $checkedM = $oAttendanceModel->getIsCheckedMonth($logged_info->member_srl, $check_month); } {@$j++} {@ $check_date = sprintf("%s%s%02d",$admin_date_info->_year,$admin_date_info->_month,$_day); if($check_date <= date('Ymd')) $checked = $checkedM[$check_date]; else $checked = 0; } class="sunday"class="saturday" href="{getUrl('document_srl','','selected_date',zDate(date('YmdHis',mktime(0,0,0,$admin_date_info->_month, $_day, $admin_date_info->_year)),"Ymd"))}"> {$_day++} {$_day++} {$_day++} {$_day++} ? class="sunday"class="saturday" href="{getUrl('document_srl','','selected_date',zDate(date('YmdHis',mktime(0,0,0,$admin_date_info->_month, $_day, $admin_date_info->_year)),"Ymd"))}"> style="background:#f66;padding:0 3px; color:#fff;"style="background:#000; padding:0 3px; color:#fff;">{$_day++} {$_day++} {@$j++}