skip to main
|
skip to sidebar
Social Icons
Pages
Página principal
Contact SackerGZ
Afliliacion SackerZ
Tv en Vivo Online
lunes, 23 de abril de 2012
Shop Set reparado web HG
AQUI TE DEJO EL CODIGO YA Q PORTLAXD NO ME DEJABA .-.
<? SetTitle("SackerZWeb - Comprar Set sin day"); if($_SESSION[AID] == "") { SetURL("index.php?do=buyset&setid={$_GET[setid]}"); SetMessage("Mensaje de la Tienda", array("Logueate antes de comprar, porfavor")); header("Location: index.php?do=login"); die(); } if(!isset($_POST[SetID])) { if($_GET[setid] == "" || !is_numeric($_GET[setid])) { SetMessage("Mensaje de la Tienda", array("Item incorrecto")); header("Location: index.php?do=shopsets"); die(); } } if(isset($_POST[SetID])) { $setid = clean($_POST[SetID]); $accid = clean($_SESSION[AID]); $ires = mssql_query_logged("SELECT * FROM ShopSets(nolock) WHERE SSID = $setid"); if(mssql_num_rows($ires) == 0) { SetMessage("Error de la tienda", array("Item no existe")); header("Location index.php?do=shopsets"); die(); } $ires = mssql_fetch_object($ires); $ares = mssql_fetch_object(mssql_query_logged("SELECT * FROM Account WHERE AID = $accid")); $totalprice = $ires->Price; $accountbalance = $ares->Coins; $afterbalance = $accountbalance - $totalprice; if($afterbalance < 0) { SetMessage("Error from Shop", array("Usted no tiene suficientes Coins para comprar este artículo")); header("Location: index.php?do=buyset&setid=$setid"); die(); }else{ mssql_query_logged("UPDATE Account SET Coins = Coins - $totalprice WHERE AID = {$_SESSION[AID]}"); mssql_query_logged("UPDATE ShopSets SET Selled = Selled + 1 WHERE SSID = $setid"); //Head if( $ires->HeadItemID != 0 ) { mssql_query_logged("INSERT INTO AccountItem(AID, ItemID, RentDate, RentHourPeriod, Cnt)VALUES" . "($accid, {$ires->HeadItemID}, GETDATE(), NULL, 1)"); } //Chest if( $ires->ChestItemID != 0 ) { mssql_query_logged("INSERT INTO AccountItem(AID, ItemID, RentDate, RentHourPeriod, Cnt)VALUES" . "($accid, {$ires->ChestItemID}, GETDATE(), NULL, 1)"); } //Hand if( $ires->HandItemID != 0 ) { mssql_query_logged("INSERT INTO AccountItem(AID, ItemID, RentDate, RentHourPeriod, Cnt)VALUES" . "($accid, {$ires->HandItemID}, GETDATE(), NULL, 1)"); } //Leg if ( $ires->LegItemID != 0 ) { mssql_query_logged("INSERT INTO AccountItem(AID, ItemID, RentDate, RentHourPeriod, Cnt)VALUES" . "($accid, {$ires->LegItemID}, GETDATE(), NULL, 1)"); } //Feet if ( $ires->FeetItemID != 0 ) { mssql_query_logged("INSERT INTO AccountItem(AID, ItemID, RentDate, RentHourPeriod, Cnt)VALUES" . "($accid, {$ires->FeetItemID}, GETDATE(), NULL, 1)"); } SetMessage("Mensaje de la tienda", array("Artículo comprado con éxito, mira a su almacenamiento en gunz para usarlo")); header("Location: index.php?do=shopsets"); die(); } }else{ $setid = clean($_GET[setid]); $ires = mssql_query_logged("SELECT * FROM ShopSets(nolock) WHERE SSID = $setid"); if(mssql_num_rows($ires) == 0) { SetMessage("Error en la tienda", array("set no existe")); header("Location index.php?do=shopsets"); die(); } $acd = mssql_fetch_object(mssql_query_logged("SELECT * FROM Account(nolock) WHERE AID = {$_SESSION[AID]}")); $data = mssql_fetch_object($ires); } ?> <body onLoad="FP_preloadImgs(/*url*/'../images/btn_cancel_on.jpg')"> <table border="0" style="border-collapse: collapse" width="778"> <tr> <td width="164" valign="top"> <table border="0" style="border-collapse: collapse" width="164"> <tr> <td width="164" style="background-image: url('images/md_content_menu_t.jpg'); background-repeat: no-repeat; background-position: center top" valign="top"> </td> </tr> <tr> <td width="164" style="background-image: url('images/md_content_menu_m.jpg'); background-repeat: repeat-y; background-position: center top" valign="top"> <div align="center"> <table border="0" style="border-collapse: collapse" width="164"> <tr> <td width="14"> </td> <td width="127"> <a href="index.php?do=shop"> <img border="0" src="images/btn_newestitems_off.jpg" id = "76176img" width="132" height="22" onMouseOut="FP_swapImgRestore()" onMouseOver="FP_swapImg(1,1,/*id*/'76176img',/*url*/'images/btn_newestitems_on.jpg')"></a></td> <td width="17"> </td> </tr> <tr> <td width="14"> </td> <td width="127"><a href="index.php?do=shopdonator"><img src="images/btn_donatoritems_off.jpg" alt="" name="donatoritems" width="132" height="26" border="0" id="donatoritems" onMouseOver="FP_swapImg(1,1,/*id*/'donatoritems',/*url*/'images/btn_donatoritems_on.jpg')" onMouseOut="FP_swapImgRestore()" /></a></td> <td width="17"> </td> </tr> <tr> <td width="14"> </td> <td width="127"><a href="index.php?do=shopevent"><img border="0" src="images/btn_eventitems_off.jpg" id="eventitems37" width="132" height="26" onMouseOut="FP_swapImgRestore()" onMouseOver="FP_swapImg(1,1,/*id*/'eventitems37',/*url*/'images/btn_eventitems_on.jpg')"></a></td> <td width="17"> </td> </tr> <tr> <td width="14"> </td> <td width="127"><a href="index.php?do=shopsets"><img border="0" src="images/btn_completeset_on.jpg" id="7816imgxD271" width="132" height="26"></a></td> <td width="17"> </td> </tr> <tr> <td width="14"> </td> <td width="127"><a href="index.php?do=shopitem&cat=3"><img border="0" src="<?=($_GET[cat] <> 3) ? "images/btn_armor_off.jpg" : "images/btn_armor_on.jpg"?>" id="7816img272" width="132" height="25" onMouseOut="FP_swapImgRestore()" onMouseOver="FP_swapImg(1,1,/*id*/'7816img272',/*url*/'images/btn_armor_on.jpg')"></a></td> <td width="17"> </td> </tr> <tr> <td width="14"> </td> <td width="127"><a href="index.php?do=shopitem&cat=2"><img border="0" src="<?=($_GET[cat] <> 2) ? "images/btn_meleeweapons_off.jpg" : "images/btn_meleeweapons_on.jpg"?>" id="7816img273" width="132" height="25" onMouseOut="FP_swapImgRestore()" onMouseOver="FP_swapImg(1,1,/*id*/'7816img273',/*url*/'images/btn_meleeweapons_on.jpg')"></a></td> <td width="17"> </td> </tr> <tr> <td width="14"> </td> <td width="127"><a href="index.php?do=shopitem&cat=1"><img border="0" src="<?=($_GET[cat] <> 1) ? "images/btn_rangedweapons_off.jpg" : "images/btn_rangedweapons_on.jpg"?>" id="7816img274" width="132" height="27" onMouseOut="FP_swapImgRestore()" onMouseOver="FP_swapImg(1,1,/*id*/'7816img274',/*url*/'images/btn_rangedweapons_on.jpg')"></a></td> <td width="17"> </td> </tr> <tr> <td> </td> <td><a href="index.php?do=shopitem&cat=5"><img border="0" src="<?=($_GET[cat] <> 5) ? "images/btn_specialitems_off.jpg" : "images/btn_specialitems_on.jpg"?>" id="7816img275" width="132" height="23" onMouseOut="FP_swapImgRestore()" onMouseOver="FP_swapImg(1,1,/*id*/'7816img275',/*url*/'images/btn_specialitems_on.jpg')"></a></td> <td> </td> </tr> </table> </div> </td> </tr> <tr> <td width="164" style="background-image: url('images/md_content_menu_d.jpg'); background-repeat: no-repeat; background-position: center top" valign="top"> <div align="center"> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </div></td> </tr> </table> </td> <td width="599" valign="top"> <div align="center"> <table border="0" style="background-position: center top; border-collapse: collapse; background-image:url('images/content_bg.jpg'); background-repeat:repeat-y" width="603"> <tr> <td style="background-image: url('images/content_title_shop_buyset.jpg'); background-repeat: no-repeat; background-position: center top" height="25" width="601" colspan="3"> </td> </tr> <tr> <td style="background-repeat: repeat; background-position: center top" width="597" colspan="3"> </td> </tr> <tr> <td style="background-repeat: repeat; background-position: center top" width="7"> </td> <td style="background-repeat: repeat; background-position: center top" width="583" valign="top"> <div align="center"> <table border="1" style="border-collapse: collapse; border: 1px solid #4A4648" width="100%" bordercolor="#4A4648"> <tr> <td> <div align="center"> <form method="POST" action="index.php?do=buyset" name="frmBuy"><table border="0" style="border-collapse: collapse" width="579" height="100%"> <tr> <td width="11"> </td> <td width="104"> </td> <td width="458" colspan="2"> </td> </tr> <tr> <td width="11"> </td> <td width="104" valign="top"> <div align="center"> <img border="0" src="images/shop/<?=$data->ImageURL?>" width="100" height="150" style="border: 2px solid #1D1B1C"></td> <td width="458" colspan="2"> <div align="center"> <table border="0" style="border-collapse: collapse" width="458" height="100%"> <tr> <td width="19"> <div align="left"> </td> <td width="435" colspan="2"> <div align="left"> <b> <font size="2"> <?=$data->Name?></font></b></td> </tr> <tr> <td width="19"> </td> <td width="61" align="left"> Type: </td> <td width="372" align="left"> Complete Set</td> </tr> <tr> <td width="19"> </td> <td width="61" align="left"> Sex:</td> <td width="372" align="left"> <?=$data->Sex?></td> </tr> <tr> <td width="19"> </td> <td width="61" align="left"> Level:</td> <td width="372" align="left"> <?=$data->Level?></td> </tr> <tr> <td width="19"> </td> <td width="61" align="left"> Price:</td> <td width="372" align="left"> <span id="currentprice"><?=$data->Price?></span> </td> </tr> <tr> <td width="19"> </td> <td width="435" colspan="2" rowspan="5" style="background-image: url('images/mis_eumember.jpg'); background-repeat: no-repeat; background-position: center" valign="middle"> <div align="center"> <input type="hidden" name="SetID" value="<?=$_GET[setid]?>"></div> </td> </tr> <tr> <td width="19"> </td> </tr> <tr> <td width="19"> </td> </tr> <tr> <td width="19"> </td> </tr> <tr> <td width="19"> </td> </tr> </table> </div> </td> </tr> <tr> <td width="11"> </td> <td width="104"> </td> <td width="19"> </td> <td width="435" align="left" rowspan="4"> <div align="center"> <table border="0" style="border-collapse: collapse" width="435" height="66"> <tr> <td style="background-image: url('images/mis_finalbalance.jpg'); background-repeat: no-repeat; background-position: right center" width="419"> <div align="center"> <table border="0" style="border-collapse: collapse" width="419" height="100%"> <tr> <td width="216"> </td> <td width="117" align="left">Total:</td> <td width="62" align="left"><span id="Total"><?=$data->Price?></span></td> <td width="16"> </td> </tr> <tr> <td width="216"> </td> <td width="117" align="left">Actual Balance:</td> <td width="62" align="left"><span id="currbalance"><?=$acd->Coins?></span></td> <td width="16"> </td> </tr> <tr> <td width="216"> </td> <td width="117" align="left">After:</td> <td width="62" align="left"><span><?=(($acd->Coins) - ($data->Price))?></span></td> <td width="16"> </td> </tr> <tr> <td width="413" colspan="4" height="1"></td> </tr> </table> </div> </td> <td style="background-repeat: no-repeat; background-position: left center" width="12"> </td> </tr> </table> </div> </td> </tr> <tr> <td width="11"> </td> <td width="104"> </td> <td width="19"> </td> </tr> <tr> <td width="11"> </td> <td width="104"> </td> <td width="19"> </td> </tr> <tr> <td width="11"> </td> <td width="104"> </td> <td width="19"> </td> </tr> <tr> <td width="569" colspan="4"> </td> </tr> </table> </div> </td> </tr> </table> </div> </td> <td style="background-repeat: repeat; background-position: center top" width="7"> </td> </tr> <tr> <td style="background-repeat: repeat; background-position: center top" width="597" colspan="3"> </td> </tr> <tr> <td style="background-repeat: repeat; background-position: center top" width="597" colspan="3"> <p align="center"> <a href="javascript:document.frmBuy.submit();"> <img border="0" src="images/btn_buyset_off.jpg" width="79" height="23" id="img1764" onMouseOut="FP_swapImgRestore()" onMouseOver="FP_swapImg(1,1,/*id*/'img1764',/*url*/'images/btn_buyset_on.jpg')"></a> <a href="index.php?do=shopsets"> <img border="0" src="images/btn_cancel_off.jpg" width="79" height="23" id="dale1872" onMouseOut="FP_swapImgRestore()" onMouseOver="FP_swapImg(1,1,/*id*/'dale1872',/*url*/'images/btn_cancel_on.jpg')"></a></td> </tr> <tr> <td height="17" style="background-image: url('images/content_top.jpg'); background-repeat: no-repeat; background-position: center bottom" width="601" colspan="3"></td> </tr> </table> </div> </td> </tr> </table> <script language="javascript"> UpdatePrice(); </script> <? // By sacker ?>
Codigo PHP del module_buysets.php de la web HG arreglado por Sacker :)d
!
No hay comentarios:
Publicar un comentario
Nota: solo los miembros de este blog pueden publicar comentarios.
Entrada más reciente
Entrada antigua
Inicio
Suscribirse a:
Enviar comentarios (Atom)
Buscador SackerZ
e,e
Facebook SackerZ
Tipos de Aportes
Anti Virus
Como crear un gunz online
Como crear una web de gunz
Deportes
Juegos
Mapas para GunZ Online
Sistemas Operativos[Windows]
Todo sobre la WEB HG
Webs de GunZ Online By SackerZ
Popular Posts
MICROSOFT OFFICE 2010 [ FULL ] [ Crack] [ Serial]
MICROSOFT OFFICE 2010 [ FULL ] [ Crack] [ Serial] MICROSOFT OFFICE 2010 es una suite ofimática creada por Microsoft par...
Microsoft Office Enterprise 2007 Full [Español] [Serial] [Crack][Actualziado]1 Link!
Microsoft Office Enterprise 2007 Full [Español] 1 Link! ACTUALIZADO EL 04/02/2012 Microsoft Office Enterprise 2007 Español + S...
Windows Xp SP3 uE 7 [Español] [ISO][FULL] [1 link]
Windows Xp SP3 uE 7 [Español] [ISO] [1 link] Esta es la ultima versión de el ya muy conocido Windows uE SP3 creado por Bj, a...
Unlocker 2012 [FULL][ESPAÑOL]
Unlocker Seguro que más de una vez te ha ocurrido lo siguiente: intentas eliminar un fichero y recibes un mensaje de error diciendo...
Nero 7 [Portable][ESPAÑOL][FULL][El mejor]
Nero 7 [Portable][ESPAÑOL][FULL][El mejor] Nero 7 portable , si lo que quieres es un programa para graba...
Como Crear Una Radio Online Gratis
Como Crear Una Radio Online Gratis PROGRAMAS NECESARIOS PARA TRANSMITIR * WinAmp http://35ebcefe.yyv.co o http://3eb305b6.yyv.co ...
DESCARGAR PACK DE TEMAS Y TEMAS ANIMES PARA SU WINDOWS 7
HOLA QUE TAL AMIGO DE GRATISPROGRAMAS AQUI COMPARTIENDOLE EL SEGUNDO PACK DE TEMAS PARA SU WINDOWS 7 ESPERO LE GUSTE LOS TEMAS QUE ...
Adobe Photoshop CS6 Full Español + Serial + Crack + Keygen + Medicina 1 Link
Adobe Photoshop CS6 Full Español + Serial + Crack + Keygen + Medicina " 1 Link" El software Adobe® Photoshop® CS6 Ext...
Con la tecnología de
Blogger
.
Followers
Administradores
Sacker
Zalish
Social Icons
Labels
Anti Virus
(3)
Como crear un gunz online
(4)
Como crear una web de gunz
(1)
Deportes
(4)
Juegos
(2)
Mapas para GunZ Online
(5)
Sistemas Operativos[Windows]
(2)
Todo sobre la WEB HG
(14)
Webs de GunZ Online By SackerZ
(6)
Chat SackerZ
Contador SackerZ
FUSSBALL TIPPS
Blog Archive
►
2018
(1)
►
julio
(1)
►
2013
(9)
►
septiembre
(4)
►
agosto
(2)
►
enero
(3)
▼
2012
(70)
►
diciembre
(2)
►
noviembre
(4)
►
octubre
(15)
►
septiembre
(5)
►
agosto
(14)
►
julio
(1)
►
junio
(4)
►
mayo
(12)
▼
abril
(8)
Como instalar Appserv Para GunZ Online y parchar p...
MICROSOFT OFFICE 2010 [ FULL ] [ Crack] [ Serial]
Microsoft Office Enterprise 2007 Full [Español] [S...
Nero HD Platinum v 11 (2012) [Español] [ISO][CRACK...
Como Modificar el Registro de la Web HG
Shop Set reparado web HG
Photoshop CS5 Portable [Español][Full][NO MEGAUPLOAD]
Kapersky 2012 Full En Español [Medicina + Crack + ...
►
febrero
(3)
►
enero
(2)
►
2011
(22)
►
diciembre
(10)
►
noviembre
(1)
►
octubre
(11)
Sample text
Sample Text
No hay comentarios:
Publicar un comentario
Nota: solo los miembros de este blog pueden publicar comentarios.