示例#1
0
        echo $ln;
        echo "<tr style='background:rgb(0, 102, 0);color:#ffffff'><td>Pos</td><td>Participante</td><td>Pts</td></tr>";
        $vez = 1;
    }
    $usr = new Usuario($db->getValue('userid'));
    $ins = new Inscricao($db->getValue('campeonato'), $db->getValue('userid'));
    if ($posant != $db->getValue('posicao')) {
        $pos = $db->getValue('posefetiva');
        $posant = $db->getValue('posicao');
    } else {
        $pos = " ";
    }
    /*           if ($row['posicao'] <= 5)
    			   $st = 'style="background:rgb(255, 194, 133);font-size:11px;"';           
               else*/
    $st = 'class="dettab"';
    $lin = sprintf("<tr %s><td align=center>%s</td><td>%s</td><td align=center>%s</td></tr>", $st, $pos, $usr->getLinkUsuario(), $ins->getLinkPontosParam($db->getValue('pontos')), $usr->getUserid(), $db->getValue('pontos'));
    echo $lin . "\n";
}
$db->Close();
?>
  </table>

		<span class="lbottom">
			<span class="l4"></span>
			<span class="l3"></span>
			<span class="l2"></span>
			<span class="l1"></span>
		</span>
	</div>