';
$tmpCode1 = htmlentities(stripslashes($_POST['wp_letsfxad_adsused']) , ENT_COMPAT);
update_option('wp_letsfxad_adsused', $tmpCode1);
$tmpCode1 = htmlentities(stripslashes($_POST['wp_letsfxad_hide']) , ENT_COMPAT);
update_option('wp_letsfxad_hide', $tmpCode1);
$tmpCode1 = htmlentities(stripslashes($_POST['wp_letsfxad_top']) , ENT_COMPAT);
update_option('wp_letsfxad_top', $tmpCode1);
$tmpCode1 = htmlentities(stripslashes($_POST['wp_letsfxad_bottom']) , ENT_COMPAT);
update_option('wp_letsfxad_bottom', $tmpCode1);
$tmpCode1 = htmlentities(stripslashes($_POST['wp_letsfxad_other1']) , ENT_COMPAT);
update_option('wp_letsfxad_other1', $tmpCode1);
$tmpCode1 = htmlentities(stripslashes($_POST['wp_letsfxad_other2']) , ENT_COMPAT);
update_option('wp_letsfxad_other2', $tmpCode1);
$tmpCode1 = htmlentities(stripslashes($_POST['wp_letsfxad_other3']) , ENT_COMPAT);
update_option('wp_letsfxad_other3', $tmpCode1);
echo 'Options Updated!';
echo '
';
}
?>
user_level>=$letsfxad_hide)
return(true);
}
return(false);
}
function wp_letsfxad_process($content)
{
if(letsfxad_hide()) return($content);
global $letsfxad_adsused_c;
$content.= '';
$letsfxad_adsused = html_entity_decode(get_option('wp_letsfxad_adsused'));
if($letsfxad_adsused_c>=$letsfxad_adsused)return($content) ;
$top = html_entity_decode(get_option('wp_letsfxad_top'));
if(strlen($top)>2) $letsfxad_adsused_c++;
//if($letsfxad_adsused_c>=$letsfxad_adsused)return(($top).$content) ;
$bottom = html_entity_decode(get_option('wp_letsfxad_bottom'));
if(strlen($bottom)>2) $letsfxad_adsused_c++;
return ($top).$content.($bottom);
}
function bb_letsfxad_before_directory( ) {
if(letsfxad_hide()) return;
global $letsfxad_adsused_c;
$letsfxad_adsused = html_entity_decode(get_option('wp_letsfxad_adsused'));
if($letsfxad_adsused_c>=$letsfxad_adsused)return('') ;
$other1 = html_entity_decode(get_option('wp_letsfxad_other1'));
if(strlen($other1)<2) return('');
$letsfxad_adsused_c++;
echo ($other1.'');
}
function bb_letsfxad_topic_footer( $content ) {
if(letsfxad_hide()) return($content);
global $letsfxad_adsused_c;
$letsfxad_adsused = html_entity_decode(get_option('wp_letsfxad_adsused'));
if($letsfxad_adsused_c>=$letsfxad_adsused)return($content) ;
$other2 = html_entity_decode(get_option('wp_letsfxad_other2'));
if(strlen($other2)<2) return($content);
$letsfxad_adsused_c++;
return $content.($other2);
}
function bb_letsfxad_activity( ) {
if(letsfxad_hide()) return;
global $letsfxad_adsused_c;
$letsfxad_adsused = html_entity_decode(get_option('wp_letsfxad_adsused'));
if($letsfxad_adsused_c>=$letsfxad_adsused)return ;
$other2 = html_entity_decode(get_option('wp_letsfxad_other2'));
if(strlen($other2)<2) return;
$letsfxad_adsused_c++;
echo $other2;
}
function bb_letsfxad_float( ) {
if(letsfxad_hide()) return;
global $letsfxad_adsused_c;
?> ';
$letsfxad_adsused = html_entity_decode(get_option('wp_letsfxad_adsused'));
if($letsfxad_adsused_c>=$letsfxad_adsused)return ;
$other3 = html_entity_decode(get_option('wp_letsfxad_other3'));
if(strlen($other3)<2) return;
$letsfxad_adsused_c++;
?>
[Close Ad]