Jump to content
MakeWebGames

jimmytubbs

Members
  • Posts

    92
  • Joined

  • Last visited

    Never

Everything posted by jimmytubbs

  1. Re: Editing staff levels what about v2 :?
  2. Re: I need help plz ive searched facilities and looked through every post but i still cant it sorry :?
  3. hi i need to know how to add another staff level to my data base can any 1 help A.S.A.P cheers jimmytubbs :?
  4. Re: new login.php its ok not that good 4 & 1/2 out of 10 :|
  5. Re: [Free Mod]Rent A Spy[v2]   LOL AND BULLET IM NOW STOPPING THAT AS I HAVE NOW REALISED THAT Y DO IT :-D
  6. Re: [Free Mod]Rent A Spy[v2]   KILLAH YOUR RIGHT :-) HE PROBERLY DIDNT MAKE THIS HE JSUT ADDED if($ir['donatordays'] = 0) { die("You have to be a donator to do this!"); } AND include "globals.php"; and he didnt properly convert it i had 2 change it 4 v2
  7. Re: [Free Mod]Rent A Spy[v2] THIS IS CONVERTED 4 V1 <?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(); if($ir['donatordays'] = 0) { die("You have to be a donator to do this!"); } $q=mysql_query("SELECT * FROM users WHERE userid={$_GET['ID']}",$c); $r=mysql_fetch_array($q); if($_GET['ID']==$userid) { die("What would spying on yourself do? coo off!"); } if($_GET['ID'] && $_GET['PAID']) { $cost=$r['level']*2000; if($_GET['PAID']!=$cost) { die("Quit trying to Cheat!"); } if($_GET['PAID']>$ir['money']) { die("You don't have enough cash to rent a spy on {$r['username']}."); } $rand=rand(1,15); if($rand==1) { $lk=mysql_query("SELECT * FROM users WHERE userid=$userid",$c); $n=mysql_fetch_array($lk); mysql_query("UPDATE users SET money=money-{$_GET['PAID']} WHERE userid=$userid",$c); print "[b]Your spy has been caught. Your name may have been mentioned.[/b]"; event_add($_GET['ID'],"<a href='viewuser.php?u=$userid>{$n['username']}</a> Tried to rent a spy on you but failed.'",$c); } else { $sta=mysql_query("SELECT * FROM userstats WHERE userid={$_GET['ID']}",$c); $sats=mysql_fetch_array($sta); $we=mysql_query("SELECT * FROM items WHERE itmid={$r['equip_primary']}",$c); $pri=mysql_fetch_array($we); $we1=mysql_query("SELECT * FROM items WHERE itmid={$r['equip_secondary']}",$c); $sey=mysql_fetch_array($we1); $we2=mysql_query("SELECT * FROM items WHERE itmid={$r['equip_armor']}",$c); $arm=mysql_fetch_array($we2); print "<table width='45%' border='1'><tr background='header.jpg'><th>Primary</th> <th>Secondary</th><th>Armor</th></tr> <tr><td>{$pri['itmname']}</td><td>{$sey['itmname']}</td><td>{$arm['itmname']}</td></tr></table>"; mysql_query("UPDATE users SET money=money-{$_GET['PAID']} WHERE userid=$userid",$c); print "<table width='45%' border='1'><tr background='header.jpg'><th>Stats</th> <th>Misc</th></tr> <tr><td>Strength: {$sats['strength']}</td><td>Bank Money: {$r['bankmoney']}</td></tr> <tr><td>Agility: {$sats['agility']}</td><td>Crime exp: {$r['crimexp']}</td></tr> <tr><td>Guard: {$sats['guard']}</td><td>Rating: {$r['rating']}</td></tr> <tr><td>Labour: {$sats['labour']}</td><td>Gems {$r['votetoken']}</td></tr> <tr><td>IQ: {$sats['IQ']}</td><td>Level: {$r['level']}</td></tr></table>"; print "<table width='75%' border='1'><tr background='header.jpg'><th>Name</th> <th>Ammount</th></tr>"; $z=mysql_query("SELECT * FROM inventory WHERE inv_userid={$_GET['ID']} ORDER BY inv_itemid DESC"); while($e=mysql_fetch_array($z)) { $t=mysql_query("SELECT * FROM items WHERE itmid={$e['inv_itemid']}",$c); $itm=mysql_fetch_array($t); print "\n<tr><td>[b]{$itm['itmname']}[/b]</td><td>[b]{$e['inv_qty']}[/b]</td></tr>"; } print "</table> >[url='viewuser.php?u={$_GET[']Back To Profile.[/url]</br> Created By Zero-Affect"; } } else if($_GET['ID']) { $cost=$r['level']*2000; print "[b]You are hiring a spy on {$r['username']}[/b] It will cost you $$cost for the spys expenses. But be warned spying is not always 100% successful. <form action='rentaspy.php' method='get'> <input type='hidden' name='ID' value='{$_GET['ID']}' /> <input type='hidden' name='PAID' value='$cost' /> <input type='submit' value='Hire Spy'/></form>"; } $h->endpage(); ?>
  8. Re: [Free Mod]Rent A Spy[v2] i think this is better for v2   <?php include "globals.php"; if($ir['donatordays'] = 0) { die("You have to be a donator to do this!"); } $q=$db->query("SELECT * FROM users WHERE userid={$_GET['ID']}",$c); $r=$db->fetch_row($q); if($_GET['ID']==$userid) { die("What would spying on yourself do? coo off!"); } if($_GET['ID'] && $_GET['PAID']) { $cost=$r['level']*2000; if($_GET['PAID']!=$cost) { die("Quit trying to Cheat!"); } if($_GET['PAID']>$ir['money']) { die("You don't have enough cash to rent a spy on {$r['username']}."); } $rand=rand(1,15); if($rand==1) { $lk=$db->query("SELECT * FROM users WHERE userid=$userid",$c); $n=$db->fetch_row($lk); $db->query("UPDATE users SET money=money-{$_GET['PAID']} WHERE userid=$userid",$c); print "[b]Your spy has been caught. Your name may have been mentioned.[/b]"; event_add($_GET['ID'],"<a href='viewuser.php?u=$userid>{$n['username']}</a> Tried to rent a spy on you but failed.'",$c); } else { $sta=$db->query("SELECT * FROM userstats WHERE userid={$_GET['ID']}",$c); $sats=$db->fetch_row($sta); $we=$db->query("SELECT * FROM items WHERE itmid={$r['equip_primary']}",$c); $pri=$db->fetch_row($we); $we1=$db->query("SELECT * FROM items WHERE itmid={$r['equip_secondary']}",$c); $sey=$db->fetch_row($we1); $we2=$db->query("SELECT * FROM items WHERE itmid={$r['equip_armor']}",$c); $arm=$db->fetch_row($we2); print "<table width='45%' border='1'><tr background='header.jpg'><th>Primary</th> <th>Secondary</th><th>Armor</th></tr> <tr><td>{$pri['itmname']}</td><td>{$sey['itmname']}</td><td>{$arm['itmname']}</td></tr></table>"; $db->query("UPDATE users SET money=money-{$_GET['PAID']} WHERE userid=$userid",$c); print "<table width='45%' border='1'><tr background='header.jpg'><th>Stats</th> <th>Misc</th></tr> <tr><td>Strength: {$sats['strength']}</td><td>Bank Money: {$r['bankmoney']}</td></tr> <tr><td>Agility: {$sats['agility']}</td><td>Crime exp: {$r['crimexp']}</td></tr> <tr><td>Guard: {$sats['guard']}</td><td>Rating: {$r['rating']}</td></tr> <tr><td>Labour: {$sats['labour']}</td><td>Gems {$r['votetoken']}</td></tr> <tr><td>IQ: {$sats['IQ']}</td><td>Level: {$r['level']}</td></tr></table>"; print "<table width='75%' border='1'><tr background='header.jpg'><th>Name</th> <th>Ammount</th></tr>"; $z=$db->query("SELECT * FROM inventory WHERE inv_userid={$_GET['ID']} ORDER BY inv_itemid DESC"); while($e=$db->fetch_row($z)) { $t=$db->query("SELECT * FROM items WHERE itmid={$e['inv_itemid']}",$c); $itm=$db->fetch_row($t); print "\n<tr><td>[b]{$itm['itmname']}[/b]</td><td>[b]{$e['inv_qty']}[/b]</td></tr>"; } print "</table> >[url='viewuser.php?u={$_GET[']Back To Profile.[/url]</br> Created By Zero-Affect"; } } else if($_GET['ID']) { $cost=$r['level']*2000; print "[b]You are hiring a spy on {$r['username']}[/b] It will cost you $$cost for the spys expenses. But be warned spying is not always 100% successful. <form action='rentaspy.php' method='get'> <input type='hidden' name='ID' value='{$_GET['ID']}' /> <input type='hidden' name='PAID' value='$cost' /> <input type='submit' value='Hire Spy'/></form>"; } $h->endpage(); ?>
  9. Re: New Amazing Register Page any screenshots?
  10. Re: Lottery [v1 and v2]   i did
  11. Re: Lottery [v1 and v2]   cheers no problem :-D
  12. Re: Horse Racing[v1 + v2] lottery for v1 and v2     http://criminalexistence.com/ceforums/index.php?topic=18211.0
  13. V1 ONLY <?php /*----------------------------------------------------- >CREATEED BY JIMMYTUBBS >FREE MOD NOT FOR RE SALE >V1 AND V2 >COPYRIGHT 2008 -----------------------------------------------------*/ 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(); if($ir['crystals']< 26) { print "You need a minimum of 25 crystals to play."; $h->endpage(); exit; } if($_POST['bet']) { if($ir['crystals']< $_POST['bet']*3) { print "You don't have the correct amount of crystals at the bet you placed."; $h-endpage(); exit; } $rand=(int) rand(1,40); $rand2=(int) rand(1,40); $cry=$_POST['bet']*3; if($rand == $rand2) { print "You won! You have been given $cry Crystals by the dealer!"; mysql_query("UPDATE users SET crystals=crystals+$cry WHERE userid=$userid",$c); } else { print "You lost! Never mind, keep trying. You have lost $cry Crystals"; mysql_query("UPDATE users SET crystals=crystals-$cry WHERE userid=$userid",$c); } } else { print "Want to have a chance of winning the lottery? You will win by the level you are at and your bet Its 1 crystal per bet. <form action='lottery.php' method='post'> Bet :<input type='text' name='bet' value='0'> <input type='submit' value='Bet!'> </form>"; } $h->endpage(); ?> V2 ONLY <?php /*----------------------------------------------------- >CREATEED BY JIMMYTUBBS >FREE MOD NOT FOR RE SALE >V1 AND V2 >COPYRIGHT 2008 -----------------------------------------------------*/ include "globals.php"; if($ir['crystals']< 26) { print "You need a minimum of 25 crystals to play."; $h->endpage(); exit; } if($_POST['bet']) { if($ir['crystals']< $_POST['bet']*3) { print "You don't have the correct amount of crystals at the bet you placed."; $h-endpage(); exit; } $rand=(int) rand(1,40); $rand2=(int) rand(1,40); $cry=$_POST['bet']*3; if($rand == $rand2) { print "You won! You have been given $cry Crystals by the dealer!"; $db->query("UPDATE users SET crystals=crystals+$cry WHERE userid=$userid",$c); } else { print "You lost! Never mind, keep trying. You have lost $cry Crystals"; $db->query("UPDATE users SET crystals=crystals-$cry WHERE userid=$userid",$c); } } else { print "Want to have a chance of winning the lottery? You will win by the level you are at and your bet Its 1 crystal per bet. <form action='lottery.php' method='post'> Bet :<input type='text' name='bet' value='0'> <input type='submit' value='Bet!'> </form>"; } $h->endpage(); ?> ALL CODES HAVE BEEN TESTED AND SHOULD WORK CHEERS JIMMYTUBBS
  14. Re: Horse Racing[v1 + v2]   i just found it on another forum in free mods lol
  15. Heres oxidations mod of horse racing V1 ONLY <?php /****************************** >CREATED BY oxidation >NOT FOR RE SALE FREE MOD ONLY >COPYRIGHT 2008 ******************************/ 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(); if($ir['level']< 101) { print "You need to be at least level 100 to access Horse Racing Department."; $h->endpage(); exit; } print "<h3>Horse Racing Department</h3> "; if( !$_POST['tixs'] ) { print "Want to make a bet of winning a high amount of bars? [b]Each ticket costs 50 Bars & \$300,000. You may choose which horse you would like to bet on. If you win, You will recieve the winning prize of \$3,000,000 and 400 bars.[/b] <form action='horsing.php' method='post'> <input type='hidden' name='conf' value='yes'> Tickets : <input type='text' name='tixs' value='0'> Horse : <select name='horse'> <option value='1'>Dorke</option> <option value='2'>Wickwear</option> <option value='3'>Shandy</option> <option value='4'>Warsky</option> <option value='5'>Propeller</option> <option value='6'>Shalasy</option> <option value='7'>Rickmond</option> <option value='8'>Yowelle</option> <option value='9'>Crossbone</option> <option value='10'>Eastporse</option> </select> <input type='submit' value='Bet'> </form>"; } else { $rand=(int) rand(1,100); $money=$_POST['tixs']*300000; $cryst=$_POST['tixs']*50; $wincas=100000*$_POST['tixs']; $wincry=100*$_POST['tixs']; if($ir['money'] < $money || $ir['crystals'] < $cryst) { print "You do not have the right amount of cash/crystals to bet on your horse."; $h->endpage(); exit; } if($rand == $_POST['horse']) { print "OMG! You won the winning prize. You have now been credited "; mysql_query("UPDATE users SET money=money+$wincas, crystals=crystals+$wincry WHERE userid=$userid",$c); $usq=mysql_query("SELECT userid FROM users",$c); $r=mysql_fetch_array($usq); event_add($r['userid'],"{$ir['username']} [{$userid}] Won the Horse Racing Department's winning prize.",$c); } else { print "You did not win the winning prize, bad luck. [url='explore.php']Explore[/url] "; mysql_query("UPDATE users SET money=money-$money, crystals=crystals-$cryst WHERE userid=$userid",$c); } } $h->endpage(); ?> HERES IT IN V2 ONLY <?php /**************************** >CREATED BY oxidation > NOT FOR RE SALE >FREE MOD ONLY >COPYRIGHT 2008 ******************************/ include "globals.php"; if($ir['level']< 101) { print "You need to be at least level 100 to access Horse Racing Department."; $h->endpage(); exit; } print "<h3>Horse Racing Department</h3> "; if( !$_POST['tixs'] ) { print "Want to make a bet of winning a high amount of bars? [b]Each ticket costs 50 Bars & \$300,000. You may choose which horse you would like to bet on. If you win, You will recieve the winning prize of \$3,000,000 and 400 bars.[/b] <form action='horsing.php' method='post'> <input type='hidden' name='conf' value='yes'> Tickets : <input type='text' name='tixs' value='0'> Horse : <select name='horse'> <option value='1'>Dorke</option> <option value='2'>Wickwear</option> <option value='3'>Shandy</option> <option value='4'>Warsky</option> <option value='5'>Propeller</option> <option value='6'>Shalasy</option> <option value='7'>Rickmond</option> <option value='8'>Yowelle</option> <option value='9'>Crossbone</option> <option value='10'>Eastporse</option> </select> <input type='submit' value='Bet'> </form>"; } else { $rand=(int) rand(1,100); $money=$_POST['tixs']*300000; $cryst=$_POST['tixs']*50; $wincas=100000*$_POST['tixs']; $wincry=100*$_POST['tixs']; if($ir['money'] < $money || $ir['crystals'] < $cryst) { print "You do not have the right amount of cash/crystals to bet on your horse."; $h->endpage(); exit; } if($rand == $_POST['horse']) { print "OMG! You won the winning prize. You have now been credited "; $db->query("UPDATE users SET money=money+$wincas, crystals=crystals+$wincry WHERE userid=$userid",$c); $usq=$db->query("SELECT userid FROM users",$c); $r=$db->fetch_row($usq); event_add($r['userid'],"{$ir['username']} [{$userid}] Won the Horse Racing Department's winning prize.",$c); } else { print "You did not win the winning prize, bad luck. [url='explore.php']Explore[/url] "; $db->query("UPDATE users SET money=money-$money, crystals=crystals-$cryst WHERE userid=$userid",$c); } } $h->endpage(); ?> CHEERS JIMMYTUBBS
  16. Re: I need help quickly ive just changed it on config .php to the correct one im my crons tab and it is now working cheers jimmytubbs 2244thegame.co.uk
  17. Hi my jail hospital arnt working i think its to do with cron_minute.php as also my bar are not working here is my cron_minute.php   <?phpinclude "config.php";global $_CONFIG;if($_GET['code'] != $_CONFIG['code']) { die(""); }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;$db->query("UPDATE users set hospital=hospital-1 WHERE hospital>0");$db->query("UPDATE `users` SET jail=jail-1 WHERE `jail` > 0");$hc=$db->num_rows($db->query("SELECT * FROM users WHERE hospital > 0"));$jc=$db->num_rows($db->query("SELECT * FROM users WHERE jail > 0"));$db->query("UPDATE settings SET conf_value='$hc' WHERE conf_name='hospital_count'");$db->query("UPDATE settings SET conf_value='$jc' WHERE conf_name='jail_count'");?>   can any one help cheers jimmytubbs
  18. Re: Jail and hosp plz help me i need to sort this A.S.A.P   cheers jimmytubbs<--------------------> 2244thegame.co.uk
  19. Re: Jail and hosp ive reset th crons but it still doesnt work
  20. Re: Jail and hosp lol how do u run that then?
  21. Hi my jail and hosp time count wont let them out and its not going down i have a v2 game cheers jimmytubbs<----->2244thegame.co.uk
  22. Re: I NEED HELP QUICLY cheers thanks m8 :-D
  23. HI IVE GOT V2 CODES AND IVE UPLOADED THEN AND THIS CAME UP PHP version >= 4.2.0 OK Game folder writable Failed MySQL support in PHP present OK Game installed at root level of domain or subdomain OK -------------------------------------------------------------------------------- One of the basic diagnostics failed, so Setup cannot continue. Please fix the ones that failed and try again. -------------------------------------------------------------------------------- CAN ANY 1 HELP ME FIX IT   JIMMYTUBBS<-------> 2244THEGAME.CO.UK UNDER RE-CONSTRUCTION
  24. Re: Help needed with prefrences!   here's mine ive got the same problem? <?php/*------------------------------------------------------- Mono Country v1.0 BETA-- A product of DBS-entertainment-- Copyright held 2005 by Dabomstew-- INDEX.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();switch($_GET['action']){case 'sexchange2':do_sex_change();break;case 'sexchange':conf_sex_change();break;case 'passchange2':do_pass_change();break;case 'passchange':pass_change();break;case 'namechange2':do_name_change();break;case 'namechange':name_change();break;case 'picchange2':do_pic_change();break;case 'picchange':pic_change();break;default:prefs_home();break;}function prefs_home(){global $ir,$c,$userid,$h;print "<h3>Preferences</h3>[url='preferences.php?action=sexchange']Sex Change[/url] [url='preferences.php?action=passchange']Password Change[/url] [url='preferences.php?action=namechange']Name Change[/url] [url='music.php?action=music']<font color=red>[</font>Turn Your Music ";if($ir['music']==0){echo "On";}if($ir['music']==1){echo "Off";}echo "<font color=red>]</font>[/url] [url='preferences.php?action=picchange']Display Pic Change[/url] ";}function conf_sex_change(){global $ir,$c,$userid,$h;if($ir['gender'] == "Male") { $g="Female"; } else { $g="Male"; }print "Are you sure you want to become a $g? [url='preferences.php?action=sexchange2']Yes[/url] | [url='preferences.php']No[/url]";}function do_sex_change(){global $ir,$c,$userid,$h;if($ir['gender'] == "Male") { $g="Female"; } else { $g="Male"; }mysql_query("UPDATE users SET gender='$g' WHERE userid=$userid",$c);print "Success, you are now $g! [url='preferences.php']Back[/url]";}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!";}}function name_change(){global $ir,$c,$userid,$h;print "<h3>Name Change</h3>Please note that you still use the same name to login, this procedure simply changes the name that is displayed. <form action='preferences.php?action=namechange2' method='post'>New Name: <input type='text' name='newname' /> <input type='submit' value='Change Name' /></form>";}function do_name_change(){global $ir,$c,$userid,$h;if($_POST['newname'] == ""){print "You did not enter a new name. [url='preferences.php?action=namechange']> Back[/url]";}else{$_POST['newname']=str_replace(array("<", ">", "\\\'"), array("<", ">", "'"), $_POST['newname']);mysql_query("UPDATE users SET username='{$_POST['newname']}' WHERE userid=$userid",$c);print "Username changed!";}}function pic_change(){global $ir,$c,$userid,$h;print "<h3>Pic Change</h3>Please note that this must be externally hosted, [url='http://imageshack.us']ImageShack[/url] is our recommendation. Any images that are not 150x150 will be automatically resized <form action='preferences.php?action=picchange2' method='post'>New Pic: <input type='text' name='newpic' value='{$ir['display_pic']}' /> <input type='submit' value='Change Name' /></form>";}function do_pic_change(){global $ir,$c,$userid,$h;if($_POST['newpic'] == ""){print "You did not enter a new pic. [url='preferences.php?action=picchange']> Back[/url]";}else{$_POST['newpic']=str_replace('\\\'',''', $_POST['newpic']);mysql_query("UPDATE users SET display_pic='{$_POST['newpic']}' WHERE userid=$userid",$c);print "Pic changed!";}}$h->endpage();?>
  25. Re: Donator only crystal temple   yh right i made this this morning
×
×
  • Create New...