ccc

Php code posted by ccc
created at 17 Dec 15:20, updated at 17 Dec 15:21

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
if ($use_home_campaign) {
    foreach (array('left','right') as $where) {
        $home_campaign[$where] = '<div class="home_campaign_'.$where.'">';

        if ($home_campaign_is_google_code) {
            $AD_TEMPLATES['%[GOOGLE_'.strtoupper($where).'_CODE]%'] = $home_campaign[$where.'_code'];
            $home_campaign[$where] .= Template('campaign_ga_'.$where.'_homepage.htm',$AD_TEMPLATES);
        } else {
            $AD_TEMPLATES['%[FLASH_'.strtoupper($where).'_CODE]%'] = $home_campaign[$where.'_code'];
            $AD_TEMPLATES['%CSS_DIR%'] = $cssdir.'flash/';
            $home_campaign[$where] .= Template('campaign_'.$where.'_homepage.htm',$AD_TEMPLATES);
        }
        $home_campaign[$where] .= '</div>';
        unset($AD_TEMPLATES);
    }
}
781 Bytes in 2 ms with coderay