aggiunti banner google
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Tue, 1 May 2007 15:00:49 +0000 (15:00 +0000)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Tue, 1 May 2007 15:00:49 +0000 (15:00 +0000)
web/index.php

index 425dfea..98f1ac2 100644 (file)
@@ -31,7 +31,9 @@ log_load($sess, "LOAD: index.php");
 
 function main()
 {
-  GLOBAL $sess, $name, $BRISK_SHOWHTML, $_SERVER;
+  GLOBAL $sess, $name, $BRISK_SHOWHTML, $BRISK_DEBUG, $_SERVER;
+
+  $NOGOOGLE = BRISK_DEBUG;
 
   $body = "";
   $ACTION = "login";
@@ -133,10 +135,49 @@ function main()
 $brisk_header_form = '<div class="container">
 <!-- =========== header ===========  -->
 <div id="header" class="header">
-<img class="nobo" src="img/brisk_logo64.png">
-briscola chiamata in salsa ajax<br><br>
+<table width="100%%" border="0" cols="3"><tr>
+<td align="left"><div style="padding-left: 8px;">'.($NOGOOGLE == 'y' ? '' : 
+'<script type="text/javascript"><!--
+google_ad_client = "pub-5246925322544303";
+google_ad_width = 234;
+google_ad_height = 60;
+google_ad_format = "234x60_as";
+google_ad_type = "text_image";
+google_ad_channel = "";
+google_color_border = "808080";
+google_color_bg = "f6f6f6";
+google_color_link = "ffae00";
+google_color_text = "404040";
+google_color_url = "000000";
+//-->
+</script>
+<script type="text/javascript"
+  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>').'</div></td>
+<td align="center"><div>
+    <img class="nobo" src="img/brisk_logo64.png">
+    briscola chiamata in salsa ajax<br><br>
+    </div></td>
+<td align="right"><div style="padding-right: 8px;">'.($NOGOOGLE == 'y' ? '' : 
+'<script type="text/javascript"><!--
+google_ad_client = "pub-5246925322544303";
+google_ad_width = 234;
+google_ad_height = 60;
+google_ad_format = "234x60_as";
+google_ad_type = "text_image";
+google_ad_channel = "";
+google_color_border = "808080";
+google_color_bg = "f6f6f6";
+google_color_link = "ffae00";
+google_color_text = "404040";
+google_color_url = "000000";
+//-->
+</script>
+<script type="text/javascript"
+  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>').'</div></td>
+</td></table>
 </div>
-
 <!--  =========== vertical menu ===========  -->
 <div class="topmenu">
 <a target="_blank" href="/briskhome.php"><img class="nobo" src="img/brisk_homebutt.png"></a>