Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

google adsense not working


wergolf.net

Recommended Posts

installed google addon over weekend got account # yesterday, and nothing has come up, maybe someone can see if I did something wrong

 

here is where I added in includes:

 

 require(DIR_WS_BOXES . 'reviews.php');

 if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {
   include(DIR_WS_BOXES . 'languages.php');
   include(DIR_WS_BOXES . 'currencies.php');
   include(DIR_WS_BOXES . 'google.php');
 }
?>



</table>


</div>

</td><tr>

 

 

 

Here is what I added (google.php) in includes/boxes:

<?php
/*

*/
?>

        <tr>
           <td>

<?php
 $info_box_contents = array();
 $info_box_contents[] = array('text' => ' ' . Google);

 new infoBoxHeading($info_box_contents, false, false);

 $info_box_contents = array();
 $info_box_contents[] = array('text' =>
'<center><script type="text/javascript"><!--
google_ad_client = "pub-7358739459065491";
/* 110x240, created 7/26/08 */
google_ad_slot = "5850898878";
google_ad_width = 110;
google_ad_height = 240;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>');


 new infoBox($info_box_contents);
?>
           </td>
         </tr>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...