Editor de Itens Cabal EP8 - Simples em PHP

lougansh

Usuário XPZ
12 de Fevereiro de 2013
14
4
0
Desenvolvi um pequeno editor pratico para evenviar itens ao inventario cash do jogo, usando a dica do Shion....

Espero que que seja útil para alguem...

Lembrando que para usa-lo vc precisa ter um serviço de php conectado com o banco de dados


Segue em anexo o php prontinho so editar usuario, senha e ip.

<?php

$myServer = "localhost";

$myUser = "sa";

$myPass = "digitesuasenhaaki";

$dbhandle = mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer");

$queryAcc = "select UserNum,ID from account.dbo.cabal_auth_table order by ID";

$resultAcc = mssql_query($queryAcc);

$numRows = mssql_num_rows($resultAcc);

//--------------------------------------------------------------------------------------------------------------

if (isset($_POST['enviarMotoPrancha'])) {

if ( $_POST['motoPrancha'] != '*****' && $_POST['dropMotoPrancha'] != '*****'){

if ($_POST['ID'] != '*****' ){

$UserNum = $_POST['ID'];

$item = $_POST['motoPrancha'];

$option = $_POST['dropMotoPrancha'];

$query = "USE [CabalCash] exec up_AddMyCashItemByItem $UserNum,'0','1', $item, $option, 15;";

$result = mssql_query($query);

//echo'<script language = "JavaScript" type = "text/javascript">alert ("Verifique seu Inventario Cash") </script>';

//echo'<script language = "JavaScript">location.href = "editor.php";</script>';

}else {echo'<script language = "JavaScript" type = "text/javascript">alert ("Selecione para quem vai enviar o item!!!")</script> ';}}}

//--------------------------------------------------------------------------------------------------------------

if (isset($_POST['enviarDragona'])) {

if ( $_POST['dragona'] != '*****' && $_POST['dropDragona'] != '*****'){

if ($_POST['ID'] != '*****' ){

$UserNum = $_POST['ID'];

$item = $_POST['dragona'];

$option = $_POST['dropDragona'];

$query = "USE [CabalCash] exec up_AddMyCashItemByItem $UserNum,'0','1', $item, $option, 15;";

$result = mssql_query($query);

//echo'<script language = "JavaScript" type = "text/javascript">alert ("Verifique seu Inventario Cash") </script>';

}else {echo'<script language = "JavaScript" type = "text/javascript">alert ("Selecione para quem vai enviar o item!!!")</script> ';}}}

//--------------------------------------------------------------------------------------------------------------

if (isset($_POST['enviarCinto'])) {

if ( $_POST['cinto'] != '*****' && $_POST['dropCinto'] != '*****'){

if ($_POST['ID'] != '*****' ){

$UserNum = $_POST['ID'];

$item = $_POST['cinto'];

$option = $_POST['dropCinto'];

$query = "USE [CabalCash] exec up_AddMyCashItemByItem $UserNum,'0','1', $item, $option, 15;";

$result = mssql_query($query);

//echo'<script language = "JavaScript" type = "text/javascript">alert ("Verifique seu Inventario Cash") </script>';

}else {echo'<script language = "JavaScript" type = "text/javascript">alert ("Selecione para quem vai enviar o item!!!")</script> ';}}}

//--------------------------------------------------------------------------------------------------------------

if (isset($_POST['enviarAmuleto'])) {

if ( $_POST['amuleto'] != '*****' && $_POST['dropAmuleto'] != '*****'){

if ($_POST['ID'] != '*****' ){

$UserNum = $_POST['ID'];

$item = $_POST['amuleto'];

$option = $_POST['dropAmuleto'];

$query = "USE [CabalCash] exec up_AddMyCashItemByItem $UserNum,'0','1', $item, $option, 15;";

$result = mssql_query($query);

//echo'<script language = "JavaScript" type = "text/javascript">alert ("Verifique seu Inventario Cash") </script>';

}else {echo'<script language = "JavaScript" type = "text/javascript">alert ("Selecione para quem vai enviar o item!!!")</script> ';}}}

//--------------------------------------------------------------------------------------------------------------

if (isset($_POST['enviarAnel'])) {

if ( $_POST['anel'] != '*****' && $_POST['dropAnel'] != '*****'){

if ($_POST['ID'] != '*****' ){

$UserNum = $_POST['ID'];

$item = $_POST['anel'];

$option = $_POST['dropAnel'];

$query = "USE [CabalCash] exec up_AddMyCashItemByItem $UserNum,'0','1', $item, $option, 15;";

$result = mssql_query($query);

//echo'<script language = "JavaScript" type = "text/javascript">alert ("Verifique seu Inventario Cash") </script>';

}else {echo'<script language = "JavaScript" type = "text/javascript">alert ("Selecione para quem vai enviar o item!!!")</script> ';}}}

//--------------------------------------------------------------------------------------------------------------

if (isset($_POST['enviarBrinco'])) {

if ( $_POST['brinco'] != '*****' && $_POST['dropBrinco'] != '*****'){

if ($_POST['ID'] != '*****' ){

$UserNum = $_POST['ID'];

$item = $_POST['brinco'];

$option = $_POST['dropBrinco'];

$query = "USE [CabalCash] exec up_AddMyCashItemByItem $UserNum,'0','1', $item, $option, 15;";

$result = mssql_query($query);

//echo'<script language = "JavaScript" type = "text/javascript">alert ("Verifique seu Inventario Cash") </script>';

}else {echo'<script language = "JavaScript" type = "text/javascript">alert ("Selecione para quem vai enviar o item!!!")</script> ';}}}

//--------------------------------------------------------------------------------------------------------------

if (isset($_POST['enviarBracelete'])) {

if ( $_POST['bracelete'] != '*****' && $_POST['dropBracelete'] != '*****'){

if ($_POST['ID'] != '*****' ){

$UserNum = $_POST['ID'];

$item = $_POST['bracelete'];

$option = $_POST['dropBracelete'];

$query = "USE [CabalCash] exec up_AddMyCashItemByItem $UserNum,'0','1', $item, $option, 15;";

$result = mssql_query($query);

//echo'<script language = "JavaScript" type = "text/javascript">alert ("Verifique seu Inventario Cash") </script>';

}else {echo'<script language = "JavaScript" type = "text/javascript">alert ("Selecione para quem vai enviar o item!!!")</script> ';}}}

