ill show you a very simple way of doing it..
first save this as index.php and place in a folder
for exaples sake lets say this is "http://yoursite.com/smokey/index.php"
Code:
<?php
$x = $_GET['x'];
$x = str_replace("stband","&",$x);
$x = str_replace("stbque","?",$x);
$x = str_replace("stbequ","=",$x);
?>
<center>YOUR ADS<br><br>
<iframe src=<?php echo $x; ?> width=800 height=1000></iframe>
ok now heres how you call your links
first place this script anywhere on the main page of your tgp ( idit where it says yoursite.com to your site )
Code:
<script>
function stbgo(URL){
URL = URL.split("&").join("stband");
URL = URL.split("?").join("stbque");
URL = URL.split("=").join("stbequ");
make = "http://yoursite.com/smokey/?x=" + URL ;
window.open(make,"_blank");
}
</script>
then call your links like this
<a href='javascript
:stbgo("http://gallys.nastydollars.com/es/5/?id=yourid")'>open gallery</a>
this will basically make a wrapper for every outgoing link