Jump to content
MakeWebGames

AdamHull

Members
  • Posts

    443
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by AdamHull

  1. Thanks Mng I will give him a shout
  2. Hello I am currently working on way of the mafia script trying to make this a engine that will be realised (when I get the original owners permission) so currently this is just I'm beta. I am looking for some one to code me a graveyard script to save me time (willing to pay of course). So any help welcomed
  3. hi there i am wondering if any body is willoing to help me modify this script so that it works with mccodes v2 its a jail script   <link rel=stylesheet href=includes/in.css type=text/css> <script type="text/javascript" src="js/select.js"></script> <script type='text/javascript' src='timer.js'></script> <script type="text/javascript" src="customAlertBox.js"></script> <style type="text/css"> td { padding: 2px; </style> <style type="text/css"> #modalContainer { background-color:transparent; position:absolute; width:100%; height:100%; top:0px; left:0px; z-index:10000; } #alertBox { position:relative; width:300px; min-height:100px; margin-top:50px; border:2px solid #000; background-color:#0f0f0f; background-image:url(images/alert.png); background-repeat:no-repeat; background-position:20px 30px; font-size: 12px; } #modalContainer > #alertBox { position:fixed; } #alertBox h1 { margin:0; font:bold 0.9em verdana,arial; background-color:#3a0000; text-align:center; color:#FFF; border-bottom:1px solid #000; padding:2px 0 2px 5px; } #alertBox p { font-family: arial; height:50px; padding-left:5px; margin-left:55px; font-size: 12px; color: #FFFFFF; background-color: #0f0f0f; } #alertBox #closeBtn { display:block; position:relative; margin:5px auto; padding:3px; border:1px solid #000; width:70px; font-family:arial; font-size: 10px; text-transform:uppercase; text-align:center; color:#FFF; background-color:#3a0000; text-decoration:none; } </style> <script type="text/javascript"> function show_thug() { alert("You must be Thug+ to do a GTA setup."); } </script> <script type="text/javascript"> function show_hitman() { alert("You must be Hitman+ to do a Kidnapping setup."); } </script> <script type="text/javascript"> function show_gangster() { alert("You must be Gangster+ to do a Murder setup."); } </script> <?php session_start(); include "includes/db_connect.php"; include "includes/functions.php"; if ($info->last_script_check < time()){ include_once "scriptcheck.php"; } logincheck(); $page="jail.php"; $username=$_SESSION['username']; $chek=mysql_num_rows(mysql_query("SELECT * FROM mission WHERE username='$username' AND mission='8'")); $find = mysql_query("SELECT * FROM users WHERE username='$username'"); $fetch=mysql_fetch_object($find); $leftd=$info->dsetup-time(); $leftg=$info->gsetup-time(); $leftk=$info->ksetup-time(); $leftm=$info->msetup-time(); $nums = mysql_num_rows(mysql_query("SELECT * FROM jail WHERE username='$username'")); $nums2 = mysql_num_rows(mysql_query("SELECT * FROM jail WHERE setup='1' AND sbye='$info->username'")); $infor=time()+90; if (strip_tags($_POST['setup_button']) && strip_tags($_POST['setup_value']) == "1"){ if($info->money < "10000"){ echo"<center>You need more than £10,000 to do a Drug setup.</center>"; }else{ if($info->dsetup > time()){ echo"<center>You must wait <span id='d'></span><script type='text/javascript'>setTimer('d','$leftd', { 0: function () { window.location = 'jail.php' }});</script> to do a Drug Setup.</center>"; }else{ if($nums != "0"){ echo"<center>You are in jail so are unable to setup!</center>"; }else{ $rand=rand(1,100); if($rand > "25"){ $thi=time()+30; mysql_query("INSERT INTO `jail` ( `id` , `username` , `location` , `time_left` , `reason` , `bust_able` , `setup` , `sbye` ) VALUES ('', 'Drug Setup', '$fetch->location', '$infor', 'Possesion of Drugs', '0', '1', '$info->username')"); mysql_query("UPDATE users SET rankpoints=rankpoints+2, money=money-10000, dsetup='$thi' WHERE username='$username' LIMIT 1"); echo"<center>Drug setup successful!</center>"; }else{ mysql_query("UPDATE users SET money=money-10000, dsetup='$thi' WHERE username='$username' LIMIT 1"); echo"<center>Drug setup failed!</center>"; }}}}} if (strip_tags($_POST['setup_button']) && strip_tags($_POST['setup_value']) == "2"){ if($info->money < "50000"){ echo"<center>You need more than £50,000 to do a GTA setup.</center>"; }else{ if($info->gsetup > time()){ echo"<center>You must wait <span id='g'></span><script type='text/javascript'>setTimer('g','$leftg', { 0: function () { window.location = 'jail.php' }});</script> to do a GTA setup.</center>"; }else{ if($info->rankpoints < "400"){ echo"<center>You must be Thug+ to do a GTA setup.</center>"; }else{ if($nums != "0"){ echo"<center>You are in jail so are unable to setup!</center>"; }else{ $rand=rand(1,100); if($rand > "25"){ $thi=time()+45; mysql_query("INSERT INTO `jail` ( `id` , `username` , `location` , `time_left` , `reason` , `bust_able` , `setup` , `sbye` ) VALUES ('', 'GTA Setup', '$fetch->location', '$infor', 'GTA', '0', '1', '$info->username')"); mysql_query("INSERT INTO `jail` ( `id` , `username` , `location` , `time_left` , `reason` , `bust_able` , `setup` , `sbye` ) VALUES ('', 'GTA Setup', '$fetch->location', '$infor', 'GTA', '0', '1', '$info->username')"); mysql_query("UPDATE users SET rankpoints=rankpoints+6, money=money-50000, gsetup='$thi' WHERE username='$username' LIMIT 1"); echo"<center>GTA setup successful!</center>"; }else{ mysql_query("UPDATE users SET money=money-50000, gsetup='$thi' WHERE username='$username' LIMIT 1"); echo"<center>GTA setup failed!</center>"; }}}}}} if (strip_tags($_POST['setup_button']) && strip_tags($_POST['setup_value']) == "3"){ if($info->money < "100000"){ echo"<center>You need more than £100,000 to do a Kidnapping setup.</center>"; }else{ if($info->ksetup > time()){ echo"<center>You must wait <span id='k'></span><script type='text/javascript'>setTimer('k','$leftk', { 0: function () { window.location = 'jail.php' }});</script> to do a Kidnapping setup.</center>"; }else{ if($info->rankpoints < "4000"){ echo"<center>You must be Hitman+ to do a Kidnapping setup.</center>"; }else{ if($nums != "0"){ echo"<center>You are in jail so are unable to setup!</center>"; }else{ $rand=rand(1,100); if($rand > "25"){ $thi=time()+70; mysql_query("INSERT INTO `jail` ( `id` , `username` , `location` , `time_left` , `reason` , `bust_able` , `setup` , `sbye` ) VALUES ('', 'Kidnapping Setup', '$fetch->location', '$infor', 'Kidnapping', '0', '1', '$info->username')"); mysql_query("INSERT INTO `jail` ( `id` , `username` , `location` , `time_left` , `reason` , `bust_able` , `setup` , `sbye` ) VALUES ('', 'Kidnapping Setup', '$fetch->location', '$infor', 'Kidnapping', '0', '1', '$info->username')"); mysql_query("UPDATE users SET rankpoints=rankpoints+8, money=money-100000, ksetup='$thi' WHERE username='$username' LIMIT 1"); echo"<center>Kidnapping setup successful!</center>"; }else{ mysql_query("UPDATE users SET money=money-100000, ksetup='$thi' WHERE username='$username' LIMIT 1"); echo"<center>Kidnapping setup failed!</center>"; }}}}}} if (strip_tags($_POST['setup_button']) && strip_tags($_POST['setup_value']) == "4"){ if($info->money < "175000"){ echo"<center>You need more than £175,000 to do a Murder setup.</center>"; }else{ if($info->msetup > time()){ echo"<center>You must wait <span id='m'></span><script type='text/javascript'>setTimer('m','$leftm', { 0: function () { window.location = 'jail.php' }});</script> to do a Murder setup.</center>"; }else{ if($info->rankpoints < "20000"){ echo"<center>You must be Gangster+ to do a Murder setup.</center>"; }else{ if($nums != "0"){ echo"<center>You are in jail so are unable to setup!</center>"; }else{ $rand=rand(1,100); if($rand > "25"){ $thi=time()+120; mysql_query("INSERT INTO `jail` ( `id` , `username` , `location` , `time_left` , `reason` , `bust_able` , `setup` , `sbye` ) VALUES ('', 'Murder Setup', '$fetch->location', '$infor', 'Murder', '0', '1', '$info->username')"); mysql_query("INSERT INTO `jail` ( `id` , `username` , `location` , `time_left` , `reason` , `bust_able` , `setup` , `sbye` ) VALUES ('', 'Murder Setup', '$fetch->location', '$infor', 'Murder', '0', '1', '$info->username')"); mysql_query("INSERT INTO `jail` ( `id` , `username` , `location` , `time_left` , `reason` , `bust_able` , `setup` , `sbye` ) VALUES ('', 'Murder Setup', '$fetch->location', '$infor', 'Murder', '0', '1', '$info->username')"); mysql_query("UPDATE users SET rankpoints=rankpoints+10, money=money-175000, msetup='$thi' WHERE username='$username' LIMIT 1"); echo"<center>Murder setup successful!</center>"; }else{ mysql_query("UPDATE users SET money=money-175000, msetup='$thi' WHERE username='$username' LIMIT 1"); echo"<center>Murder setup failed!</center>"; }}}}}} $bust = strip_tags($_GET['bust']); if($bust) { if ($nums == "0"){ $info_jail=mysql_fetch_object(mysql_query("SELECT * FROM jail WHERE id='$bust'")); $findr = mysql_query("SELECT * FROM users WHERE username='$info_jail->username'"); $fetchr=mysql_fetch_object($findr); if ($info_jail->bust_able == "1"){ echo "This user is unbreakable."; }elseif ($info_jail->bust_able == "0"){ $rand = rand(1,100); if ($rand < "9"){ mysql_query("UPDATE users SET rankpoints=rankpoints+3 WHERE username='$username'"); $reason = "Jail Busting"; require_once"includes/failed.php"; } if ($rand > "30"){ echo "You busted $info_jail->username out of jail"; $rand1 = rand(5,8); $nrank = $fetch->rankpoints + $rand1; $njail = rand(2,8) + $fetch->jail_points; mysql_query("UPDATE users SET rankpoints='$nrank' WHERE username='$username'"); if($fetch->crew != '0'){ mysql_query("UPDATE crews SET xp=xp+$rand1 WHERE name='$fetch->crew'"); } mysql_query("UPDATE users SET busts=busts+1 WHERE username='$username'"); if($fetchr->money >= $fetchr->bustreward){ mysql_query("UPDATE users SET money=money+$fetchr->bustreward WHERE username='$username'"); mysql_query("UPDATE users SET money=money-$fetchr->bustreward WHERE username='$fetchr->username'"); } mysql_query("DELETE FROM jail WHERE id='$bust'"); mysql_query("INSERT INTO `inbox` ( `id` , `to` , `from` , `message` , `date` , `read` , `saved` , `event_id` ) VALUES ( '', '$info_jail->username', 'System', '<b>$username</b> busted you out of jail.', '$date', '0', '0', '0' )"); } }} } if (strip_tags($_GET['mission']) == "8" && $fetch->mission == "8" && $fetch->location == "Spain"){ $rand=rand(1,100); $nums1 = mysql_num_rows(mysql_query("SELECT * FROM jail WHERE username='$username'")); if ($nums1 == "0"){ if ($rand >= "60"){ echo "<center>You busted Vinny Jones out of jail!</center>"; mysql_query("UPDATE mission SET unit='1' WHERE username='$username'"); }else{ $jail_time=time() + 30; mysql_query("INSERT INTO `jail` ( `id` , `username` , `location` , `time_left` , `reason` , `bust_able` ) VALUES ('', '$username', '$fetch->location', '$jail_time', 'Busting Vinny', '0')"); echo "<center>You failed! You were put into jail for 30 seconds!</center>"; } }} echo " <table width=600 border=0 align=center cellspacing=0 class=table bordercolor=black> <tr> <td colspan=4 class=thinline>Jail</td></tr> <tr class=table> <td width=45% class=subhead>Name</td> <td width=25% class=subhead>Reason</td> <td width=15% class=subhead>Reward</td> <td width=15% class=subhead>Bust</td> </tr>"; $query=mysql_query("SELECT * FROM jail"); $num=mysql_num_rows($query); if ($num == "0" && $fetch->mission != "8"){ echo "<td align=center colspan=4><b>There is no one in this jail</b></td></tr>"; } if ($fetch->mission == "8" && $fetch->location == "Spain"){ echo "<tr><td align=center><b>Vinny Jones</b></td> <td align=center>Possesion of Drugs</td><td align=center>N/A</td> <td align=center><a href='jail.php?mission=8'><b>Bust!</b></a></td></tr>"; } while($inf = mysql_fetch_object($query)){ if ($inf->bust_able == "1"){ $it="*"; }else{ $it=""; } $per_in = mysql_query("SELECT * FROM users WHERE username='$inf->username'"); $per = mysql_fetch_object($per_in); $left = $inf->time_left - time(); echo "<tr><td align=center>$it<a href='profile.php?viewuser=$inf->username'><b>$inf->username</b></a> - $left Seconds</td> <td align=center>$inf->reason</td>"; if($inf->username != "Drug Setup" && $inf->username != "GTA Setup" && $inf->username != "Kidnapping Setup" && $inf->username != "Murder Setup"){ echo"<td align=center>£".makecomma($per->bustreward)."</td>"; }else{ echo"<td align=center>N/A</td>"; } echo"<td align=center><a href='jail.php?bust=$inf->id'><b>Bust</b></a></td></tr>"; } ?> <tr><td align=center colspan=4><a href=jail.php><b>Refresh</b></a></td></tr> </table> <br /> <form action="" method="post"> <input type="hidden" name="setup_value" id="select" value="0"> <table width="350" align="center" cellpadding="0" cellspacing="0" class="table"> <tr class="thinline"> <td colspan="2">Setup</td> </tr> <tr><td class="subhead">Type</td><td class="subhead">Price</td></tr> <tr class="select" id="1" onclick="SelectOption(this.id);" align="center"><td>Drug Setup</td><td>£10,000</td></tr> <tr class="select" <? if($info->rankpoints < "400"){ ?>onclick="show_thug()"<? }else{ ?>id="2" onclick="SelectOption(this.id);" <? } ?> align="center"><td>GTA Setup</td><td>£50,000</td></tr> <tr class="select" <? if($info->rankpoints < "4000"){ ?>onclick="show_hitman()"<? }else{ ?>id="3" onclick="SelectOption(this.id);" <? } ?> align="center"><td>Kidnapping Setup</td><td>£100,000</td></tr> <tr class="select" <? if($info->rankpoints < "20000"){ ?>onclick="show_gangster()"<? }else{ ?>id="4" onclick="SelectOption(this.id);" <? } ?> align="center"><td>Murder Setup</td><td>£175,000</td></tr> <tr> <td colspan="3" align="center"><input type="submit" name="setup_button" class="button" value="Setup"></td> </tr> </table> </form><br /> <? if (($_POST['changereward'])){ $reward=strip_tags($_POST['rewarder']); if (ereg('[^0-9]',$reward)){ print "Error"; }elseif (!ereg('[^0-9]',$reward)){ mysql_query("UPDATE users SET bustreward=$reward WHERE username='$username'"); echo "<center>Jail Bust Reward updated!</center>"; } } ?> <form method="POST" action=""> <table width=400 align=center border=0 cellpadding=0 cellspacing=0 class=table> <tr class=thinline> <td colspan=2 align=center> Jail Bust Reward</td> </tr> <tr> <td width=40% align=right>Reward (£): </td> <td width=60% align=left scope=col><input name=rewarder id=reward class=textbox1 value=<? echo "$fetch->bustreward"; ?> onkeyup="this.value=this.value.replace(/[^0-9]/g, '');" autocomplete="off"></td> </tr> <tr> <td colspan=2 align=center scope=col><input name=changereward class=button type=submit id=breward value=Submit></td> </tr></table></form> <script type="text/javascript"> if(!top || top.frames.length < 4) { top.location="/logged_in.php";} </script> <br /><br /><br /><? include_once"footer_bottom.php"; ?>
  4. I would like it to be yeh
  5. I would like to see a mod where you can add fake users into jail for a price to the players so at quiet time on the game users can still bust out people to gain xp
  6. Thanks guys. :)
  7. Thanks but can not seem to get it too work
  8. How can I run my 1 min and 5 min crons as time stamps instead
  9. Thanks Angel.
  10. Hello, I am currently recoding the way of the mafia script. I was originally recoding this script for me to use a base for a game, but i have now changed my mind. I am going to recode the game making it better coded then it is and patching all of the security holes and the release it back into the community. To do list: Add more options into the admin cp where you can add and remove crimes/gtas. Make a layout system so you can change the layout of the script via edit profile. (started) Make a fresh looking index page with site stats and top players on (started) Make more casino's Make the script more easier to change the name on by using the database and querys Make a install script so you do not have to mess around setting up all of the database your self   More to be added once these have been finished If anyone would like to view a demo then please p.m me UPDATE: I have done a lot of security patches. (A awful lot) Started making a new mini so it will be on top of the menu just need to make it look better then it does now. I have started work on making the menu a lot smaller. I am in the process of making a explore page to tidy up the logged in screen. I am also working on the email validate on the register page including users acing to activate there account via email.
  11. Top left hand corner of the index page says the site was coded for a completely different URL to what you have. And also you have a divide showing under your login script
  12. AdamHull

    Hackers

    I have inboxes you thanks
  13. AdamHull

    Hackers

    I have only posted my site ever on this site as it is still in testing mode and I am trying to make modifications before putting it onto a live domain and releasing it to the public. I have checked for SQL injections on the site either and I can not find any loop wholes to my system. I also have encrypt all passwords on the server from the register page
  14. AdamHull

    Hackers

    There is people on this site who do not want to help people but instead hack other peoples game just to prove they can instead of explaining the holes they have found on the script
  15. i have uploaded and worked out most of the bugs on wotm script and i would like help promoting the site and coding new scripts to make the game special     url: http://ftwlol.web44.net/ url will be changing over time Thanks
  16. i am have a forum script and i need some help as it is not showing the topics or creating the topics can some one help please these are my codes the first one is where the main part of the forum is <?php session_start(); include_once("includes/db_connect.php"); include_once("includes/functions.php"); include_once("includes/smile.php"); logincheck(); $username=$_SESSION['username']; $fetch = mysql_fetch_object(mysql_query("SELECT * FROM `users` WHERE `username` = '$username'")); $re = makesafe($_GET['re']); $forum = makesafe($_GET['forum']); if(!$_GET['forum']){ $forum = $fetch->forum; } if($re){ $target = "right"; }else{ $target = "_self"; } $view = makesafe($_GET['view']); $crew = $fetch->crew; $change = makesafe($_GET['change']); $id = makesafe($_GET['id']); $crew = $fetch->crew; if($_GET['give']){ $give = makesafe($_GET['give']); if($fetch->userlevel == "0"){ echo"You cant give respect, your not staff!"; } elseif($fetch->userlevel == "4" || $fetch->userlevel == "1"){ mysql_query("UPDATE users SET respect=respect+50 WHERE username='$give'"); echo " <SCRIPT LANGUAGE='JavaScript'> window.location='forum2.php?forum=$forum&view=topic&id=$id'; </script>"; }} if($_GET['take']){ $take = $_GET['take']; if($fetch->userlevel == "0"){ echo"You cant take respect, your not staff!"; } elseif($fetch->userlevel == "4" || $fetch->userlevel == "1"){ mysql_query("UPDATE users SET respect=respect-50 WHERE username='$take'"); echo " <SCRIPT LANGUAGE='JavaScript'> window.location='forum2.php?forum=$forum&view=topic&id=$id'; </script>"; }} //This is the value that sets how long the user must wait after posting or creating a topic (In Minutes) - 0 for none. define("POSTTIMER", 2.5); ////page//// $query_count = "SELECT * FROM `topics` WHERE forum='$forum'"; $result_count = mysql_query($query_count); $totalrows = mysql_num_rows($result_count); $query="SELECT * FROM `topics` WHERE forum='$forum' ORDER BY `lastreply` DESC LIMIT 68, $totalrows"; $query=mysql_query("$query"); while($fo=mysql_fetch_object($query)){ mysql_query("DELETE FROM topics WHERE id='$fo->id'"); mysql_query("DELETE FROM replys WHERE idto='$fo->id'"); } ////page//// //If you have any other forums other than the ones below please add them... Case sensitive if(!in_array($forum, array('NewsUpdatesNotices', 'Chat', 'PictureProfile', 'Ads', 'OCBJAds', 'HelpBugsSuggestions', 'crew'))){ die; } if($fetch->userlevel == "0"){ if(!$crew && $forum == 'crew'){ die("You Are Not In A Crew."); } } $fetchc=mysql_fetch_object(mysql_query("SELECT * FROM crews WHERE name='$crew' LIMIT 1")); $forumm = 0; if($forum == "crew"){ if(($fetchc->owner == $username) || ($fetchc->underboss == $username) || ($fetchc->lhm == $username) || ($fetchc->rhm == $username)){ $forumm = 1; }} if($fetch->userlevel == "3" || $fetch->userlevel == "4" || $fetch->userlevel == "1"){ $forumm = 1; } if($forum == 'crew' && $crew) { $getTopics = mysql_query("SELECT * FROM `topics` WHERE `forum` = '$forum' AND `crew` = '$crew' ORDER BY `sticky` DESC, `lastreply` DESC"); } else { $getTopics = mysql_query("SELECT * FROM `topics` WHERE `forum` = '$forum' ORDER BY `sticky` DESC, `lastreply` DESC"); } $totalTopics = mysql_num_rows($getTopics); $topics_per_page = 20; $offset = (int)$_GET['fpage'] * $topics_per_page; $pages = ceil($totalTopics / $topics_per_page); for ($i=0;$i<$pages;$i++) { $n = $i+1; if ($_GET['fpage'] == $i) { $page .= "<b>$n</b> "; } else { $page .= "<a href='forumn.php?forum=$forum&fpage=$i'>$n</a> "; }} if($forum == 'crew' && $crew) { $getTopics = mysql_query("SELECT * FROM `topics` WHERE `forum` = '$forum' AND `crew` = '$crew' ORDER BY `sticky` DESC, `lastreply` DESC LIMIT $offset, $topics_per_page"); } else { $getTopics = mysql_query("SELECT * FROM `topics` WHERE `forum` = '$forum' ORDER BY `lastreply` DESC LIMIT $offset, $topics_per_page"); } if($forumm == 1){ $topicListOptions = "<tr><td colspan='6' class='sortbottom' align='center'>With Selected: <select name='forumOptionsList' class='text'><option value='delete'>Delete</option><option value='impUnimp'>Important/Unimportant</option><option value='stickUnstick'>Stick/Unstick</option><option value='lockUnlock'>Lock/Unlock</option><option value='clearTopic'>Clear</option></select> <input type='submit' class='custombutton' name='forumOptionsSubmit' value='Go' class='text' /></td></tr>"; } if($re){ $createTitle = "<a href='forum2.php?forum=$forum&view=newTopic' target='$target' class=\"style5\"><font color='white'>New Topic</font></a> / <a href='newForum.php?forum=$forum&change=true' target='$target' class=\"style5\"><font color='white'>Set as Default.</font></a> / <a href='newForum.php?change=false' target='$target' class=\"style5\"><font color='white'>Categories</font></a>"; }else{ $createTitle = "<a href='forum2.php?forum=$forum&view=newTopic' target='$target' class=\"style4\"><font color='white'>New Topic</font></a> / <a href='newForum.php?forum=$forum&change=true' target='$target' class=\"style4\"><font color='white'>Set as Default.</font></a> / <a href='newForum.php?change=false' target='$target' class=\"style4\"><font color='white'>Categories</font></a>"; $createTitle2 = ""; } if($forumm == 1 && $_POST['checkbox'] != '') { $option = makesafe($_POST['forumOptionsList']); if($option == 'delete') { foreach($_POST['checkbox'] as $id) { mysql_query("DELETE FROM `topics` WHERE `id` = '$id'"); mysql_query("DELETE FROM `replys` WHERE `idto` = '$id'"); mysql_query("DELETE FROM `topic_votes_new` WHERE `idto` = '$id'"); } } elseif($option == 'stickUnstick') { foreach($_POST['checkbox'] as $id) { $fetchStickTopic = mysql_fetch_array(mysql_query("SELECT `sticky` FROM `topics` WHERE `id` = '$id'")); if($fetchStickTopic[sticky] == 1){ mysql_query("UPDATE `topics` SET `sticky` = '0' WHERE `id` = '$id'"); } else{ mysql_query("UPDATE `topics` SET `sticky` = '1' WHERE `id` = '$id'"); } } } elseif($option == 'impUnimp') { foreach($_POST['checkbox'] as $id) { $fetchImpTopic = mysql_fetch_array(mysql_query("SELECT `imp` FROM `topics` WHERE `id` = '$id'")); if($fetchImpTopic[imp] == 1){ mysql_query("UPDATE `topics` SET `imp` = '0' WHERE `id` = '$id'"); } else{ mysql_query("UPDATE `topics` SET `imp` = '1' WHERE `id` = '$id'"); } } } elseif($option == 'lockUnlock') { foreach($_POST['checkbox'] as $id) { $fetchLockTopic = mysql_fetch_array(mysql_query("SELECT `locked` FROM `topics` WHERE `id` = '$id'")); if($fetchLockTopic[locked] == 1){ mysql_query("UPDATE `topics` SET `locked` = '0' WHERE `id` = '$id'"); } else{ mysql_query("UPDATE `topics` SET `locked` = '1' WHERE `id` = '$id'"); } } } elseif($option == 'clearTopic') { foreach($_POST['checkbox'] as $id) { mysql_query("DELETE FROM `replys` WHERE `idto` = '$id'"); } } } ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style type="text/css"> <!-- .style4 { font-size: 18px; font-weight: bold; }.style5 { font-size: 13px; font-weight: bold; } --> </style> </head> <link rel="stylesheet" type="text/css" href="example.css"/> <script type="text/javascript" src="sortable.js"></script> <body><form method="post" action="" name="dd" id="dd"> <table width="<?php if($re){ echo"99%"; }else{ echo"600"; }?>" align="center" cellpadding="0" cellspacing="0" class="thinline" id="anyid"> <tr class="unsortable"> <td colspan="3" class="topic"><span ><?php echo"$createTitle"; ?></span></td> </tr> </table> <table width="<?php if($re){ echo"99%"; }else{ echo"600"; }?>" align="center" cellpadding="0" cellspacing="0" class="sortable" id="anyid"> <tr> <th width="360" >Title</th> <?php if(!$re){ ?> <th width="15%"><span style="cursor: help">Views</span></th> <th width="15%"><span style="cursor: help">Posts</span></th> <th width='15%'><span style="cursor: help">Username</span></th><?php } ?> <?php if($forumm == 1){ ?> <th width='23' class="unsortable"></th> <?php } ?> </tr> <? while($p=mysql_fetch_object($getTopics)){ if($p->sticky == "1" && $p->options == ""){ $pic2 = "<font color=orange><b>Sticky</b>:</font>"; $pic = ""; }elseif($p->sticky == "0" && $p->options == ""){ $pic2 = ""; $pic = " <img src='../images/folder.jpg'> "; }elseif($p->sticky == "0" && $p->options != ""){$pic2 = "<font color=black>Poll:</font>"; $pic = " <img src='../images/poll.jpg'> "; } if($p->imp == "1"){ $pic2 = "<font color=red><u><b>Important</b></u>:</font>"; $pic = " <img src='../images/imp.png'> "; $mess = ""; } if($p->locked == "1"){ $lock = "<font color=black><b>(Locked)</b></font>"; }else{ $lock =""; } $title2 = lang($p->title); $title = "$pic2 <a href='forum2.php?forum=$forum&view=topic&id=$p->id$addOn' class='thumbnail' target='$target'><font color='$col23'>$title2</font></a> $lock"; $posts = mysql_num_rows(mysql_query("SELECT `id` FROM `replys` WHERE `idto` = '$p->id'")); if(!$re){ $pu = " <td width='15%' class=\"tableborder\" align=\"center\">$p->views</td> <td width='15%' class=\"tableborder\" align=\"center\">$posts</td> <td width='15%' class=\"tableborder\" align=\"center\">$p->username</td>"; }else{ $pu = ""; } if($forumm == 1){ $listo = "<td align='center' height='5' width='5%'><input type='checkbox' style='height: 5px;' name='checkbox[]' value='$p->id'></td>"; } echo "<tr > <td class=\"tableborder\" height=\"24\" align=\"center\">$title</td> $pu $listo </tr>"; } ?><tfoot> <tr> <td colspan='5' class='sortbottom' align='center'><?=$page?></td> </tr> <?=$topicListOptions?> </tfoot> </table></form> </body> </html>
  17. ok sweet cheers pal
  18. like basically if there is no one in the jail there is always going to be like fake objects in there for you to break out of jail
  19. how would i be able to get fake users in the jail script like on gangparadise and gang-bliss?
  20. AdamHull

    Game engine

    well i know mccodes and i dont really have the time to start from scratch just time to update
  21. AdamHull

    Game engine

    i am more thinking like gang paradise but not like the gl engine or the mccodes engine
  22. AdamHull

    Game engine

    what is the best game engine for any type of game just want to start a game going
  23. Lets work together and get this script popular again all we have to do is a get loads of us coders to work together and make the best game possile out of the script then we can conntact the orginal owners and ask to get the correct perrmission of them to redisbruite and the jobs a gooden
  24. do you know where i can get the extension pack for it the big extension pack ?
  25. Where can i get the newest version of the script from?
×
×
  • Create New...