<!-- Left Sidebar Start -->
<div class="left side-menu">
    <div class="sidebar-inner slimscrollleft">
        <!--- Divider -->
        <div id="sidebar-menu">
            <ul>
					<li class=''>
						<a href='/Admin/Index/index'><i class='icon-home-3'></i><span>首页</span></a>
					</li>
					<?php 

						foreach($navlist as $k=>$v) {

							if(in_array($v['id'], $role)) {
					?>
							<li class='has_sub'><a href='javascript:void(0);'><i class='fa fa-table'></i><span><?php echo $v['auth_name'];?></span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
									<ul>
							<?php
							foreach($v['list'] as $k1=>$v1){
								if(in_array($v1['id'],$role)){
							?>
							<li><a href="<?php echo $v1['href']?>" <?php if($action_name==$v1['key']){echo "class='active'";}?> ><span><?php echo $v1['auth_name'];?></span></a></li>
							<?php
							}}
							?>
							
						</ul>
					</li>
					<?php
					}}
					?>
               
                <!-- <li class='has_sub'><a href='javascript:void(0);'><i class='fa fa-table'></i><span>用户管理</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                    <ul>
                        <li><a href="/index.php/Admin/User/index" <?php if($nav=='用户管理'){echo "class='active'";}?> ><span>用户列表</span></a></li>
                    </ul>
                </li>
                				<li class='has_sub'><a href='javascript:void(0);'><i class='fa fa-table'></i><span>名片管理</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                    <ul>
                						<li><a href="{:U('card/userCardList')}" <?php if($nav=='用户名片列表'){echo "class='active'";}?> ><span>用户名片列表</span></a></li>
                        <li><a href="{:U('card/cardList')}" <?php if($nav=='联系人名片列表'){echo "class='active'";}?> ><span>联系人名片列表</span></a></li>
                    </ul>
                </li> -->
             
                <div class="clearfix"></div>
        </div>
        <div class="clearfix"></div>
    </div>
    <div class="left-footer">
        <div class="progress progress-xs">
            <div class="progress-bar bg-green-1" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
                <span class="progress-precentage">80%</span>
            </div>

            <a data-toggle="tooltip" title="See task progress" class="btn btn-default" data-modal="task-progress"><i class="fa fa-inbox"></i></a>
        </div>
    </div>
</div>



<!-- Left Sidebar End -->