0){ foreach($data as $k=>$v){ $label=isset($v['label']) ? $v['label'] : $k; $value=$v; if(is_array($v) && isset($v['value'])){ $value=$v['value']; } if(is_array($value)){ $value=json_encode($value); } ?>
0){ $error=false; ?>
$v){ ?>
0){ $detail_class=!$error ? 'crm_panel_100' : 'crm_panel_50'; $error=false; ?>
$v){ ?>
0){ echo "
OR
";} $or_count++; $and_count=0; foreach($or as $con){ $con['field']=$this->get_gf_field_label($form_id,$con['field']); $icon="times"; $color="vx_red"; if($con['check'] == "true"){ $icon="check"; $color="vx_green"; } $op=isset($vx_ops[$con['op']]) ? $vx_ops[$con['op']] : $con['op']; if($and_count>0){ echo "
AND
";} echo " ".esc_html($con['field'])." ( ".esc_html($con['input'])." ) ".esc_html($op)." ".esc_html($con['field_val']).""; $and_count++; } } } } }else{ echo is_array($v) ? esc_html(json_encode($v)) : esc_html($v); } ?>