?> </p> <a href="<?php echo Url::to(['/sign-in/profile']); ?> "> <i class="fa fa-circle text-success"></i> <?php echo Yii::$app->formatter->asDatetime(time()); ?> </a> </div> </div> <!-- sidebar menu: : style can be found in sidebar.less --> <?php echo Menu::widget(['options' => ['class' => 'sidebar-menu'], 'linkTemplate' => '<a href="{url}">{icon}<span>{label}</span>{right-icon}{badge}</a>', 'submenuTemplate' => "\n<ul class=\"treeview-menu\">\n{items}\n</ul>\n", 'activateParents' => true, 'items' => [['label' => Yii::t('app', 'Main'), 'options' => ['class' => 'header']], ['label' => Yii::t('app', 'Timeline'), 'icon' => '<i class="fa fa-bar-chart-o"></i>', 'url' => ['/timeline-event/index'], 'badge' => 2, 'badgeBgClass' => 'label-success'], ['label' => Yii::t('app', 'System'), 'options' => ['class' => 'header']], ['label' => Yii::t('app', 'Users'), 'icon' => '<i class="fa fa-users"></i>', 'url' => ['/user/index']], ['label' => Yii::t('app', 'Other'), 'url' => '#', 'icon' => '<i class="fa fa-cogs"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('app', 'i18n'), 'url' => '#', 'icon' => '<i class="fa fa-flag"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('app', 'i18n Source Message'), 'url' => ['/i18n/i18n-source-message/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('app', 'i18n Message'), 'url' => ['/i18n/i18n-message/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('app', 'Key-Value Storage'), 'url' => ['/key-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('app', 'File Storage'), 'url' => ['/file-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('app', 'Cache'), 'url' => ['/cache/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('app', 'File Manager'), 'url' => ['/file-manager/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('app', 'System Information'), 'url' => ['/system-information/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('app', 'Logs'), 'url' => ['/log/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'badge' => 2, 'badgeBgClass' => 'label-danger']]]]]); ?> </section> <!-- /.sidebar --> </aside> <!-- Right side column. Contains the navbar and content of the page --> <aside class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php echo $this->title; ?> <?php if (isset($this->params['subtitle'])) {
<!-- Inner sidebar --> <div class="sidebar"> <!-- user panel (Optional) --> <!--div class="user-panel"> <div class="pull-left image"> <img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image" /> </div> <div class="pull-left info"> <p>User Name</p> <a href="#"><i class="fa fa-circle text-success"></i> Online</a> </div> </div><!-- /.user-panel --> <?php echo Menu::widget(['options' => ['class' => 'sidebar-menu'], 'linkTemplate' => '<a href="{url}">{icon}<span>{label}</span>{right-icon}{badge}</a>', 'submenuTemplate' => "\n<ul class=\"treeview-menu\">\n{items}\n</ul>\n", 'activateParents' => true, 'encodeLabels' => false, 'items' => [['label' => Yii::t('backend', 'Navigation'), 'options' => ['class' => 'header']], ['label' => Yii::t('backend', 'Statistics'), 'icon' => '<i class="fa fa-pie-chart"></i>', 'url' => ['/dashboard/default/index']], ['label' => 'Разделы', 'options' => ['class' => 'header']], ['label' => Yii::t('backend', 'Pages'), 'icon' => '<i class="fa fa-files-o"></i>', 'url' => ['/page/default/index']], ['label' => Yii::t('backend', 'News'), 'icon' => '<i class="fa fa-list"></i>', 'url' => ['/news/default/index']], ['label' => 'Подписчики', 'icon' => '<i class="fa fa-envelope-o"></i>', 'url' => ['/subscribers/default/index']], ['label' => 'Обратная связь', 'icon' => '<i class="fa fa-question-circle-o"></i>', 'url' => ['/feedback/default/index']], ['label' => 'Преподаватели', 'icon' => '<i class="fa fa-graduation-cap"></i>', 'url' => ['/teachers/default/index']], ['label' => 'Слушатели', 'icon' => '<i class="fa fa-address-book-o"></i>', 'url' => ['/students/default/index']], ['label' => Yii::t('backend', 'Menu'), 'icon' => '<i class="fa fa-bars"></i>', 'url' => ['/menu/default/index']], ['label' => Yii::t('backend', 'File Manager'), 'icon' => '<i class="fa fa-floppy-o"></i>', 'url' => ['/file-manager/index']], ['label' => Yii::t('backend', 'System'), 'url' => '#', 'icon' => '<i class="fa fa-cogs"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'Users'), 'icon' => '<i class="fa fa-angle-double-right"></i>', 'url' => ['/user/default/index']], ['label' => Yii::t('backend', 'Settings'), 'icon' => '<i class="fa fa-angle-double-right"></i>', 'url' => ['/settings/default/index']], ['label' => Yii::t('backend', 'Logs'), 'url' => ['/log/default/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'badge' => \backend\modules\log\models\SystemLog::find()->count(), 'badgeBgClass' => 'label-danger']]]]]); ?> </div><!-- /.sidebar --> </div><!-- /.main-sidebar --> <aside class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php echo $this->title; ?> <?php if (isset($this->params['subtitle'])) { ?>
?> </p> <a href="<?php echo Url::to(['/sign-in/profile']); ?> "> <i class="fa fa-circle text-success"></i> <?php echo Yii::$app->formatter->asDatetime(time()); ?> </a> </div> </div> <!-- sidebar menu: : style can be found in sidebar.less --> <?php echo Menu::widget(['options' => ['class' => 'sidebar-menu'], 'linkTemplate' => '<a href="{url}">{icon}<span>{label}</span>{right-icon}{badge}</a>', 'submenuTemplate' => "\n<ul class=\"treeview-menu\">\n{items}\n</ul>\n", 'activateParents' => true, 'items' => [['label' => Yii::t('backend', 'Main'), 'options' => ['class' => 'header']], ['label' => Yii::t('backend', 'Timeline'), 'icon' => '<i class="fa fa-bar-chart-o"></i>', 'url' => ['/timeline-event/index'], 'badge' => TimelineEvent::find()->today()->count(), 'badgeBgClass' => 'label-success'], ['label' => Yii::t('backend', 'Content'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'Static pages'), 'url' => ['/page/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Articles'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Article Categories'), 'url' => ['/article-category/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Text Widgets'), 'url' => ['/widget-text/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Menu Widgets'), 'url' => ['/widget-menu/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Carousel Widgets'), 'url' => ['/widget-carousel/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', 'Index'), 'url' => '#', 'icon' => '<i class="fa fa-file"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('common', 'Index Slide'), 'url' => ['/index-slide/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Player Albums'), 'url' => ['/player-album/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Friends Links'), 'url' => ['/friends-links/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('common', 'Game'), 'url' => '#', 'icon' => '<i class="fa fa-desktop"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('common', 'Game Category'), 'url' => ['/game-category/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Game'), 'url' => ['/game/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Game Server'), 'url' => ['/game-server/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Game Gift'), 'url' => ['/game-gift/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Recharge'), 'url' => ['/recharge/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('common', 'Activity'), 'url' => '#', 'icon' => '<i class="fa fa-cube"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('common', 'Activity Category'), 'url' => ['/activity-category/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Activity'), 'url' => ['/activity/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Site Messages'), 'url' => ['/message/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('common', 'Product'), 'url' => '#', 'icon' => '<i class="fa fa-shopping-cart"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('common', 'Shop Category'), 'url' => ['/shop-category/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Shop Product'), 'url' => ['/shop-product/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Shop Order'), 'url' => ['/shop-order/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('common', 'Kefu'), 'url' => '#', 'icon' => '<i class="fa fa-android"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('common', 'Kefu Faq Cat'), 'url' => ['/kefu-faq-cat/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Kefu Faq'), 'url' => ['/kefu-faq/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Kefu Selfservice Cat'), 'url' => ['/kefu-selfservice-cat/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Kefu Selfservice'), 'url' => ['/kefu-selfservice/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Kefu QQ'), 'url' => ['/kefu-qq/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Kefu Account Repair'), 'url' => ['/kefu-account-repair/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Security Questions'), 'url' => ['/security-questions/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', 'System'), 'options' => ['class' => 'header']], ['label' => Yii::t('common', 'Users'), 'url' => '#', 'icon' => '<i class="fa fa-users"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('common', 'Administrator'), 'url' => ['/user/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Admin Login Log'), 'url' => ['/user-logs/admin-login-log'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Admin Log'), 'url' => ['/user-logs/admin-log'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', ''), 'options' => ['class' => 'header']], ['label' => Yii::t('common', 'User Login Log'), 'url' => ['/user-logs/user-login-log'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'User Log'), 'url' => ['/user-logs/user-log'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'User History'), 'url' => ['/user-history/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Frontend User'), 'url' => ['/frontend-user/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']], 'visible' => Yii::$app->user->can('administrator')], ['label' => Yii::t('common', 'Settings'), 'url' => '#', 'icon' => '<i class="fa fa-pencil"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('common', 'Application settings'), 'url' => ['/site/settings'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'SEO Settings'), 'url' => ['/site/seo-settings'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Mail Settings'), 'url' => ['/site/mail-settings'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Basic Settings'), 'url' => ['/site/basic-settings'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('common', 'Others Settings'), 'url' => ['/site/others-settings'], 'icon' => '<i class="fa fa-angle-double-right"></i>']], 'visible' => Yii::$app->user->can('administrator')], ['label' => Yii::t('backend', 'Other'), 'url' => '#', 'icon' => '<i class="fa fa-cogs"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'i18n'), 'url' => '#', 'icon' => '<i class="fa fa-flag"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'i18n Source Message'), 'url' => ['/i18n/i18n-source-message/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'i18n Message'), 'url' => ['/i18n/i18n-message/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', 'Key-Value Storage'), 'url' => ['/key-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'File Storage'), 'url' => ['/file-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Cache'), 'url' => ['/cache/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'File Manager'), 'url' => ['/file-manager/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'System Information'), 'url' => ['/system-information/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Logs'), 'url' => ['/log/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'badge' => \backend\models\SystemLog::find()->count(), 'badgeBgClass' => 'label-danger']], 'visible' => Yii::$app->user->can('administrator')]]]); ?> </section> <!-- /.sidebar --> </aside> <!-- Right side column. Contains the navbar and content of the page --> <aside class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php echo $this->title; ?> <?php if (isset($this->params['subtitle'])) {
?> </p> <a href="<?php echo Url::to(['/sign-in/profile']); ?> "> <i class="fa fa-circle text-success"></i> <?php echo Yii::$app->formatter->asDatetime(time()); ?> </a> </div> </div> <!-- sidebar menu: : style can be found in sidebar.less --> <?php echo Menu::widget(['options' => ['class' => 'sidebar-menu'], 'labelTemplate' => '<a href="#">{icon}<span>{label}</span>{right-icon}{badge}</a>', 'linkTemplate' => '<a href="{url}">{icon}<span>{label}</span>{right-icon}{badge}</a>', 'submenuTemplate' => "\n<ul class=\"treeview-menu\">\n{items}\n</ul>\n", 'activateParents' => true, 'items' => [['label' => Yii::t('backend', 'Timeline'), 'icon' => '<i class="fa fa-bar-chart-o"></i>', 'url' => ['/timeline-event/index'], 'badge' => TimelineEvent::find()->today()->count(), 'badgeBgClass' => 'label-success'], ['label' => Yii::t('backend', 'Content'), 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'Pages'), 'url' => ['/page/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Blog'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Cases'), 'url' => ['/project/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Clients'), 'url' => ['/client/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Members'), 'url' => ['/member/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Blog Categories'), 'url' => ['/article-category/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Case Categories'), 'url' => ['/project-category/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Footer'), 'url' => ['widget-text/index?WidgetTextSearch%5Bid%5D=&WidgetTextSearch%5Bkey%5D=footer'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', 'Users'), 'icon' => '<i class="fa fa-users"></i>', 'url' => ['/user/index'], 'visible' => Yii::$app->user->can('administrator')], ['label' => Yii::t('backend', 'System'), 'icon' => '<i class="fa fa-cogs"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'i18n'), 'icon' => '<i class="fa fa-flag"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'i18n Source Message'), 'url' => ['/i18n/i18n-source-message/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'i18n Message'), 'url' => ['/i18n/i18n-message/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', 'Key-Value Storage'), 'url' => ['/key-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'File Storage'), 'url' => ['/file-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Cache'), 'url' => ['/cache/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'File Manager'), 'url' => ['/file-manager/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'System Information'), 'url' => ['/system-information/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Logs'), 'url' => ['/log/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'badge' => \backend\models\SystemLog::find()->count(), 'badgeBgClass' => 'label-danger'], ['label' => Yii::t('backend', 'Sitemap'), 'url' => Url::to('@frontendUrl/sitemap.xml', 1), 'icon' => '<i class="fa fa-angle-double-right"></i>']]]]]); ?> </section> <!-- /.sidebar --> </aside> <!-- Right side column. Contains the navbar and content of the page --> <aside class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php echo $this->title; ?> <?php if (isset($this->params['subtitle'])) {
<!-- Inner sidebar --> <div class="sidebar"> <!-- user panel (Optional) --> <!--div class="user-panel"> <div class="pull-left image"> <img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image" /> </div> <div class="pull-left info"> <p>User Name</p> <a href="#"><i class="fa fa-circle text-success"></i> Online</a> </div> </div><!-- /.user-panel --> <?php echo Menu::widget(['options' => ['class' => 'sidebar-menu'], 'linkTemplate' => '<a href="{url}">{icon}<span>{label}</span>{right-icon}{badge}</a>', 'submenuTemplate' => "\n<ul class=\"treeview-menu\">\n{items}\n</ul>\n", 'activateParents' => true, 'encodeLabels' => false, 'items' => [['label' => Yii::t('backend', 'Navigation'), 'options' => ['class' => 'header']], ['label' => Yii::t('backend', 'Statistics'), 'icon' => '<i class="fa fa-pie-chart"></i>', 'url' => ['/dashboard/default/index']], ['label' => 'Разделы', 'options' => ['class' => 'header']], ['label' => Yii::t('backend', 'Pages'), 'icon' => '<i class="fa fa-files-o"></i>', 'url' => ['/page/default/index']], ['label' => Yii::t('backend', 'News'), 'icon' => '<i class="fa fa-list"></i>', 'url' => ['/news/default/index']], ['label' => Yii::t('backend', 'Banners'), 'icon' => '<i class="fa fa-cube"></i>', 'url' => ['/banner/default/index']], ['label' => Yii::t('backend', 'System'), 'url' => '#', 'icon' => '<i class="fa fa-cogs"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'Users'), 'icon' => '<i class="fa fa-angle-double-right"></i>', 'url' => ['/user/default/index']], ['label' => Yii::t('backend', 'Settings'), 'icon' => '<i class="fa fa-angle-double-right"></i>', 'url' => ['/settings/default/index']], ['label' => Yii::t('backend', 'Logs'), 'url' => ['/log/default/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'badge' => \backend\modules\log\models\SystemLog::find()->count(), 'badgeBgClass' => 'label-danger']]]]]); ?> </div><!-- /.sidebar --> </div><!-- /.main-sidebar --> <aside class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php echo $this->title; ?> <?php if (isset($this->params['subtitle'])) { ?>
$menuModuleGroupTitle = strtoupper($module->other_name); $menuModuleId = $module->menu_group_id; } else { $menuModuleId = 1; $menuModuleGroupTitle = Yii::t('backend', 'ADMINISTRATOR'); } } $items = [['label' => Yii::t('backend', 'Dashboard'), 'icon' => '<i class="fa fa-dashboard"></i>', 'url' => ['default/index']], ['label' => $menuModuleGroupTitle, 'options' => ['class' => 'header']]]; $callback = function ($menu) { $data = eval($menu['data']); return ['label' => $menu['name'], 'url' => [$menu['route']], 'icon' => $data['icon'], 'badge' => $data['badge'], 'badgeBgClass' => $data['badgeBgClass'], 'items' => $menu['children']]; }; $itemsUsed = array_merge($items, MenuHelper::getAssignedMenu(Yii::$app->user->id, $menuModuleId, $callback)); ?> <?php echo Menu::widget(['options' => ['class' => 'sidebar-menu'], 'linkTemplate' => '<a href="{url}">{icon}<span>{label}</span>{right-icon}{badge}</a>', 'submenuTemplate' => "\n<ul class=\"treeview-menu\">\n{items}\n</ul>\n", 'activateParents' => true, 'items' => $itemsUsed]); ?> </section> <!-- /.sidebar --> </aside> <!-- Right side column. Contains the navbar and content of the page --> <aside class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php echo $this->title; ?> <?php if (isset($this->params['subtitle'])) {
?> </p> <a href="<?php echo Url::to(['/sign-in/profile']); ?> "> <i class="fa fa-circle text-success"></i> <?php echo Yii::$app->formatter->asDatetime(time()); ?> </a> </div> </div> <!-- sidebar menu: : style can be found in sidebar.less --> <?php echo Menu::widget(['options' => ['class' => 'sidebar-menu'], 'linkTemplate' => '<a href="{url}">{icon}<span>{label}</span>{right-icon}{badge}</a>', 'submenuTemplate' => "\n<ul class=\"treeview-menu\">\n{items}\n</ul>\n", 'activateParents' => true, 'items' => [['label' => Yii::t('backend', 'Main'), 'options' => ['class' => 'header']], ['label' => Yii::t('backend', 'Timeline'), 'icon' => '<i class="fa fa-bar-chart-o"></i>', 'url' => ['/timeline-event/index'], 'badge' => TimelineEvent::find()->today()->count(), 'badgeBgClass' => 'label-success'], ['label' => Yii::t('backend', 'Content'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'Static pages'), 'url' => ['/page/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Articles'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Article Categories'), 'url' => ['/article-category/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Text Widgets'), 'url' => ['/widget-text/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Menu Widgets'), 'url' => ['/widget-menu/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Carousel Widgets'), 'url' => ['/widget-carousel/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', 'System'), 'options' => ['class' => 'header']], ['label' => Yii::t('backend', 'Users'), 'icon' => '<i class="fa fa-users"></i>', 'url' => ['/user/index'], 'visible' => Yii::$app->user->can('administrator')], ['label' => Yii::t('backend', 'Other'), 'url' => '#', 'icon' => '<i class="fa fa-cogs"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'i18n'), 'url' => '#', 'icon' => '<i class="fa fa-flag"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'i18n Source Message'), 'url' => ['/i18n/i18n-source-message/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'i18n Message'), 'url' => ['/i18n/i18n-message/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', 'Key-Value Storage'), 'url' => ['/key-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'File Storage'), 'url' => ['/file-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Cache'), 'url' => ['/cache/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'File Manager'), 'url' => ['/file-manager/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'System Information'), 'url' => ['/system-information/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Logs'), 'url' => ['/log/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'badge' => \backend\models\SystemLog::find()->count(), 'badgeBgClass' => 'label-danger']]]]]); ?> </section> <!-- /.sidebar --> </aside> <!-- Right side column. Contains the navbar and content of the page --> <aside class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php echo $this->title; ?> <?php if (isset($this->params['subtitle'])) {
<a href="<?php echo Url::to(['/sign-in/profile']); ?> "> <i class="fa fa-circle text-success"></i> <!-- <?php echo Yii::$app->formatter->asDatetime(time()); ?> --> 马欢 </a> </div> </div> <!-- sidebar menu: : style can be found in sidebar.less --> <?php echo Menu::widget(['options' => ['class' => 'sidebar-menu'], 'linkTemplate' => '<a href="{url}">{icon}<span>{label}</span>{right-icon}{badge}</a>', 'submenuTemplate' => "\n<ul class=\"treeview-menu\">\n{items}\n</ul>\n", 'activateParents' => true, 'items' => [['label' => Yii::t('backend', '项目管理'), 'options' => ['class' => 'header']], ['label' => Yii::t('backend', '仪器项目管理'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '仪器名称'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '仪器列表'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '添加仪器'), 'url' => ['/article-category/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', '分布店面'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '地图定位'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', '使用频率'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '每季度操作时间'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '每月操作时间'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '每日操作时间'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '每年操作时间'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', '库存'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '仪器数量'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '库存预警'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', '成本'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '仪器选购成本'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', '出货量'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '每日购买量'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '每月购买量'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '每季度购买量'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '每年购买量'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]]]], ['label' => Yii::t('backend', '护理项目管理'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '顾客使用情况'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '预约系统'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', '养生项目管理'), 'icon' => '<i class="fa fa-users"></i>', 'url' => ['/learn/index'], 'visible' => Yii::$app->user->can('administrator')], ['label' => Yii::t('backend', '产品管理'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '产品发布'), 'url' => ['/produce/publish'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '产品列表'), 'url' => ['/produce/list'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '产品审核'), 'url' => ['/produce/care'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', '订单管理'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '销售列表'), 'url' => ['/order/sale_list'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '订单详情'), 'url' => ['/order/sale_detail'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', '顾客管理'), 'options' => ['class' => 'header']], ['label' => Yii::t('backend', '顾客分级系统'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '顾客级别设置'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '设置消费级别'), 'url' => ['/customer/set_level'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '自动升级'), 'url' => ['/customer/auto_update'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '不同级别折扣'), 'url' => ['/customer/level_sale'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]]]], ['label' => Yii::t('backend', '营销管理系统'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '营销活动'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '首次免单'), 'url' => ['/sale/first_free'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '节日折扣'), 'url' => ['/sale/holiday_sale'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '赠品活动'), 'url' => ['/sale/free_gift'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]]]], ['label' => Yii::t('backend', '横向管理'), 'options' => ['class' => 'header']], ['label' => Yii::t('backend', '店铺OA'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '员工考勤'), 'url' => ['/shop/daliy'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '绩效考核'), 'url' => ['/shop/mechine'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '员工信息'), 'url' => ['/shop/yuangong'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', '店铺介绍'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '环境介绍'), 'url' => ['/shop_set/enviroment'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '一键拨号'), 'url' => ['/shop_set/phone'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '地址信息'), 'url' => ['/shop_set/addr'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '环境介绍'), 'url' => ['/shop_set/enviroment'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '一键拨号'), 'url' => ['/shop_set/phone'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '地址信息'), 'url' => ['/shop_set/addr'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '店铺展示'), 'url' => ['/shop_set/show'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '联系方式'), 'url' => ['/shop_set/cantact'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '公司展示'), 'url' => ['/shop_set/show_company'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', '纵向管理'), 'options' => ['class' => 'header']], ['label' => Yii::t('backend', '信息推送'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '产品通知'), 'url' => ['/message/produce'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '会议通知'), 'url' => ['/message/meeting'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '培训通知'), 'url' => ['/message/study'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '系统通知'), 'url' => ['/message/system'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '活动通知'), 'url' => ['/message/activity'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', '权限管理'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '设备管理'), 'url' => ['/manage/manchine'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '操作员管理'), 'url' => ['/manage/sys'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '用户管理'), 'url' => ['/manage/customer'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '数据管理'), 'url' => ['/manage/data'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', '系统管理'), 'options' => ['class' => 'header']], ['label' => Yii::t('backend', '用户管理'), 'icon' => '<i class="fa fa-users"></i>', 'url' => ['/user/index'], 'visible' => Yii::$app->user->can('administrator')], ['label' => Yii::t('backend', '其他设置'), 'url' => '#', 'icon' => '<i class="fa fa-cogs"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '键值设置'), 'url' => ['/key-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '文件存储'), 'url' => ['/file-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '缓存'), 'url' => ['/cache/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '文件管理'), 'url' => ['/file-manager/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '系统信息'), 'url' => ['/system-information/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '日志'), 'url' => ['/log/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'badge' => \backend\models\SystemLog::find()->count(), 'badgeBgClass' => 'label-danger']]]]]); ?> </section> <!-- /.sidebar --> </aside> <!-- Right side column. Contains the navbar and content of the page --> <aside class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php echo $this->title; ?> <?php if (isset($this->params['subtitle'])) {
<li><a class="sOutbox" title="" href="#">outbox</a></li> <li><a class="sTrash" title="" href="#">trash</a></li> </ul> </li> <li class="btn btn-inverse"><a title="" href="#"><i class="icon icon-cog"></i> <span class="text">Settings</span></a></li> <li class="btn btn-inverse"><a title="退出" href="<?php echo Url::to(['admin/logout']); ?> "><i class="icon icon-share-alt"></i> <span class="text">Logout</span></a></li> </ul> </div> <!-- 右侧导航栏 --> <!-- 左侧菜单栏 --> <?php echo Menu::widget(['active' => !empty(Yii::$app->controller->id) ? Yii::$app->controller->id : null, 'menus' => Yii::$app->controller->menus]); ?> <!-- 左侧菜单栏 --> <div id="content"> <div id="content-header"> <h1><?php echo Yii::$app->controller->publicNumber['name']; ?> </h1> <div class="btn-group"> <a class="btn btn-large tip-bottom" title="Manage Files"><i class="icon-file"></i></a> <a class="btn btn-large tip-bottom" title="Manage Users"><i class="icon-user"></i></a> <a class="btn btn-large tip-bottom" title="Manage Comments"><i class="icon-comment"></i><span class="label label-important">5</span></a> <a class="btn btn-large tip-bottom" title="Manage Orders"><i class="icon-shopping-cart"></i></a> </div>
<?php use backend\widgets\Menu; ?> <nav class="navbar-default navbar-static-side" role="navigation"> <div class="sidebar-collapse"> <?php echo Menu::widget(require Yii::getAlias('@backend/config/menus.php')); ?> </div> </nav>
?> </p> <a href="<?php echo Url::to(['/sign-in/profile']); ?> "> <i class="fa fa-circle text-success"></i> <?php echo Yii::$app->formatter->asDatetime(time()); ?> </a> </div> </div> <!-- sidebar menu: : style can be found in sidebar.less --> <?php echo Menu::widget(['options' => ['class' => 'sidebar-menu'], 'linkTemplate' => '<a href="{url}">{icon}<span>{label}</span>{right-icon}{badge}</a>', 'submenuTemplate' => "\n<ul class=\"treeview-menu\">\n{items}\n</ul>\n", 'activateParents' => true, 'items' => [['label' => Yii::t('backend', 'Main'), 'options' => ['class' => 'header']], ['label' => Yii::t('backend', 'Timeline'), 'icon' => '<i class="fa fa-bar-chart-o"></i>', 'url' => ['/timeline-event/index'], 'badge' => TimelineEvent::find()->today()->count(), 'badgeBgClass' => 'label-success'], ['label' => Yii::t('backend', 'Page configuration'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'Menu Settings'), 'url' => ['/widget-menu/index'], 'icon' => '<i class="fa fa-navicon"></i>', 'active' => Yii::$app->controller->id == 'widget-menu'], ['label' => Yii::t('backend', 'Text Widgets'), 'url' => ['/widget-text/index'], 'icon' => '<i class="fa fa-align-left"></i>', 'active' => Yii::$app->controller->id == 'widget-text'], ['label' => Yii::t('backend', 'Static Pages'), 'url' => ['/page/index'], 'icon' => '<i class="fa fa-file-text-o"></i>', 'active' => Yii::$app->controller->id == 'page']]], ['label' => Yii::t('backend', 'Profile info'), 'url' => '#', 'icon' => '<i class="fa fa-user"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'My Skills'), 'url' => ['/skills/index'], 'icon' => '<i class="fa fa-hand-peace-o"></i>', 'active' => Yii::$app->controller->id == 'skills'], ['label' => Yii::t('backend', 'My Employers'), 'url' => ['/employers/index'], 'icon' => '<i class="fa fa-building"></i>', 'active' => Yii::$app->controller->id == 'employers'], ['label' => Yii::t('backend', 'My Projects'), 'url' => ['/projects/index'], 'icon' => '<i class="fa fa-laptop"></i>', 'active' => Yii::$app->controller->id == 'projects'], ['label' => Yii::t('backend', 'My Hobbies'), 'url' => ['/hobbies/index'], 'icon' => '<i class="fa fa-bicycle"></i>', 'active' => Yii::$app->controller->id == 'hobbies']]], ['label' => Yii::t('backend', 'System'), 'icon' => '<i class="fa fa-dashboard"></i>', 'url' => '#', 'items' => [['label' => Yii::t('backend', 'Logs'), 'url' => ['/log/index'], 'icon' => '<i class="fa fa-user-secret"></i>', 'badge' => \backend\models\SystemLog::find()->count(), 'badgeBgClass' => 'label-danger'], ['label' => Yii::t('backend', 'Files'), 'url' => '#', 'icon' => '<i class="fa fa-file"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'File Storage'), 'url' => ['/file-storage/index'], 'icon' => '<i class="fa fa-file-picture-o"></i>'], ['label' => Yii::t('backend', 'File Manager'), 'url' => ['/file-manager/index'], 'icon' => '<i class="fa fa-object-ungroup"></i>']]], ['label' => Yii::t('backend', 'Users'), 'icon' => '<i class="fa fa-users"></i>', 'url' => ['/user/index'], 'visible' => Yii::$app->user->can('administrator'), 'active' => Yii::$app->controller->id == 'user'], ['label' => Yii::t('backend', 'Languages settings'), 'url' => '#', 'icon' => '<i class="fa fa-flag-o"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'Languages'), 'url' => ['/languages/index'], 'icon' => '<i class="fa fa-language"></i>', 'active' => Yii::$app->controller->id == 'languages'], ['label' => Yii::t('backend', 'i18n Source Message'), 'url' => ['/i18n/i18n-source-message/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'active' => Yii::$app->controller->id == 'i18n-source-message'], ['label' => Yii::t('backend', 'i18n Message'), 'url' => ['/i18n/i18n-message/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'active' => Yii::$app->controller->id == 'i18n-message']]], ['label' => Yii::t('backend', 'Key-Value Storage'), 'url' => ['/key-storage/index'], 'icon' => '<i class="fa fa-hdd-o"></i>'], ['label' => Yii::t('backend', 'Cache'), 'url' => ['/cache/index'], 'icon' => '<i class="fa fa-database"></i>'], ['label' => Yii::t('backend', 'System Information'), 'url' => ['/system-information/index'], 'icon' => '<i class="fa fa-info"></i>']]]]]); ?> </section> <!-- /.sidebar --> </aside> <!-- Right side column. Contains the navbar and content of the page --> <aside class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php echo $this->title; ?> <?php if (isset($this->params['subtitle'])) {
<li><a class="sOutbox" title="" href="#">outbox</a></li> <li><a class="sTrash" title="" href="#">trash</a></li> </ul> </li> <li class="btn btn-inverse"><a title="" href="#"><i class="icon icon-cog"></i> <span class="text">Settings</span></a></li> <li class="btn btn-inverse"><a title="退出" href="<?php echo Url::to(['admin/logout']); ?> "><i class="icon icon-share-alt"></i> <span class="text">Logout</span></a></li> </ul> </div> <!-- 右侧导航栏 --> <!-- 左侧菜单栏 --> <?php echo Menu::widget(['active' => !empty(Yii::$app->controller->id) ? Yii::$app->controller->id : null, 'menus' => Yii::$app->params['admin_menus']]); ?> <!-- 左侧菜单栏 --> <div id="content"> <div id="content-header"> <h1>Dashboard</h1> <div class="btn-group"> <a class="btn btn-large tip-bottom" title="Manage Files"><i class="icon-file"></i></a> <a class="btn btn-large tip-bottom" title="Manage Users"><i class="icon-user"></i></a> <a class="btn btn-large tip-bottom" title="Manage Comments"><i class="icon-comment"></i><span class="label label-important">5</span></a> <a class="btn btn-large tip-bottom" title="Manage Orders"><i class="icon-shopping-cart"></i></a> </div> </div> <!-- 面包屑 -->
<a href="<?php echo Url::to(['/sign-in/profile']); ?> "> <i class="fa fa-circle text-success"></i> <!-- <?php echo Yii::$app->formatter->asDatetime(time()); ?> --> 光磊科技 </a> </div> </div> <!-- sidebar menu: : style can be found in sidebar.less --> <?php echo Menu::widget(['options' => ['class' => 'sidebar-menu'], 'linkTemplate' => '<a href="{url}">{icon}<span>{label}</span>{right-icon}{badge}</a>', 'submenuTemplate' => "\n<ul class=\"treeview-menu\">\n{items}\n</ul>\n", 'activateParents' => true, 'items' => [['label' => Yii::t('backend', '功能管理'), 'options' => ['class' => 'header']], ['label' => Yii::t('backend', '事件'), 'icon' => '<i class="fa fa-bar-chart-o"></i>', 'url' => ['/timeline-event/index'], 'badge' => TimelineEvent::find()->today()->count(), 'badgeBgClass' => 'label-success'], ['label' => Yii::t('backend', '文章管理'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '文章管理'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '文章目录'), 'url' => ['/article-category/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', '新手学堂'), 'icon' => '<i class="fa fa-users"></i>', 'url' => ['/learn/index'], 'visible' => Yii::$app->user->can('administrator')], ['label' => Yii::t('backend', '佣金管理'), 'icon' => '<i class="fa fa-money"></i>', 'url' => ['/user-commission/index'], 'visible' => Yii::$app->user->can('administrator')], ['label' => Yii::t('backend', '广告管理'), 'icon' => '<i class="fa fa-money"></i>', 'url' => ['/ad/index'], 'visible' => Yii::$app->user->can('administrator')], ['label' => Yii::t('backend', '系统管理'), 'options' => ['class' => 'header']], ['label' => Yii::t('backend', '用户管理'), 'icon' => '<i class="fa fa-users"></i>', 'url' => ['/user/index'], 'visible' => Yii::$app->user->can('administrator')], ['label' => Yii::t('backend', '其他设置'), 'url' => '#', 'icon' => '<i class="fa fa-cogs"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', '键值设置'), 'url' => ['/key-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '文件存储'), 'url' => ['/file-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '缓存'), 'url' => ['/cache/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '文件管理'), 'url' => ['/file-manager/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '系统信息'), 'url' => ['/system-information/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', '日志'), 'url' => ['/log/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'badge' => \backend\models\SystemLog::find()->count(), 'badgeBgClass' => 'label-danger']]]]]); ?> </section> <!-- /.sidebar --> </aside> <!-- Right side column. Contains the navbar and content of the page --> <aside class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php echo $this->title; ?> <?php if (isset($this->params['subtitle'])) {
<?php $forms = ['label' => Yii::t('backend', 'Forms'), 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'Subscribes'), 'url' => ['/subscribes/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Corporate Sales'), 'url' => ['/corporate/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]]; $feedbacks = ['label' => Yii::t('backend', 'Feedback'), 'icon' => '<i class="fa fa-envelope-o"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'Emails'), 'url' => ['/emailf/index'], 'icon' => '<i class="fa fa-at"></i>'], ['label' => Yii::t('backend', 'Questions'), 'url' => ['/feedback/index'], 'icon' => '<i class="fa fa-comments-o"></i>']]]; ?> <?php } else { ?> <?php $feedbacks = ['label' => Yii::t('backend', 'Feedback'), 'icon' => '<i class="fa fa-envelope-o"></i>', 'options' => ['class' => 'treeview'], 'url' => ['/feedback/index']]; ?> <?php } ?> <?php echo Menu::widget(['options' => ['class' => 'sidebar-menu'], 'labelTemplate' => '<a href="#">{icon}<span>{label}</span>{right-icon}{badge}</a>', 'linkTemplate' => '<a href="{url}">{icon}<span>{label}</span>{right-icon}{badge}</a>', 'submenuTemplate' => "\n<ul class=\"treeview-menu\">\n{items}\n</ul>\n", 'activateParents' => true, 'items' => [['label' => Yii::t('backend', 'Timeline'), 'icon' => '<i class="fa fa-bar-chart-o"></i>', 'url' => ['/timeline-event/index'], 'badge' => TimelineEvent::find()->today()->count(), 'badgeBgClass' => 'label-success'], ['label' => Yii::t('backend', 'Content'), 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'Pages'), 'url' => ['/page/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'active' => preg_match('/^page/', Yii::$app->request->pathinfo)], ['label' => Yii::t('backend', 'News'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'active' => preg_match('/^article/', Yii::$app->request->pathinfo)], ['label' => Yii::t('backend', 'Promo'), 'url' => ['/promo/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'active' => preg_match('/^promo/', Yii::$app->request->pathinfo)], ['label' => Yii::t('backend', 'Models'), 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'Categories'), 'url' => ['/model-category/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'List'), 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => Model::getLeftMenuListItems()], ['label' => Yii::t('backend', 'Pages'), 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => Model::getLeftMenuPageItems()]]], $forms, ['label' => Yii::t('backend', 'Service pages'), 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => Service::getLeftMenuItems()], ['label' => Yii::t('backend', 'About pages'), 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => About::getLeftMenuItems()], ['label' => Yii::t('backend', 'Finance pages'), 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => Finance::getLeftMenuItems()], ['label' => Yii::t('backend', 'Common blocks'), 'url' => ['/block/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', 'SEO'), 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'robots.txt'), 'url' => ['widget-text/update?id=frontend.web.robots.txt'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'sitemap.xml'), 'url' => Domain::getFrontendUrl() . '/sitemap.xml', 'icon' => '<i class="fa fa-angle-double-right"></i>', 'template' => '<a href="{url}" target="_blank"><i class="fa fa-angle-double-right"></i><span>{label}</span></a>'], ['label' => Yii::t('backend', 'Third-party code'), 'url' => ['custom-code/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], $feedbacks, ['label' => Yii::t('backend', 'Domains'), 'icon' => '<i class="fa fa-university"></i>', 'url' => ['/domain/index'], 'visible' => Yii::$app->user->can('administrator')], ['label' => Yii::t('backend', 'Users'), 'icon' => '<i class="fa fa-users"></i>', 'url' => ['/user/index'], 'visible' => Yii::$app->user->can('administrator')], ['label' => Yii::t('backend', 'System'), 'icon' => '<i class="fa fa-cogs"></i>', 'options' => ['class' => 'treeview'], 'visible' => Yii::$app->user->can('administrator'), 'items' => [['label' => Yii::t('backend', 'i18n'), 'icon' => '<i class="fa fa-flag"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'i18n Source Message'), 'url' => ['/i18n/i18n-source-message/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'i18n Message'), 'url' => ['/i18n/i18n-message/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', 'Key-Value Storage'), 'url' => ['/key-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'File Storage'), 'url' => ['/file-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Cache'), 'url' => ['/cache/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'File Manager'), 'url' => ['/file-manager/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Widgets list'), 'url' => ['/site/widgets'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Logs'), 'url' => ['/log/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'badge' => \backend\models\SystemLog::find()->count(), 'badgeBgClass' => 'label-danger']]]]]); ?> </section> <!-- /.sidebar --> </aside> <!-- Right side column. Contains the navbar and content of the page --> <aside class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php echo $this->title; ?> <?php if (isset($this->params['subtitle'])) {
?> </p> <a href="<?php echo Url::to(['/sign-in/profile']); ?> "> <i class="fa fa-circle text-success"></i> <?php echo Yii::$app->formatter->asDatetime(time()); ?> </a> </div> </div> <!-- sidebar menu: : style can be found in sidebar.less --> <?php echo Menu::widget(['options' => ['class' => 'sidebar-menu'], 'linkTemplate' => '<a href="{url}">{icon}<span>{label}</span>{right-icon}{badge}</a>', 'submenuTemplate' => "\n<ul class=\"treeview-menu\">\n{items}\n</ul>\n", 'activateParents' => true, 'items' => [['label' => Yii::t('backend', 'Main'), 'options' => ['class' => 'header']], ['label' => Yii::t('backend', 'Content'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'Static pages'), 'url' => ['/page/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'visible' => Yii::$app->user->can(User::ROLE_CONTENT)], ['label' => Yii::t('backend', 'Articles'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'visible' => Yii::$app->user->can(User::ROLE_CONTENT)], ['label' => Yii::t('backend', 'Article Categories'), 'url' => ['/article-category/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'visible' => Yii::$app->user->can(User::ROLE_CONTENT)], ['label' => Yii::t('backend', 'Text Widgets'), 'url' => ['/widget-text/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'visible' => Yii::$app->user->can(User::ROLE_ADMIN)], ['label' => Yii::t('backend', 'Menu Widgets'), 'url' => ['/widget-menu/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'visible' => Yii::$app->user->can(User::ROLE_ADMIN)], ['label' => Yii::t('backend', 'Carousel Widgets'), 'url' => ['/widget-carousel/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'visible' => Yii::$app->user->can(User::ROLE_ADMIN)]]], ['label' => Yii::t('backend', 'Pets'), 'url' => '#', 'icon' => '<i class="fa fa-paw"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'Pet categories'), 'icon' => '<i class="fa fa-angle-double-right"></i>', 'url' => ['/pet-category/index'], 'visible' => Yii::$app->user->can(User::ROLE_CONTENT)], ['label' => Yii::t('backend', 'Private ads'), 'icon' => '<i class="fa fa-angle-double-right"></i>', 'url' => ['/user-advert/index']]], 'visible' => Yii::$app->user->can(User::ROLE_USER)], ['label' => Yii::t('backend', 'Shops'), 'icon' => '<i class="fa fa-shopping-cart"></i>', 'url' => ['/shop/index'], 'items' => [['label' => Yii::t('backend', 'Shop settings'), 'icon' => '<i class="fa fa-angle-double-right"></i>', 'url' => ['/pet-category/index'], 'visible' => Yii::$app->user->can(User::ROLE_SHOP)], ['label' => Yii::t('backend', 'Product categories'), 'icon' => '<i class="fa fa-angle-double-right"></i>', 'url' => ['/product-category/index'], 'visible' => Yii::$app->user->can(User::ROLE_CONTENT)], ['label' => Yii::t('backend', 'Products'), 'icon' => '<i class="fa fa-angle-double-right"></i>', 'url' => ['/product/index'], 'visible' => Yii::$app->user->can(User::ROLE_CONTENT)], ['label' => Yii::t('backend', 'Products by shop'), 'icon' => '<i class="fa fa-angle-double-right"></i>', 'url' => ['/product-by-shop/index'], 'visible' => Yii::$app->user->can(User::ROLE_SHOP)]], 'visible' => Yii::$app->user->can(User::ROLE_SHOP)], ['label' => Yii::t('backend', 'VetClinic'), 'icon' => '<i class="fa fa-heartbeat"></i>', 'url' => ['/vet-clinic/index'], 'visible' => Yii::$app->user->can(User::ROLE_CONTENT)], ['label' => Yii::t('backend', 'Hairdresser'), 'icon' => '<i class="fa fa-scissors"></i>', 'url' => ['/hairdresser/index'], 'visible' => Yii::$app->user->can(User::ROLE_CONTENT)], ['label' => Yii::t('backend', 'Users'), 'icon' => '<i class="fa fa-users"></i>', 'url' => ['/user/index'], 'visible' => Yii::$app->user->can(User::ROLE_ADMIN)], ['label' => Yii::t('backend', 'System'), 'options' => ['class' => 'header'], 'visible' => Yii::$app->user->can(User::ROLE_ADMIN)], ['label' => Yii::t('backend', 'Timeline'), 'icon' => '<i class="fa fa-bar-chart-o"></i>', 'url' => ['/timeline-event/index'], 'badge' => TimelineEvent::find()->today()->count(), 'badgeBgClass' => 'label-success', 'visible' => Yii::$app->user->can(User::ROLE_ADMIN)], ['label' => Yii::t('backend', 'Seo Pages'), 'icon' => '<i class="fa fa-google"></i>', 'url' => ['/seo-pages/index'], 'visible' => Yii::$app->user->can(User::ROLE_CONTENT)], ['label' => Yii::t('backend', 'Settings'), 'url' => '#', 'icon' => '<i class="fa fa-cogs"></i>', 'options' => ['class' => 'treeview'], 'visible' => Yii::$app->user->can(User::ROLE_ADMIN), 'items' => [['label' => Yii::t('backend', 'i18n'), 'url' => '#', 'icon' => '<i class="fa fa-flag"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'i18n Source Message'), 'url' => ['/i18n/i18n-source-message/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'i18n Message'), 'url' => ['/i18n/i18n-message/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', 'Key-Value Storage'), 'url' => ['/key-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'File Storage'), 'url' => ['/file-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Cache'), 'url' => ['/cache/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'File Manager'), 'url' => ['/file-manager/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'System Information'), 'url' => ['/system-information/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Logs'), 'url' => ['/log/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'badge' => \backend\models\SystemLog::find()->count(), 'badgeBgClass' => 'label-danger']]]]]); ?> </section> <!-- /.sidebar --> </aside> <!-- Right side column. Contains the navbar and content of the page --> <aside class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php echo $this->title; ?> <?php if (isset($this->params['subtitle'])) {
<?php use backend\models\Log; use backend\widgets\Menu; /* @var $this \yii\web\View */ ?> <aside class="main-sidebar"> <section class="sidebar"> <?php echo Menu::widget(['options' => ['class' => 'sidebar-menu'], 'items' => [['label' => Yii::t('backend', 'Main'), 'options' => ['class' => 'header']], ['label' => Yii::t('backend', 'Menu'), 'url' => ['/menu/index'], 'icon' => '<i class="fa fa-sitemap"></i>'], ['label' => Yii::t('backend', 'Tags'), 'url' => ['/tag/index'], 'icon' => '<i class="fa fa-tags"></i>'], ['label' => Yii::t('backend', 'Content'), 'url' => '#', 'icon' => '<i class="fa fa-edit"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => Yii::t('backend', 'Static pages'), 'url' => ['/page/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Articles'), 'url' => ['/article/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Article categories'), 'url' => ['/article-category/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>']]], ['label' => Yii::t('backend', 'System'), 'options' => ['class' => 'header']], ['label' => Yii::t('backend', 'Users'), 'url' => ['/user/index'], 'icon' => '<i class="fa fa-users"></i>', 'visible' => Yii::$app->user->can('administrator')], ['label' => Yii::t('backend', 'Other'), 'url' => '#', 'icon' => '<i class="fa fa-terminal"></i>', 'options' => ['class' => 'treeview'], 'items' => [['label' => 'Gii', 'url' => ['/gii'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'visible' => YII_ENV_DEV], ['label' => 'Web shell', 'url' => ['/webshell'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'visible' => Yii::$app->user->can('administrator')], ['label' => Yii::t('backend', 'File manager'), 'url' => ['/file-manager/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'DB manager'), 'url' => ['/db-manager/default/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'visible' => Yii::$app->user->can('administrator')], ['label' => Yii::t('backend', 'Key storage'), 'url' => ['/key-storage/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Cache'), 'url' => ['/cache/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>'], ['label' => Yii::t('backend', 'Logs'), 'url' => ['/log/index'], 'icon' => '<i class="fa fa-angle-double-right"></i>', 'badge' => Log::find()->count(), 'badgeBgClass' => 'label-danger']]]]]); ?> </section> </aside>