Jump to content
MakeWebGames

radio_active

Members
  • Posts

    693
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by radio_active

  1. Hello once again, Now what im posting here is a secure working revamped version of itemsell.php Please not that this will be my LAST mccode v2 code revamp that i post, if you wish for more i will offer my services to revamp your codes. PM me if you are interested in that. Otherwise here it is. replace itemsell.php with thiis. <?php /* Revamped itemsell.php by raDiO_acTivE Leave this notice hear as courtesy please Free mod for CE users */ include "globals.php"; $_GET['ID'] = abs((int) $_GET['ID']); $_GET['qty'] = abs((int) $_GET['qty']); //itemsend if($_GET['qty']) { $id = $db->query(sprintf("SELECT iv.inv_id,inv_itemid,inv_userid,inv_qty, it.itmid,itmtype,itmname,itmsellprice FROM inventory iv LEFT JOIN items it ON iv.inv_itemid = it.itmid WHERE iv.inv_id=%d AND iv.inv_userid = %d LIMIT 1", (INT)$_GET['ID'], $userid ) ); //created by raDiO_acTivE if($db->num_rows($id)==0) { echo "Invalid item ID"; } else { $r=$db->fetch_row($id); if($_GET['qty'] > $r['inv_qty']) { echo "You are trying to send more than you have!"; //created by raDiO_acTivE } else { $price=$r['itmsellprice']*$_GET['qty']; //Free Mod by raDiO_acTivE item_remove($userid, $r['itmid'], $_GET['qty']); $db->query(sprintf("UPDATE `users` SET `money` = money+%d WHERE userid = %d", $price, $userid ) ); //created by raDiO_acTivE $priceh="$".($price); $sold = "You sold ".('%u')." {$r['itmname']}(s) for {$priceh}"; printf($sold,(int)$_GET['qty']); $db->query(sprintf("INSERT INTO itemselllogs (isID,isUSER,isITEM,isTOTALPRICE,isQTY,isTIME,isCONTENT) VALUES (%d, %d, %d, %d, %u, unix_timestamp(), '{$ir['username']} sold {$_GET['qty']} {$r['itmname']}(s) for {$priceh}')", '', $userid, $r['itmid'], $price, (int)$_GET['qty'] ) ); //created by raDiO_acTivE } } } else if($_GET['ID']) { $id=$db->query(sprintf("SELECT iv.inv_id,inv_itemid,inv_userid,inv_qty, it.itmid,itmtype,itmname,itmsellprice FROM inventory iv LEFT JOIN items it ON iv.inv_itemid = it.itmid WHERE iv.inv_id = %u AND iv.inv_userid = %d LIMIT 1", (int)$_GET['ID'], $userid ) ); if($db->num_rows($id)==0) { echo "Invalid item ID"; } //created by raDiO_acTivE else { $r=$db->fetch_row($id); echo sprintf("[b]Enter how many ".$r['itmname']." you want to sell. You have ".$r['inv_qty']." to sell.[/b] <form action='itemsell.php' method='get'> <input type='hidden' name='ID' value='%u' /> Quantity: <input type='text' name='qty' value='' /> <input type='submit' value='Sell Items (no prompt so be sure!' /> </form>",(int)$_GET['ID']); } } else { echo "Invalid use of file."; //created by raDiO_acTivE } $h->endpage(); ?>   So yes, my last revamp for you guys for free, enjoy. Thanks for the positive feedback in my last two Revamps aswell. :-)
  2. Re: (V2) Equip item to use agility in battles. Im sure your perfectly capable of either searching for this feature or doing it yourself.
  3. Re: [MCcode V2] Item Market Revamped Yeah true, i was going to do what you have and stack items that cost the same amount that come from the same user... Maybe i will. Doubt i will post if i do though.
  4. Re: [MCcode V2] Item Market Revamped Don't steal my thread xD lol
  5. Re: [MCcode V2] Item Market Revamped Well as i said in my first post "This is not a visual update, this is a complete re-coding job" The second post i did, i posted the original file which you are using. Now compare the two codes and tell me what is secure and what is not.
  6. Re: [MCcode V2] Item Market Revamped Okay, this here is a working version of the item market however, this is without the "Gift" feature.   <?php /* //Created by raDiO acTivE ~ Free script for CE users //Please leave this notice here as courtesy //Free Revamp of MCcode V2 //Enjoy */ include "globals.php"; print "<h3>Item Market</h3>"; switch($_GET['action']) { case "buy": item_buy(); break; case "remove": itemm_remove(); break; default: imarket_index(); break; } function imarket_index() { global $db,$ir,$c,$userid,$h; print "Viewing all listings... <table width=75% cellspacing=1 class='table'> <tr style='background:gray'> <th>Adder</th> <th>Item</th> <th>Price</th> <th>Links</th> </tr>"; $q = $db->query("SELECT im.`imID`,`imITEM`,`imADDER`,`imPRICE`,`imCURRENCY`, i.`itmid`,`itmtype`,`itmname`, u.`userid`,`username`, it.`itmtypeid`,`itmtypename` FROM itemmarket im LEFT JOIN `items` i ON im.imITEM = i.itmid LEFT JOIN `users` u ON u.userid = im.imadder LEFT JOIN `itemtypes` it ON i.itmtype = it.itmtypeid ORDER BY i.itmtype, i.itmname ASC" ); // Created by raDiO acTivE ~ Free script for CE users $lt=""; while ( $r=$db->fetch_row($q) ) { if($lt!=$r['itmtypename']) { $lt=$r['itmtypename']; echo"\n <tr style='background: gray;'> <th colspan=4>{$lt}</th> </tr> "; } if($r['imCURRENCY']=="money") { $price="\$".number_format($r['imPRICE']); } else { $price = number_format($r['imPRICE'])." silvers"; } if($r['imADDER'] == $userid) { $link = "[[url='itemmarket.php?action=remove&ID=".$r[']Remove[/url]]"; } else { $link = " [[url='itemmarket.php?action=buy&ID=".$r[']Buy[/url]] "; } echo "\n <tr> <td> [url='viewuser.php?u={$r[']{$r['username']}[/url] [{$r['userid']}]</td> <td>{$r['itmname']}</td> <td>$price</td> <td>[[url='iteminfo.php?ID={$r[']Info[/url]] $link</td> </tr>"; } } function itemm_remove() { global $db,$ir,$c,$userid,$h; $r = $db->query(sprintf(" SELECT im.`imID`,`imITEM`,`imADDER`,`imPRICE`,`imCURRENCY`, i.`itmid`,`itmtype` FROM `itemmarket` im LEFT JOIN `items` i ON im.imITEM = %d WHERE `imID` = %u AND `imADDER` = %d", i.itmid, (INT)$_GET['ID'], $userid ) ); if(!$db->num_rows($q)) { echo "Error, either this item does not exist, or you are not the owner. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } $r=$db->fetch_row($q); item_add($userid, $r['imITEM'], 1); $i=($db->insert_id()) ? $db->insert_id() : 99999; $delete = sprintf("DELETE FROM `itemmarket` WHERE imID= %u", (INT)$_GET['ID']); $db->query($delete); $insert = sprintf("INSERT INTO `imremovelogs` (imrID,imrITEM,imrADDER,imrREMOVE,imrIMID,imrINVID,imrTIME,imrCONTENT) VALUES (%d,%d,%d,%d,%d,%u,unix_timestamp(), {$ir['username']} removed a {$r['itmname']} from the item market.)", '', $r['imITEM'], $r['imADDER'], $userid, $r['imID'] , $i, $ir['username'] ); echo " Item removed from the market. [url='itemmarket.php']> Back[/url]"; } // Created by raDiO acTivE ~ Free script for CE users function item_buy() { global $db,$ir,$c,$userid,$h; $q = $db->query(sprintf("SELECT `imID`,`imITEM`,`imADDER`,`imPRICE`,`imCURRENCY` FROM `itemmarket` im LEFT JOIN `items` i ON i.itmid = %d WHERE imID = %u", im.imITEM, (INT)$_GET['ID'] ) ); if(!$db->num_rows($q)) { echo "Error, either this item does not exist, or it has already been bought. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } $r = $db->fetch_row($q); $curr = $r['imCURRENCY']; if($r['imPRICE'] > $ir[$curr]) { echo "Error, you do not have the funds to buy this item. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } item_add($userid, $r['imITEM'], 1); $i=($db->insert_id()) ? $db->insert_id() : 99999; $db->query(sprintf("DELETE FROM `itemmarket` WHERE `imID` = %u", (INT)$_GET['ID'] ) ); $db->query(sprintf("UPDATE`users` SET $curr = $curr-%d WHERE userid=%d", $r['imPRICE'], $userid ) ); $db->query(sprintf("UPDATE `users` SET $curr = $curr+%d WHERE userid = %u", $r['imPRICE'], $r['imADDER'] ) ); if($curr=="money") { event_add($r['imADDER'], "[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your {$r['itmname']} item from the market for \$".number_format($r['imPRICE']).". "); $db->query(sprintf("INSERT INTO `imbuylogs` (imbID,imbITEM,imbADDER,imbBUYER,imbPRICE,imbIMID,imbINVID,imbTIME,imbCONTENT) VALUES (%u,%d,%d,%d,%d,%d,%u, unix_timestamp(), '{$ir['username']} bought a {$r['itmname']} from the item market for \${$r['imPRICE']} from user ID {$r['imADDER']}')", '', $r['imITEM'], $r['imADDER'], $userid, $r['imPRICE'], $r['imID'], $i) ); // Created by raDiO acTivE ~ Free script for CE users echo "You bought the {$r['itmname']} from the market for \$".number_format($r['imPRICE'])."."; } else { event_add( $r['imADDER'], "[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your {$r['itmname']} item from the market for ".number_format($r['imPRICE'])." crystals."); $db->query(sprintf("INSERT INTO `imbuylogs` (imbID,imbITEM,imbADDER,imbBUYER,imbPRICE,imbIMID,imbINVID,imbTIME,imbCONTENT) VALUES (%u,%d,%d,%d,%d,%d,%u, unix_timestamp(), '{$ir['username']} bought a {$r['itmname']} from the item market for \${$r['imPRICE']} from user ID {$r['imADDER']}')", '', $r['imITEM'], $r['imADDER'], $userid, $r['imPRICE'], $r['imID'], $i) ); echo "You bought the {$r['itmname']} from the market for ".number_format($r['imPRICE'])." silvers."; } } $h->endpage(); ?>   Im having a bit of trouble with the gift features at the moment, i can get everything to show properly but it returns the value of 0 when selecting the rows meaning it will say "Error, either this item has been bought or doesn't exist" These are the gifting functions, if someone wants to play with them and try and fix, thatd be appreciated. <?php case "gift1": item_gift1(); break; case "gift2": item_gift2(); break; function item_gift1() { global $db,$ir,$c,$userid,$h; $q = $db->query(sprintf("SELECT im.`imID`,`imITEM`,`imADDER`,`imPRICE`,`imCURRENCY`, i.`itmid`,`itmtype`,`itmname` FROM `itemmarket` im LEFT JOIN `items` i ON i.itmid = im.imITEM WHERE im.`imID` = %u ", mysql_real_escape_string($_GET['ID']) ) ); if(!$db->num_rows($q)) { echo "Error, either this item does not exist, or it has already been bought. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } $r = $db->fetch_row($q); $curr = $r['imCURRENCY']; if($r['imPRICE'] > $ir[$curr]) { echo "Error, you do not have the funds to buy this item. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } // Created by raDiO acTivE ~ Free script for CE users if($curr=="money") { $var = "Buying the [b]{$r['itmname']}[/b] for \$".number_format($r['imPRICE'])." as a gift... <form action='itemmarket.php?action=gift2' method='post'> <input type='hidden' name='ID' value='{$_GET['ID']}' /> Receiver: ".user_dropdown($c,'user')." <input type='submit' value='Buy Item and Send Gift' /> </form>"; print($var); } else { $iab = "Buying the [b]%d[/b] for ".number_format('%d')." silvers as a gift... <form action='itemmarket.php?action=gift2' method='post'> <input type='hidden' name='ID' value='%d' /> Receiver: ".user_dropdown($c,'user')." <input type='submit' value='Buy Item and Send Gift' /> </form>"; printf($iab,$r['itmname'],$r['imPRICE'],$_GET['ID'] ); } } // Created by raDiO acTivE ~ Free script for CE users function item_gift2() { global $db,$ir,$c,$userid,$h; $q = $db->query(sprintf("SELECT im.`imID`,`imITEM`,`imADDER`,`imPRICE`,`imCURRENCY`, i.`itmid`,`itmtype`,`itmname` FROM `itemmarket` im LEFT JOIN `items` i ON i.itmid = im.imITEM WHERE im.`imID` = %u ", mysql_real_escape_string($_GET['ID']) ) ); if(!$db->num_rows($q)) { echo "Error, either this item does not exist, or it has already been bought. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } $r = $db->fetch_row($q); // Created by raDiO acTivE ~ Free script for CE users $curr = $r['imCURRENCY']; if($r['imPRICE'] > $ir[$curr]) { echo "Error, you do not have the funds to buy this item. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } item_add($_POST['user'], $r['imITEM'], 1); $i=($db->insert_id()) ? $db->insert_id() : 99999; $db->query(sprintf("DELETE FROM `itemmarket` WHERE `imID` = %u", mysql_real_escape_string($_POST['ID']) ) ); $db->query(sprintf("UPDATE`users` SET $curr = $curr-%d WHERE userid = %d ", $r['imPRICE'], $userid ) ); $db->query(sprintf("UPDATE `users` SET $curr = $curr+%d WHERE userid = %u", $r['imPRICE'], $r['imADDER'] ) ); $u = $db->query(sprintf("SELECT `username` FROM `users` WHERE `userid` = '%u' ", mysql_real_escape_string($_POST['user']))); $uname = $db->fetch_single($u); if($curr=="money") { event_add($r['imADDER'], "[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your ".$r['itmname']." item from the market for \$".number_format($r['imPRICE']).".",$c); event_add($_POST['user'], "<a href='viewuser.php?u=$userid'> {$ir['username']}</a> bought you a {$r['itmname']} from the item market as a gift.",$c); $u = $db->query(sprintf("SELECT `username` FROM `users` WHERE `userid` = '%u' ", mysql_real_escape_string($_POST['user']))); $uname = $db->fetch_single($u); $db->query(sprintf("INSERT INTO `imbuylogs` (imbID,imbITEM,imbADDER,imbBUYER,imbPRICE,imbIMID,imbINVID,imbTIME,imbCONTENT) VALUES (%u,%d,%d,%d,%d,%d,%u, unix_timestamp(), '{$ir['username']} bought a {$r['itmname']} from the item market for \${$r['imPRICE']} from user ID {$r['imADDER']} for $uname [{$_POST['user']}]')", '', $r['imITEM'], $r['imADDER'], $userid, $r['imPRICE'], $r['imID'], $i) ); echo "You bought the {$r['itmname']} from the market for \$".number_format($r['imPRICE'])." and sent the gift to $uname."; } else { event_add($r['imADDER'], "[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your {$r['itmname']} item from the market for ".number_format($r['imPRICE'])." crystals.",$c); event_add($_POST['user'], "[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought you a {$r['itmname']} from the item market as a gift.",$c); $u = $db->query(sprintf("SELECT `username` FROM `users` WHERE `userid` = '%u' ", mysql_real_escape_string($_POST['user']))); $uname = $db->fetch_single($u); $db->query(sprintf("INSERT INTO `imbuylogs` (imbID,imbITEM,imbADDER,imbBUYER,imbPRICE,imbIMID,imbINVID,imbTIME,imbCONTENT) VALUES (%u,%d,%d,%d,%d,%d,%u, unix_timestamp(), '{$ir['username']} bought a {$r['itmname']} from the item market for \${$r['imPRICE']} from user ID {$r['imADDER']} for $uname [{$_POST['user']}]')", '', $r['imITEM'], $r['imADDER'], $userid, $r['imPRICE'], $r['imID'], $i) ); echo "You bought the {$r['itmname']} from the market for ".number_format($r['imPRICE'])." crystals and sent the gift to $uname."; } } $h->endpage(); ?>
  7. Re: [MCcode V2] Item Info revamp! Thanks for all the good feedback, makes me want to post more =P   You will have to remove the /bars from the SRC if they are not in your bars folder. You might also have to rename the class of the table to whatever yours is called in your CSS file.   Basically i had alot of members wanting to know weapon strengths so instead of adding Power and Accuracy etc, i just did that because i was lazy, lol :-)
  8. Re: [MCcode V2] Item Market Revamped Ooopos, sorry for this i will replace the fixed version in a second, very sorry.
  9. Re: [MCcode V2] Item Info revamp!   thanks alot.. O YEAH, i forgot to mention...   You will have to edit this   $formula=(int) $id['weapon'] / 2500 * 100; $armgreen=(int) $id['armor'] / 2500 * 100; $enopp = 100 - $forumla; $armred= 100 - $armgreen;   The 2500 to the highest weapon damage and armour damage of your best weapon and armour so it doesnt screw the bars up.
  10. Re: [MCcode V2] Item Info revamp! I said in the first post you have to edit the bars to your own colours. Not providing my pictures.
  11. Re: [MCcode V2] Item Market Revamped Haha well thankyou very much :-) Good luck with that.
  12. Re: [MCcode V2] Item Market Revamped Glad you liked it, i just did an update on that so you might want to add it. This isn't a Visual revamp, just scripted much better and safer. :-)
  13. Re: [MCcode V2] Item Market Revamped Yeah well, either way i dont care. Back onto the topic now, lol :-)
  14. Re: [MCcode V2] Item Market Revamped ??? Okay well if im not i guess they will remove the base code i posted, could be right :-) Sorry if im not meant to.
  15. Re: [MCcode V2] Item Info revamp! UPDATE Change $r=sprintf("SELECT i.*,it.* FROM items i LEFT JOIN itemtypes it ON i.itmtype='%d' WHERE i.itmid=%d LIMIT 1", $itmtypeid, mysql_real_escape_string($itmid)); $q = $db->query($r);   To this   $r = sprintf("SELECT i.`itmid`,`itmtype`,`itmname`,`itmdesc`,`itmbuyprice`,`itmsellprice`,`weapon`,`armor`, it.`itmtypeid`,`itmtypename` FROM `items` i LEFT JOIN `itemtypes` it ON i.itmtype = '%d' WHERE i.itmid = %d LIMIT 1", $itmtypeid, mysql_real_escape_string($itmid)); $q = $db->query($r);   Howz that now ZERO? lol
  16. Re: [MCcode V2] Item Market Revamped I assure you that you will find this a different style of coding.... anyway.. So this here is the OLD Item market. <?php include "globals.php"; print "<h3>Item Market</h3>"; switch($_GET['action']) { case "buy": item_buy(); break; case "gift1": item_gift1(); break; case "gift2": item_gift2(); break; case "remove": item_remove(); break; default: imarket_index(); break; } function imarket_index() { global $db,$ir,$c,$userid,$h; print "Viewing all listings... <table width=75% cellspacing=1 class='table'> <tr style='background:gray'> <th>Adder</th> <th>Item</th> <th>Price</th> <th>Links</th> </tr>"; $q=$db->query("SELECT im.*, i.*, u.*,it.* FROM itemmarket im LEFT JOIN items i ON im.imITEM=i.itmid LEFT JOIN users u ON u.userid=im.imADDER LEFT JOIN itemtypes it ON i.itmtype=it.itmtypeid ORDER BY i.itmtype, i.itmname ASC"); $lt=""; while($r=$db->fetch_row($q)) { if($lt!=$r['itmtypename']) { $lt=$r['itmtypename']; print "\n<tr style='background: gray;'><th colspan=4>{$lt}</th></tr>"; } if($r['imCURRENCY']=="money") { $price="\$".number_format($r['imPRICE']); } else { $price=number_format($r['imPRICE'])." crystals"; } if($r['imADDER'] == $userid) { $link = "[[url='itemmarket.php?action=remove&ID={$r[']Remove[/url]]"; } else { $link = "[[url='itemmarket.php?action=buy&ID={$r[']Buy[/url]] [[url='itemmarket.php?action=gift1&ID={$r[']Gift[/url]]"; } print "\n<tr> <td>[url='viewuser.php?u={$r[']{$r['username']}[/url] [{$r['userid']}]</td> <td>{$r['itmname']}</td> <td>$price</td> <td>[[url='iteminfo.php?ID={$r[']Info[/url]] $link</td> </tr>"; } print "</table>"; } function item_remove() { global $db,$ir,$c,$userid,$h; $q=$db->query("SELECT im.*,i.* FROM itemmarket im LEFT JOIN items i ON im.imITEM=i.itmid WHERE imID={$_GET['ID']} AND imADDER=$userid"); if(!$db->num_rows($q)) { print "Error, either this item does not exist, or you are not the owner. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } $r=$db->fetch_row($q); item_add($userid, $r['imITEM'], 1); $i=($db->insert_id()) ? $db->insert_id() : 99999; $db->query("DELETE FROM itemmarket WHERE imID={$_GET['ID']}"); $db->query("INSERT INTO imremovelogs VALUES ('', {$r['imITEM']}, {$r['imADDER']}, $userid, {$r['imID']}, $i, unix_timestamp(), '{$ir['username']} removed a {$r['itmname']} from the item market.')"); print "Item removed from market! [url='itemmarket.php']> Back[/url]"; } function item_buy() { global $db,$ir,$c,$userid,$h; $q=$db->query("SELECT * FROM itemmarket im LEFT JOIN items i ON i.itmid=im.imITEM WHERE imID={$_GET['ID']}",$c); if(!$db->num_rows($q)) { print "Error, either this item does not exist, or it has already been bought. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } $r=$db->fetch_row($q); $curr=$r['imCURRENCY']; if($r['imPRICE'] > $ir[$curr]) { print "Error, you do not have the funds to buy this item. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } item_add($userid, $r['imITEM'], 1); $i=($db->insert_id()) ? $db->insert_id() : 99999; $db->query("DELETE FROM itemmarket WHERE imID={$_GET['ID']}"); $db->query("UPDATE users SET $curr=$curr-{$r['imPRICE']} where userid=$userid"); $db->query("UPDATE users SET $curr=$curr+{$r['imPRICE']} where userid={$r['imADDER']}"); if($curr=="money") { event_add($r['imADDER'],"[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your {$r['itmname']} item from the market for \$".number_format($r['imPRICE']).".",$c); $db->query("INSERT INTO imbuylogs VALUES ('', {$r['imITEM']}, {$r['imADDER']}, $userid, {$r['imPRICE']}, {$r['imID']}, $i, unix_timestamp(), '{$ir['username']} bought a {$r['itmname']} from the item market for \${$r['imPRICE']} from user ID {$r['imADDER']}')"); print "You bought the {$r['itmname']} from the market for \$".number_format($r['imPRICE'])."."; } else { event_add($r['imADDER'],"[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your {$r['itmname']} item from the market for ".number_format($r['imPRICE'])." crystals.",$c); $db->query("INSERT INTO imbuylogs VALUES ('', {$r['imITEM']}, {$r['imADDER']}, $userid, {$r['imPRICE']}, {$r['imID']}, $i, unix_timestamp(), '{$ir['username']} bought a {$r['itmname']} from the item market for {$r['imPRICE']} crystals from user ID {$r['imADDER']}')"); print "You bought the {$r['itmname']} from the market for ".number_format($r['imPRICE'])." crystals."; } } function item_gift1() { global $db,$ir,$c,$userid,$h; $q=$db->query("SELECT * FROM itemmarket im LEFT JOIN items i ON i.itmid=im.imITEM WHERE imID={$_GET['ID']}"); if(!$db->num_rows($q)) { print "Error, either this item does not exist, or it has already been bought. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } $r=$db->fetch_row($q); $curr=$r['imCURRENCY']; if($r['imPRICE'] > $ir[$curr]) { print "Error, you do not have the funds to buy this item. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } if($curr=="money") { print "Buying the [b]{$r['itmname']}[/b] for \$".number_format($r['imPRICE'])." as a gift... <form action='itemmarket.php?action=gift2' method='post'> <input type='hidden' name='ID' value='{$_GET['ID']}' /> User to give gift to: ".user_dropdown($c,'user')." <input type='submit' value='Buy Item and Send Gift' /></form>"; } else { print "Buying the [b]{$r['itmname']}[/b] for ".number_format($r['imPRICE'])." crystals as a gift... <form action='itemmarket.php?action=gift2' method='post'> <input type='hidden' name='ID' value='{$_GET['ID']}' /> User to give gift to: ".user_dropdown($c,'user')." <input type='submit' value='Buy Item and Send Gift' /></form>"; } } function item_gift2() { global $db,$ir,$c,$userid,$h; $q=$db->query("SELECT * FROM itemmarket im LEFT JOIN items i ON i.itmid=im.imITEM WHERE imID={$_POST['ID']}"); if(!$db->num_rows($q)) { print "Error, either this item does not exist, or it has already been bought. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } $r=$db->fetch_row($q); $curr=$r['imCURRENCY']; if($r['imPRICE'] > $ir[$curr]) { print "Error, you do not have the funds to buy this item. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } item_add($_POST['user'], $r['imITEM'], 1); $i=($db->insert_id()) ? $db->insert_id() : 99999; $db->query("DELETE FROM itemmarket WHERE imID={$_POST['ID']}"); $db->query("UPDATE users SET $curr=$curr-{$r['imPRICE']} where userid=$userid"); $db->query("UPDATE users SET $curr=$curr+{$r['imPRICE']} where userid={$r['imADDER']}"); if($curr=="money") { event_add($r['imADDER'],"[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your {$r['itmname']} item from the market for \$".number_format($r['imPRICE']).".",$c); event_add($_POST['user'], "[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought you a {$r['itmname']} from the item market as a gift.",$c); $u=$db->query("SELECT username FROM users WHERE userid={$_POST['user']}"); $uname=$db->fetch_single($u); $db->query("INSERT INTO imbuylogs VALUES ('', {$r['imITEM']}, {$r['imADDER']}, $userid, {$r['imPRICE']}, {$r['imID']}, $i, unix_timestamp(), '{$ir['username']} bought a {$r['itmname']} from the item market for \${$r['imPRICE']} from user ID {$r['imADDER']} as a gift for $uname [{$_POST['user']}]')"); print "You bought the {$r['itmname']} from the market for \$".number_format($r['imPRICE'])." and sent the gift to $uname."; } else { event_add($r['imADDER'],"[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your {$r['itmname']} item from the market for ".number_format($r['imPRICE'])." crystals.",$c); event_add($_POST['user'], "[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought you a {$r['itmname']} from the item market as a gift.",$c); $u=$db->query("SELECT username FROM users WHERE userid={$_POST['user']}"); $uname=$db->fetch_single($u); $db->query("INSERT INTO imbuylogs VALUES ('', {$r['imITEM']}, {$r['imADDER']}, $userid, {$r['imPRICE']}, {$r['imID']}, $i, unix_timestamp(), '{$ir['username']} bought a {$r['itmname']} from the item market for {$r['imPRICE']} crystals from user ID {$r['imADDER']} as a gift for $uname [{$_POST['user']}]')"); print "You bought the {$r['itmname']} from the market for ".number_format($r['imPRICE'])." crystals and sent the gift to $uname."; } } $h->endpage(); ?>   THAT IS THE ORIGINAL ITEM MARKET ~ TO COMPARE CODES IF YOU WISH!
  17. Hello again, Basically this is not a visual edit aswell as code edit, this is a complete code edit. Also to prove to ZERO that i dont use * when i code xD Its just a secured market with better code, took a hour n a bit so your lucky im giving this free for you. This here is the NEW itemmarket.php (Replace itemmarket.php with the contents below) <?php /* Created by raDiO acTivE ~ Free script for CE users Please leave this notice here as courtesy Free Revamp of MCcode V2 Enjoy */ include "globals.php"; print "<h3>Item Market</h3>"; switch($_GET['action']) { case "buy": item_buy(); break; case "gift1": item_gift1(); break; case "gift2": item_gift2(); break; case "remove": itemm_remove(); break; default: imarket_index(); break; } function imarket_index() { global $db,$ir,$c,$userid,$h; print "Viewing all listings... <table width=75% cellspacing=1 class='table'> <tr style='background:gray'> <th>Adder</th> <th>Item</th> <th>Price</th> <th>Links</th> </tr>"; $q = $db->query("SELECT im.`imID`,`imITEM`,`imADDER`,`imPRICE`,`imCURRENCY`, i.`itmid`,`itmtype`,`itmname`, u.`userid`,`username`, it.`itmtypeid`,`itmtypename` FROM itemmarket im LEFT JOIN `items` i ON im.imITEM = i.itmid LEFT JOIN `users` u ON u.userid = im.imadder LEFT JOIN `itemtypes` it ON i.itmtype = it.itmtypeid ORDER BY i.itmtype, i.itmname ASC" ); // Created by raDiO acTivE ~ Free script for CE users $lt=""; while ( $r=$db->fetch_row($q) ) { if($lt!=$r['itmtypename']) { $lt=$r['itmtypename']; echo"\n <tr style='background: gray;'> <th colspan=4>{$lt}</th> </tr> "; } if($r['imCURRENCY']=="money") { $price="\$".number_format($r['imPRICE']); } else { $price = number_format($r['imPRICE'])." silvers"; } if($r['imADDER'] == $userid) { $link = "[[url='itemmarket.php?action=remove&ID=".$r[']Remove[/url]]"; } else { $link = " [[url='itemmarket.php?action=buy&ID=".$r[']Buy[/url]] [[url='itemmarket.php?action=gift1&ID=".$r[']Gift[/url]]"; } echo "\n <tr> <td> [url='viewuser.php?u={$r[']{$r['username']}[/url] [{$r['userid']}]</td> <td>{$r['itmname']}</td> <td>$price</td> <td>[[url='iteminfo.php?ID={$r[']Info[/url]] $link</td> </tr>"; } } function itemm_remove() { global $db,$ir,$c,$userid,$h; $r = sprintf(" SELECT im.`imID`,`imITEM`,`imADDER`,`imPRICE`,`imCURRENCY`, i.`itmid`,`itmtype`, FROM `itemmarket` im LEFT JOIN `items` i ON `im.imITEM` = %d WHERE `imID` = %u AND `imADDER` = %d", i.itmid, mysql_real_escape_string($_GET['ID']), $userid); $q = $db->query($r); if(!$db->num_rows($q)) { echo "Error, either this item does not exist, or you are not the owner. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } $r=$db->fetch_row($q); item_add($userid, $r['imITEM'], 1); $i=($db->insert_id()) ? $db->insert_id() : 99999; $delete = sprintf("DELETE FROM `itemmarket` WHERE imID= %u", mysql_real_escape_string($_GET['ID']) ); $db->query($delete); $insert = sprintf("INSERT INTO `imremovelogs` (imrID,imrITEM,imrADDER,imrREMOVE,imrIMID,imrINVID,imrTIME,imrCONTENT) VALUES (%d,%d,%d,%d,%d,%u,unix_timestamp(), {$ir['username']} removed a {$r['itmname']} from the item market.) ", '', $r['imITEM'], $r['imADDER'], $userid, $r['imID'] , $i, $ir['username'] ); echo " Item removed from the market. [url='itemmarket.php']> Back[/url]"; } // Created by raDiO acTivE ~ Free script for CE users function item_buy() { global $db,$ir,$c,$userid,$h; $q = $db->query(sprintf("SELECT `imID`,`imITEM`,`imADDER`,`imPRICE`,`imCURRENCY`, FROM `itemmarket` im LEFT JOIN `items` i ON i.itmid = %d WHERE imID = %u", im.imITEM, mysql_real_escape_string($_GET['ID']) ) ); if(!$db->num_rows($q)) { echo "Error, either this item does not exist, or it has already been bought. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } $r = $db->fetch_row($q); $curr = $r['imCURRENCY']; if($r['imPRICE'] > $ir[$curr]) { echo "Error, you do not have the funds to buy this item. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } item_add($userid, $r['imITEM'], 1); $i=($db->insert_id()) ? $db->insert_id() : 99999; $db->query(sprintf("DELETE FROM `itemmarket` WHERE `imID`=%u", mysql_real_escape_string($_GET['ID']) )); $db->query(sprintf("UPDATE`users` SET $curr = %d - %d WHERE userid=%d", $curr, $r['imPRICE'], $userid)); $db->query(sprintf("UPDATE `users` SET $curr = %d + %d WHERE userid = %u", $curr, $r['imprice'], $r['imADDER'] )); if($curr=="money") { event_add($r['imADDER'], "[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your {$r['itmname']} item from the market for \$".number_format($r['imPRICE']).". "); $db->query(sprintf("INSERT INTO `imbuylogs` (imbID,imbITEM,imbBUYER,imbADDER,imbREMOVE,imbIMID,imbINVID,imbTIME,imbCONTENT) VALUES (%u,%d,%d,%d,%d,%d,%u, unix_timestamp(), '{$ir['username']} bought a {$r['itmname']} from the item market for \${$r['imPRICE']} from user ID {$r['imADDER']}')", '', $r['imITEM'], $r['imADDER'], $userid, $r['imPRICE'], $r['imID'], $i) ); // Created by raDiO acTivE ~ Free script for CE users echo "You bought the {$r['itmname']} from the market for \$".number_format($r['imPRICE'])."."; } else { event_add( $r['imADDER'], "[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your {$r['itmname']} item from the market for ".number_format($r['imPRICE'])." crystals."); $db->query(sprintf("INSERT INTO `imbuylogs` (imbID,imbITEM,imbBUYER,imbADDER,imbREMOVE,imbIMID,imbINVID,imbTIME,imbCONTENT) VALUES (%u,%d,%d,%d,%d,%d,%u, unix_timestamp(), '{$ir['username']} bought a {$r['itmname']} from the item market for \${$r['imPRICE']} from user ID {$r['imADDER']}')", '', $r['imITEM'], $r['imADDER'], $userid, $r['imPRICE'], $r['imID'], $i) ); echo "You bought the {$r['itmname']} from the market for ".number_format($r['imPRICE'])." silvers."; } } function item_gift1() { global $db,$ir,$c,$userid,$h; $q = $db->query(sprintf("SELECT `imID`,`imITEM`,`imADDER`,`imPRICE`,`imCURRENCY`, FROM `itemmarket` im LEFT JOIN `items` i ON i.itmid = %d WHERE imID = %u", im.imITEM, mysql_real_escape_string($_GET['ID']) ) ); if(!$db->num_rows($q)) { echo "Error, either this item does not exist, or it has already been bought. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } $r = $db->fetch_row($q); $curr = $r['imCURRENCY']; if($r['imPRICE'] > $ir[$curr]) { echo "Error, you do not have the funds to buy this item. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } // Created by raDiO acTivE ~ Free script for CE users $get = $_GET['ID']; $var = "Buying the [b]%d[/b] for \$".number_format('%d')." as a gift... <form action='itemmarket.php?action=gift2' method='post'> <input type='hidden' name='ID' value='%d' /> Reciever: ".user_dropdown($c,'user')." <input type='submit' value='Buy Item and Send Gift' /> </form>"; $iab = "Buying the [b]%d[/b] for ".number_format('%d')." silvers as a gift... <form action='itemmarket.php?action=gift2' method='post'> <input type='hidden' name='ID' value='%d' /> Reciever: ".user_dropdown($c,'user')." <input type='submit' value='Buy Item and Send Gift' /> </form>"; if($curr=="money") { printf($var,$r['itmname'],$r['imPRICE'],$get); } else { printf($iab,$r['itmname'],$r['imPRICE'],$get); } } // Created by raDiO acTivE ~ Free script for CE users function item_gift2() { global $db,$ir,$c,$userid,$h; $q = $db->query(sprintf("SELECT `imID`,`imITEM`,`imADDER`,`imPRICE`,`imCURRENCY`, FROM `itemmarket` im LEFT JOIN `items` i ON i.itmid = %d WHERE imID = %u", im.imITEM, mysql_real_escape_string($_GET['ID']) ) ); if(!$db->num_rows($q)) { echo "Error, either this item does not exist, or it has already been bought. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } $r = $db->fetch_row($q); // Created by raDiO acTivE ~ Free script for CE users $curr = $r['imCURRENCY']; if($r['imPRICE'] > $ir[$curr]) { echo "Error, you do not have the funds to buy this item. [url='itemmarket.php']> Back[/url]"; $h->endpage(); exit; } item_add($_POST['user'], $r['imITEM'], 1); $i=($db->insert_id()) ? $db->insert_id() : 99999; $db->query(sprintf("DELETE FROM `itemmarket` WHERE `imID`=%u", mysql_real_escape_string($_GET['ID']) )); $db->query(sprintf("UPDATE`users` SET $curr = %d - %d WHERE userid=%d", $curr, $r['imPRICE'], $userid)); // Createed by raDiO acTivE ~ Free script for CE users $db->query(sprintf("UPDATE `users` SET $curr = %d + %d WHERE userid = %u", $curr, $r['imprice'], $r['imADDER'] )); if($curr=="money") { event_add($r['imADDER'], "[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your {$r['itmname']} item from the market for \$".number_format($r['imPRICE']).". "); event_add($_POST['user'], "<a href='viewuser.php?u=$userid'> {$ir['username']}</a> bought you a {$r['itmname']} from the item market as a gift."); $u = $db->query(sprintf("SELECT `username` FROM `users` WHERE `userid` = '%u' ", mysql_real_escape_string($_POST['user']))); $uname = $db->fetch_single($u); $db->query(sprintf("INSERT INTO `imbuylogs` (imbID,imbITEM,imbBUYER,imbADDER,imbREMOVE,imbIMID,imbINVID,imbTIME,imbCONTENT) VALUES (%u,%d,%d,%d,%d,%d,%u, unix_timestamp(), '{$ir['username']} bought a {$r['itmname']} from the item market for \${$r['imPRICE']} from user ID {$r['imADDER']}')", '', $r['imITEM'], $r['imADDER'], $userid, $r['imPRICE'], $r['imID'], $i) ); { event_add( $r['imADDER'], "[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your {$r['itmname']} item from the market for ".number_format($r['imPRICE'])." crystals."); event_add( $_POST['user'], "[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought you a {$r['itmname']} from the item market as a gift."); $db->query(sprintf("INSERT INTO `imbuylogs` (imbID,imbITEM,imbBUYER,imbADDER,imbREMOVE,imbIMID,imbINVID,imbTIME,imbCONTENT) VALUES (%u,%d,%d,%d,%d,%d,%u, unix_timestamp(), '{$ir['username']} bought a {$r['itmname']} from the item market for \${$r['imPRICE']} from user ID {$r['imADDER']}')", '', $r['imITEM'], $r['imADDER'], $userid, $r['imPRICE'], $r['imID'], $i) ); echo "You bought the {$r['itmname']} from the market for ".number_format($r['imPRICE'])." silvers and sent the gift to $uname."; } } } $h->endpage(); ?>   Enjoy another free revamp from raDiO :-)   Note: This will probably be one of my last REVAMPS that i post for free depending on feedback and size of revamps.
  18. Re: [MCcode V2] Item Info revamp!   :-) I didnt edit that query, just popped in the %d on the $_GET variables. When i code it from scratch well as you can see, when i use selects i name what im selecting but in this instance i didnt, i can fix it though, im not sooo familiar with LEFT JOIN select queries but im learning.   That will work automatically show up on anyone's game, at the moment i'm changing my global function so the money symbols are not there but as you can see   echo money_formatter($id['itmbuyprice']);   As long as people have the money formatter code it will be there. :-)
  19. Re: [MCcode V2] Item Info revamp! Thanks :-) I thought it was in need of a revamp. I will be "revamping" alot of the code and posting some of it for free such as this one so if you use it, well hope you like it :-)
  20. Hello all, Just decided to lighten up the Item Info section. It would look even better with Item Pics involved and its nice and easy to add. So anyway. Some screen shots. Now the code. Just replace your iteminfo.php with this. <?php /* Free Mod created by raDiO_acTivE For Criminal Existence members Owner of Downtown Toronto the RPG */ include "globals.php"; //look up item $_GET['ID'] = abs((int) $_GET['ID']); $itmid=$_GET['ID']; if(!$itmid) { print "Invalid item ID"; //Created by raDiO_acTivE } else { $r=sprintf("SELECT i.*,it.* FROM items i LEFT JOIN itemtypes it ON i.itmtype='%d' WHERE i.itmid=%d LIMIT 1", $itmtypeid, mysql_real_escape_string($itmid)); $q = $db->query($r); if (!$db->num_rows($q)) { print "Invalid item ID"; } else { $id=$db->fetch_row($q); $item= mysql_fetch_object($db->query("SELECT `itmtypename` FROM `itemtypes` WHERE itmtypeid= ".$id['itmtype']." ")); $main = ' <table width="75%" class="table" cellspacing="1"> <tr> <th colspan=2>[b]Item Details for the..[/b]</th> <tr><td colspan=2> <h1><font color=red>[b]'.$id['itmname'].'[/b]</font></h1> </tr><tr> <td width="50%"> <font color=green>[b]Category[/b]</font>: '.$item->itmtypename.' </td> <td width="50%"> <font color=green>[b]Description:[/b]</font> '.$id['itmdesc'].'[/b]</td> </tr> <tr> <th>Item Buy Price</th> <th>Item Sell Price</th></tr> <tr> <td width="50%">'; print($main); } if($id['itmbuyprice']) { echo money_formatter($id['itmbuyprice']); } else { echo "N/A"; //For free use by criminal existence members. } print "</td><td width='50%'>"; if($id['itmsellprice']) { echo money_formatter($id['itmsellprice']); } else { echo "N/A"; } echo " </td></tr></table> "; $formula=(int) $id['weapon'] / 2500 * 100; $armgreen=(int) $id['armor'] / 2500 * 100; $enopp = 100 - $forumla; $armred= 100 - $armgreen; echo" <table width=75% class='table' cellspacing='1'> <tr> <th width='50%'>Power</th> <th width='50%'>Defense</th> </tr> <tr><td width='50%'>"; if($id['weapon'] > 0) //Please leave these notices here { echo " Power: [<font color=red>{$id['weapon']}</font>] [img=bars/bar_pink.gif][img=bars/barblack.gif] "; } else { echo " N/A "; } echo "</td><td width='50%'>"; if($id['armor'] > 0) { echo " Defense: [<font color=red>{$id['armor']}</font>] [img=bars/bar_pink.gif][img=bars/barblack.gif] "; } else { echo " N/A "; } echo " </td></tr></table> "; } $h->endpage(); ?> Please note i'm not very good at spacing so if you wish to re post this script "spaced out" properly, by all means. One thing you will have to change is these two lines. [img=bars/bar_pink.gif][img=bars/barblack.gif] "; [img=bars/bar_pink.gif][img=bars/barblack.gif] "; You will have to change the SRC location to what of colour bars you have or wish to use on your server. Enjoy :-) EDIT: Forgot to add the Weapon Category in!
  21. Re: User Defined DPs Auto Crediting Hmmmm its an interesting idea but its not worth it if donation packs are Items. they can just buy themselves then send them. What im trying to do is by using a Add To Cart button, the user can choose the amount of the product they wish to purchase, after choosing for example, 3, they pay $15 and three donation packs are sent to there inventory.
  22. Re: User Defined DPs Auto Crediting BUMP
  23. Re: [V2] Forum - Cant delete topics Go to the start of the function and where it has   global $c,$blah etc put a $db in the list
  24. Re: User Defined DPs Auto Crediting On a new note, i still cannot get this to work, not to mention its costing me to test it each time. (Paypal Fee's)   <?php include "config.php"; global $_CONFIG; define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; require 'global_func.php'; $set=array(); $settq=$db->query("SELECT * FROM settings"); while($r=$db->fetch_row($settq)) { $set[$r['conf_name']]=$r['conf_value']; } // read the post from PayPal system and add 'cmd' $req = 'cmd=_notify-validate'; foreach ($_POST as $key => $value) { $value = urlencode(stripslashes($value)); $req .= "&$key=$value"; } // post back to PayPal system to validate $header .= "POST /cgi-bin/webscr HTTP/1.0\r\n"; $header .= "Content-Type: application/x-www-form-urlencoded\r\n"; $header .= "Content-Length: " . strlen($req) . "\r\n\r\n"; $fp = fsockopen ('www.paypal.com', 80, $errno, $errstr, 30); // assign posted variables to local variables $item_name = $_POST['item_name']; $item_number = $_POST['item_number']; $payment_status = $_POST['payment_status']; $payment_amount = $_POST['mc_gross']; $payment_currency = $_POST['mc_currency']; $txn_id = $_POST['txn_id']; $receiver_email = $_POST['receiver_email']; $payer_email = $_POST['payer_email']; $quantity = $_POST['quantity']; if (!$fp) { // HTTP ERROR } else { fputs ($fp, $header . $req); while (!feof($fp)) { $res = fgets ($fp, 1024); if (strcmp ($res, "VERIFIED") == 0) { // check the payment_status is Completed if($payment_status != "Completed") { fclose ($fp);die(""); } if($db->num_rows($db->query("SELECT * FROM dps_accepted WHERE dpTXN='{$txn_id}'")) > 0) { fclose ($fp);die(""); } // check that txn_id has not been previously processed // check that receiver_email is your Primary PayPal email if($receiver_email != $set['paypal']) { fclose ($fp);die(""); } // check that payment_amount/payment_currency are correct if($payment_currency != "USD") { fclose ($fp);die(""); } // parse for pack $packr=explode('|',$item_name); if(str_replace("www.","",$packr[0]) != str_replace("www.","",$_SERVER['HTTP_HOST'])) { fclose($fp); die(""); } if($packr[1] != "DP") { fclose($fp);die(""); } $pack=$packr[2]; if( $pack != 'DonatorPack' ) { fclose($fp);die(""); } if($pack == 'DonatorPack' && $payment_amount < '5.00') { fclose ($fp);die(""); } // grab IDs $buyer=$packr[3]; $for=$buyer; // all seems to be in order, credit it. if($pack=='DonatorPack') { $numLoops = (int)$_POST['quantity']; { for( $numLoops = 0; $numLoops < $payment_amount; ++$numLoops ) { $db2 = sprintf("INSERT INTO `inventory` (inv_id,inv_itemid,inv_userid,inv_qty) VALUES (%d,%d,%u,%d)", '', 107, mysql_real_escape_string($for), mysql_real_escape_string($numLoops)); $db->query($db2); } } } // process payment event_add($for, "Thankyou for you \${$payment_amount} donation, your Donator pack(s) should have been credited to you! Contact one of the admins if you have not received your Donation Packs.", $c); $db->query("INSERT INTO dps_accepted VALUES('', {$buyer}, {$for}, 'DP', unix_timestamp(), '$txn_id')"); } else if (strcmp ($res, "INVALID") == 0) { } } fclose ($fp); } ?>   And this button   <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="item_name" value="DonatorPack"> <input type="hidden" name="notify_url" value="http://www.downtown-to.com/ipn_donator.php"> <input type="hidden" name="cn" value="Your Player ID"> <input type="hidden" name="hosted_button_id" value="1818191"> <input type="hidden" name="return" value="http://www.downtown-to.com/donatordone.php?action=done&type=standard"> <input type="hidden" name="cancel_return" value="http://www.downtown-to.com/donatordone.php?action=cancel"> <input type="image" src="https://www.paypal.com/en_AU/i/btn/btn_cart_LG.gif" border="0" name="submit" alt=""> [img=https://www.paypal.com/en_AU/i/scr/pixel.gif] </form>   Please, this is quite urgent. Thanks
  25. Re: [mccodes v2] Jail Bust Offer $5   that part, lol....at least thats what i got from it, lol......I still aint mad at ya though :wink: I did lower the price to $5... Maybe now the topic will get people posting about it instead of compaining about it.. Hahaha oops, that was not intended. I meant that you could pay a person who has 10+ years or progamming experience in tonnes of language, not saying that your not professional, i dont know really anything about you, you could be a 40 year old programmer who can programs over 10 languages at a very professional standard, i just gathered that because you use CE also, its probably not like that. =) Your very helpful in the MCCode/support, which is why i said i respect you alot in my first post, lol!
×
×
  • Create New...