//--------------------------------------------------------------------------------------------------------------

if (isset($_POST['enviarArma'])) {

if ( $_POST['arma'] != '*****' && $_POST['dropArma'] != '*****'){

if ($_POST['ID'] != '*****' ){

$UserNum = $_POST['ID'];

$item = $_POST['arma'];

$option = $_POST['dropArma'];

$query = "USE [CabalCash] exec up_AddMyCashItemByItem $UserNum,'0','1', $item, $option, 15;";

$result = mssql_query($query);

//echo'<script language = "JavaScript" type = "text/javascript">alert ("Verifique seu Inventario Cash") </script>';

}else {echo'<script language = "JavaScript" type = "text/javascript">alert ("Selecione para quem vai enviar o item!!!")</script> ';}}}

//--------------------------------------------------------------------------------------------------------------

if (isset($_POST['enviarSet'])) {

if ( $_POST['set'] != '*****' && $_POST['dropSet'] != '*****'){

if ($_POST['ID'] != '*****' ){

$UserNum = $_POST['ID'];

$item = $_POST['set'];

$option = $_POST['dropSet'];

$query = "USE [CabalCash] exec up_AddMyCashItemByItem $UserNum,'0','1', $item, $option, 15;";

$result = mssql_query($query);

//echo'<script language = "JavaScript" type = "text/javascript">alert ("Verifique seu Inventario Cash") </script>';

}else {echo'<script language = "JavaScript" type = "text/javascript">alert ("Selecione para quem vai enviar o item!!!")</script> ';}}}

//--------------------------------------------------------------------------------------------------------------

?>

<form method="POST" action="index.php">

<div align="center">

<table border="0">

<tr><td align="center"><p align="right">Nome</td><td align="center">

<?php

if (isset($_POST['ID']) && $_POST['ID'] != '*****'){

$returnID = $_POST['ID'];

$queryAcc2 = "select UserNum,ID from account.dbo.cabal_auth_table where UserNum = $returnID";

$resultAcc2 = mssql_query($queryAcc2);

$xar = mssql_fetch_array($resultAcc2);

echo'<select size="1" name="ID"><option selected value="'.$xar["UserNum"].'">'.$xar["ID"].'</option>';

}else{

echo'<select size="1" name="ID"><option selected value="*****">Personagem</option>';

}

while($row = mssql_fetch_array($resultAcc)) {

echo'<option value="'.$row["UserNum"].'">'.$row["ID"].'</option>';

}

mssql_close($dbhandle);

?>

</td><td align="center"><select size="1" name="cinto0">

<option selected value="*****">ID Item</option>

<option value="*****">*****************************************</option>

</select></td></tr>

 

<tr><td align="center">ITEM</td><td align="center">ID</td><td align="center">OPTION</td><td>

<p align="center"><input type="checkbox" name="extendido" value="ON"></td></tr>

<tr><td align="right">Moto/Prancha</td><td align="right"><select size="1" name="motoPrancha">

<option selected value="*****">ID Moto / Prancha</option>

<option value=3131>Moto Reflexo Azul</option>

<option value=3130>Moto Reflexo Vermelho</option>

<option value=437>Moto Azul</option>

<option value=3128>Moto Azul Cristal</option>

<option value=1442>Moto Azul Cristal (Japan)</option>

<option value=439>Moto RW3</option>

<option value=3129>Moto RW3 Cristal</option>

<option value=1443>Moto RW3 Cristal (Japan)</option>

<option value=1722>Astral Board Card - K Black</option>

<option value=1727>Astral Board Card - K Blue</option>

<option value=1723>Astral Board Card - K Gold</option>

<option value=1729>Astral Board Card - K Green</option>

<option value=1725>Astral Board Card - K Pink</option>

<option value=1724>Astral Board Card - K Red</option>

<option value=1721>Astral Board Card - K Silver</option>

<option value=1728>Astral Board Card - K Sky</option>

<option value=1726>Astral Board Card - K Violet</option>

<option value=482>Astral Board Card - X2 Blue</option>

<option value=937>Astral Board Card - Zero Black</option>

<option value=2371>Astral Board Card - K Red Crystal Edition</option>

<option value=1730>Astral Board Card - K White</option>

<option value=483>Astral Board Card - X Green</option>

<option value=464>Astral Board Card - X Steelblue</option>

<option value=477>Astral Board Card - X Yellow</option>

<option value=507>Astral Board Card - X2 Red</option>

<option value=480>Astral Board Card - X3 White</option>

<option value=938>Astral Board Card - Zero Silver</option>

</option><option value="*****">*****************************************</option>

</select></td><td align="right"><select size="1" name="dropMotoPrancha">

<option selected  value="0">Option Moto/Prancha</option>

<option value="1093742897">HP +1500</option>

<option value="1110585906">Ataque +20</option>

<option value="1144271924">Ataque Magico +20</option>

<option value="1127428915">Danos Criticos 80%</option>

<option value="1161114933">Taxa Critica 40%</option>

<option value="1177957942">Max Taxa Critica 20%</option>

<option value="1228486969">Resistencia Dano Critico 40%</option>

<option value="1194800951">Amp Espada 40%</option>

<option value="1211643960">Amp Magia 40%</option>

<option value="*****">*****************************************</option>

</select></td><td><input type="submit" value="Enviar" name="enviarMotoPrancha"></td></tr>

<tr><td align="right">Dragona</td><td align="right"><select size="1" name="dragona">

<option selected value="*****">ID Dragona</option>

<option value=409>Dragona do Guardiao</option>

<option value=410>Dragona do Guardiao +1</option>

<option value=411>Dragona do Guardiao +2</option>

<option value=412>Dragona do Guardiao +3</option>

<option value=413>Dragona do Guardiao +4</option>

<option value=414>Dragona do Guardiao +5</option>

