Jump to content
MakeWebGames

mmomaker

Members
  • Posts

    123
  • Joined

  • Last visited

Everything posted by mmomaker

  1. Re: Mccodes V2. Music Player. $40 Warning: fopen(/home2/respect/public_html/songs/1/toby.html ) [function.fopen]: failed to open stream: No such file or directory in /home2/respect/public_html/musicplayer.php on line 52 Warning: filesize() [function.filesize]: stat failed for /home2/respect/public_html/songs/1/toby.html in /home2/respect/public_html/musicplayer.php on line 53 Warning: fread(): supplied argument is not a valid stream resource in /home2/respect/public_html/musicplayer.php on line 53 Warning: fclose(): supplied argument is not a valid stream resource in /home2/respect/public_html/musicplayer.php on line 54 > Play Music   i did evrething correct and i get error
  2. Re: [Mccodes] New Login sorry wrong link i putted up the pic now
  3. any feed back please
  4. Re: FIRST THOUGH! boring
  5. Re: mccodes error yer it fixed now lol thks karlos
  6. Re: mccodes error   <?php include "sglobals.php"; switch($_GET['action']) { case 'basicset': basicsettings(); break; case 'announce': announcements(); break; default: index(); break; } function basicsettings() { global $db,$ir,$c,$h,$userid,$set; if($ir['user_level'] != 2) { die("403"); } if($_POST['submit']) { unset($_POST['submit']); foreach($_POST as $k => $v) { $db->query("UPDATE `settings` SET conf_value='$v' WHERE conf_name='$k'"); } print "Settings updated! [url='staff.php?action=basicset']Back[/url]"; stafflog_add("Updated the basic game settings"); } else { print "<h3>Basic Settings</h3><hr /> <form action='staff.php?action=basicset' method='post'> <input type='hidden' name='submit' value='1' /> Game Name: <input type='text' name='game_name' value='{$set['game_name']}' /> Game Owner: <input type='text' name='game_owner' value='{$set['game_owner']}' /> Game Description: <textarea rows='7' cols='50' name='game_description'>{$set['game_description']}</textarea> Paypal Address: <input type='text' name='paypal' value='{$set['paypal']}' /> Gym/Crimes Validation: <select name='validate_on' type='dropdown'>"; $opt=array( "1" => "On", "0" => "Off" ); foreach($opt as $k => $v) { if($k == $set['validate_on']) { print "<option value='{$k}' selected='selected'>{$v}</option>"; } else { print "<option value='{$k}'>{$v}</option>"; } } print "</select> Validation Period: <select name='validate_period' type='dropdown'>"; $opt=array( "5" => "Every 5 Minutes", "15" => "Every 15 Minutes", "60" => "Every Hour", "login" => "Every Login" ); foreach($opt as $k => $v) { if($k == $set['validate_period']) { print "<option value='{$k}' selected='selected'>{$v}</option>"; } else { print "<option value='{$k}'>{$v}</option>"; } } print "</select> Registration CAPTCHA: <select name='regcap_on' type='dropdown'>"; $opt=array( "1" => "On", "0" => "Off" ); foreach($opt as $k => $v) { if($k == $set['regcap_on']) { print "<option value='{$k}' selected='selected'>{$v}</option>"; } else { print "<option value='{$k}'>{$v}</option>"; } } print "</select> Send Crystals: <select name='sendcrys_on' type='dropdown'>"; $opt=array( "1" => "On", "0" => "Off" ); foreach($opt as $k => $v) { if($k == $set['sendcrys_on']) { print "<option value='{$k}' selected='selected'>{$v}</option>"; } else { print "<option value='{$k}'>{$v}</option>"; } } print "</select> Bank Xfers: <select name='sendbank_on' type='dropdown'>"; $opt=array( "1" => "On", "0" => "Off" ); foreach($opt as $k => $v) { if($k == $set['sendbank_on']) { print "<option value='{$k}' selected='selected'>{$v}</option>"; } else { print "<option value='{$k}'>{$v}</option>"; } } print "</select> Energy Refill Price (crystals): <input type='text' name='ct_refillprice' value='{$set['ct_refillprice']}' /> IQ per crystal: <input type='text' name='ct_iqpercrys' value='{$set['ct_iqpercrys']}' /> Money per crystal: <input type='text' name='ct_moneypercrys' value='{$set['ct_moneypercrys']}' /> Will Potion Item: ".item_dropdown($c, "willp_item", $set['willp_item'])." <input type='submit' value='Update Settings' /></form>"; } } function announcements() { global $db,$ir,$c,$h,$userid,$set; if($ir['user_level'] != 2) { die("403"); } if($_POST['text']) { $db->query("INSERT INTO announcements VALUES('{$_POST['text']}', unix_timestamp())"); $db->query("UPDATE users SET new_announcements=new_announcements+1"); print "Announcement added! > [url='staff.php']Back[/url]"; stafflog_add("Added a new announcement"); } else { print "Adding an announcement... Please try to make sure the announcement is concise and covers everything you want it to.<form action='staff.php?action=announce' method='post'> Announcement text: <textarea name='text' rows='10' cols='60'></textarea> <input type='submit' value='Add Announcement' /></form>"; } } function index() { global $db,$ir,$c,$h,$userid,$set, $_CONFIG; $pv=phpversion(); $mv=$db->fetch_single($db->query("SELECT VERSION()")); $dv=$_CONFIG['driver']; if($ir['user_level']==2) { $versionno=20200; $version="2.0.2"; print "<h3>System Info</h3><hr /> <table width='75%' cellspacing='1' class='table'> <tr> <th>PHP Version:</th> <td>$pv</td> </tr> <tr> <th>MySQL Version:</th> <td>$mv</td> </tr> <tr> <th>MySQL Driver:</th> <td>$dv</td> </tr> <tr> <th>Codes Version</th> <td>$version (Build: $versionno)</td> </tr> </table><hr /> <h3>Last 10 Staff Actions</h3><hr /> <table width='100%' cellspacing='1' class='table'> <tr> <th>Staff</th> <th>Action</th> <th>Time</th> <th>IP</th> </tr>"; $q=$db->query("SELECT s.*, u.* FROM stafflog AS s LEFT JOIN users AS u ON s.user=u.userid ORDER BY s.time DESC LIMIT 10"); while($r=$db->fetch_row($q)) { print "<tr><td>{$r['username']} [{$r['user']}]</td> <td>{$r['action']}</td> <td>".date('F j Y g:i:s a', $r['time'])."</td> <td>{$r['ip']}</td></tr>"; } print "</table><hr />"; } print "<h3>Staff Notepad</h3><hr />"; if($_POST['pad']) { $db->query("UPDATE settings SET conf_value='{$_POST['pad']}' WHERE conf_name='staff_pad'"); $set['staff_pad']=stripslashes($_POST['pad']); print "[b]Staff Notepad Updated![/b]<hr />"; } print "<form action='staff.php' method='post'> <textarea rows='10' cols='60' name='pad'>".htmlspecialchars($set['staff_pad'])."</textarea> <input type='submit' value='Update Notepad' /></form>"; } $h->endpage(); ?>
  7. Re: mccodes error staff.php?
  8. Re: mccodes error ??? which one
  9. i get this wen i try to update the basic settings Call to undefined function stafflog_add() in /home/mccodes/public_html/staff.php on line 26
  10. Re: [Mccodes] Mainmenu 2 help   <td width='20%' class=table valign=top> OUT; include "mainmenu2.php"; print <<<OUT </td> </tr> </table></td> <td class="rgrad"></td>   never mind lol just added in valign=top simple lmao
  11. Re: [Mccodes] Mainmenu 2 help lol ok look rite   |___________| | m | | m |   thats layout ok u see on the right hand side this is wat happens if the content is long   |___________| | m | | | | | | m |
  12. ok am having problem and dont no how to fix this but i added a second mainmenu , and atm wen i change to a long page the mainmenu is alight center which means if the page is long the mainmenu2 will go down with it so i ask for help to make it stay on top and not move down
  13. Re: 3 Word Game with 999 boobbbbsss
  14. Re: [V2] New Small Accuracy Mod [V2] wats this mod for
  15. Re: Bank Layout V2 umm not working i sign up for bank for 5k nad then start using bank , then it goes to sign up for bank for 5k again?
  16. Re: 3 Word Game got bum raped
  17. Re: [ANY] FREE BANNER ohh thats how u do it lol
  18. Re: Think your a good coder? lol am just messing round am bored , i dont even have that mod lol
  19. Re: Think your a good coder? i say better layout of it lol
  20. Re: [ANY] FREE BANNER lol i need photoshop bak now :-)
  21. Re: [ANY] FREE BANNER thk sniko :-D even tho its simple
  22. Re: Jail_Reason is this for mccodes? or for a different engine
  23. Re: 3 Word Game to pray for
  24. Re: Hacked :( true we come here to learn lol , working on new game and ganan lauch wen all secure and stuff like
  25. Re: Hacked :( wat the link again i check ur site out again
×
×
  • Create New...