<?php
$view->extend('MarketZodacoBundle::base.html.php');
?>
<?php $view['slots']->set('title', $view['translator']->trans("Administrator")) ?>
<div class="col-sm-12 col-lg-12 main" id="mainContents">
    <div class="container">
        <link href="<?php echo $view->escape('/assetic/css/bootstrap-table.css'); ?>" rel="stylesheet">
        <div class="row">
            <div class="col-lg-3 no-padding">
                <div class="col-lg-12 no-padding-right">

                    <ul class="nav menu">
                        <li class="parent ">
                            <a href="#">
                                <span class="fa fa-list"></span> <?php
                                echo $view['translator']->trans("Help and Support");
                                ?> <span data-toggle="collapse" href="#sub-item-info" class="icon pull-right"><em class="fa fa-plus"></em></span> 
                            </a>
                            <ul class="children collapse in" id="sub-item-info">
                                <li>
                                    <a class="" href="<?php echo $view['router']->generate('_admin_info', array(), true); ?>">
                                        <?php
                                        echo $view['translator']->trans("List Categories");
                                        ?>
                                    </a>
                                </li>
                                <li>
                                    <a class="" href="<?php echo $view['router']->generate('_admin_add_info', array(), true); ?>">
                                        <?php
                                        echo $view['translator']->trans("New Categories");
                                        ?>
                                    </a>
                                </li>
                                <li>
                                    <a class="" href="<?php echo $view['router']->generate('_admin_detail_info', array(), true); ?>">
                                        <?php
                                        echo $view['translator']->trans("List Help");
                                        ?>
                                    </a>
                                </li>
                                <li>
                                    <a class="" href="<?php echo $view['router']->generate('_admin_add_detail_info', array(), true); ?>">
                                        <?php
                                        echo $view['translator']->trans("New Help");
                                        ?>
                                    </a>
                                </li>
                            </ul>
                        </li>


                        <li class="parent ">
                            <a href="#">
                                <span class="fa fa-list"></span> <?php
                                echo $view['translator']->trans("Categories");
                                ?> <span data-toggle="collapse" href="#sub-item-1" class="icon pull-right"><em class="fa fa-plus"></em></span> 
                            </a>
                            <ul class="children collapse in" id="sub-item-1">
                                <li>
                                    <a class="" href="<?php echo $view['router']->generate('_admin_categories', array(), true); ?>">
                                        <?php
                                        echo $view['translator']->trans("List Categories");
                                        ?>
                                    </a>
                                </li>
                                <li>
                                    <a class="" href="<?php echo $view['router']->generate('_admin_add_categories', array(), true); ?>">
                                        <?php
                                        echo $view['translator']->trans("New Categories");
                                        ?>
                                    </a>
                                </li>
                            </ul>
                        </li>

                        <li class="parent ">
                            <a href="#">
                                <span class="fa fa-list"></span> <?php
                                echo $view['translator']->trans("Products");
                                ?> <span data-toggle="collapse" href="#sub-item-2" class="icon pull-right"><em class="fa fa-plus"></em></span> 
                            </a>
                            <ul class="children collapse in" id="sub-item-2">
                                <li>
                                    <a class="" href="<?php echo $view['router']->generate('new_products', array(), true); ?>">
                                        <?php
                                        echo $view['translator']->trans("New Upload");
                                        ?>
                                    </a>
                                </li>
                                <li>
                                    <a class="" href="<?php echo $view['router']->generate('update_products', array(), true); ?>">
                                        <?php
                                        echo $view['translator']->trans("Update Version");
                                        ?>
                                    </a>
                                </li>
                                <li>
                                    <a class="" href="<?php echo $view['router']->generate('admin_search_products', array(), true); ?>">
                                        <?php
                                        echo $view['translator']->trans("Search Product");
                                        ?>
                                    </a>
                                </li>
                            </ul>
                        </li>

                        <li class="parent ">
                            <a href="#">
                                <span class="fa fa-list"></span> <?php
                                echo $view['translator']->trans("Users");
                                ?> <span data-toggle="collapse" href="#sub-item-3" class="icon pull-right"><em class="fa fa-plus"></em></span> 
                            </a>
                            <ul class="children collapse in" id="sub-item-3">
                                <li>
                                    <a class="" href="<?php echo $view['router']->generate('admin_search_user', array(), true); ?>">
                                        <?php
                                        echo $view['translator']->trans("Search User");
                                        ?>
                                    </a>
                                </li>
                            </ul>
                        </li>

                        <li class="parent ">
                            <a href="#">
                                <span class="fa fa-list"></span> <?php
                                echo $view['translator']->trans("Newsletter");
                                ?> <span data-toggle="collapse" href="#sub-item-4" class="icon pull-right"><em class="fa fa-plus"></em></span> 
                            </a>
                            <ul class="children collapse in" id="sub-item-4">
                                <li>
                                    <a class="" href="<?php echo $view['router']->generate('admin_newsletter', array(), true); ?>">
                                        <?php
                                        echo $view['translator']->trans("Create Newsletter");
                                        ?>
                                    </a>
                                </li>
                            </ul>
                        </li>

                    </ul>
                </div>
            </div>
            <div class="col-lg-9 no-padding">
                <?php $view['slots']->output('_content'); ?>
            </div>
        </div><!--/.row-->
    </div>
</div>

<script src="<?php echo $view->escape('/assetic/js/bootstrap-table.js'); ?>"></script>