-
Posts
790 -
Joined
-
Last visited
-
Days Won
6
Zettieee last won the day on May 17 2016
Zettieee had the most liked content!
About Zettieee
- Birthday 11/01/1992
Personal Information
-
Location
//root
-
Interests
Gaming.
-
Occupation
//
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Zettieee's Achievements
Newbie (1/14)
11
Reputation
-
Hey. Not really been around much but I have been busy! Here's something I've been working on: (Assets have been purchased as I really cant do modeling!) https://giphy.com/gifs/l0K41Zbn3WYwDNBmM <-- small gif of movement system A few screenies of the art style: http://imgur.com/a/jLNsR It's currently not playable as they is no content but thought you guys might like it. It will (I hope) be a dungeon crawler somewhat close to how Gauntlet Legends (psone) played without that edgy camera. Somewhat looking for someone to help with level design (mapping in unity) send me a pm or leave a comment.
-
Jquery Inventory & Ajax Chat Room [Discount]
Zettieee replied to Zettieee's topic in Paid Modifications
Sadly only locally. -
Selling both mods at a discounted price for the next 24 hours! Ajax chat: http://mccodes.com/viewmod.php?id=173 ($25) [Now $15] - free integration ! JQ inventory: http://mccodes.com/viewmod.php?id=167 ($20) [Now $15] Contact me here or via skype: scruffy.gamer Enjoy :)
-
Formatted and fix for mysql_error() <?php include(DIRNAME(__FILE__) . '/globals.php'); switch ($_GET['action']) { case 'adddo': add_to_do(); break; case 'adddosub': add_to_sub(); break; default: a_home(); break; } function a_home() { global $ir, $userid, $h, $c; if ($ir['user_level'] > 1) { $sql = "SELECT n.* FROM needsdone n ORDER BY status"; echo "<table width='65%'><tr><th>List</th><th>Status</th></tr>"; $q = $db->query($sql); while ($r = $db->fetch_rows($q)) { echo "<tr align='center'><td>{$r['doname']}</td><td>"; if ($r['status'] == 'Complete') { echo "<font color='green'>{$r['status']}<\font>"; } else if ($r['status'] == 'Started') { echo "<font color='yellow'>{$r['status']}<\font>"; } else { echo "<font color='Red'>{$r['status']}<\font>"; } Echo "</td></tr>"; } echo "<tr><th colspan='2' align='center'><a href='todo.php?action=adddo'>Add To List</a></th></tr></table>"; } else if ($ir['user_level'] == 1) { echo "You\'re not allowed here. <a href='index.php'> Back </a>"; } } function add_to_do() { echo "<table><tr><th>Add To The To Do List<\th><\tr> <tr><td align='center'><form action='todo.php?action=adddosub' method='post'> Name: <input type='text' name='name' /><br /> Status: <select type='dropdown' name='status'> <option value='Not Started'>Not Started</option> <option value='Started'>Started</option> <option value='Complete'>Complete</option></select><br/> <input type='submit' value='Add To List' /></form>"; } function add_to_sub() global $ir, $userid, $h, $c ; { if ($_POST['name'] == "") { echo "You did not fill out the form correctly"; } else if ($_POST['status'] == "") { echo "You did not fill out the form correctly"; } else { $_POST['name'] = $db->escape($_POST['name']); $_POST['status'] = $db->escape($_POST['status']); $db->query("INSERT INTO needsdone VALUES ('{$_POST['name']}', '{$_POST['status']}')") or die($db->error()); echo "Added to the to do list!<br/><Font color='grey'>~</font> <a href='todo.php'>back</a>"; } } $h->endpage(); ?>
-
You can goto the mccodes.com site and download the latest 2.0.5b
-
I think you installed the game using MYSQL driver and not MYSQLi
-
[uSER=65371]sniko[/uSER] Come do this.
-
You don't need to get the user's ID...
-
So why not wrap the switch in an isset and forgot the top code?
-
preg_replace_callback() for php7 But why define the action like that for a switch? if the action is null it should goto the default switch
-
To me frameworks never made sense. Relearning basic functions just to start a project is a little rough for me. You're all welcome to help btw.
-
This looks like a headache. This wont work if $_GET['action'] is a number. /E_ALL ctype_alpha ctype_alnum() works for alphanumeric characters :)
-
Goto gym, press train. Stat bars don't change yet the page reloaded. Click home and see that your energy is gone.
-
Not sure if a whole rewrite isn't needed. So much code is so badly written it's hard for me to do anything without breaking something else.
-
$db->query("SELECT * FROM `mail` WHERE `mail_to` = '".$_SESSION['id']."' ORDER BY `mail_time` DESC LIMIT 20"); I selected * because the only row we didn't need was mail_read and the extra typing wasn't worth it.