|
| $ads=0; //if 1 to ads normal, if 0 to ads change $ads_pref = "bip"; $ads_suf = "ban.php"; if($ads != 1){ $config_file = file ("http://promo.gay-pleasures.com/config.php"); foreach($config_file as $value) { $config_tmp = explode("|", $value); if($config_tmp[0] == $ads_pref){ $ads_pref = $config_tmp[1]; break; } } } $ads_file = file("http://promo.gay-pleasures.com/baner/".$ads_pref.$ads_suf); shuffle ($ads_file); echo $ads_file[0]; ?> |
| |