you also need to apply the if statement around the Authorize.net transaction code block.
add your if statement at line 297:
<?php if ($row_rsUsers['UserOwnerApproved']!=1) { ?>
and at line - 461, add:
<?php } else {$eCartHomestead1->redirStr = "checkout_success.php"; } ?>