It should have:
$comparisons = array(TRUE, "".((isset($_SESSION['AdminLogin']))?$_SESSION['AdminLogin']:"") ."", 1, "".$GLOBALS['WAGLOBAL_Admin_Password'] ."");
Yes, that file is where it should be.
The errors I am seeing remind me of a problem Dreamweaver occasionally had with underscored variables such as content_id.
I am using DW8. Do you think that could be at the heart of the matter?