Jump to content
MakeWebGames

Criminal

Members
  • Posts

    208
  • Joined

  • Last visited

    Never

Everything posted by Criminal

  1. Re: Viewuser problem I edited the normol v2 viewuser i will learn more html thanks for your info btw
  2. Re: Viewuser problem I cant find am missing </td>
  3. Re: Viewuser problem Can the problem be this <div style='position:relative;left:-0px;top:-310px;'> i've added this to move stuff around
  4. Re: Viewuser problem Can anyone help please
  5. Re: Viewuser problem here is the viewuser.php   <?php include "globals.php"; $_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); if($r['user_level'] == 1) { $userl="Member"; } else if($r['user_level'] == 2) { $userl="Admin"; } else if($r['user_level'] == 6) { $userl="Player Helper"; } 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['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> "; if($r['musicc'] ==On) {echo "<embed src='{$r['music']}' height='20'>";} echo " <table width=100% cellspacing=1 class='table'><tr style='background:gray'><th>General Info</th><th>Personal Info</th> <th>Display Pic</th></tr> <table> <tr> <tr><td rowspan='1'>"; if($r['personal'] == ON) { print " <div style='position:relative;left:300px;top:0px;'> [b]Name:[/b] {$r['name']} [b]Last Name:[/b] {$r['last']} [b]Age:[/b] {$r['age']} [b]Aim Of The Game:[/b] {$r['aog']} [b]MSN:[/b] {$r['msn']} [b]AIM:[/b] {$r['aim']} [b]AOL:[/b] {$r['aol']} [b]Yahoo:[/b] {$r['yahoo']} "; } else if($r['personal'] == OFF) { print " This Person Dose Not Want To Share There Personal Details"; } print " <table cellspacing='1' border='0' cellpadding='3' <tr background='tablegrad.png'><th></table>"; { } print " <tr><td> <div style='position:relative;left:-0px;top:-310px;'> [b] Name: {$r['username']} [{$r['userid']}] User Level: $userl Duties: {$r['duties']} Gender: {$r['gender']} Signed Up: $sup Last Active: $lon Last Action: $str Last Login: $str2 Online: $on [b]Days Old:[/b] {$r['daysold']} Days Old Location: {$r['cityname']}</td><td> <div style='position:relative;left:-165px;top:80px;'> "; echo " <table width=100% cellspacing=1 class='table'><tr style='background:gray'><th>Financial Info</th><th>User links</th> <th>Physical Info</th><th>Staff Notes</th> <table> <tr> <tr><td rowspan='1'>"; print " <div style='position:relative;left:40px;top:-50px;'> [b] Money: \${$r['money']} Crystals: {$r['crystals']} Property: {$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 " <div style='position:relative;left:479px;top:-220px;'> [img={$r[]"; } else { print " <div style='position:relative;left:200px;top:-140px;'> This user has no display pic!"; } $sh=($ir['user_level'] >1) ? "Staff Info" : " "; print " <tr><td><div style='position:relative;left:324px;top:-310px;'>[b]Level: {$r['level']} Health: {$r['hp']}/{$r['maxhp']} gang: "; if($r['gang']) { print "[url='gangs.php?action=view&ID={$r[']{$r['gangNAME']}[/url]"; } { print ""; } 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]"; } if($r['stds']) { print "<font color=yellow>Has A STD</font> "; } print " </td><td><div style='position:relative;left:85px;top:-205px;'>[[url='mailbox.php?action=compose&ID={$r['][b]Send Mail[/url]] "; $marq=$db->query("SELECT iv.*,i.*,it.* FROM inventory iv LEFT JOIN items i ON iv.inv_itemid=i.itmid LEFT JOIN itemtypes it ON i.itmtype=it.itmtypeid WHERE iv.inv_userid=$userid AND it.itmtypename='$type'"); if($db->num_rows($marq) and $ir['married'] == 0) { print " [[url='propose.php?ID={$r[']Propose[/url]] "; } print "[[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='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]]"; } if($ir['donatordays'] > 0) { print " [[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 " <div style='position:relative;left:90px;top:0px;'> <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'> <div style='position:relative;left:150px;top:-320px;'> [b]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>"; } } function checkblank($in) { if(!$in) { return "N/A"; } return $in; } print "</td></tr> "; print " <table width=100% cellspacing=1 class='table'><tr style='background:gray'><th>Profile Signature</th> <tr><td rowspan='1'>"; if($r['signature']) { print "{$r['signature']}"; } else { print "[b]This User has no Profile Signature[/b]"; } { } print"</table>"; $h->endpage(); ?>
  6. Re: Viewuser problem I tried again to fix it but failed anyone know what the problem could be and how to fix it..
  7. Hello i hated the normal v2 viewuser.php so i coded my own when i go on my user name it bes proper like what i have coded proper screenshot: http://img137.imageshack.us/my.php?imag ... robqz8.gif and on this screenshot its not proper its all over the place can you tell me what the problem could be and how to fix it please not proper screenshot http://img231.imageshack.us/my.php?imag ... ob1ua8.gif
  8. Re: [V2] Credit Card Mod [V2] I love this mod mate well done and keep up the good work :)
  9. Re: Guess the next poster Hmm noPE :x -MATT- next
  10. Re: Where are you from? Cool matt am from preston too i live in deepdale where do u live
  11. Re: Where are you from? cool you people live in nice places :-P
  12. Re: Where are you from? lol thank you for your reply wating for more replys :-P
  13. Yo everyone i am a bit bored so said to my self lots make a topic saying where are you from?? Am from england uk city preston Where are you from?? :roll:
  14. Re: Whats your Favourite Sport! dont know you dont it might be :wink: :wink:
  15. Re: Whats your Favourite Sport! we'll see about that you dont know you can get hit in the balls too whites playing football any day any time :mrgreen:
  16. Re: Whats your Favourite Sport! ouch ouch lol
  17. Re: Whats your Favourite Sport! lol well i've never been hit in the balls to whites playing cricket so how can it be me lol
  18. Re: Whats your Favourite Sport! You dunno it mite be the matt who is posting lol :|
  19. Re: Whats your Favourite Sport! Lol this makes me laugh getting hit in the balls by a football http://www.youtube.com/watch?v=Wje6SC3zT5A
  20. Re: Whats your Favourite Sport! You make me laugh
  21. Re: Whats your Favourite Sport!   Hope you can bat a Ball, And make sure you use Protection, You never no where the BALL Will end up   na its ok i have all the protection got cricket training tomrw haha
  22. Re: Whats your Favourite Sport!   Lmao na worest sport in the world, 1/9 chance of getting hit in the balls + They all were white uniform like there going to a tea party, and there all pussies going in when it rains.   I agree with this reply   chance of getting hit in the balls,,+ They all were white uniform like there going to a tea party, and there all pussies going in when it rains.
  23. Re: Whats your Favourite Sport! Nope the only think i like in cricket is watching good matches and batting and when hitting the ball lol
  24. Re: Xbox 360 vs Playstation 3 I've had PS3 but selled it because i didn't like it so then i selled it and bought xbox360 live and i enjoy playing xbox360 :evil:
  25. Re: Whats your Favourite Sport! forgot to say i like cricket too am always good at cricket lol
×
×
  • Create New...