X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_rallyes.php;h=554efeaefe9ec6c743440bbce6bbbc2ce2ec5be8;hp=dddae955bb540d1131704f1178011817f8305f6d;hb=56156f6c4392510cdbe0eb4f2ccefc23b43e2672;hpb=f9a9c09e1ae257449bfd98f8854e321efba1dc3c diff --git a/inc/modules/admin/what-list_rallyes.php b/inc/modules/admin/what-list_rallyes.php index dddae955bb..554efeaefe 100644 --- a/inc/modules/admin/what-list_rallyes.php +++ b/inc/modules/admin/what-list_rallyes.php @@ -108,12 +108,12 @@ if (isset($_GET['rallye'])) foreach ($_POST['sel'] as $id => $sel) { // Remove selected rallye entirely... - $result = SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_rallye_data WHERE id=%s LIMIT 1", - array(bigintval($id)), __FILE__, __LINE__); - $result = SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_rallye_prices WHERE rallye_id=%s", - array(bigintval($id)), __FILE__, __LINE__); - $result = SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_rallye_users WHERE rallye_id=%s", - array(bigintval($id)), __FILE__, __LINE__); + SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_rallye_data WHERE id=%s LIMIT 1", + array(bigintval($id)), __FILE__, __LINE__); + SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_rallye_prices WHERE rallye_id=%s", + array(bigintval($id)), __FILE__, __LINE__); + SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_rallye_users WHERE rallye_id=%s", + array(bigintval($id)), __FILE__, __LINE__); } // Output message @@ -142,7 +142,7 @@ if (isset($_GET['rallye'])) $END = mktime($_POST['end_hour'][$id] , $_POST['end_min'][$id] , $_POST['end_sec'][$id] , $_POST['end_month'][$id] , $_POST['end_day'][$id] , $_POST['end_year'][$id] ); // Update entry - $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_rallye_data SET + SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_rallye_data SET title='%s', descr='%s', template='%s', @@ -233,7 +233,7 @@ if (isset($_POST['edit'])) // Output row $Bl = ""; $Br = ""; - if (($opoints > 0) && ($cnt > 0)) { $Bl = ""; $Br = ""; } + if (($opoints > 0) && ($cnt > 0)) { $Bl = ""; $Br = ""; } if (($old > 0) || ($cnt > 0)) { // Insert link to referal list @@ -300,7 +300,7 @@ ORDER BY start_time DESC", if ($joined > 0) { // List joined users - $joined = "".$joined.""; + $joined = "".$joined.""; } // Alter some variables @@ -340,7 +340,7 @@ ORDER BY start_time DESC", { case "Y": // Rallye is active so do not edit it! - $content['select'] = "".$id.""; + $content['select'] = "
".$id.""; $content['active_title'] = RALLYE_DEACTIVATE_NOW; $content['active'] = 0; break;