Mercurial > defr > drupal > ad
comparison adserve.inc @ 2:e5584a19768b ad
maj module ad
author | sly |
---|---|
date | Wed, 15 Apr 2009 07:58:32 +0000 |
parents | 948362c2a207 |
children | 6aeff3329e01 |
comparison
equal
deleted
inserted
replaced
1:948362c2a207 | 2:e5584a19768b |
---|---|
1 <?php | 1 <?php |
2 // $Id: adserve.inc,v 1.1.2.31.2.8.2.6 2009/03/27 17:26:02 jeremy Exp $ | 2 // $Id: adserve.inc,v 1.1.2.31.2.8.2.7 2009/04/09 14:06:27 jeremy Exp $ |
3 | 3 |
4 /** | 4 /** |
5 * @file | 5 * @file |
6 * Configuration. | 6 * Configuration. |
7 * | 7 * |
47 | 47 |
48 // invoke cache function (file already included in adserve_variable) | 48 // invoke cache function (file already included in adserve_variable) |
49 $ids = adserve_cache('get_ad_ids'); | 49 $ids = adserve_cache('get_ad_ids'); |
50 | 50 |
51 // display the advertisement(s) | 51 // display the advertisement(s) |
52 adserve_cache('display', $ids); | 52 return adserve_cache('display', $ids); |
53 } | 53 } |
54 | 54 |
55 /** | 55 /** |
56 * Retrieve variables from $_GET array or from passed in $value array. | 56 * Retrieve variables from $_GET array or from passed in $value array. |
57 */ | 57 */ |