Jump to content
MakeWebGames

Ghetto

Members
  • Posts

    413
  • Joined

  • Last visited

    Never

Everything posted by Ghetto

  1. Re: Counting (nr game) 1219
  2. Re: Counting (nr game) 1216
  3. Re: [mccode] Advanced Warning System Nope heres the proper V2 of it :lol: warnings.php include 'globals.php'; $is=$db->query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid") or die(mysql_error()); $ir=mysql_fetch_array($is); if($ir['user_level'] < 2) { die("Staff Only!"); } switch($_GET['action']) { case 'add': addwarning(); break; case 'addsub': addwarning2(); break; case 'del': deletewarning(); break; case 'edit': editwarning(); break; case 'edit2': editwarning2(); break; default: index(); break; } function index() { global $ir,$h,$db,$userid; print "<h3>Viewing Warnings For ID: <a href=viewuser.php?u={$_GET['user']}>{$_GET['user']}</a></h3> "; $q=$db->query("SELECT w.*,u.* FROM warnings w LEFT JOIN users u ON w.warner=u.userid WHERE w.user={$_GET['user']} ORDER BY w.time DESC"); print "<center><font color=red><h4>Total Warnings: ".mysql_num_arrays($q)." </h4> [<a href=warnings.php?action=add&userid={$_GET['user']}>Add Warning</a>] <table width=90% border=1 align=center><tr><tr style='background: gray'><td>Warned By:</td><td width=40%>Reason</td><td>Date</td><td>Links</td></tr>"; while($r=mysql_fetch_array($q)) { $warned=date('F j, Y, g:i:s a',$r['time']); print "<tr><td><a href=viewuser.php?u={$r['userid']}>{$r['username']}</a></td><td>{$r['warnedfor']}</td><td>$warned</td><td>"; if($ir['userid'] == 1) { print "[<a href=warnings.php?action=del&ID={$r['id']}>Remove</a>] "; } if($ir['warner'] == $userid || $userid == 1) { print "[<a href=warnings.php?action=edit&ID={$r['id']}>Edit</a>]"; } print "</td></tr>"; }} function addwarning() { global $ir,$h,$db,$userid; print "<form action=warnings.php?action=addsub method=post> <input style='visibility: hidden' name=user value={$_GET['userid']}> Reason: <textarea rows=7 cols=30 name=reason></textarea> <input type=submit value='Add warning'></form>"; } function addwarning2() { global $ir,$h,$db,$userid; $_POST['user']=($_POST['user']); $_POST['reason']=($_POST['reason']); $db->query("INSERT INTO warnings VALUES ('','{$_POST['user']}','{$_POST['reason']}','$userid',unix_timestamp())"); $checkfed=$db->query("SELECT * FROM warnings WHERE user='{$_POST['user']}'"); if(mysql_num_arrays($checkfed) > 5) { $db->query("UPDATE users SET fedjail=1 WHERE userid='{$_POST['user']}'"); $db->query("INSERT INTO fedjail VALUES('','{$_POST['user']}','300','$userid','Reached 6 warnings in game. Account jailed.')"); } print "Warning Added! [*]<a href=viewuser.php?u={$_POST['user']}>Back to users profile</a>"; } function deletewarning() { global $ir,$h,$db,$userid; if($ir['userid'] != 1) { die("Owner Only");} $db->query("DELETE FROM warnings WHERE id={$_GET['ID']}"); print "Warning Deleted"; } function editwarning() { global $ir,$h,$db,$userid; $target=$_GET['ID']; $edit=$db->query("SELECT * FROM warnings WHERE id='$target'"); while($r=mysql_fetch_array($edit)) { if($r['warner'] != $userid || $userid != 1) { die("You never set this warning, therefore cannot edit it"); } print "<h3>Edit Warning</h3> <form action=warnings.php?action=edit2 method=post> <input style='visibility: hidden;' name=id value=$target> <textarea rows=7 cols=30 name=reason>{$r['warnedfor']}</textarea> <input type=submit value='Edit Warning'></form>"; } } function editwarning2() { global $ir,$h,$db,$userid; $db->query("UPDATE warnings SET warnedfor={$_POST['reason']} WHERE id={$_POST['id']}"); print "Warning Updated. [*]<a href=index.php>Home</a>"; } ?>   in viewuser.php find Days Old: {$r['daysold']} "; Add under $w=$db->query("SELECT * FROM warnings WHERE user={$r['userid']}"); print " <font color=red>Warnings: ".$db->num_rows($w)." </font>"; if($ir['user_level'] > 1) { print "|| [<a href=warnings.php?action=index&user={$r['userid']}>Manage</a>]"; }
  4. Re: [mccode] Advanced Warning System Ive converted this for V2 ill post it soon if anyone wants it that much.
  5. Re: [mccode] Close page system Heres a buggy V2 version of it :-( In header.php find include "mainmenu.php"; global $ir,$c; print '</td><td width="2" class="linegrad"> </td><td width="100%" valign="top"> <center>'; if($ir['hospital']) { print "[b]NB:[/b] You are currently in hospital for {$ir['hospital']} minutes. "; } if($ir['jail']) { print "[b]NB:[/b] You are currently in jail for {$ir['jail']} minutes. "; } }   Replace with include "mainmenu.php"; global $ir,$c; print '</td><td width="2" class="linegrad"> </td><td width="100%" valign="top"> <center>'; if($ir['hospital']) { print "[b]NB:[/b] You are currently in hospital for {$ir['hospital']} minutes. "; } if($ir['jail']) { print "[b]NB:[/b] You are currently in jail for {$ir['jail']} minutes. "; } $page=$_SERVER['REQUEST_URI']; $close=$db->query("SELECT * FROM closedpages WHERE url=$page"); while($r=mysql_fetch_array($close)) { if(mysql_num_rows($close) > 0 && $r['for'] == Public && $ir['user_level'] == 1) { die("This page has been closed for the Public. The reason for this is: {$r['reason']}."); } else if(mysql_num_rows($close) > 0 && $r['for'] == Staff && $ir['user_level'] > 1 && $ir['user_level'] != 2) { die("This page has been closed for Staff. The reason for this is: {$r['reason']}."); } else if(mysql_num_rows($close) > 0 && $r['for'] == All && $r['user_level'] != 2) { die("This page has been closed for everyone. The reason for this is: {$r['reason']}."); } print " "; } }   In smenu.php find > [url='staff_special.php?action=massmailer']Mass mailer[/url] > [url='staff_special.php?action=stafflist']Staff List[/url]   Add under > [url='staff_special.php?action=closepage']Close Pages[/url] > [url='staff_special.php?action=openpage']Open Pages[/url]   In staff_special.php find case 'userlevelform': userlevelform(); break; case 'massmailer': massmailer(); break;   Add under it case 'closepage': closepage(); break; case 'closepagedone': closepagedone(); break; case 'openpage': closepage(); break; case 'openpagedone': closepagedone(); break;   Later find $h->endpage(); ?>   Add befor it function closepage() { global $ir,$db,$h,$r,$userid; print "<h3>Close Page Function</h3> <form action=staff_special.php?action=closepagedone method=post> Page URL: <input type=text name=url> (Example: /usersonline.php) (Example: /index.php) Reason for closure: <textarea name=reason rows=7 cols=30></textarea> Close for: <select name=for> <option value=Public>Public</option> <option value=Staff>Staff</option> <option value=All>Everyone (Except owner)</option> </select> <input type=submit value='Close Page'>"; } function closepagedone() { global $ir,$db,$h,$userid; $db->query("INSERT INTO closedpages VALUES ('','{$_POST['url']}','{$_POST['reason']}','{$_POST['for']}')"); print "Page has been closed! [b]Reason:[/b] {$_POST['reason']} [b]Closed for:[/b] {$r['for']}"; } function openpage() { global $ir,$db,$h,$userid; print "<h3>Opening Page Function</h3> <form action='staff_special.php?action=openpagedone' method='post'>"; $t=$db->query("SELECT * FROM closedpages ORDER BY url ASC"); print "Page URL: <select name=url>"; while($a = mysql_fetch_array($t)){ print "<option value={$a['id']}>{$a['url']}</option>"; } print "</select> <input type='submit' value='Open Page' /></form>"; } function openpagedone() { global $ir,$db,$h,$userid; $db->query("DELETE FROM closedpages WHERE id={$_POST['id']}"); print "Page opened!"; }
  6. Re: Counting (nr game) 1205
  7. Re: [mccode] Annoucement Mod Here it is :lol: Fine in mainmenu.php if($ir['new_announcements']) { print "[url='announcements.php']New Announcement(s) ({$ir['new_announcements']})[/url] "; } else { print "[url='announcements.php']Announcements[/url] "; }   Replace with if($ir['new_annoucement']) { print "[url='ann.php']Announcements ({$ir['new_annoucement']})[/url] "; } else { print "[url='ann.php']Announcements[/url] "; }   That will make it so it will tell you when theres a new announcements so it will be like Announcements (1) when you post a new announcement.
  8. Re: [mccode] Annoucement Mod You need to change the link on the mainmenu.php to ann.php instead of announcements.php and you will need to add the (0)/(1) to it yourself. If i get round to it ill post it here.
  9. Re: [mccode] Annoucement Mod This is a tested and working version 2 of this mod. ann.php <?php include 'globals.php'; if($ir['user_level'] == 2 and $_GET['ID']) { $select_Q=$db->query("SELECT * FROM `annoucements` WHERE `id` = '$_GET[iD]'"); if(mysql_num_rows($select_Q)== 0) { die("I'm sorry but the database cannot find an annoucement with that ID! [url='ann.php']Back[/url] "); } $_R=mysql_fetch_array($select_Q); if($_GET['action'] == "delete") { if($_GET['coNf'] == "Y") { $db->query("DELETE FROM `annoucements` WHERE `id` = '$_GET[iD]'"); $db->query("DELETE FROM `annoucement_discussions` WHERE `annoucement` = '$_GET[iD]'"); print "Annoucement Deleted! [url='ann.php']Back[/url]"; exit(); } else { print "<h3>Confirmation</h3> Are you 100% sure you want to remove this annoucement? You cannot retrieve it afterwards [url='ann.php?action=delete&ID=$_GET[iD]&coNf=Y']Yes, delete it now![/url] [url='ann.php']No, don't delete it[/url] "; exit; } } else if($_GET['action'] == "modify") { if($_POST['annoucement'] and $_POST['from']) { if($_POST['discussions'] == 1) { $dis=1; } else { $dis=0; } $db->query("UPDATE `annoucements` SET `annoucement` = '$_POST[annoucement]', `from` = '$_POST[from]', `discussion` = '$dis' WHERE `id` = '$_GET[iD]'"); print "Annoucement Updated! [url='ann.php']Back[/url] "; exit(); } else { if($r['discussion'] == 1) { $diss="checked"; } else { $diss=""; } print "<h3>Modify Annoucement</h3> <form action='ann.php?ID=$_GET[iD]&action=modify' method='post'>[b]Annoucement[/b] : <textarea name='annoucement' cols=30 rows=8>$_R[annoucement]</textarea> [b]From[/b] : <font color=red>$ir[username]</font><input type=hidden name='from' value='$ir[userid]'> Discussions Allowed : <input type='checkbox' name='discussions' value='1' $diss> <input type=submit value='Modify!'></form> "; exit(); } } } $st=$_GET['st']; if($st) { $st=(int)($_GET['st']); } else { $st=0; } $q=$db->query("SELECT * FROM `annoucements` ORDER BY `time` DESC LIMIT $st,5"); if(mysql_num_rows($q) >= 6) { if($_GET['st']) { $next=$st+5; } else { $next=10; } $netext="[size="1"][url='ann.php?st=$next']Next[/url][/size]"; $ne=1; } if($_GET['st'] > 5) { $previous=$st-5; $prtext="[size="1"][url='ann.php?st=$previous']Previous[/url][/size]"; $pr=1; } print "<center><h3>Announcements</h3> "; if($ir['user_level'] == 2) { print "[size="1"][url='post_new_ann.php']Post New Annoucement[/url][/size] "; } print "[b]Announcements are posted here and can be discussed by the fellow members[/b] "; if($ne) { print_r($netext); } if($pr) { print_r($prtext); } if($pr and $ne) { print(" <hr />"); } print "<table width=95% class=table> <TR><th>Details</th><th>Topic</th><th>Announcement</th><th>Discussions</th>"; if($ir['user_level'] == 2) { print "<th>Delete</th>"; $colspan=5; } else { $colspan=4; } print "</TR>"; if(mysql_num_rows($q) == 0) { print "<tr><td colspan={$colspan}>There are currently no annoucements posted.</td></tr>"; } while($r=mysql_fetch_array($q)) { $get_U=$db->query("SELECT * FROM `users` WHERE `userid` = '$r[from]'"); if(mysql_num_rows($get_U)) { $get_R=mysql_fetch_array($get_U); } $get_Username=$get_R['username']; $get_DQ=$db->query("SELECT COUNT(*) AS collected FROM annoucement_discussions WHERE annoucement='$r[id]'"); $get_DR=mysql_fetch_array($get_DQ); $get_Discussions=$get_DR[collected]; print "<tr><td>[b]Posted By[/b] : <font color=red>[url='viewuser.php?u=$r[from]']$get_Username[/url]</font> "; if($r['discussion'] == 1) { print "[b]Discussions Posted[/b] : ".number_format($get_Discussions)." "; } print "[b]Views[/b] : ".number_format($r['views'])." [b]Date Posted[/b] : ".date("F j, Y",$r['time'])." </td><td>$r[topic]</td><td><font size=-1>".str_replace('<', '', $r['annoucement'])."</font></td><td>"; if($r['discussion']) { print "[url='viewdiscussions.php?d_ID=$r[id]']View Discussions[/url] [url='viewdiscussions.php?do=publish&d_ID=$r[id]']Publish Discussion[/url] "; } else { print "[b]Discussion's are not enabled for this annoucement[/b] "; } print "</td>"; if($ir['user_level'] == 2) { print "<td>[url='ann.php?action=delete&ID=$r[id]']Delete[/url] [url='ann.php?action=modify&ID=$r[id]']Modify[/url] </td>"; } print "</tr><tr><td colspan={$colspan}><hr /></td></tr>"; $db->query("UPDATE `annoucements` SET `views` = `views` + '1' WHERE `id` = '$r[id]'"); } print "</table></center>"; $db->query("UPDATE `users` SET `new_annoucement` = '0' WHERE `userid` = '$userid'"); $h->endpage(); ?>   viewdiscussions.php <?php include 'globals.php'; if($_GET['do'] == "publish" and $_GET['d_ID']) { if($_POST['message']) { $_POST['message']=str_replace('"', '\"', $_POST['message']); $time=time(); $db->query("INSERT INTO `annoucement_discussions` (`id`, `from`, `annoucement`, `time`, `message`) VALUES ('', '$ir[userid]', '$_GET[d_ID]', '$time', '$_POST[message]');"); print "Discussion Reply Posted! [url='viewdiscussions.php?d_ID=$_GET[d_ID]']Back[/url] "; exit(); } else { print "<h3>Post New Discussion</h3> <form action='viewdiscussions.php?d_ID=$_GET[d_ID]&do=publish' method='post'><table width=80% class=table><tr><th>[b]Message[/b]</th><td><textarea cols=30 rows=10 name='message'></textarea></td></tr><tr><td colspan=2><input type=submit value='Post Message'></td></tr></table></form>"; exit(); } } if($ir['user_level'] == 2 and $_GET['ID_delete']) { $db->query("DELETE FROM `annoucement_discussions` WHERE `id` = '$_GET[iD_delete]'"); print "You have deleted the discussion! [url='viewdiscussions.php?d_ID=$_GET[d_ID]']Back[/url] "; exit(); } if(!$_GET['d_ID']) { die("I'm sorry, You need to collect the d_ID data before visiting here! [url='ann.php']Back[/url] "); } $q=$db->query("SELECT * FROM `annoucements` WHERE `id` = '$_GET[d_ID]'"); if(mysql_num_rows($q) == 0) { die("I'm sorry theres no annoucement with that ID! [url='ann.php']Back[/url] "); } $r=mysql_fetch_array($q); $st=0; print "<h3>Discussions</h3>"; if($r['discussion'] == 0) { die("Discussions have not been enabled for this annoucement."); } $get_DQ=$db->query("SELECT * FROM annoucement_discussions WHERE annoucement = $_GET[d_ID] ORDER BY time DESC LIMIT 70;"); if(mysql_num_rows($get_DQ)== 0) { die("There are no discussions posted [url='viewdiscussions.php?do=publish&d_ID=$_GET[d_ID]']Post a Reply[/url] [url='ann.php']Back[/url] "); } print "[b]Showing last 70 discussions ordered by time in descending.[/b] "; print "<table width=90% class=table><tr><th>Details</th><th>Message</th>"; while($get_R=mysql_fetch_array($get_DQ)) { $u_Q=$db->query("SELECT * FROM `users` WHERE `userid` = '$get_R[from]'"); $u_R=mysql_fetch_array($u_Q); if($u_R['donatordays']) { $u_R['username'] = "<font color=brown>{$u_R['username']}</font>";$d="[img=/img/d.gif]"; } print "<tr><td>[b]From:[/b] <font color=red>$u_R[username]</font> $d"; print " [b]Posted On[/b] : ".date("F j, Y",$get_R['time'])." "; if($u_R['laston'] >= time()-15*60) { print "[b]Status[/b] : <font color=green>Online</font> "; } else { print "[b]Status[/b] : <font color=red>Offline</font> "; } if($ir['user_level'] == 2) { print "[b]Delete[/b] : [url='viewdiscussions.php?d_ID=$_GET[d_ID]&ID_delete=$get_R[id]']Delete[/url] "; } print "</td><td>$get_R[message]</td></tr>"; } print "</table>"; $h->endpage(); ?>   post_new_ann.php <?php include 'globals.php'; print "<h3>Post New Annoucement</h3> "; if($ir['user_level'] != 2) { die("You are not a/an admin, Please go away! [url='ann.php']Back[/url]"); } //-- topic, annoucement,discussion if($_POST['topic'] and $_POST['annoucement'] and $_POST['discussion']) { if($_POST['discussion'] == "Y") { $diss_on=1; } else { $diss_on=0; } $time=time(); $db->query("INSERT INTO `annoucements` (`id`, `topic`, `annoucement`, `from`, `time`, `views`, `discussion`) VALUES ('NULL', '$_POST[topic]', '$_POST[annoucement]', '$ir[userid]', '$time', '0', '$diss_on');"); $db->query("UPDATE `users` SET `new_annoucement` = `new_annoucement` + '1' WHERE `userid` = '$ir[userid]'"); print "Annoucement Posted! [url='ann.php']Back[/url]"; } else { print "<form method='post' action='post_new_ann.php'><table width=80% border=1><tr><th>Topic</th><td><input type='text' name='topic' size='30'></td></tr><tr><th>Annoucement</th><td><textarea cols=30 rows=8 name='annoucement'></textarea></td></tr><tr><th>Allow Discussions [size="1"]If a discussion board should be opened.[/size]</th><td><select name='discussion'><option value='Y'>Yes</option><option value='N'>No</option></select></td></tr><tr><td colspan=2><input type=submit value='Post Annoucement'></td></table></form>"; } $h->endpage(); ?>
  10. Re: Counting (nr game) 1201
  11. Re: Counting (nr game) 1194 :-D
  12. Re: Number format Unless your running V2 then its, \$$t".money_formatter($ir['money'],'')."
  13. Re: [mccode] Annoucement Mod   Some of thats wrong, mysql_fetch_array = $db->fetch_row mysql_fetch_rows = $db->fetch_rows
  14. Re: [mccode] mailbox with smilies Just put the images in a folder called 'smilies'.
  15. Re: Help with header.php tri "; if($ir['jail'] > 0) { print " <center>[img=JAILPIC.jpg]</center>"; } else if($ir['hospital'] > 0) { print " <center><img src=HOSPITALPIC.jpg' /></center>"; } else if($ir['jail'] == 0 && $ir['hospital'] == 0) { print " <center>[img=MAINPIC.jpg]</center>"; } print"
  16. Re: Help with header.php You have to put you pictures names in there like banner.jpg, jailpic.jpg ect. Where it says JAILPIC.jpg, HOSPITALPIC.jpg and MAINPIC.jpg.
  17. Re: Help with header.php find [img=title.jpg]   replace with "; if($ir['jail'] > 0) { print " <center>[img=JAILPIC.jpg]</center>"; } else if($ir['hospital'] > 0) { print " <center><img src=HOSPITALPIC.jpg' /></center>"; } else { print " <center>[img=MAINPIC.jpg]</center>"; } print"
  18. Re: [mccode] mailbox with smilies Here you go :-P
  19. Re: [mccode] mailbox with smilies Here it is for V2. Find function mail_send()   Replace the whole function with function mail_send() { global $db,$ir,$c,$userid,$h; $subj=str_replace(array("\n"),array(" "),strip_tags($_POST['subject'])); $msg=str_replace(array("\n"),array(" "),strip_tags($_POST['message'])); if($_POST['user1'] && $_POST['user2']) { die("Please do not select a contact AND enter a username, only do one. [url='mailbox.php']> Back[/url]"); } if(!$_POST['user1'] && !$_POST['user2']) { die("You must select a contact or enter a username. [url='mailbox.php']> Back[/url]"); } $codes = array(":)", ";)", ":o",":O", ":d",":D", ":s", ":S", ":(", ":red", ":clown", ":bashful", ":x", ":green", ":|", ";(", ":]", ":horny", ":cool"); $images = array("<img src=/smilies/smiley1.gif>", "<img src=/smilies/smiley2.gif>", "<img src=/smilies/smiley3.gif>", "<img src=/smilies/smiley3.gif>", "<img src=/smilies/smiley4.gif>", "<img src=/smilies/smiley4.gif>", "<img src=/smilies/smiley5.gif>", "<img src=/smilies/smiley5.gif>", "<img src=/smilies/smiley6.gif>", "<img src=/smilies/smiley7.gif>", "<img src=/smilies/smiley8.gif>", "<img src=/smilies/smiley9.gif>", "<img src=/smilies/smiley10.gif>", "<img src=/smilies/smiley11.gif>", "<img src=/smilies/smiley12.gif>", "<img src=/smilies/smiley13.gif>", "<img src=/smilies/smiley14.gif>", "<img src=/smilies/smiley15.gif>", "<img src=/smilies/smiley16.gif>"); $newmsg = str_replace($codes, $images, $msg); $to=($_POST['user1']) ? $_POST['user1'] : $_POST['user2']; $q=$db->query("SELECT userid FROM users WHERE username='{$to}'"); if($db->num_rows($q)==0) { die("You cannot send mail to nonexistant users. [url='mailbox.php']> Back[/url]"); } $to=$db->fetch_single($q); $db->query("INSERT INTO mail VALUES ('',0,$userid,$to,unix_timestamp(),'$subj','$newmsg')"); $db->query("UPDATE users SET new_mail=new_mail+1 WHERE userid={$to}"); print "Message sent. [url='mailbox.php']> Back[/url]"; }   Find function mail_compose()   Replace the whole function with function mail_compose() { global $db,$ir,$c,$userid,$h; print "<form action='mailbox.php?action=send' method='post'> <table width=75% cellspacing=1 class='table'> <tr> <td>Contact to send to:</td> <td>"; $q=$db->query("SELECT c.*, u.username FROM contactlist c LEFT JOIN users u ON c.cl_ADDED=u.userid WHERE c.cl_ADDER={$userid} ORDER BY u.username ASC"); if($db->num_rows($q) == 0) { print "You have no contacts!"; } else { print "<select name='user1' type='dropdown'><option value=''><select a contact...></option>"; while($r=$db->fetch_row($q)) { print "<option value='{$r['username']}'>{$r['username']}</option>"; } print "</select>"; } if($_GET['ID']) { $user=$db->fetch_single($db->query("SELECT username FROM users WHERE userid={$_GET['ID']}")); } print "</td></tr><tr> <td>[b]OR[/b] Enter a username to send to:</td><td><input type='text' name='user2' value='{$user}' /></td></tr><tr> <td>Subject:</td> <td><input type='text' name='subject' /></td></tr><tr> <td>Message:</td> <td><textarea rows=5 cols=40 name='message'></textarea> [img=/smilies/smiley1.gif] = :) [img=/smilies/smiley2.gif] = ;) [img=/smilies/smiley3.gif] = :o [img=/smilies/smiley4.gif] = :D [img=/smilies/smiley5.gif] = :s [img=/smilies/smiley6.gif] = :( [img=/smilies/smiley7.gif] = :red [img=/smilies/smiley8.gif] = :roll [img=/smilies/smiley9.gif] = :x [img=/smilies/smiley10.gif] = :green [img=/smilies/smiley11.gif] = :| [img=/smilies/smiley12.gif] = ;( [img=/smilies/smiley13.gif] = :] [img=/smilies/smiley14.gif] = :horny [img=/smilies/smiley15.gif] = :cool</td></tr><tr> <td colspan=2><input type='submit' value='Send' /></td></tr></table></form>"; if($_GET['ID']) { print " <table width=75% border=2><tr><td colspan=2>[b]Your last 5 mails to/from this person:[/b]</td></tr>"; $q=$db->query("SELECT m.*,u1.username as sender from mail m left join users u1 on m.mail_from=u1.userid WHERE (m.mail_from=$userid AND m.mail_to={$_GET['ID']}) OR (m.mail_to=$userid AND m.mail_from={$_GET['ID']}) ORDER BY m.mail_time DESC LIMIT 5",$c); while($r=$db->fetch_row($q)) { $sent=date('F j, Y, g:i:s a',$r['mail_time']); print "<tr><td>$sent</td> <td>[b]{$r['sender']} wrote:[/b] {$r['mail_text']}</td></tr>"; } print "</table>"; } }
  20. Re: Error Message when players hackign other players accounts... What version are you using?
  21. Re: Hitman-City Even cheak the mail logs on your game!!!! people said back to me "yeah im IP baned fot adversising this game on there!" I know you 'Michael' chatted to you a few times on MSN Untill you get your d***head spammers on my game!!!!. So dont pre judge me like everyone elce on this forum 'kraig' < good person really :-D. And im not the person 'copping other games games' nuclear war' :| lmfao. P.S sorry for the anger im drunk at the moment so what do you expect :-P lol
  22. Re: Hitman-City You can shut the fuck up!!!! you got people to spam my game so i was just retuning the favor... lmao :lol:
  23. Re: Personal Detals [free][V2] It is for V2 as it says in the name Personal Detals [free][V2] lol.
  24. Re: [mccode] Owner Panel - Simple Not so much rewriting... Ive used the orgianal V2 staff functions but im adding/creating more and adding more stuff to the origanal ones.
  25. Re: donator day market for v2 free   He did cmID ect is for the Crystal Market. So its clearly just the crystal market converted.
×
×
  • Create New...