db->get_var($sql); if ($url) { header("Location: " . $nc_core->SUB_FOLDER . $url); exit; } } ?>