Esempio n. 1
0
// pour les accents français
//header("Content-Type:application/xhtml+xml; charset=ISO-8859-1");
echo "<INPUT TYPE=\"HIDDEN\" ID=\"id_pool\" VALUE={$id_pool} />\n";
echo "<INPUT TYPE=\"HIDDEN\" ID=\"saison_id\" VALUE={$id_saison} />\n";
echo "<table cellpadding=0 cellspacing=0 border=0 width=100% id=\"{$table_id}\">\n";
echo "<tr>\n";
echo "<td class=\"tableCellBold1\" style=\"padding-top:3px;padding-bottom:3px;\">Rg</td>\n";
echo "<td class=\"tableCellBold3\" style=\"padding-top:3px;padding-bottom:3px;\">Joueur</td>\n";
if ($tiens_compte_pj == "Y") {
    echo "<td class=\"tableCellBold3\" style=\"padding-top:3px;padding-bottom:3px;\">Pj</td>\n";
}
echo "<td class=\"tableCellBold3\" style=\"padding-top:3px;padding-bottom:3px;\">Pts</td>\n";
echo "<td class=\"tableCellBold4\" style=\"padding-top:3px;padding-bottom:3px;padding-left:10px;\">À</td>\n";
echo "</tr>\n";
echo "<div id=\"{$div_menu_contextuel_id}\">\n";
$dataTopJourA = $pool->getTop15($id_pool, $periode, $nbre_periodes, $type, $nhl_team_as_gerant_name, $id_saison);
$rang = 1;
if (count($dataTopJourA) > 0) {
    foreach ($dataTopJourA as $value) {
        $valueA = explode(":", $value);
        $first_name = $valueA[0];
        $last_name = $valueA[1];
        $pts_jour = $valueA[2];
        $gerant_nickname = $valueA[3];
        $actif = $valueA[4];
        $id_gerant = $valueA[5];
        $gerant_realName = $valueA[7];
        $gerant_abbr = $valueA[8];
        $gerant_logo = $valueA[9];
        $pos = $valueA[10];
        $id_player = $valueA[11];
Esempio n. 2
0
			     	<TR>
			     		<TD colspan=4 WIDTH="100%" ALIGN="center" style='font-weight: bold'> Top 15 - Jour </TD>
			     	</TR>
			     	<TR>
			     		<TD colspan=4><HR></hr></TD>
			     	</TR>
                         <TR>
			     		<TH ALIGN="left" STYLE="padding-bottom:5px;">Rg</TH>
                         	<TH ALIGN="left" STYLE="padding-bottom:5px;">Joueur</TH>
                              <TH ALIGN="left" STYLE="padding-bottom:5px;">Pts</TH>
			     		<TH ALIGN="left" STYLE="padding-bottom:5px;">À</TH>
			     	</TR>
			     	
			     	<?php 
    if ($periode == $periode_sel) {
        $dataTopJourA = $pool->getTop15($id_pool, $periode_sel2, $periode, "jour", $nhl_team_as_gerant_name, $id_saison);
        $rang = 1;
        foreach ($dataTopJourA as $value) {
            $valueA = explode(":", $value);
            $first_name = $valueA[0];
            $last_name = $valueA[1];
            $pts_jour = $valueA[2];
            $gerant_nickname = $valueA[3];
            $actif = $valueA[4];
            $id_gerant = $valueA[5];
            $gerant_realName = $valueA[7];
            $gerant_abbr = $valueA[8];
            $gerant_logo = $valueA[9];
            $pos = $valueA[10];
            $style = "";
            if ($id_gerant == $gerant_sel) {