</li>
<li> <input type="radio" name="schweinchen" value="second" />
first one normal, second one becomes highest (call during the game) </li>
- <li> <input type="radio" name="schweinchen" value="secondaftercall" disabled="disabled" />
- second one become highest only in case re/contra was announced (not working yet)
+ <li> <input type="radio" name="schweinchen" value="secondaftercall" />
+ second one become highest only in case re/contra was announced
</li>
</ul>
<p> Call Re/Contra, etc.: </p>
/* cards are only availabl for the odd values, e.g. 1.png, 3.png, ...
* convert even cards to the matching odd value */
- if( $card/2 - (int)($card/2) == 0.5)
+ if( $card/2 - (int)($card/2) == 0.5 || $card == 0)
echo "<img src=\"cards/".$dir."/".$card.".png\" alt=\"".DB_get_card_name($card)."\" />\n";
else
echo "<img src=\"cards/".$dir."/".($card-1).".png\" alt=\"".DB_get_card_name($card-1)."\" />\n";
<title>e-Doko</title>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />
<link rel="shortcut icon" type="image/x-icon" href="pics/edoko-favicon.png" />
- <link rel="stylesheet" type="text/css" href="css/standard009.css" />
+ <link rel="stylesheet" type="text/css" href="css/standard014.css" />
<script type="text/javascript">
var current=0;
function hl(num) {
if(document.getElementById){
var i;
- for(i=1;i<14;i++){
+ for(i=0;i<14;i++){
if(document.getElementById("trick"+i))
document.getElementById("trick"+i).style.display = 'none';
}
function output_user_notes($userid,$gameid,$userstatus)
{
+ /* make sure to only show these if the person is logged in */
+ if(!isset($_SESSION['id']) || $userid != $_SESSION['id']) return;
+
echo "<div class=\"notes\"> Personal notes: <br />\n";
$notes = DB_get_notes_by_userid_and_gameid($userid,$gameid);
foreach($notes as $note)
return;
}
-
+
?>
\ No newline at end of file