Code:
// Google AD
// Ramon Fincken, Websitefreelancers.nl Ramonfincken.com
if($i_clone === 1 || $i_clone === 7)
{
$row_color = ( !($i_clone % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i_clone % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$i_clone++;
$message = '<strong>Advertisement</strong>';
$message .= '<script type="text/javascript"><!--
google_ad_client = "pub-0964453741274626";
google_ad_slot = "9315104464";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>';
$template->assign_block_vars('postrow', array(
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
'POSTER_NAME' => 'Google adsense',
'POSTER_RANK' => 'Advertisement',
'RANK_IMAGE' => $rank_image,
'POSTER_JOINED' => '',
'POSTER_POSTS' => '',
'POSTER_FROM' => '',
'POSTER_AVATAR' => '',
'POST_DATE' => $post_date,
'POST_SUBJECT' => $post_subject,
'MESSAGE' => $message,
'SIGNATURE' => '',
'EDITED_MESSAGE' => '',
'MINI_POST_IMG' => $mini_post_img,
'PROFILE_IMG' => '',
'PROFILE' => '',
'SEARCH_IMG' => '',
'SEARCH' => '',
'PM_IMG' => '',
'PM' => $pm,
'EMAIL_IMG' => '',
'EMAIL' => '',
'WWW_IMG' => '',
'WWW' => '',
'ICQ_STATUS_IMG' => '',
'ICQ_IMG' => '',
'ICQ' => '',
'AIM_IMG' => '',
'AIM' => '',
'MSN_IMG' => '',
'MSN' => '',
'YIM_IMG' => '',
'YIM' => '',
'EDIT_IMG' => '',
'EDIT' => '',
'QUOTE_IMG' => '',
'QUOTE' => '',
'IP_IMG' => '',
'IP' => '',
'DELETE_IMG' => '',
'DELETE' => '',
'L_MINI_POST_ALT' => $mini_post_alt,
'U_MINI_POST' => $mini_post_url,
'U_POST_ID' => $postrow[$i]['post_id'])
);
}
// Google AD
// Ramon Fincken, Websitefreelancers.nl Ramonfincken.com
|