diff options
author | BlueRaja <BlueRaja.admin@gmail.com> | 2012-08-25 05:43:26 -0500 |
---|---|---|
committer | BlueRaja <BlueRaja.admin@gmail.com> | 2012-08-25 05:43:26 -0500 |
commit | 8e639fd6cccecb3f23f727ef1f00f7e9851ea04e (patch) | |
tree | 26260fbe93294728d294a5f14fc72bd908013dbd /do.php | |
parent | 73d12dd8c33eb6ebeee4143707cb59f701936945 (diff) | |
download | pathery-8e639fd6cccecb3f23f727ef1f00f7e9851ea04e.tar.xz |
Fixing various javascript warnings, as well as renaming all //!! comments to //TODO
Diffstat (limited to 'do.php')
-rw-r--r-- | do.php | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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`
|