Changeset 1013 in ExiteCMS for branches/PLi-Fusion/forum/viewforum.php
- Timestamp:
- 10/24/07 21:08:44 (5 years ago)
- File:
-
- 1 edited
-
branches/PLi-Fusion/forum/viewforum.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/PLi-Fusion/forum/viewforum.php
r834 r1013 35 35 require_once PATH_INCLUDES."forum_functions_include.php"; 36 36 37 // load the advertisement include module 38 require_once PATH_INCLUDES."advertisement.php"; 39 $variables['advert'] = get_advert(array(1,2)); 37 // load the advertisement include module and get an ad for this forum page 38 if (file_exists(PATH_MODULES."advertising/get_ad.php")) { 39 require_once PATH_MODULES."advertising/get_ad.php"; 40 $variables['advert'] = get_ad(array(1,2)); 41 } else { 42 $variables['advert'] = ""; 43 } 40 44 41 45 // define how many threads per page we want
Note: See TracChangeset
for help on using the changeset viewer.
