SQL_FREERESULT($result);
} // END - if
} // END - foreach
- $content['rows'] = $OUT;
+
+ $content['rows'] = $OUT;
+ $content['chk'] = countPostSelection();
+ $content['sub'] = $subMenu;
$content['count'] = $count;
// Load template
SQL_FREERESULT($result);
} // END - if
} // END - foreach
- $content['rows'] = $OUT;
+
+ $content['rows'] = $OUT;
+ $content['chk'] = countPostSelection();
+ $content['sub'] = $subMenu;
$content['count'] = $count;
// Load template
// 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++;
// 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);