home.cmp.php 4.4 KB

1234
  1. <!--power by mazephp--><?php $data['manage/auth.notice']=Maze\Routing\Load::get('manage/auth.notice') ?>
  2. <?php $data['manage/menu.fast']=Maze\Routing\Load::get('manage/menu.fast') ?>
  3. <?php $data['manage/auth.config']=Maze\Routing\Load::get('manage/auth.config') ?>
  4. <!DOCTYPE html> <html lang="zh-CN"> <head> <?php require MAZE_PATH . 'data/compile/manage/inc/head.cmp.php' ?> </head> <body class="theme-<?php echo Maze::load("manage/auth.config#template") ?>"> <?php require MAZE_PATH . 'data/compile/manage/inc/nav.cmp.php' ?> <?php require MAZE_PATH . 'data/compile/manage/inc/menu.cmp.php' ?> <div class="content"> <div class="header"> <h1 class="page-title">控制台</h1> <ul class="breadcrumb"> <li><a href="#">快捷管理</a> </li> <li class="active">控制台</li> </ul> </div> <div class="main-content"> <div class="faq-content"> <div class="row"> <div class="col-sm-9 col-md-9"> <div class="panel panel-default" id="panel-notice"> <p class="panel-heading">公告</p> <div class="panel-body"> <ol style="list-style-type:circle"> <?php if(is_array($data['manage/auth.notice'])): ?><?php $t=count($data['manage/auth.notice'])-1 ?><?php $i=0 ?><?php foreach($data['manage/auth.notice'] as $k => $v): ?><li><a href="<?php echo Maze::url("notice?where_id=".$v['id']."&where_config=".$v['config']) ?>" title="<?php echo $v['name'] ?>"><?php echo $v['name'] ?></a></li><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['manage/auth.notice'] ?><?php endif; ?> </ol> </div> </div> <div class="panel panel-default" id="panel-info" style="display:none;"> <p class="panel-heading">info</p> <div class="panel-body"> <h2>Aubergine Asparagus Maize</h2> <p>Catsear corn gumbo leek chickpea summer purslane chicory. Taro azuki bean broccoli rabe soybean endive chicory. Pumpkin salsify horseradish avocado cabbage tomatillo ricebean caulie turnip greens eggplant.</p> </div> </div> <div class="panel panel-default" id="panel-project"> <p class="panel-heading">快捷功能</p> <div class="panel-body"> <div class="row" style="text-align: center;"> <div class="pull-left" style="margin-left:10px;"> <p><?php if(is_array($data['manage/menu.fast'])): ?><?php $t=count($data['manage/menu.fast'])-1 ?><?php $i=0 ?><?php foreach($data['manage/menu.fast'] as $k => $v): ?><a href="<?php echo $v['link'] ?>" class="btn btn-default" style="margin-left:10px;" title="<?php echo $v['name'] ?>"><?php echo $v['name'] ?></a><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['manage/menu.fast'] ?><?php endif; ?></p> </div> </div> <div class="clearfix"></div> </div> </div> </div> <div class="col-sm-3 col-md-3"> <div class="toc" id="panel-link" style="display:none;"> <h3>官方导航</h3> <ol> <li><a href="#">Orders</a></li> <li><a href="#">Billing</a></li> <li><a href="#">Shipping</a></li> <li><a href="#">Returns</a></li> <li><a href="#">Your Account</a></li> </ol> </div> <div class="toc" id="panel-contact"> <h3><?php echo $data['manage/auth.config']['info'] ?></h3> <address><?php echo $data['manage/auth.config']['content'] ?></address> <div style="display:none;"> <button class="btn btn-default"><i class="fa fa-facebook"></i></button> <button class="btn btn-default"><i class="fa fa-twitter"></i></button> <button class="btn btn-default"><i class="fa fa-linkedin"></i></button> </div> </div> </div> </div> </div> <?php require MAZE_PATH . 'data/compile/manage/inc/foot.cmp.php' ?> </div> </div> <?php require MAZE_PATH . 'data/compile/manage/inc/script.cmp.php' ?> </body> </html>