<?php $data['manage/database.cookie']=Dever::load('manage/database.cookie') ?>
<?php $data['manage/auth.notice']=Dever::load('manage/auth.notice') ?>
<?php $data['manage/menu.fast']=Dever::load('manage/menu.fast') ?>
<?php $data['manage/auth.config']=Dever::load('manage/auth.config') ?>
<!DOCTYPE html>
<?php if(isset($_SERVER["HTTP_X_PJAX"])): ?><?php else: ?><!--power by dever--><html lang="zh-CN">
<head>
  
  <?php require Dever::config("base")->data . 'compile/sg/manage/moltran/inc/head.cmp.php' ?>
</head>
  
<body class="theme-<?php  echo Dever::load("manage/auth.config#template") ?>" test="公告">

<div id="wrapper" class="<?php echo $data['manage/database.cookie']['wrapper'] ?>">

    <?php require Dever::config("base")->data . 'compile/sg/manage/moltran/inc/nav.cmp.php' ?>
    
    <?php require Dever::config("base")->data . 'compile/sg/manage/moltran/inc/menu.cmp.php' ?>

            
            
                                  
            <div class="content-page">
                
                <div class="content"><?php endif; ?>
                    <div class="container">

                        
                        <div class="row">
                            <div class="col-sm-12">
                                <h4 class="pull-left page-title">控制台</h4>
                                <ol class="breadcrumb pull-right">
                                    <li><a href="#">快捷管理</a></li>
                                    <li class="active">控制台</li>
                                </ol>
                            </div>
                        </div>

                        <div class="row">
                            
                            <div class="col-lg-12" id="panel-contact">
                                <div class="panel panel-default">
                                    <div class="panel-heading">
                                        <h3 class="panel-title"><?php echo $data['manage/auth.config']['info'] ?></h3>
                                    </div>
                                    <div class="panel-body">
                                        <address><?php echo $data['manage/auth.config']['content'] ?></address>
                                    </div>
                                </div>
                            </div> 

                            
                            <div class="col-lg-12" id="panel-notice">
                                <div class="panel panel-default">
                                    <div class="panel-heading">
                                        <h4 class="panel-title">公告</h4>
                                    </div>
                                    <div class="panel-body">
                                        <ol style="list-style-type:circle">
                                            <?php if(isset($data['manage/auth.notice']) && 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 Dever::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> 

                            
                            <div class="col-lg-12" id="panel-project">
                                <div class="panel panel-default">
                                    <div class="panel-heading"> 
                                        <h3 class="panel-title">快捷功能</h3> 
                                    </div> 
                                    <div class="panel-body"> 
                                        <div class="pull-left">
                                            <p><?php if(isset($data['manage/menu.fast']) && 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>
                            </div> 


                            
                            <div class="col-lg-4" style="display:none;">
                                <div class="panel panel-default">
                                    <div class="panel-heading"> 
                                        <h3 class="panel-title">待办事项</h3> 
                                    </div> 
                                    <div class="panel-body todoapp"> 
                                        <div class="row">
                                            <div class="col-sm-6">
                                                <h4 id="todo-message"><span id="todo-remaining"></span> of <span id="todo-total"></span> remaining</h4> 
                                            </div>
                                            <div class="col-sm-6">
                                                <a href="" class="pull-right btn btn-primary btn-sm waves-effect waves-light" id="btn-archive">Archive</a>
                                            </div>
                                        </div>

                                        <ul class="list-group no-margn nicescroll todo-list" style="max-height: 288px" id="todo-list"></ul>

                                         <form name="todo-form" id="todo-form" role="form" class="m-t-20">
                                            <div class="row">
                                                <div class="col-sm-9 todo-inputbar">
                                                    <input type="text" id="todo-input-text" name="todo-input-text" class="form-control" placeholder="Add new todo">
                                                </div>
                                                <div class="col-sm-3 todo-send">
                                                    <button class="btn-primary btn-block btn waves-effect waves-light" type="button" id="todo-btn-submit">Add</button>
                                                </div>
                                            </div>
                                        </form> 
                                    </div> 
                                </div>
                            </div> 

                        </div> 


                    </div> 
                               
                <?php if(isset($_SERVER["HTTP_X_PJAX"])): ?><?php else: ?></div> 

                <?php require Dever::config("base")->data . 'compile/sg/manage/moltran/inc/foot.cmp.php' ?>

            </div>
            
            
            

            <?php require Dever::config("base")->data . 'compile/sg/manage/moltran/inc/chat.cmp.php' ?>

    </div>
    

    <?php require Dever::config("base")->data . 'compile/sg/manage/moltran/inc/script.cmp.php' ?>

</body>
</html><?php endif; ?>
