$r502 = json_decode($r502, true);
$on_off = "off";
$img_on_off = "-off";
if(!empty($r401)) {
$on_off = "";
$img_on_off = "";
}
$confirm_text = "";
if(is_array($r502)) {
foreach($r502 as $row) {
if($row['r502-15'] == 0 && $row['r502-03'] == 0 && $row['r502-04'] > 0 && $row['r502-01'] == 1) {
$confirm_text = " + 미확정";
}
}
}
?>
내차 피해
=number_format($r401)?>회
(=number_format($r402)?>원) =$confirm_text?>