chat reset in user class
[brisk.git] / web / index.php
index 5aa865a..9d443e3 100644 (file)
@@ -41,8 +41,8 @@ log_load("index.php");
 
 function main()
 {
-  GLOBAL $sess, $name, $table_idx, $table_token, $BRISK_SHOWHTML, $BRISK_DEBUG, $_SERVER;
-  
+  GLOBAL $G_is_local, $sess, $name, $table_idx, $table_token, $BRISK_SHOWHTML, $BRISK_DEBUG, $_SERVER;
+
   $body = "";
   $tables = "";
   $standup = "";
@@ -182,7 +182,7 @@ $brisk_header_form = '<div class="container">
 <!-- =========== header ===========  -->
 <div id="header" class="header">
 <table width="100%%" border="0" cols="3"><tr>
-<td align="left"><div style="padding-left: 8px;">'.($G_is_local ? '',
+<td align="left"><div style="padding-left: 8px;">'.($G_is_local ? '' :
 '<script type="text/javascript"><!--
 google_ad_client = "pub-5246925322544303";
 google_ad_width = 234;
@@ -201,7 +201,7 @@ google_color_url = "000000";
   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
 </script>'
 ).'</div></td>
-<td align="center">'.($with_topbanner ? '<table><tr><td>' : '').'<div>
+<td align="center">'.($with_topbanner ? '<table><tr><td>' : '').'<div style="text-align: center;">
     <img class="nobo" src="img/brisk_logo64.png">
     briscola chiamata in salsa ajax<br>
     </div>'.($with_topbanner ? '</td>
@@ -217,7 +217,7 @@ chiamata - Milano<br>
 
 </tr></table>' : '').'</td>
 <td align="right"><div style="padding-right: 8px;">
-'.($G_is_local ? ''
+'.($G_is_local ? '' :
 '<script type="text/javascript"><!--
 google_ad_client = "pub-5246925322544303";
 google_ad_width = 234;