<?php endwhile; ?>
...
</ul>