<option value=1338>Dragona Negra do Guardiao</option>

<option value=415>Dragona do Guardiao +6</option>

<option value=416>Dragona do Guardiao +7</option>

<option value=1657>Dragona SigMetal do Guardiao</option>

<option value=1208>Dragona do Guardiao +8</option>

<option value=2734>Dragona Drei Frame do Guardiao</option>

<option value=761>Dragona do Lutador +3</option>

<option value=763>Dragona do Lutador +4</option>

<option value=428>Dragona do Lutador +5</option>

<option value=1339>Dragona Negra do Lutador</option>

<option value=429>Dragona do Lutador +6</option>

<option value=426>Dragona do Lutador +7</option>

<option value=1658>Dragona SigMetal do Lutador</option>

<option value=1209>Dragona do Lutador +8</option>

<option value=2735>Dragona Drei Frame do Lutador</option>

<option value=744>Dragona da Aprovacao</option>

<option value=745>Dragona da Aprovacao +1</option>

<option value=746>Dragona da Aprovacao +2</option>

<option value=747>Dragona da Aprovacao +3</option>

<option value=748>Dragona da Aprovacao +4</option>

<option value=749>Dragona da Aprovacao +5</option>

<option value=750>Dragona da Aprovacao +6</option>

<option value=751>Dragona da Aprovacao +7</option>

<option value=762>Dragona do Sabio +3</option>

<option value=764>Dragona do Sabio +4</option>

<option value=430>Dragona do Sabio +5</option>

<option value=1340>Dragona Negra do Sabio</option>

<option value=431>Dragona do Sabio +6</option>

<option value=427>Dragona do Sabio +7</option>

<option value=1659>Dragona Sigmetal do Sabio</option>

<option value=1210>Dragona do Sabio +8</option>

<option value=2736>Dragona Drei Frame do Sabio</option>

<option value="*****">*****************************************</option>

</select></td><td align="right"><select size="1" name="dropDragona">

<option selected  value="0">Option Dragona</option>

<option value="1093742897">HP +100</option>

<option value="1110585906">Ataque +20</option>

<option value="1127428915">Ataque Magico +20</option>

<option value="1144271924">Defesa +20</option>

<option value="1161114933">Precisao +200</option>

<option value="1177957942">Evasao +200</option>

<option value="1194800951">Amp Espada 18%</option>

<option value="1211643960">Amp Magia 18%</option>

<option value="1228486969">Dano Minimo 10%</option>

<option value="*****">*****************************************</option>

</select></td><td><input type="submit" value="Enviar" name="enviarDragona"></td></tr>

<tr><td align="right">Cinto</td><td align="right"><select size="1" name="cinto">

<option selected value="*****">ID Cintos</option>

<option value=2204> Cinto Agil </option>

<option value=2205> Cinto Agil +1</option>

<option value=2206> Cinto Agil +2</option>

<option value=2207> Cinto Agil +3</option>

<option value=2208> Cinto Agil +4</option>

<option value=2209> Cinto Vital </option>

<option value=2210> Cinto Vital +1</option>

<option value=2211> Cinto Vital +2</option>

<option value=2212> Cinto Vital +3</option>

<option value=2213> Cinto Vital +4</option>

<option value=2214> Cinto Resistente </option>

<option value=2215> Cinto Resistente +1</option>

<option value=2216> Cinto Resistente +2</option>

<option value=2217> Cinto Resistente +3</option>

<option value=2218> Cinto Resistente +4</option>

<option value=2219> Cinto Preventivo </option>

<option value=2220> Cinto Preventivo +1</option>

<option value=2221> Cinto Preventivo +2</option>

<option value=2222> Cinto Preventivo +3</option>

<option value=2223> Cinto Preventivo +4</option>

<option value=2224> Cinto Impactante </option>

<option value=2225> Cinto Impactante +1</option>

<option value=2226> Cinto Impactante +2</option>

<option value=2227> Cinto Impactante +3</option>

<option value=2228> Cinto Impactante +4</option>

<option value="*****">*****************************************</option>

</select></td><td align="right"><select size="1" name="dropCinto">

<option selected  value="0">Option Cinto</option>

<option value="1093742897">HP + 100</option>

<option value="1110585906">Ataque +20</option>

<option value="1127428915">Ataque Magico +20</option>

<option value="1144271924">Defesa +20</option>

<option value="1161114933">Precisao +200</option>

<option value="1177957942">Evasao +200</option>

<option value="1194800951">Roubo HP 10%</option>

<option value="1211643960">Exp Tecnica +20</option>

<option value="*****">*****************************************</option>

</select></td><td><input type="submit" value="Enviar" name="enviarCinto"></td></tr>

<tr><td align="right">Amuleto</td><td align="right"><select size="1" name="amuleto">

<option selected value="*****">ID Amuleto</option>

<option value=362>Amuleto de Bless</option>

<option value=363>Amuleto de Bless +1</option>

<option value=364>Amuleto de Bless +2</option>

<option value=365>Amuleto de Bless +3</option>

<option value=366>Amuleto de Regeneracao da Forca</option>

<option value=367>Amuleto de Regeneracao da Forca +1</option>

<option value=368>Amuleto de Regeneracao da Forca +2</option>

<option value=377>Amuleto da Guarda</option>

<option value=378>Amuleto da Guarda +1</option>

<option value=379>Amuleto da Guarda +2</option>

<option value=380>Amuleto da Guarda +3</option>

<option value=381>Amuleto da Guarda +4</option>

<option value=382>Amuleto da Guarda +5</option>

<option value=383>Amuleto da Guarda +6</option>

<option value=384>Amuleto da Guarda +7</option>

<option value=385>Amuleto da Guarda +8</option>

<option value=386>Amuleto da Guarda +9</option>

<option value=387>Amuleto da Guarda +10</option>

<option value=388>Amuleto de Regeneracao da Forca +3</option>

<option value=389>Amuleto de Regeneracao da Forca +4</option>

<option value=390>Amuleto de Regeneracao da Forca +5</option>

<option value=391>Amuleto de Regeneracao da Forca +6</option>

<option value=392>Amuleto de Regeneracao da Forca +7</option>

<option value=393>Amuleto das Sete Moedas</option>

<option value=394>Amuleto das Sete Moedas +1</option>

<option value=395>Amuleto das Sete Moedas +2</option>

<option value=396>Amuleto das Sete Moedas +3</option>

<option value=397>Amuleto das Sete Moedas +4</option>

<option value=398>Amuleto das Sete Moedas +5</option>

<option value=399>Amuleto das Sete Moedas +6</option>

<option value=400>Amuleto das Sete Moedas +7</option>

<option value=401>Amuleto da Dor</option>

<option value=402>Amuleto da Dor +1</option>

<option value=403>Amuleto da Dor +2</option>

<option value=404>Amuleto da Dor +3</option>

<option value=405>Amuleto da Dor +4</option>

<option value=406>Amuleto da Dor +5</option>

<option value=407>Amuleto da Dor +6</option>

<option value=408>Amuleto da Dor +7</option>

<option value=707>Amuleto do Adpeto</option>

<option value=708>Amuleto do Adpeto +1</option>

<option value=709>Amuleto do Adpeto +2</option>

<option value=710>Amuleto do Adpeto +3</option>

<option value=711>Amuleto Vampirico</option>

<option value=712>Amuleto Vampirico +1</option>

<option value=713>Amuleto Vampirico +2</option>

<option value=714>Amuleto Vampirico +3</option>

<option value=715>Amuleto Vampirico +4</option>

<option value=716>Amuleto Vampirico +5</option>

<option value=717>Amuleto Vampirico +6</option>

<option value=718>Amuleto do Lutador</option>

<option value=719>Amuleto do Lutador +1</option>

<option value=720>Amuleto do Lutador +2</option>

<option value=721>Amuleto do Lutador +3</option>

<option value=722>Amuleto do Lutador +4</option>

<option value=723>Amuleto do Lutador +5</option>

<option value=724>Amuleto do Lutador +6</option>

<option value=725>Amuleto do Lutador +7</option>

<option value=726>Amuleto do Lutador +8</option>

<option value=727>Amuleto do Lutador +9</option>

<option value="*****">*****************************************</option>

</select></td><td align="right"><select size="1" name="dropAmuleto">

<option selected  value="0">Option Amuleto</option>

<option value="1177957942">Exp Tecnica +20</option>

<option value="1161114933">Auto Cura MP +14</option>

<option value="1144271924">Auto Cura HP +14</option>

<option value="1127428915">Esquiva 10%</option>

<option value="1110585906">Max Taxa Critica 10%</option>

<option value="1093742897">Defesa +20</option>

<option value="*****">*****************************************</option>

</select></td><td><input type="submit" value="Enviar" name="enviarAmuleto"></td></tr>

<tr><td align="right">Anel</td><td align="right"><select size="1" name="anel">

<option selected value="*****">ID Anel</option>

<option value=315>Anel de Absorcao de Forca</option>

<option value=316>Anel de Absorcao de Forca +1</option>

<option value=317>Anel de Absorcao de Forca +2</option>

<option value=335>Anel de Absorcao de Forca +3</option>

<option value=336>Anel de Absorcao de Forca +4</option>

<option value=337>Anel de Absorcao de Forca +5</option>

<option value=346>Anel do Adepto</option>

<option value=347>Anel do Adepto +1</option>

<option value=348>Anel do Adepto +2</option>

<option value=349>Anel do Adepto +3</option>

<option value=1360>Anel de Aniversario</option>

<option value=1552>Anel Aniversario Cabal</option>

<option value=2180>Anel Aniversario Cabal</option>

<option value=301>Anel do Vencedor</option>

<option value=302>Anel do Vencedor +1</option>

<option value=303>Anel do Vencedor +2</option>

<option value=304>Anel do Vencedor +3</option>

<option value=305>Anel do Vencedor +4</option>

<option value=306>Anel do Vencedor +5</option>

<option value=307>Anel do Vencedor +6</option>

<option value=308>Anel do Vencedor +7</option>

<option value=332>Anel do Vencedor +8</option>

<option value=333>Anel do Vencedor +9</option>

<option value=334>Anel do Vencedor +10</option>

<option value=1356>Anel de Casamento</option>

<option value=309>Anel Critico</option>

<option value=310>Anel Critico +1</option>

<option value=311>Anel Critico +2</option>

<option value=3193>Anel Critico +3</option>

<option value=701>Anel da Extorsao</option>

<option value=702>Anel da Extorsao +1</option>

<option value=703>Anel da Extorsao +2</option>

<option value=704>Anel da Extorsao +3</option>

<option value=705>Anel da Extorsao +4</option>

<option value=706>Anel da Extorsao +5</option>

<option value=3184>Anel do Killian</option>

<option value=2568>Anel da Leth Tyrana</option>

<option value=285>Anel do Lutador</option>

<option value=286>Anel do Lutador +1</option>

<option value=287>Anel do Lutador +2</option>

<option value=288>Anel do Lutador +3</option>

<option value=289>Anel do Lutador +4</option>

<option value=290>Anel do Lutador +5</option>

<option value=291>Anel do Lutador +6</option>

<option value=292>Anel do Lutador +7</option>

<option value=326>Anel do Lutador +8</option>

<option value=327>Anel do Lutador +9</option>

<option value=328>Anel do Lutador +10</option>

<option value=2203>Anel do Mergaheph</option>

<option value=293>Anel do Sabio</option>

<option value=294>Anel do Sabio +1</option>

<option value=295>Anel do Sabio +2</option>

<option value=296>Anel do Sabio +3</option>

<option value=297>Anel do Sabio +4</option>

<option value=298>Anel do Sabio +5</option>

<option value=299>Anel do Sabio +6</option>

<option value=300>Anel do Sabio +7</option>

<option value=329>Anel do Sabio +8</option>

<option value=330>Anel do Sabio +9</option>

<option value=331>Anel do Sabio +10</option>

<option value=338>Anel das Sete Moedas</option>

<option value=339>Anel das Sete Moedas +1</option>

