' . get_post_meta($aid, 'banner_text_ad1', true) . $txtbrk . get_post_meta($aid, 'banner_text_ad2', true) . '
' . htmlspecialchars_decode(get_post_meta($this->location->ID, 'location_textad_html2', true));
}
else{
$html .= '' . htmlspecialchars_decode(get_post_meta($this->location->ID, 'location_textad_html1', true)) .'
'.get_post_meta($aid, 'banner_text_ad1', true) . $txtbrk . get_post_meta($aid, 'banner_text_ad2', true) . '
' . htmlspecialchars_decode(get_post_meta($this->location->ID, 'location_textad_html2', true));
}
}
}
//display custom HTML here
else{
$html .= '
';
$html .= htmlspecialchars_decode($custom);
}
if(empty($custom) && !empty($external_link)){
$html .= '';
}
else{
$html .= '
';
}
if($feedback_check === 1){
$wrapper_end = '