min-height: 40em;
}
-.footer {
+.footer {
margin:0;
margin-top:0.3em;
padding:0;
right:1em;
top:0.1em;
font-size: smaller;
-}
+}
.joingame,.sickness,.poverty,.total,.message {
position: absolute;
text-align: center;
}
+.total .re {
+ position: absolute;
+ left: -4em;
+ top:8em;
+ background-color: #fff;
+}
+.total .contra {
+ position: absolute;
+ right: -4em;
+ top:8em;
+ background-color: #fff;
+}
+
+
+
.poverty {
top:32em;
z-index:15;
}
-.card {
+.card {
position:absolute;
z-index:20;
top:18em;
text-align:center;
}
-div.table img {
+div.table img {
top:25%;
bottom:25%;
height:50%;
}
div.table div.table1 {
top:-25%;
- left:37.5%;
+ left:37.5%;
}
div.table div.table2 {
top:37.5%;
ul.tricks li {
/*background-color:blue;*/
margin:0;
- padding:0.2em 0.5em;
+ padding:0.2em 0.5em;
display:inline;
}
ul.tricks li.old { background-color:#fff; }
background-color: #eee;
}
-.user { margin-left:25%;margin-right:25%; }
+.user { margin-left:25%;margin-right:25%; }
-.over {
+.over {
text-align:center;
margin-bottom:0.1em;
}
-.submitbutton {
+.submitbutton {
border:0;
background-color: #efe;
}
-.submitbutton:hover {
- background-color:#afa;
+.submitbutton:hover {
+ background-color:#afa;
}
}
div span img.button {
- height: 2em;
width: 2em;
}
.gamestatuspre {
padding: 0 0.3em;
-
+
background-color: #fd8901;
}
.gamestatusover {
echo "<div class=\"total\"> Totals:<br />\n";
while( $r = mysql_fetch_array($result,MYSQL_NUM))
echo " ".$r[0]." ".$r[1]."<br />\n";
+
+ echo "<div class=\"re\">\n Points Re: <br />\n";
+ $queryresult = mysql_query("SELECT score FROM Score ".
+ " WHERE game_id=$gameid AND party='re'".
+ " ");
+ while($r = mysql_fetch_array($queryresult,MYSQL_NUM) )
+ echo " ".$r[0]."<br />\n";
+ echo "</div>\n";
+
+ echo "<div class=\"contra\">\n Points Contra: <br />\n";
+ $queryresult = mysql_query("SELECT score FROM Score ".
+ " WHERE game_id=$gameid AND party='contra'".
+ " ");
+ while($r = mysql_fetch_array($queryresult,MYSQL_NUM) )
+ echo " ".$r[0]."<br />\n";
echo "</div>\n";
+ echo "</div>\n";
+
+
}
break;
default: