Ejemplo n.º 1
0
?>
 fade" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <form method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">Раздел</h4>
                </div>
                <div class="modal-body">
                    <div class="container-fluid">
                        <label class="hidden_section">Введите раздел</label>
                        <select name="section" class="form-control m-b hidden_section">
                            <option value="0" selected="selected"></option>
                            <?php 
Pages::viewCatOptions(Pages::getCat(), 0, 0);
?>
                        </select>
                        <label>Введите название</label>
                        <input type="text" class="form-control m-b" placeholder="Название" name="name">
                        <label>Url</label>
                        <input type="text" class="form-control m-b" placeholder="Url" name="url">
                        <input type="hidden" name="go" value="save">
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Закрыть</button>
                    <button type="button" class="btn btn-success button">Сохранить</button>
                </div>
            </form>
        </div>
Ejemplo n.º 2
0
cart" class="pull-right text-cart hidden-xs">
            <span class="pull-right item1">
                <span class="text1">В корзине: <br><span class="cartCount"></span> (шт)</span><br>
            </span>
            <span class="pull-right"><img width="43" src="<?php 
echo Config::$prefix;
?>
images/cart.png" alt=""></span>
        </a>
        <div class="collapse navbar-collapse navbar-ex1-collapse">
            <ul class="nav navbar-nav">
                <li><a href="<?php 
echo Config::$prefix;
?>
">Главная</a></li>
                <li><a href="<?php 
echo Config::$prefix;
?>
catalog/cars">Каталог</a></li>
<!--                <li><a href="--><?php 
//=$config::$prefix
?>
<!--search">Подбор продукции</a></li>-->
                <?php 
Pages::viewCatLi(Pages::getCat(), 0);
?>
            </ul>
        </div>

    </div>
</nav>