<?php

/************************************************************************/
/* GoogleAdsense Block                                                  */
/* ===========================                                          */
/*                                                                      */
/* Copyright (c) 2003 by Tyler Mammone                                  */
/* http://www.vie4life.com                                              */
/*                                                                      */
/*                                                                      */
/************************************************************************/
/* PHP-NUKE: Web Portal System                                          */
/* ===========================                                          */
/*                                                                      */
/* Copyright (c) 2003 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/
/* Somes changes by Diabolo for PragmaMx																*/
/************************************************************************/
/*                                                                      */
/* Si vous n'avez pas encore de compte,																	*/
/* aller à http://www.google.com/adsense     et enregistrez-vous.				*/
/* Ensuite vous êtes prêt pour créer le nouveau bloc de coté de			    */
/* 120x600.  Copier la variable  dans google_ad_client depuis le code	  */
/* html que google vous a donné.																				*/
/* Vous pouvez également configurer les 7 variables du code suivant     */
/* pour adapter le bloc à votre site.																		*/
/*                                                                      */
/* Sauvez et envoyez ensuite ce fichier dans votre répertoire /blocks/   */
/*                                                                      */
$number_of_ads_to_show = "2";
/*                                                                      */
$google_color_border = "216BB0";
/*                                                                      */
$google_color_bg = "FFFFFF";
/*                                                                      */
$google_color_link = "000000";
/*                                                                      */
$google_color_url = "216BB0";
/*                                                                      */
$google_color_text = "000000";
/*                                                                      */
$google_ad_client = "pub-9839777177813177";
/*                                                                      */
/************************************************************************/
/************************************************************************/
/*                   DO NOT EDIT BELOW THIS LINE                        */
/************************************************************************/
/************************************************************************/

if (!defined("mxMainFileLoaded")) die ("You can't access this file directly...");


if ($number_of_ads_to_show == 1) { $ad_height = 162; }
 elseif ($number_of_ads_to_show == 2) { $ad_height = 308; }
 elseif ($number_of_ads_to_show == 3) { $ad_height = 454; }
 elseif ($number_of_ads_to_show == 4) { $ad_height = 600; }
$content .= "<center><script type=\"text/javascript\"><!--\n"
."google_ad_client = \"$google_ad_client\";\n"
."google_ad_width = 120;\n"
."google_ad_height = $ad_height;\n"
."google_ad_format = \"120x600_as\";\n"
."google_color_border = \"$google_color_border\";\n"
."google_color_bg = \"$google_color_bg\";\n"
."google_color_link = \"$google_color_link\";\n"
."google_color_url = \"$google_color_url\";\n"
."google_color_text = \"$google_color_text\";\n"
."//--></script>\n"
."<script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">\n"
."</script></center>\n";

/************************************************************************/
/************************************************************************/
?>