<?php if ($totalRows_mods > 0) { if ($go != "mods") { foreach ($mods_display as $mod_id) { $mods = mod_display($mod_id, $section, $go, $_SESSION['userLevel'], 1); if (!empty($mods)) { include $mods; } } } }
<?php if ($totalRows_mods > 0) { if ($go != "mods") { foreach ($mods_display as $mid) { $mods1 = mod_display($mid, $section, $go, $_SESSION['userLevel'], 2); if (!empty($mods1)) { include $mods1; } } } }