	<table class="ranking-table">
                            <thead>
                            <tr class="main-tr">
                                <th style="text-align:center;">Posicao</th>
                                <th>Nome</th>
                                <th>Win Score</th>
                                <th>Lose Score</th>
                               
                            </tr>
                            </thead>
                            <tbody>
                            
                                   <?php  $reset = mssql_query("SELECT TOP 50 Name,WinScore,LoseScore from RankingDuel order by WinScore desc");
			  for($i=0;$i<mssql_num_rows($reset);$i++) {
			  $DadosTop = mssql_fetch_row($reset);
			  $rank = $i+1;
			 
			  echo '
				
 <tr>
                                        <td style="text-align:center;">'.$rank.'º</td>
                                        <td>
                                          <span class="f16"><span class="flag "></span><a href="javascript: void(0);" onclick="loading(\'?go=char&name='.$DadosTop[0].'\', \'conteudo\');">'.$DadosTop[0].'</a></span> 
                                        </td>
                                        <td>'.$DadosTop[1].' Win</td>
                                        <td>'.$DadosTop[2].' Lose</td>
                                        
                                    </tr>
				'; } 
				?> 
                             
                            </tbody>
                        </table>