<option value=340>Anel das Sete Moedas +2</option>

<option value=341>Anel das Sete Moedas +3</option>

<option value=342>Anel das Sete Moedas +4</option>

<option value=343>Anel das Sete Moedas +5</option>

<option value=344>Anel das Sete Moedas +6</option>

<option value=345>Anel das Sete Moedas +7</option>

<option value=312>Anel da Sorte</option>

<option value=313>Anel da Sorte +1</option>

<option value=314>Anel da Sorte +2</option>

<option value=3194>Anel da Sorte +3</option>

<option value="*****">*****************************************</option>

</select></td><td align="right">

<select size="1" name="dropAnel">

<option selected  value="0">Option Anel</option>

<option value="1211643960">HP + 100</option>

<option value="1177957942">Exp Tecnica +10</option>

<option value="1161114933">Dano Adicional +50</option>

<option value="1144271924">Dano Minimo 10%</option>

<option value="1127428915">Precisao +200</option>

<option value="1110585906">Ataque Magico +20</option>

<option value="1093742897">Ataque +20</option>

<option value="*****">*****************************************</option>

</select></td><td><input type="submit" value="Enviar" name="enviarAnel"></td></tr>

<tr><td align="right">Brinco</td><td align="right"><select size="1" name="brinco">

<option selected value="*****">ID Brinco</option>

<option value=805>Brinco da Guarda</option>

<option value=806>Brinco da Guarda +1</option>

<option value=807>Brinco da Guarda +2</option>

<option value=808>Brinco da Guarda +3</option>

<option value=809>Brinco da Guarda +4</option>

<option value=1446>Brinco da Guarda +5</option>

<option value=1447>Brinco da Guarda +6</option>

<option value=1448>Brinco da Guarda +7</option>

<option value=810>Brinco de Regeneracao de Forca</option>

<option value=811>Brinco de Regeneracao de Forca +1</option>

<option value=812>Brinco de Regeneracao de Forca +2</option>

<option value=813>Brinco de Regeneracao de Forca +3</option>

<option value=814>Brinco de Regeneracao de Forca +4</option>

<option value=1449>Brinco de Regeneracao de Forca +5</option>

<option value=1450>Brinco de Regeneracao de Forca +6</option>

<option value=1451>Brinco de Regeneracao de Forca +7</option>

<option value=820>Brinco das Sete Moedas</option>

<option value=821>Brinco das Sete Moedas +1</option>

<option value=822>Brinco das Sete Moedas +2</option>

<option value=823>Brinco das Sete Moedas +3</option>

<option value=824>Brinco das Sete Moedas +4</option>

<option value=816>Brinco Vampirico +1</option>

<option value=817>Brinco Vampirico +2</option>

<option value=818>Brinco Vampirico +3</option>

<option value=819>Brinco Vampirico +4</option>

<option value=1452>Brinco Vampirico +5</option>

<option value=1453>Brinco Vampirico +6</option>

<option value=1454>Brinco Vampirico +7</option>

<option value=840>Brinco Vital</option>

<option value=841>Brinco Vital +1</option>

<option value=842>Brinco Vital +2</option>

<option value="*****">*****************************************</option>

</select></td><td align="right">

<select size="1" name="dropBrinco">

<option selected  value="0">Option Brinco</option>

<option value="1093742897">HP + 100</option>

<option value="1110585906">Furto Max HP +50</option>

<option value="1127428915">Furto Max MP +50</option>

<option value="1144271924">Defesa +20</option>

<option value="1177957942">Evasao +100</option>

<option value="1194800951">Dano Minimo 10%</option>

<option value="1211643960">Exp Tecnica +10</option>

<option value="*****">*****************************************</option>

</select></td><td><input type="submit" value="Enviar" name="enviarBrinco"></td></tr>

<tr><td align="right">Bracelete</td><td align="right"><select size="1" name="bracelete">

<option selected value="*****">ID Bracelete</option>

<option value=1221>Bracelete do Adepto</option>

<option value=1222>Bracelete do Adepto +1</option>

<option value=825>Bracelete da Forca Bruta</option>

<option value=826>Bracelete da Forca Bruta +1</option>

<option value=827>Bracelete da Forca Bruta +2</option>

<option value=785>Bracelete do Lutador</option>

<option value=786>Bracelete do Lutador +1</option>

<option value=787>Bracelete do Lutador +2</option>

<option value=788>Bracelete do Lutador +3</option>

<option value=789>Bracelete do Lutador +4</option>

<option value=1455>Bracelete do Lutador +5</option>

<option value=1456>Bracelete do Lutador +6</option>

<option value=1457>Bracelete do Lutador +7</option>

<option value=790>Bracelete do Sabio</option>

<option value=791>Bracelete do Sabio +1</option>

<option value=792>Bracelete do Sabio +2</option>

<option value=793>Bracelete do Sabio +3</option>

<option value=794>Bracelete do Sabio +4</option>

<option value=1458>Bracelete do Sabio +5</option>

<option value=1459>Bracelete do Sabio +6</option>

<option value=1460>Bracelete do Sabio +7</option>

<option value=828>Bracelete do Serenidade</option>

<option value=829>Bracelete do Serenidade +1</option>

<option value=830>Bracelete do Serenidade +2</option>

<option value=800>Bracelete das Sete Moedas</option>

<option value=801>Bracelete das Sete Moedas +1</option>

<option value=802>Bracelete das Sete Moedas +2</option>

<option value=803>Bracelete das Sete Moedas +3</option>

<option value=804>Bracelete das Sete Moedas +4</option>

<option value=795>Bracelete da Extorsao</option>

<option value=796>Bracelete da Extorsao +1</option>

<option value=797>Bracelete da Extorsao +2</option>

<option value=798>Bracelete da Extorsao +3</option>

<option value=799>Bracelete da Extorsao +4</option>

<option value=1461>Bracelete da Extorsao +5</option>

<option value=1462>Bracelete da Extorsao +6</option>

<option value=1463>Bracelete da Extorsao +7</option>

<option value=3343>Bracelete de Prideus</option>

