<?php define('_IN_JOHNCMS', 1); $headmod = 'other'; $textl = 'Прочее'; echo '<div class="phdr">Прочеe</div>'; $folder = scandir("."); foreach ($folder as $file){ echo'<div class="menu"><a href="' . $file . '">' . $file . '</a></div>'; } ?>