Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Modulo Ranking Top PK  (Visto 1071 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline humito Posteado: May 28, 2017, 07:06:31 PM

  • 0 puntos por ventas
  • *
  • Rank: Liga mayor
  • Posts: 194
  • Gracias recibida: 368
  • ar
Hola, buenas noches.
Alguien me podria ayudar a modificar el modulo Top PK para que sea acumulativo ya que se resetea y es horrible.
MuCore.
MuEmu.
Code: [Select]
<style type="text/css">
<!--
h1.entrarmodulos {
height:33px;
margin-left: 1px;
font-family: verdana;
font-size: 17px;
line-height:28px;
color: #ffffff;
position:relative;
background-color: #000000;
opacity: 0.7;
filter:alpha(opacity=70);
padding-top: 3px;
border: 1px solid #535353;
margin-bottom:3px;
border-radius:5px;
}
.themain {
 background-image:url("template/<?=$core['config']['template'] ?>/images/menu_content.jpg");
font-size:11px;
    border: 1px solid #2a2a2a;
    border-radius: 5px;
}

.topp2 {
font-size:11px;
color: #FFFFFF;
font-weight: bold;
background-color: #000000;
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.trhover1 {
    background: #292929;
    color: #b5b5b5;
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.trhover2 {
    background: #393939;
    color: #b5b5b5;
    opacity: 0.8;
    filter: alpha(opacity=80);
}

-->
</style>
<table align="center" width="69%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td><h1 class="entrarmodulos" align="center" style="margin-top: 2px;">RANKING DE ASESINOS</h1></td>
  </tr>
  </table>

  <table class="themain" align="center" cellpadding="2" cellspacing="0" width="70%"><tbody><tr>
    <td>
    <table border="0" cellpadding="3" cellspacing="1" width="100%">
      <tbody><tr>
    <td class="topp2" align="center">#</td>
        <td class="topp2" align="center">Personaje</td>
<td class="topp2" align="center">Raza</td>
<td class="topp2" align="center">Asesinatos</td>
<td class="topp2" align="center">Ubicacion</td>
      </tr>

  <?
$killer="select TOP 50 Name,Class,MapNumber,AccountID,PKcount From Character where pkcount>0 order by pkcount desc";
$sql_killer_check=mssql_query($killer);
echo'';
for($i=0;$i < mssql_num_rows($sql_killer_check);++$i)
{
$nr=$i+1;
$row=mssql_fetch_row($sql_killer_check);

if($row[1] == 0){ $row[1] ='Dark Wizard';}
if($row[1] == 1){ $row[1] ='Soul Master';}
if($row[1] == 3){ $row[1] ='Grand Master';}
if($row[1] == 16){ $row[1] ='Dark Knight';}
if($row[1] == 17){ $row[1] ='Blade Knight';}
if($row[1] == 19){ $row[1] ='Blade Master';}
if($row[1] == 32){ $row[1] ='Fairy Elf';}
if($row[1] == 33){ $row[1] ='Muse Elf';}
if($row[1] == 35){ $row[1] ='High Elf';}
if($row[1] == 48){ $row[1] ='Magic Gladiator';}
if($row[1] == 51){ $row[1] ='Duel Master';}
if($row[1] == 64){ $row[1] ='Dark Lord';}
if($row[1] == 66){ $row[1] ='Lord Emperor';}
if($row[1] == 80){ $row[1] ='Summoner';}
if($row[1] == 81){ $row[1] ='Blooby Summoner';}
if($row[1] == 82){ $row[1] ='Dimension Master';}

if($row[2] == 0){ $row[2] ='Lorencia';}
if($row[2] == 1){ $row[2] ='Dungeon';}
if($row[2] == 2){ $row[2] ='Devias';}
if($row[2] == 3){ $row[2] ='Noria';}
if($row[2] == 4){ $row[2] ='Lost Tower';}
if($row[2] == 5){ $row[2] ='Exile';}
if($row[2] == 6){ $row[2] ='Stadium/Arena';}
if($row[2] == 7){ $row[2] ='Atlans';}
if($row[2] == 8){ $row[2] ='Tarkan';}
if($row[2] == 9){ $row[2] ='Devil Square';}
if($row[2] == 10){ $row[2] ='Icarus';}
if($row[2] == 11){ $row[2] ='Blood Castle I';}
if($row[2] == 12){ $row[2] ='Blood Castle II';}
if($row[2] == 13){ $row[2] ='Blood Castle III';}
if($row[2] == 14){ $row[2] ='Blood Castle IV';}
if($row[2] == 15){ $row[2] ='Blood Castle V';}
if($row[2] == 16){ $row[2] ='Blood Castle VI';}
if($row[2] == 17){ $row[2] ='Blood Castle VII';}
if($row[2] == 18){ $row[2] ='Chaos Castle I';}
if($row[2] == 19){ $row[2] ='Chaos Castle II';}
if($row[2] == 20){ $row[2] ='Chaos Castle III';}
if($row[2] == 21){ $row[2] ='Chaos Castle IV';}
if($row[2] == 22){ $row[2] ='Chaos Castle V';}
if($row[2] == 23){ $row[2] ='Chaos Castle VI';}
if($row[2] == 24){ $row[2] ='Kalima I';}
if($row[2] == 25){ $row[2] ='Kalima II';}
if($row[2] == 26){ $row[2] ='Kalima III';}
if($row[2] == 27){ $row[2] ='Kalima IV';}
if($row[2] == 28){ $row[2] ='Kalima V';}
if($row[2] == 29){ $row[2] ='Kalima VI';}
if($row[2] == 30){ $row[2] ='Valley Of Loren';}
if($row[2] == 31){ $row[2] ='Lands Of Trial';}
if($row[2] == 32){ $row[2] ='Devil Square';}
if($row[2] == 33){ $row[2] ='Aida';}
if($row[2] == 34){ $row[2] ='CryWolf';}
if($row[2] == 35){ $row[2] ='N/A';}
if($row[2] == 36){ $row[2] ='Kalima VII';}
if($row[2] == 37){ $row[2] ='Kantru';}
if($row[2] == 38){ $row[2] ='Kantru Ruins';}
if($row[2] == 39){ $row[2] ='Kantru Tower';}
if($row[2] == 40){ $row[2] ='Silent';}
if($row[2] == 41){ $row[2] ='Balgas Barrack';}
if($row[2] == 42){ $row[2] ='Balgas Refuge';}
if($row[2] == 43){ $row[2] ='N/A';}
if($row[2] == 44){ $row[2] ='N/A';}
if($row[2] == 45){ $row[2] ='Ilusion Temple I';}
if($row[2] == 46){ $row[2] ='Ilusion Temple II';}
if($row[2] == 47){ $row[2] ='Ilusion Temple III';}
if($row[2] == 48){ $row[2] ='Ilusion Temple IV';}
if($row[2] == 49){ $row[2] ='Ilusion Temple V';}
if($row[2] == 50){ $row[2] ='Ilusion Temple VI';}
if($row[2] == 51){ $row[2] ='Ebeland';}
if($row[2] == 52){ $row[2] ='Blood Castle VIII';}
if($row[2] == 53){ $row[2] ='Chaos Castle VII';}
if($row[2] == 54){ $row[2] ='N/A';}
if($row[2] == 55){ $row[2] ='N/A';}
if($row[2] == 56){ $row[2] ='Swamp Of Calmness';}
if($row[2] == 57){ $row[2] ='Raklion';}
if($row[2] == 58){ $row[2] ='Raklion Boss';}
if($row[2] == 59){ $row[2] ='N/A';}
if($row[2] == 60){ $row[2] ='N/A';}
if($row[2] == 61){ $row[2] ='N/A';}
if($row[2] == 62){ $row[2] ='Santa Town';}
if($row[2] == 63){ $row[2] ='Volcanus';}
if($row[2] == 64){ $row[2] ='Duel Arena';}
if($row[2] == 65){ $row[2] ='Doppel Ganger-A';}
if($row[2] == 66){ $row[2] ='Doppel Ganger-B';}
if($row[2] == 67){ $row[2] ='Doppel Ganger-C';}
if($row[2] == 68){ $row[2] ='Doppel Ganger-D';}
if($row[2] == 69){ $row[2] ='Empire Guard-A';}
if($row[2] == 70){ $row[2] ='Empire Guard-B';}
if($row[2] == 71){ $row[2] ='Empire Guard-C';}
if($row[2] == 72){ $row[2] ='Empire Guard-D';}
if($row[2] == 73){ $row[2] ='N/A';}
if($row[2] == 74){ $row[2] ='N/A';}
if($row[2] == 75){ $row[2] ='N/A';}
if($row[2] == 76){ $row[2] ='N/A';}
if($row[2] == 77){ $row[2] ='N/A';}
if($row[2] == 78){ $row[2] ='N/A';}
if($row[2] == 79){ $row[2] ='Loren Market';}
if($row[2] == 80){ $row[2] ='N/A';}
if($row[2] == 81){ $row[2] ='N/A';}
if($row[2] == 82){ $row[2] ='N/A';}
if($row[2] == 83){ $row[2] ='N/A';}
if($row[2] == 84){ $row[2] ='N/A';}
if($row[2] == 85){ $row[2] ='N/A';}
if($row[2] == 86){ $row[2] ='N/A';}
if($row[2] == 87){ $row[2] ='N/A';}
if($row[2] == 88){ $row[2] ='N/A';}
if($row[2] == 89){ $row[2] ='N/A';}
if($row[2] == 90){ $row[2] ='N/A';}
if($row[2] == 91){ $row[2] ='N/A';}
if($row[2] == 92){ $row[2] ='N/A';}
if($row[2] == 93){ $row[2] ='N/A';}
if($row[2] == 94){ $row[2] ='N/A';}
if($row[2] == 95){ $row[2] ='N/A';}
if($row[2] == 96){ $row[2] ='N/A';}
if($row[2] == 97){ $row[2] ='N/A';}
if($row[2] == 98){ $row[2] ='N/A';}
if($row[2] == 99){ $row[2] ='N/A';}
if($row[2] == 100){ $row[2] ='N/A';}
echo"

        <tr>
<td class='trhover2' align='center'><b>$nr</b></td>
          <td class='trhover1' align='center'><b>$row[0]</b></td>
  <td class='trhover2' align='center'><b>$row[1]</b></td>
  <td class='trhover1' align='center'><font color='red'><b>$row[4]</b></font></td>
  <td class='trhover2' align='center'><b>$row[2]</b></td>
        </tr>

     
  "; }

?>
      </tbody></table>
 
  </td></tr></tbody></table>
  <br />

Gracias:


Offline HacemeUnPete #1 Posteado: November 21, 2021, 08:27:17 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 7
  • Gracias recibida: 2
  • uy
Y PUDISTE BRO TENGO EL MISMO PROBLEMA.!


Offline theexpo2 #2 Posteado: November 22, 2021, 05:06:51 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 2
  • Gracias recibida: 1
  • ve
Usas Files Muemu?


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
10 Replies
4594 Views
Last post April 06, 2020, 07:57:28 PM
by juanka2
1 Replies
1094 Views
Last post May 06, 2020, 12:50:06 AM
by wils
2 Replies
878 Views
Last post April 23, 2019, 12:22:49 AM
by Potty89
17 Replies
2061 Views
Last post July 16, 2019, 12:52:20 AM
by Yalc
1 Replies
607 Views
Last post May 30, 2020, 11:11:31 PM
by Adonay