Jump to content
MakeWebGames

fagan

Members
  • Posts

    19
  • Joined

  • Last visited

    Never

fagan's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. 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
  2. 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
  3. Re: [mccode] Streets for v2.0 i have added that in myphp and its still doing the same can someone please help
  4. 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
  5. 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
  6. 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
  7. fagan

    Help

    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
  8. Re: Gang war surrender error it is the original code i aint touched it
  9. 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
  10. 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(); ?>
  11. 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
  12. 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
  13. fagan

    Help

    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
  14. 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
  15. 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
×
×
  • Create New...