Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Se repite la imagen del Pais CODIGO PHP  (Visto 120 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline GameShield on: January 13, 2020, 02:03:33 PM

  • Game-Shield
  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 119
  • Gracias recibida: 49
  • al
Hola que tal.

Estoy teniendo problemas con la imagen a mostrar del pais en el ranking.

Dejo una imagen:



El problema es que se repite siempre el pais , por mas q los pj sean de otros paises.

Dejo loss codigos y alguien me dice como se fixearia porfavor?

Code: [Select]
<table width="160" align="center">

                        <tr>

                          <td><div align="center">N.</div></td>

                          <td><div align="center">Nombre</div></td>

                          <td><div align="center">Level</div></td>

                          <td><div align="center">Resets</div></td>

<td><div align="center">Raza</div></td>

<td><div align="center">Pais</div></td>

                        </tr>

                        <tr>

<?

$query=mssql_query("select TOP 10 * from MuOnline.dbo.Character Where ctlcode !='32' and ctlcode !='8' order by Resets desc, cLevel desc");

while($row=mssql_fetch_assoc($query))





{

 $DadosTop = mssql_fetch_row($Top);

$namez=$row['Name'];

$levelz=$row['cLevel'];

$resetsz=$row['Resets'];

$DadosTop[3]=$row['Class'];





if($DadosTop[3] == '0'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/darkwizard.png>";}

if($DadosTop[3] == '1'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/darkwizard.png>";}

if($DadosTop[3] == '2'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/darkwizard.png>";}

if($DadosTop[3] == '3'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/darkwizard.png>";}

if($DadosTop[3] == '16'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/darkknight.png>";}

if($DadosTop[3] == '17'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/darkknight.png>";}

if($DadosTop[3] == '18'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/darkknight.png>";}

if($DadosTop[3] == '19'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/darkknight.png>";}

if($DadosTop[3] == '32'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/elf.png>";}

if($DadosTop[3] == '33'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/elf.png>";}

if($DadosTop[3] == '34'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/elf.png>";}

if($DadosTop[3] == '35'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/elf.png>";}

if($DadosTop[3] == '80'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/summoner.png>";}

if($DadosTop[3] == '81'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/summoner.png>";}

if($DadosTop[3] == '82'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/summoner.png>";}

if($DadosTop[3] == '83'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/summoner.png>";}

if($DadosTop[3] == '48'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/magicgladiator.png>";}

if($DadosTop[3] == '49'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/magicgladiator.png>";}

if($DadosTop[3] == '50'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/magicgladiator.png>";}

if($DadosTop[3] == '64'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/darklord.png>";}

if($DadosTop[3] == '65'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/darklord.png>";}

if($DadosTop[3] == '66'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/darklord.png>";}

if($DadosTop[3] == '96'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/rage.png>";}

if($DadosTop[3] == '97'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/rage.png>";}

if($DadosTop[3] == '98'){ $DadosTop[3] ="<img src=template/".$core['config']['template']."/images/class/rage.png>";}







$pais = mssql_fetch_row(mssql_query("SELECT country,memb___id FROM MEMB_INFO"));

$PaisG1 = $pais[0];



if($PaisG1 == '1'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/1.gif>";}

if($PaisG1 == '2'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/2.gif>";}

if($PaisG1 == '3'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/3.gif>";}

if($PaisG1 == '4'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/4.gif>";}

if($PaisG1 == '5'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/5.gif>";}

if($PaisG1 == '6'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/6.gif>";}

if($PaisG1 == '7'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/7.gif>";}

if($PaisG1 == '8'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/8.gif>";}

if($PaisG1 == '9'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/9.gif>";}

if($PaisG1 == '10'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/10.gif>";}

if($PaisG1 == '11'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/11.gif>";}

if($PaisG1 == '12'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/12.gif>";}

if($PaisG1 == '13'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/13.gif>";}

if($PaisG1 == '14'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/14.gif>";}

if($PaisG1 == '15'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/15.gif>";}

if($PaisG1 == '16'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/16.gif>";}

if($PaisG1 == '17'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/17.gif>";}

if($PaisG1 == '18'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/18.gif>";}

if($PaisG1 == '19'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/19.gif>";}

if($PaisG1 == '20'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/20.gif>";}

if($PaisG1 == '21'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/21.gif>";}

if($PaisG1 == '22'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/22.gif>";}

if($PaisG1 == '23'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/23.gif>";}

if($PaisG1 == '24'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/24.gif>";}

if($PaisG1 == '25'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/25.gif>";}

if($PaisG1 == '26'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/26.gif>";}

if($PaisG1 == '27'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/27.gif>";}

if($PaisG1 == '28'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/28.gif>";}

if($PaisG1 == '29'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/29.gif>";}

if($PaisG1 == '30'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/30.gif>";}

if($PaisG1 == '31'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/31.gif>";}

if($PaisG1 == '32'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/32.gif>";}

if($PaisG1 == '33'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/33.gif>";}

if($PaisG1 == '34'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/34.gif>";}

if($PaisG1 == '35'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/35.gif>";}

if($PaisG1 == '36'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/36.gif>";}

if($PaisG1 == '37'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/37.gif>";}

if($PaisG1 == '38'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/38.gif>";}

if($PaisG1 == '39'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/39.gif>";}

if($PaisG1 == '40'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/40.gif>";}

if($PaisG1 == '41'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/41.gif>";}

if($PaisG1 == '42'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/42.gif>";}

if($PaisG1 == '43'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/43.gif>";}

if($PaisG1 == '44'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/44.gif>";}

if($PaisG1 == '45'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/45.gif>";}

if($PaisG1 == '46'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/46.gif>";}

if($PaisG1 == '47'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/47.gif>";}

if($PaisG1 == '48'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/48.gif>";}

if($PaisG1 == '49'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/49.gif>";}

if($PaisG1 == '50'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/50.gif>";}

if($PaisG1 == '51'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/51.gif>";}

if($PaisG1 == '52'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/52.gif>";}

if($PaisG1 == '53'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/53.gif>";}

if($PaisG1 == '54'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/54.gif>";}

if($PaisG1 == '55'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/55.gif>";}

if($PaisG1 == '56'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/56.gif>";}

if($PaisG1 == '57'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/57.gif>";}

if($PaisG1 == '58'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/58.gif>";}

if($PaisG1 == '59'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/59.gif>";}

if($PaisG1 == '60'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/60.gif>";}

if($PaisG1 == '61'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/61.gif>";}

if($PaisG1 == '62'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/62.gif>";}

if($PaisG1 == '63'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/63.gif>";}

if($PaisG1 == '64'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/64.gif>";}

if($PaisG1 == '65'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/65.gif>";}

if($PaisG1 == '66'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/66.gif>";}

if($PaisG1 == '67'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/67.gif>";}

if($PaisG1 == '68'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/68.gif>";}

if($PaisG1 == '69'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/69.gif>";}

if($PaisG1 == '70'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/70.gif>";}

if($PaisG1 == '71'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/71.gif>";}

if($PaisG1 == '72'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/72.gif>";}

if($PaisG1 == '73'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/73.gif>";}

if($PaisG1 == '74'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/74.gif>";}

if($PaisG1 == '75'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/75.gif>";}

if($PaisG1 == '76'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/76.gif>";}

if($PaisG1 == '77'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/77.gif>";}

if($PaisG1 == '78'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/78.gif>";}

if($PaisG1 == '79'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/79.gif>";}

if($PaisG1 == '80'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/80.gif>";}

if($PaisG1 == '81'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/81.gif>";}

if($PaisG1 == '82'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/82.gif>";}

if($PaisG1 == '83'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/83.gif>";}

if($PaisG1 == '84'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/84.gif>";}

if($PaisG1 == '85'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/85.gif>";}

if($PaisG1 == '86'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/86.gif>";}

if($PaisG1 == '87'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/87.gif>";}

if($PaisG1 == '88'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/88.gif>";}

if($PaisG1 == '89'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/89.gif>";}

if($PaisG1 == '90'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/90.gif>";}

if($PaisG1 == '91'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/91.gif>";}

if($PaisG1 == '92'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/92.gif>";}

if($PaisG1 == '93'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/93.gif>";}

if($PaisG1 == '94'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/94.gif>";}

if($PaisG1 == '95'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/95.gif>";}

if($PaisG1 == '96'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/96.gif>";}

if($PaisG1 == '97'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/97.gif>";}

if($PaisG1 == '98'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/98.gif>";}

if($PaisG1 == '99'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/99.gif>";}

if($PaisG1 == '100'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/100.gif>";}

if($PaisG1 == '101'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/101.gif>";}

if($PaisG1 == '102'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/102.gif>";}

if($PaisG1 == '103'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/103.gif>";}

if($PaisG1 == '104'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/104.gif>";}

if($PaisG1 == '105'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/105.gif>";}

if($PaisG1 == '106'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/106.gif>";}

if($PaisG1 == '107'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/107.gif>";}

if($PaisG1 == '108'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/108.gif>";}

if($PaisG1 == '109'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/109.gif>";}

if($PaisG1 == '110'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/110.gif>";}

if($PaisG1 == '111'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/111.gif>";}

if($PaisG1 == '112'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/112.gif>";}

if($PaisG1 == '113'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/113.gif>";}

if($PaisG1 == '114'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/114.gif>";}

if($PaisG1 == '115'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/115.gif>";}

if($PaisG1 == '116'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/116.gif>";}

if($PaisG1 == '117'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/117.gif>";}

if($PaisG1 == '118'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/118.gif>";}

if($PaisG1 == '119'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/119.gif>";}

if($PaisG1 == '120'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/120.gif>";}

if($PaisG1 == '121'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/121.gif>";}

if($PaisG1 == '122'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/122.gif>";}

if($PaisG1 == '123'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/123.gif>";}

if($PaisG1 == '124'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/124.gif>";}

if($PaisG1 == '125'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/125.gif>";}

if($PaisG1 == '126'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/126.gif>";}

if($PaisG1 == '127'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/127.gif>";}

if($PaisG1 == '128'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/128.gif>";}

if($PaisG1 == '129'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/129.gif>";}

if($PaisG1 == '130'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/130.gif>";}

if($PaisG1 == '131'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/131.gif>";}

if($PaisG1 == '132'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/132.gif>";}

if($PaisG1 == '133'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/133.gif>";}

if($PaisG1 == '134'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/134.gif>";}

if($PaisG1 == '135'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/135.gif>";}

if($PaisG1 == '136'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/136.gif>";}

if($PaisG1 == '137'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/137.gif>";}

if($PaisG1 == '138'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/138.gif>";}

if($PaisG1 == '139'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/139.gif>";}

if($PaisG1 == '140'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/140.gif>";}

if($PaisG1 == '141'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/141.gif>";}

if($PaisG1 == '142'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/142.gif>";}

if($PaisG1 == '143'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/143.gif>";}

if($PaisG1 == '144'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/144.gif>";}

if($PaisG1 == '145'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/145.gif>";}

if($PaisG1 == '146'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/146.gif>";}

if($PaisG1 == '147'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/147.gif>";}

if($PaisG1 == '148'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/148.gif>";}

if($PaisG1 == '149'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/149.gif>";}

if($PaisG1 == '150'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/150.gif>";}

if($PaisG1 == '151'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/151.gif>";}

if($PaisG1 == '152'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/152.gif>";}

if($PaisG1 == '153'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/153.gif>";}

if($PaisG1 == '154'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/154.gif>";}

if($PaisG1 == '155'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/155.gif>";}

if($PaisG1 == '156'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/156.gif>";}

if($PaisG1 == '157'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/157.gif>";}

if($PaisG1 == '158'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/158.gif>";}

if($PaisG1 == '159'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/159.gif>";}

if($PaisG1 == '160'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/160.gif>";}

if($PaisG1 == '161'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/161.gif>";}

if($PaisG1 == '162'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/162.gif>";}

if($PaisG1 == '163'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/163.gif>";}

if($PaisG1 == '164'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/164.gif>";}

if($PaisG1 == '165'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/165.gif>";}

if($PaisG1 == '166'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/166.gif>";}

if($PaisG1 == '167'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/167.gif>";}

if($PaisG1 == '168'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/168.gif>";}

if($PaisG1 == '169'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/169.gif>";}

if($PaisG1 == '170'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/170.gif>";}

if($PaisG1 == '171'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/171.gif>";}

if($PaisG1 == '172'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/172.gif>";}

if($PaisG1 == '173'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/173.gif>";}

if($PaisG1 == '174'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/174.gif>";}

if($PaisG1 == '175'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/175.gif>";}

if($PaisG1 == '176'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/176.gif>";}

if($PaisG1 == '177'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/177.gif>";}

if($PaisG1 == '178'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/178.gif>";}

if($PaisG1 == '179'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/179.gif>";}

if($PaisG1 == '180'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/180.gif>";}

if($PaisG1 == '181'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/181.gif>";}

if($PaisG1 == '182'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/182.gif>";}

if($PaisG1 == '183'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/183.gif>";}

if($PaisG1 == '184'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/184.gif>";}

if($PaisG1 == '185'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/185.gif>";}

if($PaisG1 == '186'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/186.gif>";}

if($PaisG1 == '187'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/187.gif>";}

if($PaisG1 == '188'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/188.gif>";}

if($PaisG1 == '189'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/189.gif>";}

if($PaisG1 == '190'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/190.gif>";}

if($PaisG1 == '191'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/191.gif>";}

if($PaisG1 == '192'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/192.gif>";}

if($PaisG1 == '193'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/193.gif>";}

if($PaisG1 == '194'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/194.gif>";}

if($PaisG1 == '195'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/195.gif>";}

if($PaisG1 == '196'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/196.gif>";}

if($PaisG1 == '197'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/197.gif>";}

if($PaisG1 == '198'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/198.gif>";}

if($PaisG1 == '199'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/199.gif>";}

if($PaisG1 == '200'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/200.gif>";}

if($PaisG1 == '201'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/201.gif>";}

if($PaisG1 == '202'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/202.gif>";}

if($PaisG1 == '203'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/203.gif>";}

if($PaisG1 == '204'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/204.gif>";}

if($PaisG1 == '205'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/205.gif>";}

if($PaisG1 == '206'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/206.gif>";}

if($PaisG1 == '207'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/207.gif>";}

if($PaisG1 == '208'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/208.gif>";}

if($PaisG1 == '209'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/209.gif>";}

if($PaisG1 == '210'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/210.gif>";}

if($PaisG1 == '211'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/211.gif>";}

if($PaisG1 == '212'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/212.gif>";}

if($PaisG1 == '213'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/213.gif>";}

if($PaisG1 == '214'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/214.gif>";}

if($PaisG1 == '215'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/215.gif>";}

if($PaisG1 == '216'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/216.gif>";}

if($PaisG1 == '217'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/217.gif>";}

if($PaisG1 == '218'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/218.gif>";}

if($PaisG1 == '219'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/219.gif>";}

if($PaisG1 == '220'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/220.gif>";}

if($PaisG1 == '221'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/221.gif>";}

if($PaisG1 == '222'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/222.gif>";}

if($PaisG1 == '223'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/223.gif>";}

if($PaisG1 == '224'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/224.gif>";}

if($PaisG1 == '225'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/225.gif>";}

if($PaisG1 == '226'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/226.gif>";}

if($PaisG1 == '227'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/227.gif>";}

if($PaisG1 == '228'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/228.gif>";}

if($PaisG1 == '229'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/229.gif>";}

if($PaisG1 == '230'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/230.gif>";}

if($PaisG1 == '231'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/231.gif>";}

if($PaisG1 == '232'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/232.gif>";}

if($PaisG1 == '233'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/233.gif>";}

if($PaisG1 == '234'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/234.gif>";}

if($PaisG1 == '235'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/235.gif>";}

if($PaisG1 == '236'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/236.gif>";}

if($PaisG1 == '237'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/237.gif>";}

if($PaisG1 == '238'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/238.gif>";}

if($PaisG1 == '239'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/239.gif>";}

if($PaisG1 == '240'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/240.gif>";}

if($PaisG1 == '241'){ $PaisG1 ="<img src=template/".$core['config']['template']."/images/flags/241.gif>";}



?>



<td style="color: rgb(196, 37, 0); font-weight: bold;"><div align="center"><?=++$count1;?></div></td>

                          <td><div align="center" class="Estilo36"><?=$namez;?></div></td>

                          <td><div align="center" class="Estilo36"> <?=$levelz;?></div></td>

                          <td><div align="center"><?=$resetsz;?></div></td>

<td><div align="center"><?=$DadosTop[3];?></div></td>

<td><div align="center"><?=$PaisG1;?></div></td>

                        </tr>

<?



}

?>

</table>

« Ultima edicion: January 13, 2020, 05:20:12 PM by ZabiinoOo »

Offline modaxd #1 on: January 13, 2020, 02:16:13 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 72
  • Gracias recibida: 52
  • es
Hola que tal, pasa el codigo fuente completo

Offline kind #2 on: January 13, 2020, 02:23:51 PM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 103
  • Gracias recibida: 163
  • ar
El problema esta acá

$pais = mssql_fetch_row(mssql_query("SELECT country,memb___id FROM MEMB_INFO"));

   $PaisG1 = $pais[0];

Vos tenes que hacer una consulta que devuelva el pais de los top10 del rank... ahi esta agarrando el pais de las primeras 10 acc q encuentra.

Offline GameShield #3 on: January 13, 2020, 03:42:29 PM

  • Game-Shield
  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 119
  • Gracias recibida: 49
  • al
El problema esta acá

$pais = mssql_fetch_row(mssql_query("SELECT country,memb___id FROM MEMB_INFO"));

   $PaisG1 = $pais[0];

Vos tenes que hacer una consulta que devuelva el pais de los top10 del rank... ahi esta agarrando el pais de las primeras 10 acc q encuentra.

Gracias!!

Alguien me lo arma? Regalo antihack jajaja

Offline sagat202 #4 on: January 13, 2020, 04:10:06 PM

  • Php Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 229
  • Gracias recibida: 19
  • ve
Reemplaza:
$pais = mssql_fetch_row(mssql_query("SELECT country,memb___id FROM MEMB_INFO"));

Por esto:

$account=$row['AccountID'];
$pais = mssql_fetch_row(mssql_query("SELECT country FROM MEMB_INFO where  memb___id=$account"));

Y me avisas.

Offline GameShield #5 on: January 13, 2020, 04:40:33 PM

  • Game-Shield
  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 119
  • Gracias recibida: 49
  • al
Reemplaza:
$pais = mssql_fetch_row(mssql_query("SELECT country,memb___id FROM MEMB_INFO"));

Por esto:

$account=$row['AccountID'];
$pais = mssql_fetch_row(mssql_query("SELECT country FROM MEMB_INFO where  memb___id=$account"));

Y me avisas.

Lo hice y quedo asi bro



Pd: si quieres puedo dar teamviewer (?

Offline sagat202 #6 on: January 13, 2020, 04:56:59 PM

  • Php Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 229
  • Gracias recibida: 19
  • ve
Reemplaza:
$pais = mssql_fetch_row(mssql_query("SELECT country,memb___id FROM MEMB_INFO"));

Por esto:

$account=$row['AccountID'];
$pais = mssql_fetch_row(mssql_query("SELECT country FROM MEMB_INFO where  memb___id=$account"));

Y me avisas.

Lo hice y quedo asi bro



Pd: si quieres puedo dar teamviewer (?

Ok, esta bien y publicas la solución.

Offline GameShield #7 on: January 13, 2020, 05:00:27 PM

  • Game-Shield
  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 119
  • Gracias recibida: 49
  • al
Reemplaza:
$pais = mssql_fetch_row(mssql_query("SELECT country,memb___id FROM MEMB_INFO"));

Por esto:

$account=$row['AccountID'];
$pais = mssql_fetch_row(mssql_query("SELECT country FROM MEMB_INFO where  memb___id=$account"));

Y me avisas.

Lo hice y quedo asi bro



Pd: si quieres puedo dar teamviewer (?

Ok, esta bien y publicas la solución.

No no, ya esta solucionado..

mira :D




La solucion fue poner la query asi:

$pais = mssql_fetch_row(mssql_query("SELECT country FROM MEMB_INFO where  memb___id='$account'"));

O sea la variable iba entre ' ' 
Listo! resuelto mil gracias @sagat202  .
Si tenes servidor y necesitas antihack avisame q te lo doy gratis por la ayuda hermano, mil gracias.

Gracias:


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
1190 Views
Last post December 15, 2017, 01:36:05 PM
by caron22
2 Replies
492 Views
Last post July 15, 2017, 03:42:26 PM
by AltairN17
0 Replies
1605 Views
Last post October 14, 2017, 11:13:52 AM
by akuamen78
1 Replies
237 Views
Last post September 24, 2018, 09:53:40 PM
by basthialbo
6 Replies
156 Views
Last post September 27, 2019, 07:01:10 PM
by TroYaN