$value){ if(!empty($value)){ include plugin_dir_path( __FILE__ )."allpost-contactform-str_replace.php"; $value = str_replace("http://","", $value); $value = str_replace("https://","", $value); if(!empty($_POST["custom_apcf_subject_show"])){ $org_custom_apcf_subject = sanitize_text_field($_POST["custom_apcf_subject"]); $custom_apcf_subject_show = sanitize_text_field($_POST["custom_apcf_subject_show"]); $key = str_replace("custom_apcf_subject", $custom_apcf_subject_show, $key); $nondispkey = $custom_apcf_subject_show.'_show'; } $count = $count-1; if($count % 2 === 0){ $apcf_cw_divclass = "even"; }else{ $apcf_cw_divclass = "odd"; } if(stristr($value,"https://") !== FALSE){ $confi_value = sanitize_url($value); }elseif(stristr($value,"http://") !== FALSE){ $confi_value = sanitize_url($value); }else{ $confi_value = sanitize_text_field($value); } $confirmation_body_show = '
'.sanitize_text_field($key).'
'.$confi_value.'
'.$apcf_design_div_bottom; if(stristr($confirmation_body_show,$nondispkey) !== FALSE && $nondispkey !== "rl_apcf_default_non"){ }elseif(stristr($confirmation_body_show,"custom_apcf_subject") !== FALSE){ }elseif(stristr($confirmation_body_show,"custom_apcf_subject_sub") !== FALSE){ }else{ if(!empty($key)){ echo $confirmation_body_show; } } ?>
'; }