<option value="*****">*****************************************</option>

</select></td><td align="right">

<select size="1" name="dropBracelete">

<option selected  value="0">Option Bracelete</option>

<option value="808924983">Exp Tecnica +10</option>

<option value="1177957942">Roubo MP 10%</option>

<option value="1161114933">Roubo HP 10%</option>

<option value="1144271924">Amp Magia 18%</option>

<option value="1127428915">Amp Espada 18%</option>

<option value="1110585906">Furto Max MP +50</option>

<option value="1093742897">Furto Max HP +50</option>

<option value="*****">*****************************************</option>

</select></td><td><input type="submit" value="Enviar" name="enviarBracelete"></td></tr>

<tr><td align="right">Arma</td><td align="right"><select size="1" name="arma">

<option selected value="*****">ID Armas</option>

<option value=49>KatanaAco Negro</option>

<option value=64>EspadaAco Negro</option>

<option value=79>DaykatanaAco Negro</option>

<option value=94>MontanteAco Negro</option>

<option value=19>OrbCitrino</option>

<option value=34>CristalCitrino</option>

<option value=20>OrbCelestita</option>

<option value=35>CristalCelestita</option>

<option value=50>KatanaCelestita</option>

<option value=65>EspadaCelestita</option>

<option value=80>DaykatanaCelestita</option>

<option value=95>MontanteCelestita</option>

<option value=21>OrbFerestino</option>

<option value=36>CristalFerestino</option>

<option value=51>KatanaTitanio</option>

<option value=66>EspadaTitanio</option>

<option value=81>DaykatanaTitanio</option>

<option value=96>MontanteTitanio</option>

<option value=22>OrbAqua Marine</option>

<option value=37>CristalAqua Marine</option>

<option value=52>KatanaTitanio Negro</option>

<option value=67>EspadaTitanio Negro</option>

<option value=82>DaykatanaTitanio Negro</option>

<option value=97>MontanteTitanio Negro</option>

<option value=23>OrbAmetista</option>

<option value=38>CristalAmetista</option>

<option value=53>KatanaOsmio</option>

<option value=68>EspadaOsmio</option>

<option value=83>DaykatanaOsmio</option>

<option value=98>MontanteOsmio</option>

<option value=54>KatanaOsmio Rubro</option>

<option value=69>EspadaOsmio Rubro</option>

<option value=84>DaykatanaOsmio Rubro</option>

<option value=99>MontanteOsmio Rubro</option>

<option value=24>OrbTopazio</option>

<option value=39>CristalTopazio</option>

<option value=1613>OrbSIGMetal</option>

<option value=1614>CristalSIGMetal</option>

<option value=1615>KatanaSIGMetal</option>

<option value=1616>EspadaSIGMetal</option>

<option value=1617>DaykatanaSIGMetal</option>

<option value=1618>MontanteSIGMetal</option>

<option value=2230>OrbLycanus</option>

<option value=2231>CristalLycanus</option>

<option value=2232>KatanaLycanus</option>

<option value=2233>EspadaLycanus</option>

<option value=2234>DaykatanaLycanus</option>

<option value=2235>MontanteLycanus</option>

<option value=25>OrbMithril</option>

<option value=40>CristalMithril</option>

<option value=55>KatanaMithril</option>

<option value=70>EspadaMithril</option>

<option value=85>DaykatanaMithril</option>

<option value=100>MontanteMithril</option>

<option value="*****">*****************************************</option>

</select></td><td align="right"><select size="1" name="dropArma">

<option selected  value="0">Option Armas</option>

<option value="806959417">Amp Magia 49%</option>

<option value="806893624">Amp Espada 49%</option>

<option value="809056569">Amp Magia 63%</option>

<option value="808990776">Amp Espada 63%</option>

<option value="1228486969">Amp Magia 70%</option>

<option value="1211643960">Amp Espada 70%</option>

<option value="808924983">Exp Tecnica +36</option>

<option value="1194800951">Exp Tecnica +40</option>

<option value="808859190">Drop Item 2 Slots 1350%</option>

<option value="1177957942">Drop Item 2 Slots 1500%</option>

<option value="808793397">Taxa Critica 30%</option>

<option value="1161114933">Taxa Critica 35%</option>

<option value="808727604">Danos Criticos 60%</option>

<option value="1144271924">Danos Criticos 70%</option>

<option value="808661811">Precisao 450</option>

<option value="1127428915">Precisao +500</option>

<option value="808596018">Ataque Magico +18</option>

<option value="1110585906">Ataque Magico +20</option>

<option value="808530225">Ataque +18</option>

<option value="1093742897">Ataque +20</option>

<option value="*****">*****************************************</option>

</select></td><td><input type="submit" value="Enviar" name="enviarArma"></td></tr>

<tr><td align="right">Set</td><td align="right"><select size="1" name="set">

<option selected value="*****">ID Set</option>

<option  value=109>Armadura Aco Negro (GU/GA)</option>

<option  value=154>Manopla Aco Negro (GU/GA)</option>

<option  value=199>Greva Aco Negro (GU/GA)</option>

<option  value=244>Elmo Aco Negro (GU/GA)</option>

<option  value=124>Traje Aramida (AA/EA)</option>

<option  value=169>Luva Aramida (AA/EA)</option>

<option  value=214>Coturno Aramida (AA/EA)</option>

<option  value=259>Visor Aramida (AA/EA)</option>

<option  value=139>Quimono Aramida (MA/DU)</option>

<option  value=184>Punho Aramida (MA/DU)</option>

<option  value=229>Sapato Aramida (MA/DU)</option>

<option  value=274>Mascara Aramida (MA/DU)</option>

<option  value=125>Traje Celestita (AA/EA)</option>

<option  value=170>Luva Celestita (AA/EA)</option>

<option  value=215>Coturno Celestita (AA/EA)</option>

<option  value=260>Visor Celestita (AA/EA)</option>

<option  value=110>Armadura Celestita (GU/GA)</option>

<option  value=155>Manopla Celestita (GU/GA)</option>

<option  value=200>Greva Celestita (GU/GA)</option>

