//    while ($row2= mysql_fetch_array($result2))
  //    {
 //       $date_us_matchs="$dateUS $heure:$minute:00";
  //      $query="UPDATE matchs SET date_reelle='$date_us_matchs ' WHERE matchs.id_journee=$row2[0]";
  //      $result= mysql_query($query);
  //    }
   //   $x++;

  //}
}


?>
<table class=phpl width="80%">
            <tr>
              <td class=phpl2 align="center" colspan="3"><? echo ADMIN_DATES_TITRE." "; affich_champ ($champ); ?></td><td class=phpl2 align="right"><a href="#" onclick="window.open('Assistant_fr/dates.htm','Assistant','toolbar=0,location=0,directories=0,status=0,scrollbars=1,resizable=0,copyhistory=0,menuBar=0,width=512,height=512');return false;"><img border="0" alt="Assistant" src="aide.gif"></a></td>

            </tr>

  <form method="post" action="">
  <?
  $nb_equipes=nb_equipes ($champ);
  
  if ($nb_equipes==0)
  {
    echo "<tr><td align=\"center\">".ADMIN_DATES_5." <a href=\"?page=championnat&action=equipes&champ=$champ\">".TEAM."</td></tr></table>";
  }
  
  elseif (($nb_equipes%2)!==0)
  {
    echo "<tr><td align=\"center\">".ADMIN_DATES_3."</td></tr></table>";
              </td>
              
              </form>
            </tr>
            
            <tr>
              <td align="center" class=phpl6 colspan="4"><b><?php 
echo ADMIN_RENS_8;
?>
</b></td>
            </tr>
              <td class=phpl3 colspan="2"><form method="post" action=""><?php 
echo ADMIN_EQUIPE_4;
?>
 <b><?php 
affich_champ($champ);
?>
</b> : <?php 
equipes_menu($champ);
print nb_equipes($champ);
?>
 clubs</td>
                     
              <td class=phpl3 align=right colspan="3">
               <?php 
$value = ADMIN_RENS_8;
echo "<input type=\"submit\" value=\"{$value}\">";
?>
                <input type="hidden" name="action3" value="supp">
                <input type="hidden" name="action" value="equipes">
                <input type="hidden" name="page" value="championnat">
                $b++;
               }
         $x++;
        }
}

 if ($action4=='supp')
        {
          mysql_query ("DELETE FROM phpl_buteurs WHERE id='$id_buteur_supp' ") or die ("probleme " .mysql_error());
        }

?>

<table class=phpl width="80%">
  <tr>
    <td class=phpl2 align="center" colspan="3"><? echo ADMIN_BUTEUR_TITRE." "; affich_champ ($champ); ?></td>
  </tr>
  <td align="center"><? journees ($champ, $numero, $action);?>
  </td></tr>
  <tr><td>

<?
//buteurs



 echo "<br />".ADMIN_JOUEURS_1;
 echo "<form method=\"post\" action=\"\">";
 echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" valign=\"bottom\" align=\"center\" width=\"100%\"><tr><td>";

 echo"<tr class=phpl4 align =\"left\"><td align=\"right\" class=phpl2>".DOMICILE."<td class=phpl2><td class=phpl2>".BUTEUR."<td class=phpl2><td class=phpl2><td class=phpl2>".BUTEUR."<td class=phpl2><td class=phpl2>".EXTERIEUR."</tr>";
//                                                                      */
// This program is free software. You can redistribute it and/or modify */
// it under the terms of the GNU General Public License as published by */
// the Free Software Foundation; either version 2 of the License.       */
//                                                                      */
//***********************************************************************/
// Support technique : http://phpleague.univert.org/forum               */
//                                                                      */
//***********************************************************************/

if ($champ and !$confirm=="ok")
{
?>
<table class=phpl width="80%">
            <tr>
              <td class=phpl2 align="center"><? echo ADMIN_CHAMPIONNATS_SUPP; ?></td>
            </tr>
            <tr>
              <td class=phpl3 align=center><? echo ADMIN_CHAMPIONNATS_SUPP1; ?> <b><? affich_champ ($champ); ?></b> <? echo ADMIN_CHAMPIONNATS_SUPP2; ?></td>
            </tr>
            <tr>
              <td class=phpl3 align=center><a href="?page=championnat&action=supp&champ=<? print $champ; ?>&confirm=ok"><? echo ADMIN_RENS_17; ?></a> - <a href="?page=championnat"><? echo ADMIN_RENS_18; ?></a></td>
            </tr>


          </table>
<?
}

?>