]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_payouts.php
Code-style applied, surfbar URLs can now be edited
[mailer.git] / inc / modules / admin / what-config_payouts.php
index 85f05c5466c0718bd7e9e185e1ea15c54ccb737a..39e03d9c91b293b526ececfd8a50ef1ed678f070 100644 (file)
@@ -87,7 +87,7 @@ if ((isset($_POST['edit'])) && (SELECTION_COUNT($_POST['sel']) > 0))
        if ((isset($_GET['ok'])) && ($_GET['ok'] == "ok"))
        {
                // Edit entries
-               foreach ($_POST['sel'] as $id=>$sel)
+               foreach ($_POST['sel'] as $id => $sel)
                {
                        // Secure ID
                        $id = bigintval($id);
@@ -116,7 +116,7 @@ WHERE id='".$id."' LIMIT 1",
        {
                $display = false; //Suppress any other outputs
                $SW = 2; $OUT = "";
-               foreach ($_POST['sel'] as $id=>$sel)
+               foreach ($_POST['sel'] as $id => $sel)
                {
                        // Load data
                        $result = SQL_QUERY_ESC("SELECT type, rate, min_points, allow_url FROM "._MYSQL_PREFIX."_payout_types WHERE id=%s LIMIT 1",
@@ -150,7 +150,7 @@ WHERE id='".$id."' LIMIT 1",
        if ($_GET['ok'] == "ok")
        {
                // Delete entries
-               foreach ($_POST['sel'] as $id=>$sel)
+               foreach ($_POST['sel'] as $id => $sel)
                {
                        $result = SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_payout_types WHERE id=%s LIMIT 1",
                         array(bigintval($id)), __FILE__, __LINE__);
@@ -161,7 +161,7 @@ WHERE id='".$id."' LIMIT 1",
        {
                $display = false; //Suppress any other outputs
                $SW = 2; $OUT = "";
-               foreach ($_POST['sel'] as $id=>$sel)
+               foreach ($_POST['sel'] as $id => $sel)
                {
                        // Secure ID number
                        $id = bigintval($id);