<option  value=245>Elmo Celestita (GU/GA)</option>

<option  value=140>Quimono Celestita (MA/DU)</option>

<option  value=185>Punho Celestita (MA/DU)</option>

<option  value=230>Sapato Celestita (MA/DU)</option>

<option  value=275>Mascara Celestita (MA/DU)</option>

<option  value=126>Traje Titanio (AA/EA)</option>

<option  value=171>Luva Titanio (AA/EA)</option>

<option  value=216>Coturno Titanio (AA/EA)</option>

<option  value=261>Visor Titanio (AA/EA)</option>

<option  value=111>Armadura Titanio (GU/GA)</option>

<option  value=156>Manopla Titanio (GU/GA)</option>

<option  value=201>Greva Titanio (GU/GA)</option>

<option  value=246>Elmo Titanio (GU/GA)</option>

<option  value=141>Quimono Titanio (MA/DU)</option>

<option  value=186>Punho Titanio (MA/DU)</option>

<option  value=231>Sapato Titanio (MA/DU)</option>

<option  value=276>Mascara Titanio (MA/DU)</option>

<option  value=1317>Traje Titanio Negro (AA)</option>

<option  value=1323>Luva Titanio Negro (AA)</option>

<option  value=1329>Coturno Titanio Negro (AA)</option>

<option  value=1335>Visor Titanio Negro (AA)</option>

<option  value=1318>Quimono Titanio Negro (DU)</option>

<option  value=1324>Punho Titanio Negro (DU)</option>

<option  value=1330>Sapato Titanio Negro (DU)</option>

<option  value=1336>Mascara Titanio Negro (DU)</option>

<option  value=1316>Traje Titanio Negro (EA)</option>

<option  value=1322>Luva Titanio Negro (EA)</option>

<option  value=1328>Coturno Titanio Negro (EA)</option>

<option  value=1334>Visor Titanio Negro (EA)</option>

<option  value=1315>Armadura Titanio Negro (GA)</option>

<option  value=1321>Manopla Titanio Negro (GA)</option>

<option  value=1327>Greva Titanio Negro (GA)</option>

<option  value=1333>Elmo Titanio Negro (GA)</option>

<option  value=1314>Armadura Titanio Negro (GU)</option>

<option  value=1320>Manopla Titanio Negro (GU)</option>

<option  value=1326>Greva Titanio Negro (GU)</option>

<option  value=1332>Elmo Titanio Negro (GU)</option>

<option  value=1319>Quimono Titanio Negro (MA)</option>

<option  value=1325>Punho Titanio Negro (MA)</option>

<option  value=1331>Sapato Titanio Negro (MA)</option>

<option  value=1337>Mascara Titanio Negro (MA)</option>

<option  value=127>Traje Osmio (AA/EA)</option>

<option  value=172>Luva Osmio (AA/EA)</option>

<option  value=217>Coturno Osmio (AA/EA)</option>

<option  value=262>Visor Osmio (AA/EA)</option>

<option  value=112>Armadura Osmio (GU/GA)</option>

<option  value=157>Manopla Osmio (GU/GA)</option>

<option  value=202>Greva Osmio (GU/GA)</option>

<option  value=247>Elmo Osmio (GU/GA)</option>

<option  value=142>Quimono Osmio (MA/DU)</option>

<option  value=187>Punho Osmio (MA/DU)</option>

<option  value=232>Sapato Osmio (MA/DU)</option>

<option  value=277>Mascara Osmio (MA/DU)</option>

<option  value=114>Armadura Guarda (GA)</option>

<option  value=159>Manopla Guarda (GA)</option>

<option  value=204>Greva Guarda (GA)</option>

<option  value=249>Elmo Guarda (GA)</option>

<option  value=113>Armadura Guarda (GU)</option>

<option  value=158>Manopla Guarda (GU)</option>

<option  value=203>Greva Guarda (GU)</option>

<option  value=248>Elmo Guarda (GU)</option>

<option  value=143>Quimono Mystico (DU)</option>

<option  value=188>Punho Mystico (DU)</option>

<option  value=233>Sapato Mystico (DU)</option>

<option  value=278>Mascara Mystico (DU)</option>

<option  value=144>Quimono Mystico (MA)</option>

<option  value=189>Punho Mystico (MA)</option>

<option  value=234>Sapato Mystico (MA)</option>

<option  value=279>Mascara Mystico (MA)</option>

<option  value=129>Traje Protetor (AA)</option>

<option  value=174>Luva Protetor (AA)</option>

<option  value=219>Coturno Protetor (AA)</option>

<option  value=264>Visor Protetor (AA)</option>

<option  value=128>Traje Protetor (EA)</option>

<option  value=173>Luva Protetor (EA)</option>

<option  value=218>Coturno Protetor (EA)</option>

<option  value=263>Visor Protetor (EA)</option>

<option  value=1636>Traje SIGMetal (AA)</option>

<option  value=1642>Luva SIGMetal (AA)</option>

<option  value=1648>Coturno SIGMetal (AA)</option>

<option  value=1654>Visor SIGMetal (AA)</option>

<option  value=1637>Quimono SIGMetal (DU)</option>

<option  value=1643>Punho SIGMetal (DU)</option>

<option  value=1649>Sapato SIGMetal (DU)</option>

<option  value=1655>Mascara SIGMetal (DU)</option>

<option  value=1635>Traje SIGMetal (EA)</option>

<option  value=1641>Luva SIGMetal (EA)</option>

<option  value=1647>Coturno SIGMetal (EA)</option>

<option  value=1653>Visor SIGMetal (EA)</option>

<option  value=1634>Armadura SIGMetal (GA)</option>

<option  value=1640>Manopla SIGMetal (GA)</option>

<option  value=1646>Greva SIGMetal (GA)</option>

<option  value=1652>Elmo SIGMetal (GA)</option>

<option  value=1633>Armadura SIGMetal (GU)</option>

<option  value=1639>Manopla SIGMetal (GU)</option>

<option  value=1645>Greva SIGMetal (GU)</option>

<option  value=1651>Elmo SIGMetal (GU)</option>

