Jump to content
MakeWebGames

iseeyou94056

Members
  • Posts

    691
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by iseeyou94056

  1. Re: Counting (nr game) 1423
  2. Re: [Free] [v1] User Verification [Captcha] i mean what ever he forgot there is also no pic or nothin
  3. Re: [Free] [v1] User Verification [Captcha] could u do it
  4. Re: [Free] [v1] User Verification [Captcha] can you add what u did not add?
  5. Re: [mccode] mailbox with smilies this dont work beacuse after u send a mess with one all it does is send the :( or what ever u put
  6. Re: [mccode] Attack.php addons when i added this i got a error so i took it off
  7. Re: Mod Discussion oxi if you do that free tell me
  8. Re: what is this +1
  9. Re: what is this o ok thanks lol i feel stupid
  10. Top site url with trailing slash: Home page url with trailing slash:   what are these and whats the difference
  11. Re: [mccode] voting Pimped Out it still say i did not vote after i did
  12. Re: Free New City Mod For v1 and lite still dont work
  13. Re: Free New City Mod For v1 and lite this dont make a new one its not workin
  14. Re: Cash Send Logs when i went to view them nothin way there even after i sent to someone
  15. Re: Email change for preferences.php still does same thing
  16. Re: [V1] FREE! ID refiller/counter 1 prob if i delete someone wont the user it fills the thing with wont there id change
  17. Re: Email change for preferences.php takes me to page cannot be displayed
  18. Re: Cash Send Logs ya but they did not work
  19. Re: Cash Send Logs works thanks +1
  20. Re: Change password thanks +1
  21. my users cant change there password it is mested up can someone post a working one for me please
  22. Re: Drug Place works great
  23. Re: FREE Bug Tracker Mod v2 tell me if i am wrong create file bugtracker.php <?php /*************************** Bug Tracker (1.0) made by oxidati0n -- Designed to make sure your bug asking days are over, Your players can efficiently report them, for those buggy players - It has most hacks removed. Such as HTML block, Javascript and PHP! Requires PHP version 4.44 minimum for this code to work! Created by oxidati0n! ***************************/ include "globals.php"; $sd=$db->("SELECT * FROM `bugtracker` WHERE `bt_from` = '$userid'",$c); if($_GET['x'] == "add" and $db->_num_rows($sd) < 7) { if($_POST['urgency'] and $_POST['description']) { //Secure the webpage. My favourite :> $_POST['description']=str_replace("/n", " ", strip_tags($_POST['description'])); $time=time(); //Insert the time log. $ip=$_SERVER['REMOTE_ADDR']; //The users IP - logged. ha ha! $nf="Not Fixed"; //The text for startup $db->_query("INSERT INTO `bugtracker` (`bt_id`, `bt_posted`, `bt_from`, `bt_description`, `bt_read`, `bt_replyfrom`, `bt_reply_one`, `bt_replytext`, `bt_urgency`, `bt_iplogged`) VALUES ('NULL', '$time', '$userid', '$_POST[description]', '0', '0', '$nf', 'N/A', '$_POST[urgency]', '$ip');",$c) or die("Your report couldn't be processed at the moment, Either contact a admin or wait until tommorrow. Thanks and sorry for any inconvenience caused [url='bugtracker.php']Back[/url] "); print "Your bug report has initially been added! [url='bugtracker.php']Back[/url] "; $h->endpage(); exit(); } else { print "[b]Submit your report[/b] <font color=red>Your IP logged: ".$_SERVER['REMOTE_ADDR']."</font> Your IP is logged for our benefits and yours, To make sure that you are posting a safe and clean spaced report! Once reported, your report will be shown as hidden to any other player except you. NOTE: This is only to report bugs, If it's related to players open a player dispute. Bugs are errors/spelling mistakes, php disruption or PHP errors <form action='bugtracker.php?x=add' method='post'> Urgency: <select name='urgency'><option value='Brief'>Brief</option> <option value='Basic'>Basic</option><option value='Vital'>Vital</option></select> Description (include as much detail as possible, links will be a help aswell): <textarea name='description' cols=40 rows=11></textarea> <input type=submit value='Submit Bug Report'></form> "; $h->endpage(); exit(); } } else if($ir['user_level'] > 1 and $_GET['x'] == "remove" and $_GET['report']) { $db->_query("DELETE FROM `bugtracker` WHERE `bt_id` = '$_GET[report]'",$c); print "Bug Report Row Removed [url='bugtracker.php']Back[/url] "; $h->endpage(); exit(); } elseif($ir['user_level'] > 1 and $_GET['x'] == "reply" and $_GET['report']) { if($_POST['text']) { //Make sure the text is ready to go, clean and safe. $text=str_replace(array("<",">","/n"),array("","",""),$_POST['text']); $db->_query("UPDATE `bugtracker` SET `bt_replyfrom` = '$userid', `bt_replytext` = '$text' WHERE `bt_id` = '$_GET[report]'",$c); print "Bug Report Row Edited [url='bugtracker.php']Back[/url] "; $h->endpage(); exit(); } else { print "[b]Make a reply[/b] <form action='bugtracker.php?x=reply&report=$_GET[report]' method='post'> Reply: <textarea name='text' cols=40 rows=11>Your reply here...</textarea> <input type=submit value='Submit Reply!'> </form>"; $h->endpage(); exit(); } } $_GET['st'] = abs((int) $_GET['st']); $st=($_GET['st']) ? $_GET['st'] : 0; print "<center><h3>Bug Tracker</h3>"; $sd=$db->_query("SELECT * FROM `bugtracker` WHERE `bt_from` = '$userid'",$c); if($db->_num_rows($sd) < 7) { print "[url='bugtracker.php?x=add'][Add a Report][/url] "; } print "[b]You can report several bug reports[/b] "; if(!$_GET['selectBug']) { $reports=$db->_num_rows(mysql_query("SELECT * FROM `bugtracker`",$c)); $shown=10; //How many rows should be shown in one row $pages=(int) ($reports/$shown)+1; if($membs % $shown == 1) { $pages--; } print "Pages: "; for($i=1;$i <= $pages;$i++) { $stl=($i-1)*$shown; print "[url='bugtracker.php?st=$stl']$i[/url] "; } } if($ir["user_level"] > 1) { $man="<th>Manage</th>"; $cols=8; $db->_query("UPDATE `bugtracker` SET `bt_read` = '1' WHERE `bt_read` = '0'",$c); } else { $cols=7; } print " <table width=90% border=1><tr><th colspan={$cols}>Viewing all reported bugs - </th></tr> <tr><th>Reported ID</th><th>From</th><th>Urgency</th><th>Status</th><th>Reply Comments</th><th>Description</th><th>Read</th>".$man."</tr>"; if(!$_GET['selectBug']) { $q=$db->_query("SELECT * FROM `bugtracker` ORDER BY `bt_posted` DESC LIMIT $st,10",$c); } else { $q=$db->_query("SELECT * FROM `bugtracker` WHERE `bt_id` = '$_GET[selectBug]' LIMIT 1;",$c); } if($db->_num_rows($q) == 0) { print "<tr><td colspan={$cols}>There are no current reports been posted.</td></tr>"; } while($r=$db->_fetch_row($q)) { if($r['bt_from'] == $userid or $ir['user_level'] >= 2) { $user_q=$db->_query("SELECT * FROM `users` WHERE `userid` = '$r[bt_from]'",$c); $p=$db->_fetch_row($user_q); if($r['bt_replyfrom'] > 0) { $user_q2=$db->_query("SELECT * FROM `users` WHERE `userid` = '$r[bt_from]'",$c); $d=$db->_fetch_row($user_q2); } $x=$r["bt_id"]; if($r['bt_read'] == 1) { $re="<font color=green>[b]Read[/b]</font>"; } else { $re="<font color=darkred>[b]No[/b]</font>"; } print "<tr><td align=center>".number_format($x)."</td><td align=center>[url='viewuser.php?u={$x}']".$p['username']."[/url] [".$p['userid']."]</td><td align=center>".$r['bt_urgency']."</td><td align=center>$r[bt_reply_one]</td><td align=center>"; if($r['bt_replyfrom'] > 0) { print "[b]".$r['bt_replytext']." [i]Replied from [url='viewuser.php?u=$d[userid]']$d[username][/url][/i]"; } else { print "You haven't been replied yet."; } print "</td><td align=center>".$r['bt_description']."</td><td align=center>".$re."</td>"; if($cols == 8) { print "<td align=center> <font color=darkred>IP Logged: [b]".$r['bt_iplogged']."[/b]</font> [url='bugtracker.php?x=remove&report={$x}']Remove[/url] [url='bugtracker.php?x=reply&report={$x}']Make Reply[/url] [url='mailbox.php?action=compose&ID={$p[']Mail User[/url] </td>"; } print "</tr>"; } else { print "<tr><td>Hidden</td><td>Hidden</td><td>Hidden</td><td>Hidden</td> <td>Hidden</td><td>Hidden</td><td>Hidden</td><td>Hidden</td></tr>"; } } print "</table></center> "; if(!$_GET['selectBug']) { print "Pages: "; for($i=1;$i <= $pages;$i++) { $stl=($i-1)*$shown; print "[url='bugtracker.php?st=$stl']$i[/url] "; } } $h->endpage(); ?>   next run the sql CREATE TABLE `bugtracker` ( `bt_id` INT( 11 ) NOT NULL auto_increment, `bt_posted` VARCHAR( 255 ) NOT NULL, `bt_from` INT( 11 ) NOT NULL, `bt_description` LONGTEXT NOT NULL, `bt_read` TINYINT( 2 ) NOT NULL, `bt_replyfrom` INT( 11 ) NOT NULL, `bt_reply_one` VARCHAR( 255 ) NOT NULL, `bt_replytext` LONGTEXT NOT NULL, `bt_urgency` VARCHAR( 255 ) NOT NULL, `bt_iplogged` VARCHAR( 255 ) NOT NULL, PRIMARY KEY (`bt_id`) ) TYPE=MYISAM ;
  24. Re: [MC codes V1 & V2] Page Loading Time works great thanks
  25. Re: [v1][FREE] DONATION PACKS TO ITEMS works great thanks +1
×
×
  • Create New...