Esempio n. 1
0
 echo "<tr><td class=\"titlefiche\">{$strEMail} :</td>";
 echo '<td class="textfiche" colspan="3">';
 if ($op == 'admin' || $id == $s_joueur) {
     echo "<input type=\"text\" name=\"email\" value=\"{$joueur->email}\" size=\"40\">";
 } elseif ($joueur->email) {
     echo "<a href=\"mailto:{$joueur->email}\">{$joueur->email}</a>";
 }
 echo '</td></tr>';
 /*** equipes ***/
 echo "<tr><td class=\"titlefiche\">{$strEquipes} :</td>";
 echo '<td nowrap class="textfiche" colspan="3">';
 $mesequipes = equipes_joueur($id);
 $teamcou = "2";
 for ($i = 0; $i < count($mesequipes); $i++) {
     $teamcou = '1';
     echo show_equipe($mesequipes[$i]['id'], $op) . '&nbsp;';
 }
 if ($teamcou != "1") {
     echo "- no team -";
 }
 echo '</td>';
 /*** Steamid ***/
 if ($mods['Osteamid'] == "1") {
     if ($op == 'admin') {
         echo "<tr><td class=\"titlefiche\">{$strSID} :</td>";
         echo '<td class="textfiche" colspan="4">';
         echo "<input type=\"text\" name=\"steamid\" value=\"" . stripslashes($joueur->steam) . "\"> <i>STEAM_X:X:XXXXX</i>";
         echo '</td></tr>';
     } else {
         echo "<tr><td class=\"titlefiche\">{$strSID} :</td>";
         echo '<td class="textfiche" colspan="4">';
Esempio n. 2
0
                                                                                                                if ($lad_while->s2 > $lad_while->s1) {
                                                                                                                    echo '<table border="0" cellpadding="0" cellspacing="5" align="center"><tr>
														<td > ' . show_equipe($lad_while->t1_id, "", "", "", "left", "player_lad_name") . ' </td>
														<td class="loosematch" width="15" align="center">' . $lad_while->s1 . '</td>
														<td class="player_lad" width="10" align="center"> - </td>
														<td class="winmatch" width="15" align="center">' . $lad_while->s2 . '</td>
														<td>' . show_equipe($lad_while->t2_id, "", "", "", "right", "player_lad_name") . '</td>
														</tr></table>
														';
                                                                                                                } else {
                                                                                                                    echo '<table border="0" cellpadding="0" cellspacing="5" align="center"><tr>
														<td > ' . show_equipe($lad_while->t1_id, "", "", "", "left", "player_lad_name") . ' </td>
														<td class="nullmatch" width="15" align="center">' . $lad_while->s1 . '</td>
														<td class="player_lad" width="10" align="center"> - </td>
														<td class="nullmatch" width="15" align="center">' . $lad_while->s2 . '</td>
														<td>' . show_equipe($lad_while->t2_id, "", "", "", "right", "player_lad_name") . '</td>
														</tr></table>
														';
                                                                                                                }
                                                                                                            }
                                                                                                        }
                                                                                                        echo '
								</td></tr></table>
								<br /> ' . $strDate . ' : ' . $date . ' | ' . $strServeur . ' : ' . $lad_while->server . '<br /><br /></td>
								
								<td class="ladder_border"></td>

							</tr>
				';
                                                                                                        // 1 manche = 1 map
                                                                                                        // for nb_manche
Esempio n. 3
0
     echo '</table>';
 }
 echo "<table cellspacing=0 cellpadding=0 border=0 class=liste><tr valign=top>";
 if ($op == 'admin') {
     echo "<form name='liste' method=post action=?page=equipes&op=status>";
 }
 for ($i = 0; $i < $col_equipes; $i++) {
     echo "<td>";
     echo "<table border=0 cellpadding=0 cellspacing=0 class=bordure1><tr><td>";
     echo "<table cellspacing=1 cellpadding=2 border=0>";
     echo "<tr><td class=headerliste>#</td><td width=120 class=headerliste>{$strTag}</td><td class=headerliste>{$strManager}</td><td class=headerliste>{$strJoueurs}</td><td class=\"headerliste\">{$strStatus}</td></tr>";
     for ($j = $i; $j < count($tab_equipes); $j = $j + $col_equipes) {
         echo "<tr>";
         echo "<td class=textliste align=center>" . $tab_equipes[$j]->id . "</td>";
         echo "<td class=textliste>";
         echo "<div style=\"clear: both\"><div style=\"float: left\">" . show_equipe($tab_equipes[$j]->id, $op) . "</div>";
         if ($tab_equipes[$j]->carton == 'aucun') {
             echo "";
         } else {
             echo "<A href=\"?page=reglements\" onMouseOver=\"AffBulle('<b>Carton " . $tab_equipes[$j]->carton . " </b>: " . $tab_equipes[$j]->sanction . "')\" onMouseOut=\"HideBulle()\"><img src=\"images/cartons/" . $tab_equipes[$j]->carton . ".gif\" border=\"0\" align=\"absmiddle\"></A>";
         }
         if ($op == 'admin' && nb_tournois_equipe($tab_equipes[$j]->id) == 0 && nb_joueurs_equipe($tab_equipes[$j]->id) == 0) {
             echo "<div style=\"float: right\">&nbsp;<a href=?page=equipes&op=delete&id=" . $tab_equipes[$j]->id . " onclick=\"return confirm('{$strConfirmEffacerEquipe}');\">[{$strS}]</a></div>";
         }
         echo "</div></td>";
         echo "<td class=textliste>" . show_joueur($tab_equipes[$j]->manager, $op) . "</td>";
         echo "<td class=textliste align=center>";
         $nbjoueurs_inscrit = nb_joueurs_equipe($tab_equipes[$j]->id, 'I');
         $nbjoueurs_preinscrit = nb_joueurs_equipe($tab_equipes[$j]->id, 'P');
         if ($nbjoueurs_inscrit == 0) {
             echo "<font color=red>{$nbjoueurs_inscrit}</font>";