Moved the $issue_flag into the foreach loop, so it gets reset everyday. + therstuff

Added the issue_flag for Major items, as well as added in the URL so users can details about Major issues