summaryrefslogtreecommitdiffstats
path: root/do.php
diff options
context:
space:
mode:
Diffstat (limited to 'do.php')
-rw-r--r--do.php10
1 files changed, 5 insertions, 5 deletions
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`