1 2 3 4 5 6 7
<ul> <? foreach($rooms as $room => $display): ?> <li class="<?=h($room)?>"> <a href="<?=h(link_room($room))?>"><?=h($display)?></a> </li> <? endforeach ?> </ul>