web/wp-content/plugins/wptouch/include/adsense-new.php
changeset 136 bde1974c263b
equal deleted inserted replaced
135:53cff4b4a802 136:bde1974c263b
       
     1 <?php global $wptouch_settings; global $wpdb; ?>
       
     2 <?php echo '<div id="adsense-area">'; ?>
       
     3 <script type="text/javascript"><!--
       
     4 window.googleAfmcRequest = {
       
     5   client: 'ca-mb-<?php echo $wptouch_settings['adsense-id']; ?>',
       
     6   ad_type: 'text_image',
       
     7   output: 'html',
       
     8 <?php if ( !isset( $wptouch_settings['adsense-channel'] ) ) { ?>
       
     9   channel: '',
       
    10 <?php } else { ?>
       
    11   channel: '<?php echo $wptouch_settings['adsense-channel']; ?>',
       
    12 <?php } ?>
       
    13   format: '320x50_mb',
       
    14 <?php if ( $wpdb->charset ) { ?>
       
    15   oe: '<?php echo $wpdb->charset; ?>',
       
    16 <?php } else { ?>
       
    17   oe: 'utf8',
       
    18 <?php } ?>
       
    19 };
       
    20 //--></script>
       
    21 <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_afmc_ads.js"></script>
       
    22 <?php echo '</div>'; ?>