I tried it in design view only and it's doing the same thing. Everything below the Show Region is removed as well.
OK, looks like it is working now. This line was outside the html tags <?php require_once( "../webassist/security_assist/helper_php.php" ); ?>
It wouldn't work like that in the template.