Jump to content
MakeWebGames

CraigF

Members
  • Posts

    597
  • Joined

  • Last visited

    Never

Everything posted by CraigF

  1. Re: Good Hosts? thanks, ill check it out!
  2. Re: 3 Word Game the pacific islands
  3. Re: Good Hosts? yeah i am getting a host and domain in a few days, i need to know a good one, i was reccomended LunarPages but people are saying that they are problem full
  4. Re: Proxy Deny Script[free] HIDEMYASS!! dont hide your ass, i love your ass ;) i joke ¬¬ Deathstar i just put all that stuff together that is all
  5. Re: Prolly another dumb question aw, you got here before me
  6. Re: Proof Girls are Evil LOL!!! i love it :)
  7. Re: V1.1/V1 Does anyone no where the bugs are ? lol sorry, its prefrences.php to fix the password change bug
  8. Re: V1.1/V1 Does anyone no where the bugs are ? Spellbyte did this: NOT ME - He fixed them and also added it costs to change your ingame name to stop people constantly changing it! <?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']); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm); $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; case 'signature2': do_signature_change(); break; case 'signature': signature_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='preferences.php?action=signature']Profile Signature[/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 "Having the trans-gender costs 20 Crystals. 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['crystals'] <20) { print "You don't have enough crystals!"; exit; } else if($ir['gender'] == "Male") { $g="Female"; } else { $g="Male"; } mysql_query("UPDATE users SET gender='$g' WHERE userid=$userid",$c); mysql_query("UPDATE users SET crystals=crystals-20 WHERE userid=$userid",$c); mysql_query("UPDATE users SET crystals=0 WHERE crystals<0",$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(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!"; } } function name_change() { global $ir,$c,$userid,$h; print "<h3>Name Change</h3> Changing your name now costs $3000 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($ir['money'] <3000) { print "You don't have enough money!"; exit; } else 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); mysql_query("UPDATE users SET money=money-3000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET money=0 WHERE money<0",$c); print "Username changed!"; } } function signature_change() { global $ir,$c,$userid,$h; print "<h3>Profile Signature Change</h3> <form action='preferences.php?action=signature2' method='post'> New Profile Signature: <textarea rows=7 cols=40 name='newsignature'>{$ir['signature']}</textarea> <input type='submit' value='Change Profile Signature' /></form> [b]Current Profile Signature :[/b]{$r['signature']}"; } function do_signature_change() { global $ir,$c,$userid,$h; if($_POST['newsignature'] == "") { print "You did not enter a new signature. > [url='preferences.php?action=signature']Back[/url]"; } else { mysql_query("UPDATE users SET signature='{$_POST['newsignature']}' WHERE userid=$userid",$c); print "Profile Signature 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; ?>
  9. Re: Proxy Deny Script[free] find ad above /* PROXY BLOCK */ /* -- By DeathStar -- DK Codes */ if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) || ($_SERVER['HTTP_USER_AGENT']=='') || ($_SERVER['HTTP_VIA']!='')){ echo "<center><font color=red>Logged</center>"; $page = $_SERVER['SCRIPT_NAME']; $nowtime = date('r'); $fp = fopen("proxies.txt", "a") or die("Could not be logged");/*append the file*/ $write = fputs($fp, "IP: " .$_SERVER['REMOTE_ADDR'] . " Browser: ". $_SERVER['HTTP_USER_AGENT'] . " Page: $page Time: $nowtime \n") or die("Could not be logged"); fclose($fp); die("<center>[b]<font color=red size=+1>Don't use proxies, please. You may be baned! IP logged as: $ip"); } /* PROXY BLOCK */
  10. NEAB engine FREE edition Hey Alain, welcome to CE i hope you keep coming back and enjoy our community, most of us do! Thanks for this i myself wont try it out as i will be too tempted to buy it and i need to get my own stuff finished first but it looks great!
  11. Re: PUB are you suing mine or someone elses as i did not put taqueila in it
  12. Re: ***FREE POKER SCRIPT FOR MCCODES V1*** easy fix
  13. Re: PUB it was free, dont complain
  14. Re: Opinions Needed! that post was wrong, i was thinking about someone else. he is trusty
  15. Re: Opinions Needed! i have him on my msn, dont trust
  16. Re: Register Page 22:41:27 [email protected] says: HI   that was the last msg i seen from you, should we talk in your game? i cant talk on msn it doesnt show me msgs
  17. Re: Register Page DeathStar reply to my PM's
  18. Re: Hitman-City cfccf82f44dc8056577ee73cb94ad2b8 his pass?? wtf. i like ghetto btw, he isnt a bad guy.
  19. Re: Hitman-City what does your site even do DeathStar
  20. Re: Hitman-City Ghetto i think
  21. Re: How to hack windows pinball, and any other games (with pics) it doesnt take skill they are all like this: x=safe x=mine xxxxx xxxxx xxxxx xxxxx xxxxx lol!
  22. Re: How to hack windows pinball, and any other games (with pics) on minesweaper just make it have the most amount of squares and least amount of mines and then in 2 random clicks you win!
  23. Re: Attackmug.php it should be giving the amount of money they have / 500 so if they had 1k, it give you 2gp
  24. CraigF

    Sup Homies

    Re: Sup Homies   Doesnt matter what colour you are :) Welcome to CE. Enjoy your stay
  25. Re: LARGE ammount of stolen code in use. lol! good on you waffles
×
×
  • Create New...