Exemple #1
0
                <?php 
echo $_breadcrumbs;
?>
                
                <?php 
echo $_content;
?>

                <?php 
if (!Core\Route::param('alias')) {
    ?>
 
                    <?php 
    echo Core\Widgets::get('banners');
    ?>
                <?php 
}
?>
            </div>
            <div class="clear"></div>
        </div>
    </div>
    <div class="clear"></div>    
    <?php 
echo Core\Widgets::get('footer', array('counters' => Core\Arr::get($_seo, 'counters'), 'config' => $_config));
?>
    <?php 
echo Core\Widgets::get('hiddenData');
?>
</body>
</html>
Exemple #2
0
                </div>
                <div class="toolbar no-padding" id="ordersToolbar" data-uri="<?php 
echo Core\Arr::get($_SERVER, 'REQUEST_URI');
?>
">
                    <div class="btn-group">
                        <li class="btn btn-xs">
                            <a href="/backend/admins/index">
                                <i class="fa-refresh"></i>
                                <span class="hidden-xx">Сбросить</span>
                            </a>
                        </li>
                        <span class="btn btn-xs dropdownToggle dropdownSelect">
                             <i class="fa-filter"></i>
                             <span class="current-item"><?php 
echo isset($_GET['status']) ? Core\Arr::get($_GET, 'status') ? 'Опубликованы' : 'Неопубликованы' : 'Все';
?>
</span>
                             <span class="caret"></span>
                        </span>
                        <ul class="dropdownMenu pull-right">
                            <li>
                                <a href="<?php 
echo Core\Support::generateLink('status', NULL);
?>
">
                                    <i class="fa-filter"></i>Все
                                </a>
                            </li>
                            <li>
                                <a href="<?php 
Exemple #3
0
?>
">
                    <div class="btn-group">
                        <li class="btn btn-xs">
                            <a href="/backend/<?php 
echo Core\Route::controller();
?>
/index">
                                <i class="fa-refresh"></i>
                                <span class="hidden-xx">Сбросить</span>
                            </a>
                        </li>
                        <span class="btn btn-xs dropdownToggle dropdownSelect">
                             <i class="fa-filter"></i>
                             <span class="current-item"><?php 
echo isset($_GET['status']) ? Core\Arr::get($_GET, 'status') ? 'Прочитанные' : 'Непрочитанные' : 'Все';
?>
</span>
                             <span class="caret"></span>
                        </span>
                        <ul class="dropdownMenu pull-right">
                            <li>
                                <a href="<?php 
echo Core\Support::generateLink('status', NULL);
?>
">
                                    <i class="fa-filter"></i>Все
                                </a>
                            </li>
                            <li>
                                <a href="<?php 
Exemple #4
0
            ?>
">
						                                <span data-spin="plus" class="editCountItem"></span>
						                                <span data-spin="minus" class="editCountItem"></span>
						                            </div>
						                        </div>
						                        <div class="wb_price_totl"><p><span><?php 
            echo $obj->cost * Core\Arr::get($item, 'count', 1);
            ?>
</span> грн.</p></div>
						                    </div>
						                </div>
						            </div>
						        </li>
						        <?php 
            $amount += $obj->cost * Core\Arr::get($item, 'count', 1);
            ?>
						    <?php 
        }
        ?>
						<?php 
    }
    ?>
					</ul>
				</div>
				<div class="wBasketFooter">
					<div class="wb_footer">
	                    <div class="tar wb_footer_tot">                                 
	                        <div class="wb_total">Итого: <span id="topCartAmount"><?php 
    echo $amount;
    ?>
Exemple #5
0
                            <input name="name" class="form-control" value="<?php 
echo urldecode(Core\Arr::get($_GET, 'name', NULL));
?>
">
                        </div>
                        <div style="display: inline-block;vertical-align: top;">
                            <label class="control-label" style="display: block;">Дата от</label>
                            <input name="date_s" class="form-control fPicker" value="<?php 
echo Core\Arr::get($_GET, 'date_s', NULL);
?>
">
                        </div>
                        <div style="display: inline-block;vertical-align: top;">
                            <label class="control-label" style="display: block;">Дата до</label>
                            <input name="date_po" class="form-control fPicker" value="<?php 
