Jump to content
MakeWebGames

John99

Members
  • Posts

    491
  • Joined

  • Last visited

    Never

Everything posted by John99

  1. Re: User ID Number Re Order ! Could you post the link in here ?
  2. Re: Help on marrage mod <td>$marital</td></tr></table> is it right:|
  3. Re: Help PLease Reload all yours gang files on again what did u try and add in it anyways? gangPICS
  4. Re: Free Carnival hey nice +1 :) and for atleast posting it :-P
  5. Re: Cash Send Logs ahh ye lol ill rename it xD
  6. Re: [mccode] for any version copyright code you can still steal pictures just click fast load oif time comes on so it dont really stop nothink and they can just view the source of the code for the page then just find out the location/url for the image then save not hard lol
  7. Open: sendcash.php AND REPLACE ALL THIS   <?php session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); $_GET['ID'] = abs((int) $_GET['ID']); $_POST['money'] = abs((int) $_POST['money']); if(!((int)$_GET['ID'])) { print "Invalid User ID"; } else if($_GET['ID'] == $userid) { print "Haha, what does sending money to yourself do anyway?"; } else { if((int) $_POST['money']) { if($_POST['money'] > $ir['money']) { print "Die j00 abuser."; } else { mysql_query("UPDATE users SET money=money-{$_POST['money']} WHERE userid=$userid",$c); mysql_query("UPDATE users SET money=money+{$_POST['money']} WHERE userid={$_GET['ID']}",$c); print "You sent \${$_POST['money']} to ID {$_GET['ID']}."; event_add($_GET['ID'],"You received \${$_POST['money']} from {$ir['username']}.",$c); $it=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid={$_GET['ID']}",$c) or die(mysql_error()); $er=mysql_fetch_array($it); mysql_query("INSERT INTO cashxferlogs VALUES ('', $userid, {$_GET['ID']}, {$_POST['money']}, unix_timestamp(), '{$ir['lastip']}', '{$er['lastip']}')",$c); } } else { print " Sending Money You are sending money to ID: [b]{$_GET['ID']}[/b]. Amnt: "; print "Latest 5 Transfers </pre> <table width="75%" border="2">Time User From User To Amount </table> <span style="color:#FF0000;font-weight:800;">MULTI</span>"; } else { $m=""; }<br>print "" . date("F j, Y, g:i:s a",$r['cxTIME']) . "{$r['sender']} [{$r['cxFROM']}] {$r['sent']} [{$r['cxTO']}] \${$r['cxAMOUNT']} ";<br>}<br>print "";<br>}<br>}<br>$h->endpage();<br>?&g   With this <?php session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); $_GET['ID'] = abs((int) $_GET['ID']); $_POST['money'] = abs((int) $_POST['money']); if(!((int)$_GET['ID'])) { print "Invalid User ID"; } else if($_GET['ID'] == $userid) { print "Haha, what does sending money to yourself do anyway?"; } else { if((int) $_POST['money']) { if($_POST['money'] > $ir['money']) { print "Die j00 abuser."; } else { mysql_query("UPDATE users SET money=money-{$_POST['money']} WHERE userid=$userid",$c); mysql_query("UPDATE users SET money=money+{$_POST['money']} WHERE userid={$_GET['ID']}",$c); print "You sent \${$_POST['money']} to ID {$_GET['ID']}."; event_add($_GET['ID'],"You received \${$_POST['money']} from {$ir['username']}.",$c); $it=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid={$_GET['ID']}",$c) or die(mysql_error()); $er=mysql_fetch_array($it); mysql_query("INSERT INTO cashxferlogs VALUES ('', $userid, {$_GET['ID']}, {$_POST['money']}, unix_timestamp(), '{$ir['lastip']}', '{$er['lastip']}','')",$c); } } else { print " Sending Money You are sending money to ID: [b]{$_GET['ID']}[/b]. Amnt: "; print "Latest 5 Transfers </pre> <table width="75%" border="2">Time User From User To Amount </table> <span style="color:#FF0000;font-weight:800;">MULTI</span>"; } else { $m=""; }<br>print "" . date("F j, Y, g:i:s a",$r['cxTIME']) . "{$r['sender']} [{$r['cxFROM']}] {$r['sent']} [{$r['cxTO']}] \${$r['cxAMOUNT']} ";<br>}<br>print "";<br>}<br>}<br>$h->endpage();<br>?&g   I think that works i forgot what i done so i just posted xD
  8. Re: Drug Place   Dj Pro Sytlez owns NYC thugs i think he brought the login page of DeathStar..
  9. Re: Change password Here Open preferences.php Find: function pass_change() { global $ir,$c,$userid,$h; print "<h3>Password Change</h3><form action='preferences.php?action=passchange2' method='post'>Current Password: <input type='password' name='oldpw' /> New Password: <input type='password' name='newpw' /> Confirm: <input type='password' name='newpw2' /> <input type='submit' value='Change PW' /></form>"; } function do_pass_change() { global $ir,$c,$userid,$h; if($_POST['oldpw'] != $ir['userpass']) { print "The current password you entered was wrong. [url='preferences.php?action=passchange']> Back[/url]"; } else if($_POST['newpw'] !== $_POST['newpw2']) { print "The new passwords you entered did not match! [url='preferences.php?action=passchange']> Back[/url]"; } else { mysql_query("UPDATE users SET userpass='{$_POST['newpw']}' WHERE userid=$userid",$c); print "Password changed!"; } }   Replace with: function pass_change() { global $ir,$c,$userid,$h; print "<h3>Password Change</h3><form action='preferences.php?action=passchange2' method='post'>Current Password: <input type='password' name='oldpw' /> New Password: <input type='password' name='newpw' /> Confirm: <input type='password' name='newpw2' /> <input type='submit' value='Change PW' /></form>"; } function do_pass_change() { global $ir,$c,$userid,$h; if(md5($_POST['oldpw']) != $ir['userpass']) { print "The current password you entered was wrong. [url='preferences.php?action=passchange']> Back[/url]"; } else if($_POST['newpw'] !== $_POST['newpw2']) { print "The new passwords you entered did not match! [url='preferences.php?action=passchange']> Back[/url]"; } else { mysql_query("UPDATE users SET userpass=md5('{$_POST['newpw']}') WHERE userid=$userid",$c); print "Password changed!"; } }   Try that it should work ... :)
  10. Re: Help PLease Check your (gangs) table in phpmyadmin
  11. Re: [v1] Updated Statistics Page Nice :D +1 for atleast posting lol
  12. Re: CrystalShop Mod!! Free!! ya because theres no items with v2 is there :| ? plus it can work if you changed the id of the numbers to the correct ones you made.
  13. Re: [TGM] User Rating System [TGM]   i've seen it on tryo wars too....made one myself long time ago 0.o Of course ya did lol!!
  14. Re: Qucik question no on mainmenu.php lmfao of course attack.php lol
  15. Re: [TGM] User Rating System [TGM] SilverWolf i bet you have an ilegal copy of cronuses mod :| hahahah (SilverWolf = ilegal codes lol) i did have ilegal codes but ive changed now :) Im buying this mod :) Nice +1 Sorry if it dont make sence lmfao im dumb hahahaha
  16. Re: End page error No closeing the function   function new_city_sub() { global $ir, $c, $h, $userid; mysql_query("INSERT INTO city VALUES ('', '{$_POST['cityname']}', '{$_POST['cityid']}', '{$_POST['citydesc']}', '{$_POST['cityminlevel']}', $c);", $c); print "[url='admin.php']> Back[/url]"; $h->endpage(); ?>   replace with function new_city_sub() { global $ir, $c, $h, $userid; mysql_query("INSERT INTO city VALUES ('', '{$_POST['cityname']}', '{$_POST['cityid']}', '{$_POST['citydesc']}', '{$_POST['cityminlevel']}', $c);", $c); print "[url='admin.php']> Back[/url]"; } $h->endpage(); ?> try that
  17. Re: [FREE]Music system Nice havent used it yet :P
  18. Re: [TGM] User Rating System [TGM] Cronuses look better :P
  19. Re: [mccode] Supporter Packs add in users supporterdays
  20. Re: View User Lag? Maybe to much stuff in user tables ?
  21. Re: CrystalShop Mod!! Free!! XD
  22. Re: Free Donator XFER w/ LOGS! :P plus you make mistakes when you type fast on your key board liek me :P xD)
  23. Re: [FREE] Alarm clock [v1.1 v2 v1]   lol!!!! :lol: ye he did prob :p lol
  24. Re: [TGM] Attack Ladder System [TGM] This kinda looks like hall of fame but with events or just a little code in the attack files
  25. Re: [TGM] Federal Jail Court System [TGM] Do you have a demo on any game so i can see ?
×
×
  • Create New...