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);
} ?>