You had this line:
<?php if (isset($rsORDER->getColumnVal('updated_date'))) { ?>
that isn't valid... it should just be:
<?php if ($rsORDER->getColumnVal('updated_date')) { ?>
That is probably an issue with the update from the old recordset syntax. I think that would have been valid when referring to a row from a standard recordset.