
fagan
Members-
Posts
19 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by fagan
-
Re: [mccode] Close page system when i added this code to my game igot this error can anyone help me please Parse error: syntax error, unexpected T_PUBLIC in /home/hm7922/public_html/header.php on line 211 Here Is My Header From Were i Edit include "mainmenu.php"; global $ir,$c; print '</td><td width="2" class="linegrad"> </td><td width="100%" valign="top"> <center>'; if($ir['hospital']) { print "NB: You are currently in hospital for {$ir['hospital']} minutes. "; } if($ir['jail']) { print "NB: 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 " "; } } function smenuarea() { include "smenu.php"; global $ir,$c; $bgcolor = '000000'; print '</td><td width="2" class="linegrad" bgcolor="#'.$bgcolor.'"> </td><td width="80%" bgcolor="#'.$bgcolor.'" valign="top"><center>'; } function endpage( And More
-
Re: donator day market for v2 free i have added this to my game and i get QUERY ERROR: Unknown column 'cm.cmADDER' in 'on clause' Query was SELECT cm.*, u.* FROM donatormarket cm LEFT JOIN users u ON u.userid=cm.cmADDER ORDER BY cmPRICE/cmQTY ASC tried changing them from cm to dm and still get the same can anyone help me please
-
Re: [mccode] Streets for v2.0 i have added that in myphp and its still doing the same can someone please help
-
Re: [mccode] Streets for v2.0 I have added this to my game but when i click it to search it comes up: You do NOT have enough steps to scavenge the streets any more. Come back at newday how do you get steps can u help asap
-
Re: forgot password.php help here is the code <?php require_once ('./includes/config.inc.php'); $page_title = 'Forget Your Password'; include ('header.php'); if (isset($_POST['submitted'])) { // Handle the form. require_once ('mysql.php'); // Connect to the Database. if (empty($POST['email'])) { // Validate the email address. $uid = FALSE; echo ' <font color="red" size="+1">You forget to enter your email address!</font></p>'; } else { // Check for the existence of that email address. $query = "SELECT $userid FROM users WHERE email='". escape_data($_POST['email']) . "'"; $result = mysql_query
-
i have tried to use my forgot password and it says Parse error: syntax error, unexpected $end in /home/nwcrimes/public_html/forgot_password.php on line 22 can anyone give me help please
-
Re: Help in fact jake sent me them codes and he said that he made them and he says he is a member of the internet police so he acting like a little kid and another thing is in owner panel it says dambostew or wa eva they are called
-
Re: Gang war surrender error it is the original code i aint touched it
-
Re: Gang war surrender error Now i have done that its saying Fatal error: Call to undefined function: gang_staff_viewsurrenders() in /home/nwc/public_html/yourgang.php on line 397
-
Re: Gang war surrender error <?php include "globals.php"; print "<h3> Gang Wars</h3> <table width=75% cellspacing=1 class='table'>"; $q=$db->query("SELECT w.*,g1.gangNAME as declarer, g1.gangRESPECT as drespect, g2.gangNAME as defender, g2.gangRESPECT as frespect FROM gangwars w LEFT JOIN gangs g1 ON w.warDECLARER=g1.gangID LEFT JOIN gangs g2 ON w.warDECLARED=g2.gangID WHERE g1.gangNAME != '' AND g2.gangNAME != ''"); if($db->num_rows($q) > 0) { while($r=$db->fetch_row($q)) { print "<tr> <td width=45%>{$r['declarer']} [{$r['drespect']} respect]</a></td> <td width=10%>vs.</td> <td width=45%>{$r['defender']} [{$r['frespect']} respect]</a></td> </tr>"; } } else { print "</table>There are currently no gang wars in progress."; } print "</table>"; $h->endpage(); ?>
-
Hello i am just wondering does anyone no how to fix his error when i try to accept a surrender it says QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Query was SELECT * FROM gangwars where warID= could anyone plz help write back here plz
-
i have added cities to my game with min lvl as 1 but if i add a city with min lvl 2 or any other number it will not show up in trave agency could anyone tell me why plz mail me at [email protected] or write back here thanks
-
i have got past all my other errors but my game keeps saying QUERY ERROR: No database selected Query was SELECT * FROM settings and i dont no how to fix it can anyone help please email me: [email protected] or write back here thanks
-
hello i hve just made a new game and i keep getting this error Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'root'@'localhost' (using password: NO) in /home/ryan11/public_html/class/class_db_mysql.php on line 40 FATAL ERROR: Could not connect to database on localhost (Access denied for user 'root'@'localhost' (using password: NO)) if i give you my cpanel username and password will you be able to help me with the problem if so email me on [email protected] or write back here thanks
-
keep getting this message when donators click hack pc Parse error: syntax error, unexpected '&', expecting '(' in /home/ryan11/public_html/hackpc.php on line 6 anyone know what it could be
-
Fatal error: Call to a member function query() on a non-object in /home/ryan11/public_html/header.php on line 124 why is my game saying this can somebody please help thanks email me: [email protected] or pm or reply here thanks
-
hello just started a new game http://www.northwestcrimes.serversmicro.info but i dont no how to do the crons can some1 please help me please
-
i got codes but when i put them on my host its coming up FATAL ERROR: Could not connect to database on localhost (Access denied for user 'user111_v2'@'localhost' (using password: YES)) anyone no y plz help
-
hello could anyone please send me game codes as i have sum but they dont work because the register page the admin page and the login page dont work even if somebody can send me them pages please if you have any files you can send me add me on msn [email protected] please somebody help me