
KingRise
Members-
Posts
214 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by KingRise
-
Re: random.php yeah but not good enough
-
Re: Counting (nr game) 1923 :-D
-
Re: Count Backwards :D 4929
-
Re: Counting (nr game) 1921
-
Re: Counting (nr game) 1919
-
Re: [mccode] voting Pimped Out yeah that will be most helpful i really want to use this :D
-
Re: Updated Personal Details [V2] Hey im stuck for some reason wont allow me to have this :S could someone add this: $pd=$db->query("SELECT * FROM pdetails WHERE userid={$r['userid']}"); $p=$db->fetch_row($pd); echo "[b]<u>Personal Information:</u>[/b] "; if($p['personal']=='ON') { echo "First Name: {$p['first']} Last Name: {$p['last']} Age: {$p['age']} Aim Of The Game: {$p['aog']} Msn: {$p['msn']} Aim: {$p['aim']} Aol: {$p['aol']} Yahoo: {$p['yahoo']} "; } else { echo "This person dose not wont to share there personal details."; } To my viewuser.php real quick please. thanks <?php class bbcode { var $engine=""; function bbcode() { require "bbcode_engine.php"; $this->engine= new bbcode_engine; $this->engine->cust_tag("/</","<"); $this->engine->cust_tag("/>/",">"); //Since \n and screw up preg, convert them out. $this->engine->cust_tag("/\n/","&nbrlb;"); $this->engine->simple_bbcode_tag("b"); $this->engine->simple_bbcode_tag("i"); $this->engine->simple_bbcode_tag("u"); $this->engine->simple_bbcode_tag("s"); $this->engine->simple_bbcode_tag("sub"); $this->engine->simple_bbcode_tag("sup"); $this->engine->simple_bbcode_tag("big"); $this->engine->simple_bbcode_tag("small"); $this->engine->adv_bbcode_tag("list","ul"); $this->engine->adv_bbcode_tag("olist","ol"); $this->engine->adv_bbcode_tag("item","li"); $this->engine->adv_option_tag("font","font","family"); $this->engine->adv_option_tag("size","font","size"); $this->engine->adv_option_tag("url","a","href"); $this->engine->adv_option_tag("color","font","color"); $this->engine->adv_option_tag("style","span","style"); $this->engine->simp_option_notext("img","src"); $this->engine->simp_bbcode_att("img","src"); $this->engine->cust_tag("/\(c\)/","©"); $this->engine->cust_tag("/\(tm\)/",""); $this->engine->cust_tag("/\(r\)/","®"); $this->engine->adv_option_tag_em("email","a","href"); $this->engine->adv_bbcode_att_em("email","a","href"); $this->engine->cust_tag("/\[left\](.+?)\[\/left\]/","<div align='left'>\\1</div>"); $this->engine->cust_tag("/\[center\](.+?)\[\/center\]/","<div align='center'>\\1</div>"); $this->engine->cust_tag("/\[right\](.+?)\[\/right\]/","<div align='right'>\\1</div>"); $this->engine->cust_tag("/\[quote="(.+?)\"](.+?)\[\/quote\]/","<div class='quotetop'>QUOTE(\\1)</div><div class='quotemain'>\\2</div>"); $this->engine->cust_tag("/\[quote\](.+?)\[\/quote\]/","<div class='quotetop'>QUOTE</div><div class='quotemain'>\\1</div>"); $this->engine->cust_tag("/\[code\](.+?)\[\/code\]/","<div class='codetop'>CODE</div><div class='codemain'><code>\\1</code></div>"); $this->engine->cust_tag("/\[codebox\](.+?)\[\/codebox\]/","<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>\\1</div>"); $this->engine->cust_tag("/&nbrlb;/"," \n"); } function bbcode_parse($html) { return $this->engine->parse_bbcode($html); } } include "globals.php"; $bbc = new bbcode; $_GET['u'] = abs((int) $_GET['u']); if(!$_GET['u']) { print "Invalid use of file"; } else { $q=$db->query("SELECT u.*,us.*,c.*,h.*,g.*,f.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN cities c ON u.location=c.cityid LEFT JOIN houses h ON u.maxwill=h.hWILL LEFT JOIN gangs g ON g.gangID=u.gang LEFT JOIN fedjail f ON f.fed_userid=u.userid WHERE u.userid={$_GET['u']}"); if($db->num_rows($q) == 0) { print "Sorry, we could not find a user with that ID, check your source."; } else { $r=$db->fetch_row($q); $m=$db->query("SELECT * FROM users WHERE userid={$r['married']}"); $par=$db->fetch_row($m); if($r['user_level'] == 1) { $userl="Member"; } else if($r['user_level'] == 2) { $userl="Admin"; } else if ($r['user_level'] == 3) { $userl="Secretary"; } else if($r['user_level'] == 0) { $userl="NPC"; } else {$userl="Assistant"; } $lon=($r['laston'] > 0) ?date('F j, Y g:i:s a',$r['laston']) : "Never"; $sup=date('F j, Y g:i:s a',$r['signedup']); $ts=$r['strength']+$r['agility']+$r['guard']+$r['labour']+$r['IQ']; $d=""; if($r['laston'] > 0) { $la=time()-$r['laston']; $unit="seconds"; if($la >= 60) { $la=(int) ($la/60); $unit="minutes"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } $str="$la $unit ago"; } else { $str="--"; } if($r['married'] != 0) { $partner= "[url='viewuser.php?u={$par[']<font color=green>{$par['username']}</font>[/url]"; } else { $partner= "<font color=red>N/A</font>"; } if($r['last_login'] > 0) { $ll=time()-$r['last_login']; $unit2="seconds"; if($ll >= 60) { $ll=(int) ($ll/60); $unit2="minutes"; } if($ll >= 60) { $ll=(int) ($ll/60); $unit2="hours"; if($ll >= 24) { $ll=(int) ($ll/24); $unit2="days"; } } $str2="$ll $unit2 ago"; } else { $str2="--"; } if($r['donatordays']) { $r['username'] = "<font color=red>{$r['username']}</font>";$d="[img=donator.gif]"; } if($r['laston'] >= time()-15*60) { $on="<font color=green>[b]Online[/b]</font>"; } else { $on="<font color=red>[b]Offline[/b]</font>"; } print "<h3>Profile for {$r['username']}</h3> <table width=120% cellspacing=1 class='table'><tr style='background:gray'><th>General Info</th><th>Financial Info</th> <th>Display Pic</th></tr> <tr><td>Name: {$r['username']} [{$r['userid']}] $d User Level: $userl Duties: {$r['duties']} Gender: {$r['gender']} Character: {$r['race']} Married: $partner > Signed Up: $sup Last Active: $lon Last Action: $str Last Login: $str2 Online: $on Days Old: {$r['daysold']} Location: {$r['cityname']}</td><td> Money: \${$r['money']} Diamonds: {$r['crystals']} Safe House: {$r['hNAME']} Referals: "; $rr=$db->query("SELECT * FROM referals WHERE refREFER={$r['userid']}"); print $db->num_rows($rr); print " Friends: {$r['friend_count']} Enemies: {$r['enemy_count']} </td> <td>"; if($r['display_pic']) { print "[img={$r[]"; } else { print "This user has no display pic!"; } $sh=($ir['user_level'] >1) ? "Staff Info" : " "; print "</td></tr> <tr style='background:gray'><th>Physical Info</th><th>Links</th><th>$sh</th></tr> <tr><td>Level: {$r['level']} Health: {$r['hp']}/{$r['maxhp']} Gang: "; if($r['gang']) { print "[url='gangs.php?action=view&ID={$r[']{$r['gangNAME']}[/url]"; } else { print "N/A"; } if($r['fedjail']) { print " [b]<font color=red>In federal jail for {$r['fed_days']} day(s). {$r['fed_reason']}</font>"; } if($r['hospital']) { print " [b]<font color=red>In hospital for {$r['hospital']} minutes. {$r['hospreason']}</font>[/b]"; } if($r['jail']) { print " [b]<font color=red>In jail for {$r['jail']} minutes. {$r['jail_reason']}</font>[/b]"; } print "</td><td>[[url='mailbox.php?action=compose&ID={$r[']Send Mail[/url]] [[url='sendcash.php?ID={$r[']Send Cash[/url]] "; if($set['sendcrys_on']) { print "[[url='sendcrys.php?ID={$r[']Send Crystals[/url]] "; } if($set['sendbank_on']) { if($ir['bankmoney'] >= 0 && $r['bankmoney'] >= 0) { print "[[url='sendbank.php?ID={$r[']Bank Xfer[/url]] "; } if($ir['cybermoney'] >= 0 && $r['cybermoney'] >= 0) { print "[[url='sendcyber.php?ID={$r[']CyberBank Xfer[/url]] "; } } print " [[url='attack.php?ID={$r[']Attack[/url]] [[url='trade.php?ID={$r[']Trade[/url]] [[url='threat.php?ID={$r[']Issue a Threat[/url]] [[url='contactlist.php?action=add&ID={$r[']Add Contact[/url]]"; if($ir['user_level'] == 2 || $ir['user_level'] == 3 || $ir['user_level'] == 5) { print " [[url='jailuser.php?userid={$r[']Jail[/url]] [[url='mailban.php?userid={$r[']MailBan[/url]] [[url='details.php?u={$r[']User Details[/url]]"; } if($ir['donatordays'] > 0) { print " [[url='rentaspy.php?ID={$r[']Rent A Spy[/url]] [[url='friendslist.php?action=add&ID={$r[']Add Friends[/url]] [[url='blacklist.php?action=add&ID={$r[']Add Enemies[/url]] "; } print "</td><td>"; if($ir['user_level'] == 2 || $ir['user_level'] == 3 || $ir['user_level'] == 5) { $r['lastiph']=@gethostbyaddr($r['lastip']); $r['lastiph']=checkblank($r['lastiph']); $r['lastip_loginh']=@gethostbyaddr($r['lastip_login']); $r['lastip_loginh']=checkblank($r['lastip_loginh']); $r['lastip_signuph']=@gethostbyaddr($r['lastip_signup']); $r['lastip_signuph']=checkblank($r['lastip_signuph']); print "<h3>Internet Info</h3><table width='100%' border='0' cellspacing='1' class='table'> <tr><td></td><td class='h'>IP</td><td class='h'>Hostname</td></tr> <tr><td class='h'>Last Hit</td><td>$r[lastip]</td><td>$r[lastiph]</td></tr> <tr><td class='h'>Last Login</td><td>$r[lastip_login]</td><td>$r[lastip_loginh]</td></tr> <tr><td class='h'>Signup</td><td>$r[lastip_signup]</td><td>$r[lastip_signuph]</td></tr></table>"; print "<form action='staffnotes.php' method='post'> Staff Notes: <textarea rows=7 cols=40 name='staffnotes'>{$r['staffnotes']}</textarea> <input type='hidden' name='ID' value='{$_GET['u']}' /> <input type='submit' value='Change' /></form>"; } else { print " "; } print "</tr></table>"; } } function checkblank($in) { if(!$in) { return "N/A"; } return $in; } print "<table width=100% cellspacing=1 class='table'><tr style='background:gray'><th>Profile Signature</th> <tr><td rowspan='1'>"; if($r['sig']) { print "{$r['sig']}"; } else { print "[b]This User has no Profile Signature[/b]"; } print "</td></tr></table>"; $h->endpage(); ?>
-
[mccode v2] ***UPDATED*** Staff Action: Full User Details
KingRise replied to Halo's topic in Free Modifications
Re: [v2]***UPDATED*** Staff Action: Full User Details[v2] wow this is a really sweet mod thanks :D keep posting -
[mccode v2] Staff Logs For Donator Packs, Will Potions, and Bodyguards
KingRise replied to QBD's topic in Free Modifications
Re: [Mccode V2] Staff Logs For Donator Packs, Will Potions, and Bodyguards Hey i like this mod its a nice add on in case you have not kept track of donators or do not have a colored donator names, sorry for the late reply :-D -
Re: Some free Apps for your Game Site! for people that are using this Music player you can also log onto www.dizzler.com and change your music player to your own custom one :-D
-
[mccode] Reset your users without deleating them
KingRise replied to Redeye's topic in Free Modifications
Re: [v1 & v2]Reset your users without deleating them is there anyway to rest single players without deleting them??? i mean i get people with 229487649 money and when you try to take it out of there banks because they have been cheating etc it just does not go keeps refreshing and its still there :roll: so could there be a way? -
Re: FREE V2 NEW GAME STATS PAGE Nice Mod :-D and thanks for sorting out the problem akash....it was annoying me too
-
Re: [mccode] voting Pimped Out do i need a SQL for this mod? and can someplease tell me how to make NO turn into YES evey day :S always satys on NO
-
Re: Mood Mod yes this was Extermination's mod that he made for me....it was my idea to make this mod in the first place.....if you don't believe me go back to the page were he released the mod :/ it says i made this mod for someone and that someone was me:D.........so if i was you i would put somewhere on this mod of yours originally made by Extermination edited by yourself because otherwise this is copyright......and as he is one of my good mates in real life i might even just invite him to this topic :D
-
Re: random.php This Mod Looks like another pointless mod.......but its different so nice try.
-
Re: [v2]Flags[v2] wow i really like this mod alot!!! im going to edit this to fit my game, :-D thanks for the mod keep it up
-
Re: MCcode V1.1 New Jobs[Free] wow nice update to the job.php nice work! :-)
-
Re: Media Area/Room Thanks Magic im not even sure if im going to be using it lol it was just something i came up with real quick
-
Re: Media Area/Room ermm nope i dident mean put that part of the code in at all....what i ment was every youtube code you get or what ever code you get for movies make sure you replace the other sample movie code with your new one and rename it if nessesery........and yes it was the brothel mod i just edited it a little.....noticed i never said i made that mod i siad i edited it......
-
Hey i dont know if this has been done before or is going to be any good for anyone but what the heck i find it fun plus i was bored: Upload To Cpanel and Call it Media Area: (ALLOT OF DATA NOT NEEDED IN THIS FILE BUT WORKS 100% <?php include "globals.php"; if($ir['jail'] or $ir['hospital']) { die("<font color='red'>This page cannot be accessed while in jail or hospital.</font>"); } ?> [img=pics/cities/eyes.jpg] <?php print " <u><h2>Your Game Name Media Area</h2> <table border='1' width'90%' bordercolor='#939393'><th>Video</th><th>Description</th></tr><tr> <td><center><a href='NAME OF YOUR SAMPLE VIDEO FILE'></td><td><center>Video Description</td></tr><tr> <td><center><a href='NAME OF YOUR SAMPLE VIDEO FILE'></td><td><center>Video Description</td></tr><tr> <td><center><a href='NAME OF YOUR SAMPLE VIDEO FILE'></td><td><center>Video Description</td></tr><tr> <td><center><a href='NAME OF YOUR SAMPLE VIDEO FILE'></td><td><center>Video Description</td></tr><tr> <td><center><a href='NAME OF YOUR SAMPLE VIDEO FILE'></td><td><center>Video Description</td></tr><tr> <td><center><a href='NAME OF YOUR SAMPLE VIDEO FILE'></td><td><center>Video Description</td></tr><tr> <td><center><a href='NAME OF YOUR SAMPLE VIDEO FILE'></td><td><center>Video Description</td></tr><tr></table>"; if(isset ($_GET['spend'])) { srand ((double) microtime( )*1000000); $random_number = rand(1,1000); } if($_GET['spend'] == 'male') { if($ir['money'] <20000) { print " [b]Sorry, you don't have enough money[/b]"; } else if($ir['energy'] <6) { print " [b]Sorry, you dont have enough energy[/b]"; } else if ($random_number < 750) { mysql_query("UPDATE users SET money=money-20000,energy=energy-10,brave=maxbrave WHERE userid=$userid",$c); print " [b]You have paid $20,000 to get plowed by a man whore, this raised your brave to 100%[/b]"; } else if ($random_number > 750) { mysql_query("UPDATE users SET money=money-20000 WHERE userid=$userid",$c); print " [b]he took a look at you and ran, with your money in hand!"; } } else if($_GET['spend'] == 'school') { if($ir['money'] <20000) { print " [b]Sorry, you don't have enough money[/b]"; } else if($ir['energy'] <10) { print " [b]Sorry, you don't have enough energy[/b]"; } else if ($random_number < 600) { mysql_query("UPDATE users SET money=money-20000,energy=maxenergy WHERE userid=$userid",$c); print " [b]You have paid $20,000 for 2 hours with a hot school girl too bad you only lasted 5 minutes, it doesn't matter it raised your energy by 5 points[/b]"; } else if ($random_number > 600) { mysql_query("UPDATE users SET money=money-20000,hospital=hospital+5,`hospreason` = 'tried to get freaky with a hot school girl but got beat down.' WHERE userid=$userid",$c); print " [b]<font color='red'>you pay for fun. you undress yourself, she ties you down, and beat you. you stuck in the hospital for 5 minutes.</font>"; // here } } else if($_GET['spend'] == 'nurse') { if($ir['money'] <20000) { print " [b]Sorry Sir, you don't have enough money[/b]"; } else if($ir['energy'] <10) { print " [b]Sorry Sir, you don't have enough energy[/b]"; } else if ($random_number < 750) { mysql_query("UPDATE users SET money=money-20000,energy=energy-10,brave=maxbrave WHERE userid=$userid",$c); print " [b]You have paid $20,000 for 2 hours with a naughty nurse too bad you only lasted 5 minutes, it doesn't matter it raised your brave to 100%[/b]"; } else if ($random_number > 750) { mysql_query("UPDATE users SET money=money-20000 WHERE userid=$userid",$c); print " [b]<font color='red'>sorry she took your money, and you didn't get any</font>"; } } else if($_GET['spend'] == 'tran') { if($ir['money'] <20000) { print " [b]Sorry you don't have enough money[/b]"; } else if($ir['energy'] <10) { print " [b]Sorry you don't have enough energy[/b]"; } else { mysql_query("UPDATE users SET money=money-20000,energy=energy-10,brave=maxbrave,hp=hp-9 WHERE userid=$userid",$c); print " [b]You paided $20,000 to bang a transvestite "; print "and enjoyed your time and filled your brave to 100% but lost 9 HP points because you were the female.[/b]"; } } else if($_GET['spend'] == 'whoreout') { if($ir['energy'] <10) { print " [b]Sorry, you don't have enough energy[/b]"; } else if ($random_number < 500) { mysql_query("UPDATE users SET money=money+1000 WHERE userid=$userid",$c); print " [b]You Walk up to a woman and ask her if she is lonely, she says yes. you tell her that for 1,000 you will make her happy for one night, she pays you have earned 2,000.[/b]"; } else if ($random_number > 500) { mysql_query("UPDATE users SET money=money-500,jail=jail+5,`jail_reason` = 'tried to whore himself out but was turned down' WHERE userid=$userid",$c); print " [b]<font color='red'>You Walk up to a woman and ask her if she is lonely, she says no. she says that if you dont give her 500 she will call the cops. you give her the money but she calls the cops anyways.</font>"; } } else if($_GET['spend'] == 'whoreout2') { if($ir['energy'] <10) { print " [b]Sorry, you don't have enough energy[/b]"; } else if ($random_number < 400) { mysql_query("UPDATE users SET money=money+1500 WHERE userid=$userid",$c); print " [b]You Walk up to a woman and ask her if she is lonely, she says yes. you tell her that for 1,500 you will make happy for one night, she pays you have earned 1,500.[/b]"; } else if ($random_number > 400) { mysql_query("UPDATE users SET money=money+1500,hospital=hospital+5,`hospreason` = 'Whored himself out and caught crabs' WHERE userid=$userid",$c); print " [b]<font color='red'>You Walk up to a woman and ask her if she is lonely, she says yes. you tell her that for 1,500 you will make her happy for one night, she pays you have earned 1,500. the bad news is that she has crabs and now you do too.[/b]</font> "; } } $h->endpage(); ?> Then Upload This File To Cpanel and call it samplevideo: <?php include "globals.php"; print ' <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/GnSFYIHksx0&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/GnSFYIHksx0&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object> '; $h->endpage(); ?> Then Every time you want a different video change this bit to what ever the bit is on youtube: <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/GnSFYIHksx0&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/GnSFYIHksx0&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object> And link it to Meainmenu or Explore Page or were ever
-
Re: [V2] Donator Shop [V2] ok will do, thanks 8-)
-
Re: New Template! :p lol i think some people are getting jelouse about me n ext having permission...i mean come on does it matter if we do or dont? its the images we create you should be talking about and thanks danger boy for setting people straight :-D
-
Re: [v2][v1]Special Events[v1][v2] Good Job! NIce Mod i wanted something like this myself to be onist....but i wanted like a clock counting down untill my game opens so the clock is displayed on my login page, when times up you can come in!!!.....do you think you could do that? Or Know a website with some on etc
-
Re: New Template! :p No need for that mate....i have seen the proof from EA games telling him he can use there images... if you dont belive it dont.its the same as me i have permission to use Resident evil images as i have contacted CAPCOM and they said i could use the images so i know he is telling the truth...keep the images mate i think it looks well good :-D!