echo Core\Arr::get($_GET, 'date_po', NULL);
?>
">
                        </div>
                        <div style="display: inline-block;">
                            <label class="control-label" style="display: block;">Место проведения</label>
                            <select name="place">
                                <option value="">Все</option>
                                <option value="null" <?php 
echo $_GET['place'] == 'null' ? 'selected' : null;
?>
>Другое</option>
                                <?php 
foreach ($places as $place) {
    ?>
                                    <option value="<?php 
Exemple #6
0
                                            </label>
                                        <?php 
            }
            ?>
                                    </div>
                                </div>
                            <?php 
        }
        ?>
<!--                        Default view -->
                        <?php 
    } else {
        ?>
                            <div class="form-group">
                                <label class="control-label"><?php 
        echo Core\Arr::get($el, 'name');
        ?>
</label>
                                <div class="">
                                    <label class="checkerWrap-inline">
                                        <input name="<?php 
        echo $el['controller'];
        ?>
" <?php 
        echo $ac == 'no' ? 'checked' : NULL;
        ?>
 value="no" type="radio" />
                                        Нет прав
                                    </label>
                                    <?php 
        if (\Core\Arr::get($el, 'view', 1)) {
?>
>От бютжетных к дорогим</option>
            <option value="created_at" data-type="desc" <?php 
echo (Core\Arr::get($_GET, 'sort') == 'created_at' and Core\Arr::get($_GET, 'type') == 'desc') ? 'selected' : '';
?>
>От новых моделей к старым</option>
            <option value="created_at" data-type="asc" <?php 
echo (Core\Arr::get($_GET, 'sort') == 'created_at' and Core\Arr::get($_GET, 'type') == 'asc') ? 'selected' : '';
?>
>От старых моделей к новым</option>
            <option value="name" data-type="asc" <?php 
echo (Core\Arr::get($_GET, 'sort') == 'name' and Core\Arr::get($_GET, 'type') == 'asc') ? 'selected' : '';
?>
>По названию от А до Я</option>
            <option value="name" data-type="desc" <?php 
echo (Core\Arr::get($_GET, 'sort') == 'name' and Core\Arr::get($_GET, 'type') == 'desc') ? 'selected' : '';
?>
>По названию от Я до А</option>
        </select>
    </div>
</div>

<script>
    $(function(){
        $('#catalogSort select').on('change', function(){
            // Get clear uri
            var uri = $('#catalogSort').data('uri');
            arr = uri.split('?');
            uri = arr[0];
            // Get parameter for search controller
            var old = $('#catalogSort').data('get');
Exemple #8
0
			            	<?php 
        }
        ?>
			            </span>
			        </a>
		    	<?php 
    }
    ?>
		    </div>
		</div>
	<?php 
}
?>

	<?php 
foreach (Core\Arr::get($alphabet, 'res_ru') as $letter => $result) {
    ?>
		<div class="b-line" id="<?php 
    echo Core\Text::translit($letter) . '2';
    ?>
">
		    <a href="#" class="alpha-link"><?php 
    echo $letter;
    ?>
</a>
		    <div class="b-group">
		    	<?php 
    foreach ($result as $obj) {
        ?>
		    		<a href="<?php 
        echo Core\HTML::link('brands/' . $obj->alias);
Exemple #9
0
<div class="rowSection">
    <div class="col-md-12">
        <div class="widget">
            <div class="widgetHeader">
                <div class="widgetTitle">
                    <i class="fa-reorder"></i>
                    <?php 
echo $pageName;
?>
                    <span class="label label-primary"><?php 
echo $count;
?>
</span>
                </div>
                <div class="toolbar no-padding" id="ordersToolbar" data-uri="<?php 
echo Core\Arr::get($_SERVER, 'REQUEST_URI');
?>
">
                    <div class="btn-group">
                        <li class="btn btn-xs">
                            <a href="/backend/<?php 
echo Core\Route::controller();
?>
/index">
                                <i class="fa-refresh"></i>
                                <span class="hidden-xx">Сбросить</span>
                            </a>
                        </li>

                        <li title="Выберите дату или период" class="range rangeOrderList btn btn-xs bs-tooltip">
                            <a href="#">
Exemple #10
0
        ?>
" width="80" />
					<?php 
    }
    ?>
				</td>
				<td><?php 
    echo $obj->name . ($obj->size_name ? ', ' . $obj->size_name : '');
    ?>
</td>
				<td><?php 
    echo (int) $obj->cost;
    ?>
 грн.</td>
				<td><?php 
    echo (int) Core\Arr::get($item, 'count', 1);
    ?>
</td>
				<td><?php 
    echo $amt;
    ?>
</td>
			</tr>
		<?php 
}
?>
	</tbody>
	<thead>
		<tr>
			<th colspan="4"><b>ВСЕГО:</b></th>
			<th><?php 
Exemple #11
0
                            <input class="form-control valid" type="text" name="FORM[name]" value="<?php 
echo htmlspecialchars($obj->name);
?>
"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-md-2 control-label">Ссылка</label>
                        <div class="col-md-10">
                            <input class="form-control" id="link" type="text" name="FORM[link]" value="<?php 
echo str_replace('http://' . Core\Arr::get($_SERVER, 'HTTP_HOST') . '/', '', $obj->link);
?>
"/>
                            <div class="thisLink"><span class="mainLink"><?php 
echo 'http://' . Core\Arr::get($_SERVER, 'HTTP_HOST');
?>
</span><span class="samaLink"></span></div>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-md-2 control-label">Опубликовано</label>
                        <div class="col-md-10">
                            <label class="checkerWrap-inline">
                                <input name="status" value="0" type="radio" <?php 
echo (!$obj->status and $obj) ? 'checked' : '';
?>
>                            
                                Нет
                            </label>
Exemple #12
0
                </div>
                <div class="toolbar no-padding" id="ordersToolbar" data-uri="<?php 
echo Core\Arr::get($_SERVER, 'REQUEST_URI');
?>
">
                    <div class="btn-group">
                        <li class="btn btn-xs">
                            <a href="/backend/orders/index">
                                <i class="fa-refresh"></i>
                                <span class="hidden-xx">Сбросить</span>
                            </a>
                        </li>
                        <span class="btn btn-xs dropdownToggle dropdownSelect">
                             <i class="fa-filter"></i>
                             <span class="current-item"><?php 
echo isset($_GET['status']) ? $statuses[Core\Arr::get($_GET, 'status', 0)] : 'Все';
?>
</span>
                             <span class="caret"></span>
                        </span>
                        <ul class="dropdownMenu pull-right">
                            <li>
                                <a href="<?php 
echo Core\Support::generateLink('status', NULL);
?>
">
                                    <i class="fa-filter"></i>Все
                                </a>
                            </li>
                            <?php 
foreach ($statuses as $id => $name) {
Exemple #13
0
echo Core\Widgets::get('header');
?>
    <div class="container fixedHeader">
        <?php 
echo Core\Widgets::get('sidebar');
?>
        <div class="contentWrap">
            <div class="contentWrapMar">
                <?php 
echo $_breadcrumbs;
?>
                <div class="page-header clearFix">
                    <div class="page-title">
                        <h3>
                            <?php 
echo Core\Arr::get($_seo, 'h1');
?>
                        </h3>
                        <span>
                            Здравствуйте, <?php 
echo Core\User::info()->name;
?>
!
                        </span>
                    </div>
                    <?php 
echo $_toolbar;
?>
                </div>
                <div class="rowSection <?php 
echo Core\Config::get('collsClass');
Exemple #14
0
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="">
<meta name="keywords" content="">
<meta http-equiv="imagetoolbar" content="no">
<title><?php 
echo Core\Arr::get($_seo, 'title');
?>
</title>
<link rel="stylesheet" href="<?php 
echo Core\HTML::bmedia('css/login.css');
?>
">
<link rel="stylesheet" href="<?php 
echo Core\HTML::bmedia('css/responsiveness.css');
?>
">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="target-densitydpi=device-dpi">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="apple-touch-icon" href="<?php 
echo Core\HTML::bmedia('pic/apple-touch-fa fa-57x57.png');
?>
">
<link rel="apple-touch-icon" sizes="72x72" href="<?php 
echo Core\HTML::bmedia('pic/apple-touch-fa fa-72x72.png');
?>