Guest User

Untitled

a guest
Apr 23rd, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. <style type="text/css">
  2. <!--
  3. .de {
  4. font-size: 14px;
  5. }
  6. .ver {
  7. color: #F00;
  8. }
  9. .a {
  10. color: #06F;
  11. }
  12. .ver {
  13. color: #F00;
  14. }
  15. -->
  16. </style>
  17. <table width="550" border="0">
  18. <tr>
  19. <th width="118" bgcolor="#006699" scope="col">Pos.</th>
  20. <th width="505" bgcolor="#006699" scope="col">Username (Auth)</th>
  21. <th width="91" bgcolor="#006699" scope="col">Pontos</th>
  22. </tr>
  23. </table>
  24.  
  25. <?
  26. $q = mysql_query("SELECT username,pontos,auth,userID,country FROM ".PREFIX."user ORDER BY pontos DESC");
  27. $i = 0;
  28. while($row = mysql_fetch_array($q)) { ?>
  29. <table width="550" border="0">
  30. <tr>
  31. <th width="118" scope="col">&nbsp;</th>
  32. <th width="505" scope="col"><img src="images/flags/<? echo $row["country"]; ?>.gif" alt="" style="margin-top: 6px;" /><? ?> <a class="main" href="index.php?site=profile&id= <? echo $row['userID']; ?>"><? echo $row['username']; ?></a> (<? echo $row["auth"]; ?>)</th>
  33. <th width="91" class="ver" scope="col"><? echo $row["pontos"]; ?></th>
  34. </tr>
  35. </table>
  36. <? }
  37. ?>
Add Comment
Please, Sign In to add comment