<div class="span12">

    <div class="navbar" id="menuclassique">
        <div class="navbar-inner">
            <a class="brand" href="#">zKup</a>
            <ul class="nav">
                <?php foreach ((array)v('items') as $MenuItem) {
                $hasSubMenu = sizeof($MenuItem->items) > 0;

                if ($hasSubMenu) {
                    ?>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <?php echo $MenuItem->nom; ?>
                            <b class="caret"></b>
                        </a>
                    <ul class="dropdown-menu">
                        <?php foreach ($MenuItem->items as $SubItem) { ?>
                        <li><?php echo $SubItem->urlAsString(); ?></li>
                        <?php } ?>
                    </ul>
                        </li>
                    <?php
                } else {
                    ?>
                    <li><?php echo $MenuItem->urlAsString(); ?></li><?php
                }
            }
                ?>
            </ul>
        </div>
    </div>

</div>