Changeset 1014 in ExiteCMS for modules/common/advertising/php-files/modules/advertising/get_ad.php
- Timestamp:
- 10/24/07 21:22:41 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/common/advertising/php-files/modules/advertising/get_ad.php
r1012 r1014 59 59 $advert = dbarray($bresult2); 60 60 if($numrows > 0) { 61 // $advert_html = "<a target='_blank' href='". BASEDIR."click.php?id=".$advert['adverts_id']."'><img src='".IMAGES_ADS.$advert['adverts_image']."' border='0' ".($bheight==0?"":"height='".$bheight."'")." ".($bwidth==0?"":"width='".$bwidth."'")."></a>";62 $advert_html = "<a target='_blank' href='".$advert['adverts_url']."' onclick='window.location.href=\"". BASEDIR."click.php?id=".$advert['adverts_id']."\";return true;'><img src='".IMAGES_ADS.$advert['adverts_image']."' border='0' ".($bheight==0?"":"height='".$bheight."'")." ".($bwidth==0?"":"width='".$bwidth."'")." alt='' /></a>";61 // $advert_html = "<a target='_blank' href='".MODULES."advertising/click.php?id=".$advert['adverts_id']."'><img src='".IMAGES_ADS.$advert['adverts_image']."' border='0' ".($bheight==0?"":"height='".$bheight."'")." ".($bwidth==0?"":"width='".$bwidth."'")."></a>"; 62 $advert_html = "<a target='_blank' href='".$advert['adverts_url']."' onclick='window.location.href=\"".MODULES."advertising/click.php?id=".$advert['adverts_id']."\";return true;'><img src='".IMAGES_ADS.$advert['adverts_image']."' border='0' ".($bheight==0?"":"height='".$bheight."'")." ".($bwidth==0?"":"width='".$bwidth."'")." alt='' /></a>"; 63 63 //check ownership user to client id 64 64 if(isset($userdata['user_id']) && $advert['adverts_userid']!=$userdata['user_id']) {
Note: See TracChangeset
for help on using the changeset viewer.
