-
Posts
238 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Ben Nash
-
I keep getting this error: Parse error: syntax error, unexpected ';', expecting T_FUNCTION in /home/warfarei/public_html/trying/header.php on line 222 when i try to integrate mccodes into my xhtml file. <?php class headers { function startheaders() { global $ir, $set; echo <<<EOF <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Nerf Warrriors</title> <style type="text/css"> body { background-image: url(Images/bg.jpg); } #wrap { background-color: #dfdac6; width:800px; margin-left:auto; margin-right:auto; border-style: solid; border-width: 1px; border-color:#eeeeee; } #top { background-image: url(Images_Ingame/headerbg.jpg); background-repeat:no-repeat; width: auto; height:100px; } #bar { background-image: url(Images_Ingame/menubg.jpg); font-family: arial; font-size: 11px; margin-top: auto; width:100%; height: 57px; } .menulinks { list-style-type:none; margin:auto; } .menulinks li { display:inline-block; margin-left:5px; margin-top:12px; } #nav { float:left; height:600px; width:250px; background-image: url('Images_Ingame/navbg.jpg'); background-repeat:-y; padding-right:40px; padding-top:15px; } #content { height:615px; text-align:center; width:auto; background-image: url('Images_Ingame/contentbg.jpg'); background-repeat:-x; margin-left:250px; } .nav2 { list-style-type:none; margin:0px; } .nav2 li { display:block; background-image:url('Images_Ingame/link.jpg'); width:210px; height:20px; padding:3px; text-align:center; } a:link { color:#000; text-decoration:none; } a:hover { text-decoration:underline; } a:visited { color:#000; text-decoration:none; } img { border:none; } .info { padding-left:5px; } #footer { clear:both; background-image: url('Images/footer.jpg'); height:40px; padding-top:5px; padding-right:15px; text-align:right; } </style> </head> <body> EOF; } function userdata($ir,$lv,$fm,$cm,$dosessh=1) { global $db,$c,$userid, $set; $IP = $db->escape($_SERVER['REMOTE_ADDR']); $db->query("UPDATE `users` SET `laston` = ".$_SERVER['REQUEST_TIME'].",`lastip` = '$IP' WHERE `userid` = $userid"); if(!$ir['email']) { global $domain; die ("<body>Your account may be broken. Please mail help@{$domain} stating your username and player ID."); } if($dosessh && ($_SESSION['attacking'] || $ir['attacking'])) { echo "You lost all your EXP for running from the fight."; $db->query("UPDATE users SET exp=0,attacking=0 WHERE userid=$userid"); $_SESSION['attacking']=0; } $d=""; $u=$ir['username']; if($ir['donatordays']) { $u = "<font color=red>{$ir['username']}</font>";$d="<img src='donator.gif' alt='Donator: {$ir['donatordays']} Days Left' title='Donator: {$ir['donatordays']} Days Left' />"; } $gn=""; global $staffpage; print <<<OUT <div id="wrap"> <div id="top"></div> <div id="bar"> <ul class='menulinks'> <li><a href='#'><img src='Images_Ingame/homepage.jpg'></a></li> <li><a href='#'><img src='Images_Ingame/messages.jpg'></a></li> <li><a href='#'><img src='Images_Ingame/usersonline.jpg'></a></li> <li><a href='#'><img src='Images_Ingame/vote.jpg'></a></li> <li><a href='#'><img src='Images_Ingame/donate.jpg'></a></li> </ul> </div> <div id="nav"> <ul class="nav2"> <b>Name:</b> $gn{$u} [{$ir['userid']}] $d<br /> <b>Money:</b> {$fm}<br /> <b>Level:</b> {$ir['level']}<br /> <b>Points:</b> {$ir['points']}<br /> OUT; if($ir['fedjail']) { $q=$db->query("SELECT * FROM fedjail WHERE fed_userid=$userid"); $r=$db->fetch_row($q); die("<b><font color=red size=+1>You have been put in the {$set['game_name']} Federal Jail for {$r['fed_days']} day(s).<br /> Reason: {$r['fed_reason']}</font></b></body></html>"); } if(file_exists('ipbans/'.$IP)) { die("<b><font color=red size=+1>Your IP has been banned from {$set['game_name']}, there is no way around this.</font></b></body></html>"); } } function menuarea() { define('jdsf45tji', true, true); include 'mainmenu.php'; global $ir,$c; function smenuarea() { define('jdsf45tji', true, true); include 'smenu.php'; global $ir,$c; } function endpage() { global $db; print <<<OUT <div id="content">welcome</div> <div id="footer">Copyright stuff</div> </div> </div> </body> </html> OUT; } } ?> Can someone please fix this code... NOTE: i don't need the energy, will bars and jail and hospital parts. Thanks ben.
-
Added new demo and new file! (ingame) improved code
-
How much would people charge for this to be integrated into a mccodes v2.03 bank?
-
I will start you off... if ($ir['level'] < certainlevel) { echo"you need to be a certain level to create a house!"; }
-
Just the Top Clans,Top players and the welcome bits have text positioned.
-
I'm not to sure about putting up a live demo as it can be easily stolen.
-
I am not selling this, it's only a example peter... i am coding any psd for $20.
-
I am offering psd to xhtml/css for a very good price of $20. Previous work [ATTACH=CONFIG]217[/ATTACH] Demo MSN/EMAIL: [email protected] Thank you Ben.
-
Taking Mccodes v2.03/V1/LITE Paid/FREE mod requests
Ben Nash replied to Ben Nash's topic in Requests & In Production
I don't get what you want peterisgb... please pm me with more details. -
I will charge about $30 for this.
-
Taking Mccodes v2.03/V1/LITE Paid/FREE mod requests
Ben Nash replied to Ben Nash's topic in Requests & In Production
@Danny696 most of the mods i will make will be free... -
Hey, am interested in testing your new game. PM me the link
-
i added you on msn
-
It takes a few hours for a reply...
-
I can make this for you for $5. PM me.
-
I am selling the codes for the mw3 4 hours of double xp and the theme code because i don't really play MW3 anymore. The codes for unused! I am selling this pack for £9.99 ( i think its a fair price) through paypal. After the payment is sent i will PM you codes or email them to you.
-
Hello MWG, I recently bought daves site (Google Plus exchange site) because i was very intrested in the idea. Link: http://www.googleplusexchange.co.uk The site is currently getting over 850 views a day so you can guarantee +1's on your site! Our service enables you to recieve google plus ones completly free from our compelling service. Our site allows you to acquire free, quick, and easy google plus ones for your site. We do this through an exchange service, you plus someone elses site someone will return the favour to you! We work on a simple point system with the option to win massive amounts of points. To start gaining +1's on your site simply login and add your site. Thank you.
-
So how do you track a bot or autoclick?
Ben Nash replied to Hendrickson's topic in General Discussion
I would say just check your logs now and again... for example if a users gain massive amount of strengh/guard etc.. and have really good stats its obv a bot so you can ban them. -
New gamer themed template for sale! Gamer Template http://imageshack.us/photo/my-images/546/gamexw.jpg/ Price: $25 PSD Included
-
I bought this off a web designer ages ago... and have full rights to sell it. I'm selling this for $20 - $10 more coded [ATTACH=CONFIG]179[/ATTACH] Thank you