
<table width="302" align="right" cellpadding="0" cellspacing="0">
              <tr>
                <td height="252" align="center" valign="middle" class="main2_pad">
<?php
if($advert_arr['0']=='cbar')
{
?>
<script type='text/javascript' src='https://cbadrotator-feed.com/feeds2/gen.php?CID=<?php echo $advert_arr['2']; ?>&kw1=<?php echo $advert_arr['1']; ?>&kw2=&kw3=&n1=3&n2=3&width=300&word_break=25&border_width=&border_color=&border_style=none&title_len=80&title_font=tahoma&title_size=13&title_color=%23000000&desc_font=tahoma&desc_size=12&desc_color=%23000000&padding=0&rkey1=affiliate&rkey2=commission&rkey3=&target=_blank&orientation=vertical&desc_len=170&order_by=random&talign=left&tid=&desc_bold=normal&title_bold=bold&isCloak=no&CloakID=www.your_link.com&output=js'></script>
<?php
}
?>
<?php
if($advert_arr['0']=='adsense')
{
?>	
        <script type="text/javascript"><!--
        google_ad_client = "<?php echo $advert_arr['3']; ?>";
        google_alternate_color = "FFFFFF";
        google_ad_width = 300;
        google_ad_height = 250;
        google_ad_format = "300x250_as";
        google_ad_type = "text";
        google_ad_channel ="<?php echo $advert_arr['4']; ?>";
        google_color_border = "FFFFFF";
        google_color_bg = "FFFFFF";
        google_color_link = "000000";
        google_color_text = "000000";
        google_color_url = "000000";
        //--></script>
        <script type="text/javascript"  src="https://pagead2.googlesyndication.com/pagead/show_ads.js">
                            </script>
<?php
}
?>
<?php
if($advert_arr['0']=='other')
{
?>
<?php echo $advert_arr['9']; ?>	
<?php
}
?>
                </td>
                  </tr>
              </table>