Advertisement between page redirection ??

blogdev

BANNED
Joined
Sep 29, 2009
Messages
128
Reaction score
64
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

Any idea with php ??

Thanks.
 
which cms are you using?

if plain html or php - next page is the one where your advert lives, just add redirection script (loads to choose from).
 
which cms are you using?

if plain html or php - next page is the one where your advert lives, just add redirection script (loads to choose from).


It's custom, here's the code without redirect

PHP:
<?php if ($this->links): ?>
  <?php foreach ($this->links as $link): ?>
  <div class="box">
            <h3><a href="<?php echo RELATIVE_URL; ?>/out/?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/?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>
 
Back
Top