From 8e639fd6cccecb3f23f727ef1f00f7e9851ea04e Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Sat, 25 Aug 2012 05:43:26 -0500 Subject: Fixing various javascript warnings, as well as renaming all //!! comments to //TODO --- do.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'do.php') diff --git a/do.php b/do.php index a39b689..ebdfda9 100644 --- a/do.php +++ b/do.php @@ -31,7 +31,7 @@ if (isset($_GET['act']) && $_GET['act'] == "getmap") { } } -// !! Depreciate? +// TODO: Depreciate? if (isset($_GET['checkachieve']) && $_GET['checkachieve'] == 'true' && $_SESSION['accepted'] == 1) { $json['notification'] = true; $userID = $_SESSION['userID']; @@ -82,7 +82,7 @@ if ($_GET['r'] == 'getsol') { $userID = $_SESSION['userID']; -///// !! FIX FIX FIX FIX FIX FIX ////// +///// TODO: FIX FIX FIX FIX FIX FIX ////// if ($_SESSION['accepted'] == 1) { $json = getSolution($userID, $mapID); if ($tmp['moves'] > $_SESSION[$mapID.'sol']) { @@ -137,11 +137,11 @@ if ($_GET['r'] == 'getpath') { $json['path'][] = routePath($mygrid); $json['path'][] = routePath($mygrid, false, true); - // !! Tmp + // TODO: Tmp //$moves = $json['moves']; $moves = $json['path1']['moves']; - // !! Tmp + // TODO: Tmp $json['blocked'] = ($json['path1']['blocked']); $json['mapid'] = $mapID; @@ -276,7 +276,7 @@ if ($_GET['r'] == 'getpath') { function isCurrentMap($mapID) { - // !! Broke + // TODO: Broke include_once('./includes/db.inc.php'); $sql = "SELECT maps.ID FROM `mapOfTheDay` -- cgit v1.2.3