X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-memedit.php;h=64e8edaa99d4582df0885f54abdf9d191497f919;hb=97702d59eb179b54690f9ccc18df66cd981ab0df;hp=34dc56c0c8d50d6c62195880eac16ffe0ba91f38;hpb=0f3a135204757cc8750262871c8e62c42300acb4;p=mailer.git diff --git a/inc/modules/admin/what-memedit.php b/inc/modules/admin/what-memedit.php index 34dc56c0c8..64e8edaa99 100644 --- a/inc/modules/admin/what-memedit.php +++ b/inc/modules/admin/what-memedit.php @@ -127,7 +127,10 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive() SQL_FREERESULT($result); } // END - if } // END - foreach - $content['rows'] = $OUT; + + $content['rows'] = $OUT; + $content['chk'] = countPostSelection(); + $content['sub'] = $subMenu; $content['count'] = $count; // Load template @@ -167,7 +170,10 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive() SQL_FREERESULT($result); } // END - if } // END - foreach - $content['rows'] = $OUT; + + $content['rows'] = $OUT; + $content['chk'] = countPostSelection(); + $content['sub'] = $subMenu; $content['count'] = $count; // Load template @@ -189,11 +195,11 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive() // Some are there? if (!SQL_HASZERONUMS($result)) { - // Set sub value - $content['sub'] = $subMenu; - $count = '0'; $OUT = ''; while ($content = SQL_FETCHARRAY($result)) { + // Set sub value + $content['sub'] = $subMenu; + // Init navigation $content['navi'] = ''; $count++; @@ -218,8 +224,9 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive() // Free memory SQL_FREERESULT($result); - // Remember rows in array + // Remember rows/sub in array $content['rows'] = $OUT; + $content['sub'] = $subMenu; // Load main template loadTemplate('admin_member_menu_overview', false, $content);