Should be:
<?php echo((isset($_GET["invalid"])?ValidatedField("blogupdate","BlogDate"):"".(($WADAblog->getColumnVal("BlogDate") != "")?date("d-m-Y",strtotime($WADAblog->getColumnVal("BlogDate"))):date("d-m-Y"))."")); ?>
The second code is just a repeat region... you should be able to delete those lines and highlight the same area of code and apply the mysqli repeat region to get the equivalent code.