![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Nov 2009
Posts: 252
|
![]() Hi,
i need to display an add in between two pages.....i.e. when i post data from 1st page to 2nd page than, i want to display an add before redirecting the 2nd page How can it be insert into my code ? PHP Code:
Something like on this site http://www.poguide.com/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
looks like you only have 2 variables , so you make a simple php page in the out folder say called ad.php
Code:
<?php $url = $_GET["url"]; $id = $_GET["id"]; ?> <html> <head> <meta http-equiv="refresh" content="15; url=index.php?url=<?php echo $url; ?>&id=<?php echo $id;?>"> </head> <body> this is where you would see an ad, this page will automatically refresh to target in 15 seconds <a href="index.php?url=<?php echo $url; ?>&id=<?php echo $id;?>">CLICK HERE TO SKIP AD</a> </body> </html>
__________________
hatisblack at yahoo.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
Code:
<h2>Title</h2> <?php foreach ($this->recommended as $link): ?> <div class="box"> <h3><a href="<?php echo RELATIVE_URL; ?>/out/ad.php?id=<?php echo $link['link_id']; ?>&url=<?php echo e($link['url']); ?>"<?php if ($link['target'] == 'blank'): echo ' target="_blank"'; endif; ?>><?php echo strtoupper(e($link['title'])); ?></a></h3> <div class="left"> <a href="<?php echo RELATIVE_URL; ?>/out/ad.php?id=<?php echo $link['link_id']; ?>&url=<?php echo e($link['url']); ?>"<?php if ($link['target'] == 'blank'): echo ' target="_blank"'; endif; ?>><img src="<?php echo RELATIVE_URL; ?>/media/images/<?php echo $link['link_id'],'.',$link['ext']; ?>" width="<?php echo $this->lcfg['thumb_width']; ?>" height="<?php echo $this->lcfg['thumb_height']; ?>" alt="<?php echo e($link['title']); ?>" /></a> </div>
__________________
hatisblack at yahoo.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
your welcome
__________________
hatisblack at yahoo.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Nov 2005
Location: Spain :)
Posts: 2,231
|
bump 4 Smokey
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
So Fucking Banned
Industry Role:
Join Date: Jul 2010
Location: ☣
Posts: 9,327
|
Hell yah mon
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Jul 2003
Location: couch
Posts: 6,258
|
Thanks Smokey.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Nov 2005
Posts: 1,029
|
I was actually looking for something like this. Thanks Smokey.
![]()
__________________
Email: fenris_wolf3000 (a t ) yah00 . c 0 m ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |