Team BlueWater Game Online Tutorial's
Bine ati venit la Team-BlueWater!!Tutorial's 4 all Games!
Team BlueWater Game Online Tutorial's
Would you like to react to this message? Create an account in a few clicks or log in to continue.

PsyMuWeb Vote Reward [Template]

Go down

PsyMuWeb Vote Reward [Template] Empty PsyMuWeb Vote Reward [Template]

Post  Karma on Fri Aug 19, 2011 7:36 am

Poftim scriptul de top vote .. vad ca tot il cautati .
Code:

<?php
 
  echo 'Top Voters';
  echo '<table cellpadding="0" cellspacing="4" border="0" style="border: 1px outset #000000;" width="350">';
  echo '<tr><td><b>#</b></td><td><b>Name</b></td><td><b>Votes</b></td></tr>';
  $query = mssql_query("select top 20 memb___id, votes from MEMB_INFO order by votes desc");
  for($j=0;$j<mssql_num_rows($query);$j++)
  {
      $fetch = mssql_fetch_array($query);
      $id = $j+1;
      echo '<tr>';
      echo '<td align="left" width="4%">'.$id.'</td>';
      echo '<td>'.$fetch['memb___id'].'</td>';
      echo '<td>'.$fetch['votes'].'</td>';
      echo '</tr>';
  }
  echo '</table>';
?>

_________________
[You must be registered and logged in to see this image.]
Karma
Karma
Admin
Admin

Mesaje : 1092
Data de inscriere : 2011-04-22
Varsta : 29
Localizare : Craiova

https://team-bluewater.forumz.ro

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum