you have an if statment at line 386:
<?php if ($totalRows_WADAsiteezyecorderdetails > 0) { // Show if recordset not empty ?>
that does not have a closing tag.
change line 431;
<?php if ($totalRows_WADAsiteezyecorderdetails == 0) { // Show if recordset empty ?>
to:
<?php } ?>
<?php if ($totalRows_WADAsiteezyecorderdetails == 0) { // Show if recordset empty ?>