{@ $exvalStyle = $exvalImage = $exvalCheck = $exvalTemp = null; if($document): if ($val->type == 'radio' || $val->type == 'checkbox' || $val->type == 'select'): $exvalTemp = explode(',',$document->getExtraValueHTML($val->idx)); else: $exvalTemp[0] = $document->getExtraValueHTML($val->idx); endif; elseif($oDocument): if ($val->type == 'radio' || $val->type == 'checkbox' || $val->type == 'select'): $exvalTemp = explode(',',$val->getValueHTML($val->idx)); else: $exvalTemp[0] = $val->getValueHTML($val->idx); endif; endif; for ( $i=0 ; $i < count($exvalTemp) ; $i++ ): if (in_array($exvalTemp[$i],$exval_custom_list)): $exvalStyle[$i] = $exval_custom_style[array_search($exvalTemp[$i],$exval_custom_list)]; $exvalCheck[$i] = "style"; elseif (in_array($exvalTemp[$i],$exval_image_list)): $exvalImage[$i] = $exval_image_url[array_search($exvalTemp[$i],$exval_image_list)]; $exvalImageStyle[$i] = $exval_image_style[array_search($exvalTemp[$i],$exval_image_list)]; $exvalCheck[$i] = "image"; else: $exvalCheck[$i] = "normal"; endif; endfor; } {$exvalTemp[$i]} {$exvalTemp[$i]},