Jump to content
MakeWebGames

Rusher1

Members
  • Posts

    44
  • Joined

  • Last visited

    Never

Everything posted by Rusher1

  1. Re: Hospital/Jail Count stuck Post your, Main Menu, Jail & Hospital
  2. Re: [mccodes V2] NEW HEADER!!! It looks like normal mccodes V2 but just a little edit easy enough
  3. Re: Hacked? Nahh u wernt hacked someone just re-ran ur installer.php :)
  4. Re: Battltent Mysql Re-run your installer :)
  5. Re: A little ponder   he said its future based so it wouldn't be "the economical downturn that we have today" would it now?
  6. Re: [MCCode V2] Tabbed Explore [MCC V2] Im not adding it to my game but looks good +1
  7. Re: Free Graphics!!! i send u a pm^^ :)
  8. Re: Log in screen :)   on my log in?
  9. Re: Log in screen :)   I Checked Your Site And Change The Game Background Color Via Header.php Or Change The Font Colour To White Or Something, Or If You Want Ill Post A Modified Version To Fit Your Site Colour/Theme
  10. Re: Log in screen :)   Thanks, much appreciated :)
  11. <html> <head> <title>Camper - Log In</title> <script language="JavaScript"> <!-- function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function GetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function SetCookie (name,value,expires,path,domain,secure) { document.cookie = name + "=" + escape (value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); } function DeleteCookie (name,path,domain) { if (GetCookie(name)) { document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT"; } } // --> </script> <script language="JavaScript"> var usr; var pw; var sv; function getme() { usr = document.login.username; pw = document.login.password; sv = document.login.save; if (GetCookie('player') != null) { usr.value = GetCookie('username') pw.value = GetCookie('password') if (GetCookie('save') == 'true') { sv[0].checked = true; } } } function saveme() { if (usr.value.length != 0 && pw.value.length != 0) { if (sv[0].checked) { expdate = new Date(); expdate.setTime(expdate.getTime()+(365 * 24 * 60 * 60 * 1000)); SetCookie('username', usr.value, expdate); SetCookie('password', pw.value, expdate); SetCookie('save', 'true', expdate); } if (sv[1].checked) { DeleteCookie('username'); DeleteCookie('password'); DeleteCookie('save'); } } else { alert('You must enter a username/password.'); return false; } } </script> <style> body { font-family:Century gothic;font-size:9pt;color: black; background-color:Silver; scrollbar-base-color: #000000; scrollbar-arrow-color: #000000; scrollbar-DarkShadow-Color: #000000; } a:visited,a:active,a:hover,a:link { color: black;text-decoration: none; } table,tr,td { font-size:9pt; } img { border:none; } </style> </head> <td><center>[img=banner.jpg]<table width=50% border=1><td valign=top> <FORM METHOD='LINK' ACTION='register.php'><length=5><center> <INPUT TYPE='submit' VALUE='Register'></form> <center><td valign=top><FORM METHOD='LINK' ACTION='toc.php'><length=5><center> <INPUT TYPE='submit' VALUE='Currently Unavailable'> </form> <center><td valign=top><FORM METHOD='LINK' ACTION='gamestats.php'><length=5><center> <INPUT TYPE='submit' VALUE='Currently Unavailable'> </FORM> </table> <center><table width=50% border=1><td valign=top> Welcome to the Camper. Camper is full of criminals from all around the world. If you wanna be the biggest, badest and richest in the game you will have to fight for it. Grab your weapon, Create or join a gang, Become number one by fear and power. Do you dare to cross the line? </table> <h3><center>Camper Log In</h3> <center><table width=20% border=1><tr><td width=50%><fieldset><font size=+2><center><legend>Camper</legend><form action=authenticate.php method=post name=login onsubmit="return saveme();">Username: <input type=text name=username> Password: <input type=password name=password> Remember me? <input type="radio" value="ON" name="save">Yes <input type="radio" name="save" value="OFF" checked>No <input type=submit value=Submit></form></fieldset></td></tr></table> [i]<center>Copyright © 2008 Oliver.</center>[/i]</body></html>   Here it is :) Just Replace Your login.php With this code then wallah
  12. Re: [Other] Disable Register(not technicaly disabled)   I Suppose :)
  13. Re: [Other] Disable Register(not technicaly disabled) just remove the register link then inplace of it put registration is temp down ?
  14. Re: [LITE][FREE] Bank It doesnt let you withdraw, fix please?
  15. Re: [mccodes lite] Gangs NVM i fixed it thanks big thanks to Extermination
  16. Re: [mccodes lite] Gangs Ok all added new error Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/a9664480/public_html/factions.php on line 2 Parse error: syntax error, unexpected T_STRING in /home/a9664480/public_html/factions.php on line 2   {\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.21.2507;}\viewkind4\uc1\pard\f0\fs20 <?php\par session_start();\par require "global_func.php";\par if($_SESSION['loggedin']==0) \{ header("Location: login.php");exit; \}\par $userid=$_SESSION['userid'];\par require "header.php";\par $h = new headers;\par $h->startheaders();\par include "mysql.php";\par global $c;\par $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error());\par $ir=mysql_fetch_array($is);\par check_level();\par $fm=money_formatter($ir['money']);\par $lv=date('F j, Y, g:i a',$ir['laston']);\par $h->userdata($ir,$lv,$fm);\par $h->menuarea();\par print "<font face='Arial' size='4'>Factions</font><hr width='90%'>";\par switch ($_GET['step'])\par \{\par case 'create': \par create_faction(); \par break;\par \par case 'profile': \par faction_profile(); \par break;\par \par case 'users': \par faction_members(); \par break;\par \par case 'search': \par search_factions(); \par break;\par \par case 'apply':\par faction_apply();\par break;\par \par default: \par factions_index(); \par break;\par \}\par function factions_index()\par \{\par global $ir,$c,$userid,$h;\par $sql = sprintf("SELECT * FROM `factions` fa LEFT JOIN `users` u ON (u.userid = fa.faLEADER) ORDER BY faID DESC");\par $q = mysql_query($sql);\par print "This is a list of all factions by ID\par <table width='90%' cellspacing='1'><tr bgcolor='#AAAAAA'><th width='25%'>Name</th><th width='13%'>Members</th><th width='12%'>Reputation</th><th width='50%'>Image</th></tr>";\par while($r = mysql_fetch_array($q))\par \{\par print "<tr><td>[url='factions.php?step=profile&ID=\{$r[']<h3>\{$r['faNAME']\}</h3>[/url]</td><td>";\par $membs = sprintf("SELECT * FROM `users` WHERE faction = %u",\par mysql_real_escape_string($r['faID']));\par $mems = mysql_query($membs);\par print mysql_num_rows($mems)."</td>\par <td>\{$r['faREPUTATION']\}</td>\par <td>[img=\{$r[]</td></tr>";\par \}\par print "</table> <hr width='90%'>> [url='explore.php']Back[/url]<hr width='90%'>";\par \}\par function create_faction()\par \{\par global $ir,$c,$userid,$h;\par $sql = sprintf("SELECT * FROM `factions` WHERE faID > 0");\par $q = mysql_query($sql);\par $fcs = mysql_num_rows($q);\par $r['faCOST'] = ($fcs*10000);\par if($ir['money'] < $r['faCOST'])\par \{\par print " You don't have enough money. It costs ".money_formatter($r['faCOST'])." to create a new Faction. <hr width='90%'>> [url='explore.php']Back[/url]<hr width='90%'>";\par \}\par else if($ir['faction'] > 0)\par \{\par print " You are already part of a Faction. Leave before creating a new one. <hr width='90%'>> [url='explore.php']Back[/url]<hr width='90%'>";\par \}\par else if($_POST['name'] AND $_POST['description'] AND $_POST['status'])\par \{\par $ins = sprintf("INSERT INTO `factions` (`faID`, `faNAME`, `faDESC`, `faSTATUS`, `faLEADER`, `faCOLEADER`, `faCAPACITY`, `faREPUTATION`) VALUES ('NULL','%s', '%s', '%s', '%d', '%d', '%d', '%d')",\par mysql_real_escape_string($_POST['name']),\par mysql_real_escape_string($_POST['description']),\par mysql_real_escape_string($_POST['status']),\par $userid,\par $userid,\par 10,\par 100);\par mysql_query($ins);\par $r['insID'] = mysql_insert_id($c);\par $fac = sprintf("UPDATE `users` SET faction = %d, money=money-%d WHERE (userid = %u)",\par $r['insID'],\par $r['faCOST'],\par $userid);\par mysql_query($fac);\par print " The \{$_POST['name']\} faction was successfully created. <hr width='90%'>> [url='factions.php?step=manage']Back[/url]<hr width='90%'>";\par \}\par else\par \{\par print " <form action='factions.php?step=create' method='post'>\par A new faction will cost $10,000 times the amount of factions in existence. The current price is [b]".money_formatter($r['faCOST'])."[/b]. Name your Faction \par <input type='text' name='name' /> \par Choose a Status \par <select type='dropdown' name='status'>\par <option value='Peaceful'>Peaceful</option>\par <option value='Aggressive'>Aggressive</option>\par </select> \par Description <textarea name='description' cols='40' rows='7'></textarea> <input type='submit' value='Create' /></form>\par <hr width='90%'>> [url='factions.php']Back[/url]<hr width='90%'>";\par \}\par \}\par function faction_profile()\par \{\par global $ir,$c,$userid,$h;\par $sql = sprintf("SELECT * FROM `factions` fa LEFT JOIN `users` u ON (u.userid = fa.faLEADER) WHERE (fa.faID = %u)", \par mysql_real_escape_string($_GET['ID']));\par $q = mysql_query($sql);\par $r = mysql_fetch_array($q);\par print " <table width='400' bgcolor='#DFDFDF'><tr><td align='center'>[b]<font size='5'>\{$r['faNAME']\}</font>[/b]</td></tr></table> \par [img=\{$r[] \par <table width='400' bgcolor='#DFDFDF'><tr><td valign='middle' align='center'><font size='5'>[b]\{$r['faREPUTATION']\}[/b]</font></td></tr></table> \par <table width='400' bgcolor='#DFDFDF'><tr><td width='200' valign='middle'>\par [b]Leader: [/b][url='viewuser.php?u=\{$r[']\{$r['username']\}[/url] ";\par $col = sprintf("SELECT * FROM `users` WHERE (userid = %u)",\par mysql_real_escape_string($r['faCOLEADER']));\par $q2 = mysql_query($col);\par $co = mysql_fetch_array($q2);\par print "[b]Co-Leader: [/b][url='viewuser.php?u=\{$r[']\{$co['username']\}[/url] ";\par $membs = sprintf("SELECT * FROM `users` WHERE faction = %u",\par mysql_real_escape_string($r['faID']));\par $mems = mysql_query($membs);\par print "[b]Members: [/b]".mysql_num_rows($mems)." \par [b]Reputation: [/b]\{$r['faREPUTATION']\} \par [b]Current chain: [/b]\{$r['faCHAIN']\} attacks \par [b]Best chain: [/b]\{$r['faBCHAIN']\} attacks \par [b]Status: [/b]";\par if ($r['faSTATUS'] == 'Peaceful')\par \{\par print "<font color='green'>[b]Peaceful[/b]</font>";\par \}\par else\par \{\par print "<font color='red'>[b]Aggressive[/b]</font>";\par \}\par print " </td>\par <td valign='top' align='right' width='200'>[url='factions.php?step=users&ID=\{$r[']User list[/url] < \par [url='factions.php?step=apply&ID=\{$r[']Apply[/url] <\par </td></tr></table>\par <table width='400' bgcolor='#DFDFDF'><tr>\par <td width='50%' height='100%'>\par <table width='100%' height='100%'><tr>\par <td align='center'> \{$r['faDESC']\} </td>\par </tr></table></td></tr></table> \par <hr width='90%'>> [url='factions.php']Back[/url]<hr width='90%'>";\par \}\par function faction_members()\par \{\par global $ir,$c,$userid,$h;\par $sql = sprintf("SELECT * FROM `factions` fa LEFT JOIN `users` u ON (u.faction = fa.faID) WHERE (fa.faID = %u)", \par mysql_real_escape_string($_GET['ID']));\par $q = mysql_query($sql);\par print "<table width='90%' cellspacing='1'><tr bgcolor='#AAAAAA'><th width='25%'>Num</th><th width='25%'>Name</th><th width='25%'>Level</th><th width='25%'>Days in Faction</th></tr>";\par while ($r = mysql_fetch_array($q))\par \{\par $cn++;\par print "<tr><td>$cn.</td><td>[url='viewuser.php?u=\{$r[']\{$r['username']\}[/url]</td><td>\{$r['level']\}</td><td>\{$r['faction_days']\}</td></tr>";\par \}\par print "</table> \par <hr width='90%'>> [url='factions.php?step=profile&ID=\{$_GET[']Back[/url]<hr width='90%'>";\par \}\par function search_factions()\par \{\par global $ir,$c,$userid,$h;\par if (!$_POST['name'])\par \{\par print "<form action='factions.php?step=search' method='post'>\par [b]Search by Keyword[/b] \par Insert the keyword that you'd like to search for Factions: \par <input type='text' name='name'> \par <input type='submit' value='Search'></form>\par <hr width='90%'>> [url='factions.php']Back[/url]<hr width='90%'>";\par \}\par else\par \{\par $sql = sprintf("SELECT * FROM `factions` fa LEFT JOIN `users` u ON (u.userid = fa.faLEADER) WHERE (`faNAME` LIKE '%%%s%%')",\par mysql_real_escape_string($_POST['name']));\par $q = mysql_query($sql);\par print "[b]Search by Keyword[/b] \par Keyword: \{$_POST['name']\} \par <table width='90%' cellspacing='1'><tr bgcolor='#AAAAAA'><th width='25%'>Name</th><th width='13%'>Members</th><th width='12%'>Reputation</th><th width='50%'>Image</th></tr>";\par while($r = mysql_fetch_array($q))\par \{\par print "<tr><td>[url='factions.php?step=profile&ID=\{$r[']<h3>\{$r['faNAME']\}</h3>[/url]</td><td>";\par $membs = sprintf("SELECT * FROM `users` WHERE faction = %u",\par mysql_real_escape_string($r['faID']));\par $mems = mysql_query($membs);\par print mysql_num_rows($mems)."</td>\par <td>\{$r['faREPUTATION']\}</td>\par <td>[img=\{$r[]</td></tr>";\par \}\par print "</table> <hr width='90%'>> [url='factions.php?step=search']Back[/url]<hr width='90%'>";\par \}\par \}\par function faction_apply()\par \{\par global $ir,$c,$userid,$h;\par if ($ir['faction'])\par \{\par print " You are already in a faction at this time. \par <hr width='90%'>> [url='factions.php']Back[/url]<hr width='90%'>";\par \}\par else if (!$_GET['act'])\par \{\par print " Please type an application to this faction below: \par <form action='factions.php?step=apply&act=submit&ID=\{$_GET['ID']\}' method='post'>\par <textarea type='text' name='app' cols='50' rows='8'>Type your application here</textarea> \par <input type='submit' value='Submit'></form> \par <hr width='90%'>> [url='factions.php?step=profile&ID=\{$_GET[']Back[/url]<hr width='90%'>";\par \}\par else if ($_GET['act'] == 'submit')\par \{\par if ($_POST['app'])\par \{\par $ins = sprintf("INSERT INTO `faction_apps` (`fpID`, `fpUSER`, `fpFACTION`, `fpAPP`, `fpTIME`) VALUES ('NULL','%d', '%d', '%s', '%d')",\par mysql_real_escape_string($ir['userid']),\par mysql_real_escape_string($_GET['ID']),\par mysql_real_escape_string($_POST['app']),\par time());\par mysql_query($ins);\par print " Your application was submitted! \par <hr width='90%'>> [url='factions.php?step=profile&ID=\{$_GET[']Back[/url]<hr width='90%'>";\par \}\par else\par \{\par print " You did not type an application to send! \par <hr width='90%'>> [url='factions.php?step=apply&ID=\{$_GET[']Back[/url]<hr width='90%'>";\par \}\par \}\par \}\par $h->endpage();\par ?>\par } ?
  17. Re: [mccodes lite] Gangs Oooh lmao :) i forgot
  18. Re: [mccodes lite] Gangs Kk that works but im still having problems http://camper.site50.net, Log on as Demo, Demo Then Explore Then Try Make/Look/Search A Faction Pls
  19. Re: [mccodes lite] Gangs Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/a9664480/public_html/mainmenu.php on line 56, Still..!   <?php /* MCCodes Lite mainmenu.php Rev 1.0.0 Copyright (C) 2006 Dabomstew This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ global $c,$ir; print "[url='index.php']Home[/url] [url='inventory.php']Items[/url] [url='explore.php']Explore[/url] <a href='events.php'>"; $d=mysql_query("SELECT COUNT(*) as cnt FROM events WHERE evUSER={$ir['userid']} AND evREAD=0",$c) or die(mysql_error()); $r=mysql_fetch_array($d); if($r['cnt'] > 0) { print "[b]Events ({$r['cnt']})[/b]"; } else { print "Events (0)"; } print "</a> <a href='mailbox.php'>"; $d2=mysql_query("SELECT COUNT(*) as cnt FROM mail WHERE mail_to={$ir['userid']} AND mail_read=0",$c) or die(mysql_error()); $r=mysql_fetch_array($d2); if($r['cnt'] > 0) { print "[b]Mail ({$r['cnt']})[/b]"; } else { print "Mail (0)"; } print "</a> [url='gym.php']Gym[/url] [url='criminal.php']Crimes[/url] [url='refills.php']Refills[/url] [url='announcement.php']Announcements[/url] [url='search.php']Search[/url] [url='usersonline.php']Users Online[/url] if($ir['faction']) { print "[url='manage_faction.php']Your Faction[/url] "; } if($ir['user_level'] > 1) { print "<hr />[b]Admin[/b] n"; } if($ir['user_level']==2) { print "[url='admin.php']Admin Panel[/url] n"; } if($ir['user_level'] > 1) { print "<hr />[b]Admins Online:[/b] "; $q=mysql_query("SELECT * FROM users WHERE laston>(unix_timestamp()-15*60) AND user_level>1 ORDER BY userid ASC",$c); while($r=mysql_fetch_array($q)) { $la=time()-$r['laston']; $unit="secs"; if($la >= 60) { $la=(int) ($la/60); $unit="mins"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } print "[url='viewuser.php?u={$r[']{$r['username']}[/url] ($la $unit) "; } } print "<hr /> [url='preferences.php']Preferences[/url] <a href='useronline.php>Users online</a> [url='logout.php']Logout[/url] Time is now "; echo date ('F j, Y')." ".date('g:i:s a'); ?>
  20. Re: [mccodes lite] Gangs   <?php /* MCCodes Lite mainmenu.php Rev 1.0.0 Copyright (C) 2006 Dabomstew This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ global $c,$ir; print "[url='index.php']Home[/url] [url='inventory.php']Items[/url] [url='explore.php']Explore[/url] <a href='events.php'>"; $d=mysql_query("SELECT COUNT(*) as cnt FROM events WHERE evUSER={$ir['userid']} AND evREAD=0",$c) or die(mysql_error()); $r=mysql_fetch_array($d); if($r['cnt'] > 0) { print "[b]Events ({$r['cnt']})[/b]"; } else { print "Events (0)"; } print "</a> <a href='mailbox.php'>"; $d2=mysql_query("SELECT COUNT(*) as cnt FROM mail WHERE mail_to={$ir['userid']} AND mail_read=0",$c) or die(mysql_error()); $r=mysql_fetch_array($d2); if($r['cnt'] > 0) { print "[b]Mail ({$r['cnt']})[/b]"; } else { print "Mail (0)"; } print "</a> [url='gym.php']Gym[/url] [url='criminal.php']Crimes[/url] [url='refills.php']Refills[/url] [url='announcement.php']Announcements[/url] [url='search.php']Search[/url] [url='usersonline.php']Users Online[/url] if($ir['faction']) print "[url='manage_faction.php']Your Faction[/url] "; } if($ir['user_level'] > 1) { print "<hr /> [b]Admin[/b] \n"; if($ir['user_level']==2) { print "[url='admin.php']Admin Panel[/url] \n"; } } if($ir['user_level'] > 1) { print "<hr />[b]Admins Online:[/b] "; $q=mysql_query("SELECT * FROM users WHERE laston>(unix_timestamp()-15*60) AND user_level>1 ORDER BY userid ASC",$c); while($r=mysql_fetch_array($q)) { $la=time()-$r['laston']; $unit="secs"; if($la >= 60) { $la=(int) ($la/60); $unit="mins"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } print "[url='viewuser.php?u={$r[']{$r['username']}[/url] ($la $unit) "; } } print "<hr /> [url='preferences.php']Preferences[/url] <a href='useronline.php>Users online</a> [url='logout.php']Logout[/url] Time is now "; echo date ('F j, Y')." ".date('g:i:s a'); ?>
  21. Re: [mccodes lite] Gangs Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/a9664480/public_html/mainmenu.php on line 56
  22. Re: free free crystal market for lite What is the SQL?
  23. Re: Basic Forums [LITE / V1] Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/a9664480/public_html/forum.php on line 2 Parse error: syntax error, unexpected T_STRING in /home/a9664480/public_html/forum.php on line 2
  24. Re: free free crystal market for lite theres lots of errors i beleive
  25. Re: [mccodes V2] Bounty Hunter Game Great mod ent found the bounty yet though ;)
×
×
  • Create New...