|
|
@ -2,7 +2,7 @@ |
|
|
|
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> |
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
|
|
<link rel="stylesheet" href="<?php echo route('home'); ?>/css/bootstrap.min.css"><link rel="stylesheet" href="<?php echo route('home'); ?>/css/admin.css"> |
|
|
|
<script src="<?php echo route('home'); ?>/js/jquery.min.js"></script><script src="<?php echo route('home'); ?>/js/ad.js"></script><script src="<?php echo route('home'); ?>/js/bootstrap.min.js"></script><script type="text/javascript" src="<?php echo route('home'); ?>/js/jquery.uploadify.min.js"></script></head><body> |
|
|
|
<script src="<?php echo route('home'); ?>/js/jquery.min.js"></script><script src="<?php echo route('home'); ?>/js/ad.js"></script><script src="<?php echo route('home'); ?>/js/bootstrap.min.js"></script></head><body> |
|
|
|
|
|
|
|
<div class="blog-masthead clearfix"><nav class="blog-nav"> |
|
|
|
<a class="blog-nav-item active" href="<?php echo route('admin'); ?>"><span class="glyphicon glyphicon-star"></span> <strong>后台管理中心</strong> <span class="glyphicon glyphicon-star-empty"></span></a> |
|
|
@ -44,14 +44,14 @@ $(document).ready(function(){ |
|
|
|
</script> |
|
|
|
<div class="menu"> |
|
|
|
<ul class="leftmenu"> |
|
|
|
<?php if($menus){ foreach($menus as $k=>$first){ ?>
|
|
|
|
<?php if($menus){ foreach($menus as $k=>$first){if(!isset($first['child']) && $first['deep']==0){}else{ ?>
|
|
|
|
<!-- 一级菜单 --> |
|
|
|
<li><a href="<?php if(isset($first['child'])){echo 'javascript:;';}else{echo route($first['action']);} ?>" class="<?php if(isset($first['child'])){echo 'inactive ';} if($k==0){echo 'active ';} ?>"><?php if($first['icon']){echo '<small class="'.$first['icon'].'"></small>';} ?> <?php echo $first['name']; ?></a>
|
|
|
|
<!-- 二级菜单 --> |
|
|
|
<?php if(isset($first['child'])){ ?>
|
|
|
|
<ul style="display: none"> |
|
|
|
<?php foreach($first['child'] as $second){ ?>
|
|
|
|
<li><a target="appiframe" href="<?php if(isset($second['child'])){echo 'javascript:;';}else{echo route($second['action']);} ?>" class="<?php if(isset($second['child'])){echo 'inactive ';} ?>"><small class="glyphicon glyphicon-triangle-right"></small> <?php echo $second['name']; ?></a>
|
|
|
|
<li><a target="appiframe" href="<?php if(isset($second['child'])){echo 'javascript:;';}else{echo route($second['action']);} ?>" class="<?php if(isset($second['child'])){echo 'inactive ';} ?>"><small class="glyphicon glyphicon-hand-right"></small> <?php echo $second['name']; ?></a>
|
|
|
|
<!-- 三级菜单 --> |
|
|
|
<?php if(isset($second['child'])){ ?>
|
|
|
|
<ul><?php foreach($second['child'] as $third){ ?>
|
|
|
@ -61,7 +61,7 @@ $(document).ready(function(){ |
|
|
|
<?php } ?>
|
|
|
|
</ul><?php } ?>
|
|
|
|
</li> |
|
|
|
<?php }} ?>
|
|
|
|
<?php }}} ?>
|
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div><!-- 左边结束 --> |
|
|
|