Example #1
0
     echo "<tr><td class=\"tableCellRidge7\" colspan=50>&nbsp;</td></tr>\n";
     echo "</table>\n";
     echo "</td>\n";
 }
 echo "</tr>\n";
 echo "</table>\n";
 echo "<hr width=80%></hr>\n";
 echo "<a name=\"conference\"></a>";
 echo "<table align=\"center\" cellspacing=2 cellpadding=2>\n";
 echo "<tr>\n";
 echo "<td><a href=\"#general\">Classement général</a></td>\n";
 echo "<td><a href=\"#conference\">Classement par conférence</a></td>\n";
 echo "<td><a href=\"#division\">Classement par division</a></td>\n";
 echo "</tr>\n";
 echo "</table>\n";
 $conference_dataA = $pool->getNHLConferences();
 echo "<table align=\"center\" cellspacing=5 cellpadding=5>\n";
 echo "<tr>\n";
 foreach ($revuesA as $revueA) {
     echo "<td>\n";
     echo "<table cellpadding=0 cellspacing=0 border=0>\n";
     echo "<tr>\n";
     echo "<th CLASS=\"tableHeaderRoundCorner\" colspan=10>Selon la revue '{$revueA['nom']}'</th>";
     echo "</tr>\n";
     echo "<tr>\n";
     foreach ($conference_dataA as $confA) {
         echo "<th CLASS=\"tableHeader1\" colspan=3 nowrap>\n                                         <IMG SRC=\"{$confA['image']}\" style=\"margin-left:5px;\" width=21 height=21/>\n                                         <FONT style=\"vertical-align:50%;margin-left:3px;margin-right:3px;font-weight:bold;\">{$confA['name']}</font>\n                                         </th>";
         echo "<th CLASS=\"tableHeader2\" style=\"padding:0 0 0 0;\">&nbsp;</th>\n";
     }
     echo "</tr>\n";
     echo "<tr>\n";
Example #2
0
        echo $_SERVER['PHP_SELF'];
        ?>
">
     <INPUT TYPE="HIDDEN" NAME="id_team_selected"/>

     <CENTER>
     <?php 
        $pmb = new PhpMyBorder(true);
        echo $pmb->begin_round("950", "", "000000");
        //  (width, fillcolor, edgecolor)
        ?>

     <TABLE ALIGN="CENTER" cellpadding=10 cellspacing=10>
          <TR>
     <?php 
        $nhl_conferences = $pool->getNHLConferences();
        foreach ($nhl_conferences as $data_conference) {
            echo "<TD>\n";
            // initialisation de certaines array (et remise à 0).
            $id_teamA = array();
            $cityA = array();
            $team_nameA = array();
            $team_abbrA = array();
            $team_logoA = array();
            $id_conference = $data_conference["id"];
            $conference_name = $data_conference["name"];
            $conference_logo = $data_conference["image"];
            echo "<TABLE CLASS=\"joueurs_nhl\" ALIGN=\"CENTER\" border=1>\n";
            echo "<TR>\n";
            echo "<TH COLSPAN=10 ><IMG SRC=\"{$conference_logo}\" style=\"margin-right:5px;margin-left:5px;\"/>" . "<FONT style=\"vertical-align:100%;margin-right:10px;margin-left:10px;\">{$conference_name}</FONT>" . "<IMG SRC=\"{$conference_logo}\" tyle=\"margin-left:5px;\"/></TH>\n";
            echo "</TR>\n";