This are set ups values on the top of the page
$submenu = false;
$cat = isset($_GET['subject']) && is_numeric($_GET['subject'])?$_GET['subject']:null;
And this line is within the code and uses those values.
if($submenu == false && !is_null($cat) && $cat == $row['id'])
What this line means according to the set up values above?
in Special the $submenu variable why does its value needed to be assign to false here and then use it in that conditioned line?