return;
}
-function output_form_calls($me)
+function output_form_calls($me,$myparty)
{
if( can_call(120,$me) )
- echo " re/contra (120):".
- " <input type=\"radio\" name=\"call\" value=\"120\" /> <br />";
+ {
+ if($myparty=='re')
+ echo "re (120):";
+ else if ($myparty=='contra')
+ echo "contra (120):";
+ else
+ echo " re/contra (120):";
+ echo " <input type=\"radio\" name=\"call\" value=\"120\" /> <br />";
+ }
if( can_call(90,$me) )
echo " 90:".
" <input type=\"radio\" name=\"call\" value=\"90\" /> <br />";
<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/standard014.css" />
- <script type="text/javascript">
- var current=0;
- function hl(num) {
- if(document.getElementById){
- var i;
- for(i=0;i<14;i++){
- if(document.getElementById("trick"+i))
- document.getElementById("trick"+i).style.display = 'none';
- }
- document.getElementById("trick"+num).style.display = 'block';
- current=num;
- }
- }
- function high_last(){
- if(document.getElementById){
- var i;
- for(i=13;i>=0;i--) {
- if(document.getElementById("trick"+i))
- {
- hl(i);
- current=i;
- break;
- }
- }
- }
- }
- function hl_next()
- {
- if(document.getElementById("trick"+(current+1)))
- hl(current+1);
- }
- function hl_prev()
- {
- if(document.getElementById("trick"+(current-1)))
- hl(current-1);
- }
- </script>
+ <link rel="stylesheet" type="text/css" href="css/standard017.css" />
+ <script type="text/javascript" src="include/game.js"> </script>
</head>
<body onload="high_last();">
<div class="header">
-<h1> Welcome to E-Doko <sup style="color:#888;">(RC 1)</sup> </h1>
+<h1> Welcome to E-Doko </h1>
</div>
<?php
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)