{@ $ischeck_sungsu="N"; } {@ $ddys=-1; $ddye=-1; $as_day=$y."-".$m."-".str_pad($day,"2","0",STR_PAD_LEFT); $s_date = $sval->start_date; $e_date = $sval->end_date; $ddys = ( strtotime($as_day) - strtotime($s_date)); $ddye = ( strtotime($as_day) - strtotime($e_date)); $sdata=array(); $sdata['seasons_type']="Z"; } {@ $ischeck_sungsu="Y"; } {@ $dayarrays="day".$j; $upAmount = $seasons_list[$l][$dayarrays]; } {@ $totalAmount=$totalAmount+$upAmount; array_push($upDesc,array($sval->s_title,$upAmount )); } {@ $dayarrays="day".$j; $upAmount = $seasons_list[$l][$dayarrays]; } {@ $totalAmount=$totalAmount+$upAmount; array_push($upDesc,array($daysToWeek[$j]."요일",$upAmount )); } {@ $upAmount = ceil($hday_amount ); $totalAmount=$totalAmount+$upAmount ; array_push($upDesc,array($hday_name1,$upAmount )); }