$G_false = FALSE;
$G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 );
-$G_brisk_version = "0.7.3";
+$G_brisk_version = "0.8.0";
-$root_wellarr = Array ( 'Benvenuto in brisk (Ver. '.$G_brisk_version.'), <b>NOVITA\'</b>: ottimizzazione della CPU e chiuso il bug di mancato cambio pagina.',
+$root_wellarr = Array ( 'Benvenuto in brisk (Ver. '.$G_brisk_version.'), <b>NOVITA\'</b>: nuovo layout che permette più tavoli, più tavoli.',
'Se vuoi iscriverti alla <a target="_blank" href="http://www.milug.org/cgi-bin/mailman/listinfo/ml-briscola">Mailing List</a>, cliccala!' );
$table_wellarr = Array ( 'Benvenuto al tavolo. Se almeno tre giocatori non sbloccano l\'uscita cliccando il lucchetto, chi esce non può risedersi a un qualunque tavolo per '.floor(BAN_TIME/60).' minuti.');
</div></td>
</td></table>
-</div>
+</div>';
+
+$brisk_vertical_menu = '
<!-- =========== vertical menu =========== -->
<div class="topmenu">
<a target="_blank" href="/briskhome.php"><img class="nobo" src="img/brisk_homebutt.png"></a>
}
</SCRIPT>
<?php
- printf($brisk_header_form, '', '');
+ printf($brisk_header_form);
+ printf("<table class=\"floaty\"><tr><td class=\"floatyleft\">\n");
+ printf($brisk_vertical_menu, '', '');
+ printf("</td><td>");
?>
<!-- =========== tables =========== -->
-<div id="tables" class="tables">
<?php echo "$body"; ?>
<br>
<div style="text-align: center;">
<input id="nameid" name="name" type="text" size="24" maxlength="12" value="">
<input id="sub" value="entra" type="submit" class="button">
</form>
-</div>
-</div></div>
+</div></td></tr></table>
<br><br><br><br>
<div id="imgct"></div>
</SCRIPT>
<?php
- printf($brisk_header_form, '<input type="button" class="button" name="xhelp" value="Help." onclick="act_help();"><br><br><input type="button" class="button" name="xabout" value="About." onclick="act_about();"><br><br><br>',
+ printf($brisk_header_form);
+ printf("<table class=\"floaty\"><tr><td class=\"floatyleft\">\n");
+ printf($brisk_vertical_menu, '<input type="button" class="button" name="xhelp" value="Help." onclick="act_help();"><br><br><input type="button" class="button" name="xabout" value="About." onclick="act_about();"><br><br><br>',
$brisk_donate);
+ printf("</td><td>");
?>
<!-- =========== tables =========== -->
-<div id="tables" class="tables">
<input name="sess" type="hidden" value="<?php echo "$user->sess"; ?>">
<table class="macro"><tr><td>
<?php echo "$tables"; ?>
</td></tr><tr><td>
<?php echo "$standup"; ?>
</td></tr></table>
-</div>
+</td></tr></table>
<!-- =========== bottom =========== -->
- <div id="bottom" class="bottom" style="padding: 6px; /* background-color: green; */">
+ <div id="bottom" class="bottom" style="/* background-color: green; */">
<b>Chat</b><br>
<div id="txt" class="chatt">
</div>
}
div.topmenu {
- /* border: 1px solid red; */
- float:left;
+ /* border: 1px solid red; */
width:90px;
margin:0;
text-align: center;
div.bottom {
/* border: 1px solid green; */
position: relative;
- top: -24px;
+ top: -13px;
text-align: left;
- padding:4px;
+ padding:2px;
clear:left;
}
padding: 6px;
}
+table.floaty {
+ width: 100%;
+ /* border: 1px solid red; */
+ border-collapse: collapse;
+ border-spacing: 0px;
+ padding: 0px;
+}
+
+table.floaty td {
+ /* border: 1px solid orange; */
+ align: center;
+ text-align: center;
+ vertical-align: top;
+}
+
+table.floaty td.floatyleft {
+ width: 100px;
+}
+
table.macro {
/* border: 1px solid orange; */
+ border-spacing: 0px;
align: center;
width: 100%;
padding: 0px;
}
table.macro td {
- /* border: 1px solid green; */
+ /* border: 1px solid green; */
align: center;
text-align: center;
}
table.room_tab {
width: 100%;
- border: 0px solid red;
+ /* border: 0px solid red; */
border-collapse: separate;
border-spacing: 4px;
border-style: none;
div.room_standup {
position: absolute;
+ vertical-align: "top";
+ /* align: left; */
top: 26px;
width: 100%;
height: 80px;
- align: left;
overflow: auto;
padding: 0px;
margin: 0px;
- vertical-align: "top";
}
table.room_standup {
- margin-left: 4px;
+ /* margin-left: 4px; */
width: 100%;
- border: 1px solid grey;
+ border: 1px solid gray;
+ border-spacing: 0px;
+ padding: 0px;
}
table.room_standup td {
align: left;
text-align: left;
padding: 0px;
- margin: 0px;
+
}
table.table_standup {
/* background-color: red; */
- /* background-color: green; */
border-spacing: 0px;
width: 100%;
}
table.table_standup td {
+ /* background-color: green; */
+ /* border: 1px solid red; */
+ width: 25%;
text-align: center;
align: center;
padding: 0px;
.chatt {
height: 100px;
overflow: auto;
- border: 1px solid grey;
- padding: 2px;
+ border: 1px solid gray;
+ padding: 2px;
vertical-align: text-bottom;
}
}
.proxhr {
- /* background-color: green; */
- position: absolute;
+ /*background-color: green; */
align: center;
text-align: center;
width: 100%;