$messages) { foreach ($messages as $message) { ?>