<a href="<?php 
print URL;
?>
?c=showTimeTable&f=show"><span class="fa-stack fa-lg pull-left"><i class="fa fa-calendar-o fa-stack-1x "></i></span> Розклад</a>
            </li>
            <?php 
for ($i = 0; $i < count($menu); $i++) {
    ?>
                <li>
                    <a href=""><?php 
    print $menu[$i]['name'];
    ?>
</a>

                    <?php 
    $submenu = $obj->getSubMenuElement($menu[$i]['position']);
    if (count($submenu) != 0) {
        ?>

                        <ul class="nav-pills nav-stacked" style="list-style-type:none;">
                            <?php 
        for ($j = 0; $j < count($submenu); $j++) {
            ?>
                                <li><a href="<?php 
            URL;
            ?>
?c=<?php 
            print $submenu[$j]['href'];
            ?>
"><?php 
            print $submenu[$j]['name'];