<option  value=1638>Quimono SIGMetal (MA)</option>

<option  value=1644>Punho SIGMetal (MA)</option>

<option  value=1650>Sapato SIGMetal (MA)</option>

<option  value=1656>Mascara SIGMetal (MA)</option>

<option  value=2713>Traje Drei Frame (AA)</option>

<option  value=2719>Luva Drei Frame (AA)</option>

<option  value=2725>Coturno Drei Frame (AA)</option>

<option  value=2731>Visor Drei Frame (AA)</option>

<option  value=2714>Quimono Drei Frame (DU)</option>

<option  value=2720>Punho Drei Frame (DU)</option>

<option  value=2726>Sapato Drei Frame (DU)</option>

<option  value=2732>Mascara Drei Frame (DU)</option>

<option  value=2712>Traje Drei Frame (EA)</option>

<option  value=2718>Luva Drei Frame (EA)</option>

<option  value=2724>Coturno Drei Frame (EA)</option>

<option  value=2730>Visor Drei Frame (EA)</option>

<option  value=2711>Armadura Drei Frame (GA)</option>

<option  value=2717>Manopla Drei Frame (GA)</option>

<option  value=2723>Greva Drei Frame (GA)</option>

<option  value=2729>Elmo Drei Frame (GA)</option>

<option  value=2710>Armadura Drei Frame (GU)</option>

<option  value=2716>Manopla Drei Frame (GU)</option>

<option  value=2722>Greva Drei Frame (GU)</option>

<option  value=2728>Elmo Drei Frame (GU)</option>

<option  value=2715>Quimono Drei Frame (MA)</option>

<option  value=2721>Punho Drei Frame (MA)</option>

<option  value=2727>Sapato Drei Frame (MA)</option>

<option  value=2733>Mascara Drei Frame (MA)</option>

<option  value=131>Traje Mithril (AA)</option>

<option  value=176>Luva Mithril (AA)</option>

<option  value=221>Coturno Mithril (AA)</option>

<option  value=266>Visor Mithril (AA)</option>

<option  value=145>Quimono Mithril (DU)</option>

<option  value=190>Punho Mithril (DU)</option>

<option  value=235>Sapato Mithril (DU)</option>

<option  value=280>Mascara Mithril (DU)</option>

<option  value=130>Traje Mithril (EA)</option>

<option  value=175>Luva Mithril (EA)</option>

<option  value=220>Coturno Mithril (EA)</option>

<option  value=265>Visor Mithril (EA)</option>

<option  value=116>Armadura Mithril (GA)</option>

<option  value=161>Manopla Mithril (GA)</option>

<option  value=206>Greva Mithril (GA)</option>

<option  value=251>Elmo Mithril (GA)</option>

<option  value=115>Armadura Mithril (GU)</option>

<option  value=160>Manopla Mithril (GU)</option>

<option  value=205>Greva Mithril (GU)</option>

<option  value=250>Elmo Mithril (GU)</option>

<option  value=146>Quimono Mithril (MA)</option>

<option  value=191>Punho Mithril (MA)</option>

<option  value=236>Sapato Mithril (MA)</option>

<option  value=281>Mascara Mithril (MA)</option>

<option value="*****">*****************************************</option>

</select></td><td align="right"><select size="1" name="dropSet">

<option selected  value="0">Option Set</option>

<option value="806959417">Amp Magia 49%</option>

<option value="806893624">Amp Espada 49%</option>

<option value="809056569">Amp Magia 63%</option>

<option value="808990776">Amp Espada 63%</option>

<option value="1228486969">Amp Magia 70%</option>

<option value="1211643960">Amp Espada 70%</option>

<option value="808924983">Exp Tecnica +36</option>

<option value="1194800951">Exp Tecnica +40</option>

<option value="808859190">Drop Item 2 Slots 1350%</option>

<option value="1177957942">Drop Item 2 Slots 1500%</option>

<option value="808793397">Taxa Critica 30%</option>

<option value="1161114933">Taxa Critica 35%</option>

<option value="808727604">Danos Criticos 60%</option>

<option value="1144271924">Danos Criticos 70%</option>

<option value="808661811">Precisao 450</option>

<option value="1127428915">Precisao +500</option>

<option value="808596018">Ataque Magico +18</option>

<option value="1110585906">Ataque Magico +20</option>

<option value="808530225">Ataque +18</option>

<option value="1093742897">Ataque +20</option>

<option value="*****">*****************************************</option>

</select></td><td><input type="submit" value="Enviar" name="enviarSet"></td></tr></table></div></form>
 

lougansh

Usuário XPZ
12 de Fevereiro de 2013
14
4
0
To implementando isso mas a ideia era poder enviar item, fiz pra usar em um servidor de testes e liberei o editor geral pro povo fazer seus próprios itens
 

Shion

Legendário XPZ
1 de Outubro de 2010
4,350
798
113
29
www.inextgames.com.br
se postou em uma area de tutorial, explique no topico como o usuario deve usar o code, caso contrario moverei para area de desenvolvimento
 

lougansh

Usuário XPZ
12 de Fevereiro de 2013
14
4
0
XPZone.php

A pedido do Shion como usar esse codigo:

Copie todo o código CTRL C ou marque todo conteudo clicando com o botao direito do mouse selecionando copiar, va aate um editor de textos de sua preferencia e cole o conteudo, CTRL V ou botao direito do mouse Colar, onde esta escrito "$myPass = "digitesuasenhaaki";" digite a senha do seu sql, salve o arquivo como index.php dentro da sua pasta www, ou subpasta de www.

Para ver o resultado acesse o endereço
Você não tem permissão para ver o link. Faça o login ou registre-se agora.
se vc salvou dentro de www, caso tenha salvo em outra pasta basta digitar o nome da pasta corretamente, lembrando que PHP e case sensitive entao considere letras maiusculas e letras minusculas, é isso awe bom uso a todos...
 

elite007

Usuário XPZ
5 de Dezembro de 2010
90
2
0
28
Como faço para comunicar um serviço de php com o meu SQL e qual o melhor para se usar?