Advertisement between page redirection ??

Discussion in 'BlackHat Lounge' started by blogdev, Jul 10, 2011.

  1. blogdev

    blogdev BANNED BANNED

    Joined:
    Sep 29, 2009
    Messages:
    128
    Likes Received:
    101
    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.
     
  2. nonin

    nonin Power Member

    Joined:
    Apr 26, 2010
    Messages:
    732
    Likes Received:
    501
    Gender:
    Male
    Location:
    I connect dots..
    Home Page:
    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).
     
  3. blogdev

    blogdev BANNED BANNED

    Joined:
    Sep 29, 2009
    Messages:
    128
    Likes Received:
    101

    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>