query($query); $notifs = 0; if (!$result || !$result->fetchColumn()) { ++$notifs; $link = "error.php?errno=1"; } $label = ($notifs) ? "$notifs" : ""; $pages["SQL Auth$label"] = "plugins/sql_auth/$link"; } }