<?php
echo N2Html::openTag('div', array('class' => 'n2-nav'));

if (!empty($logoUrl)):

    echo N2Html::tag('div', array('class' => 'n2-blue-logo-bg n2-logo'), N2Html::tag('a', array('href' => $logoUrl), N2Html::image($logoImageUrl)));

endif;
?>
    <div class="n2-blue-bg n2-header">
        <?php
        if (isset($actions) && count($actions)):
            ?>
            <div class="n2-header-action n2-left">
                <?php
                foreach ($actions AS $action):
                    echo $action;
                endforeach;
                ?>
            </div>
        <?php endif; ?>

        <!--breadcrumb-->

        <?php if (isset($views) && count($views)): ?>
            <div class="n2-header-menu n2-header-right">
            <?php
            foreach ($views AS $view) {
                echo $view;
            }
            ?>
        </div>
        <?php endif; ?>

    </div>

<?php
echo N2Html::closeTag('div');