123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344 |
- <?php $url = Req::get("url");?>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
- <meta charset="utf-8" />
- <title>校本课程平台</title>
- <meta name="description" content="" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
- <!-- bootstrap & fontawesome -->
- <link rel="stylesheet" href="/css/bootstrap.min.css" />
- <link rel="stylesheet" href="/css/font-awesome/4.2.0/css/font-awesome.min.css" />
- <!-- page specific plugin styles -->
- <!-- text fonts -->
- <link rel="stylesheet" href="/css/fonts/fonts.googleapis.com.css" />
- <!-- ace styles -->
- <link rel="stylesheet" href="/css/ace.min.css" class="ace-main-stylesheet" id="main-ace-style" />
- <!--[if lte IE 9]>
- <link rel="stylesheet" href="assets/css/ace-part2.min.css" class="ace-main-stylesheet" />
- <![endif]-->
- <link rel="stylesheet" href="/css/style.css" />
- <!--[if lte IE 9]>
- <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
- <![endif]-->
- <!-- inline styles related to this page -->
- <!-- ace settings handler -->
- <script src="/js/ace-extra.min.js"></script>
- <script src="/js/jquery-2.2.2.min.js"></script>
- <!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->
- <script src="/js/layer/layer.js"></script>
- <!--[if lte IE 8]>
- <script src="assets/js/html5shiv.min.js"></script>
- <script src="assets/js/respond.min.js"></script>
- <![endif]-->
-
- <script type="text/javascript">
- document.url = "<?php echo Req::get("url");?>";
- if(!document.url)
- document.url = "<?php echo "http://{$_SERVER["HTTP_HOST"]}".$this->createUrl("index/index");?>";
-
- function changeUrl(url){
- jQuery("#iframe").attr("src", url);
- }
-
- jQuery(document).ready(function(){
- changeUrl(document.url);
- });
- </script>
-
- <style type="text/css">
- .errorMessage{color:red;}
- </style>
- </head>
- <body class="no-skin">
- <div class="shade"></div>
- <div id="navbar" class="navbar navbar-default">
- <script type="text/javascript">
- try{ace.settings.check('navbar' , 'fixed')}catch(e){}
- </script>
-
- <div class="navbar-container" id="navbar-container">
- <button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler" data-target="#sidebar">
- <span class="sr-only">Toggle sidebar</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <div class="navbar-header pull-left">
- <a class="navbar-brand">
- <small>
- <img src="/images/logo.png" height="23" width="40">
- 校本课程平台
- </small>
- </a>
- </div>
- <div class="navbar-buttons navbar-header pull-right" role="navigation">
- <ul class="nav ace-nav">
- <!-- 头部提示消息 -->
- <li class="purple">
- <a data-toggle="dropdown" class="dropdown-toggle">
- <?php echo Yii::app()->session['session_school_name'];?>
- </a>
- </li>
- <li class="green" id="change_sm">
- <?php if(!empty(Yii::app()->session['session_semester_name'])):?>
- <a data-toggle="dropdown" class="dropdown-toggle">
- <?php echo Yii::app()->session['session_semester_name'];?>
- </a>
- <?php else:?>
- <a data-toggle="dropdown" class="dropdown-toggle">
- <?php echo '请设置学期!';?>
- </a>
- <?php endif;?>
- </li>
- <li class="light-blue">
- <a data-toggle="dropdown" href="#" class="dropdown-toggle">
- <img class="nav-user-photo" src="/images/avatar.png" />
- <span class="user-info">
- <small>您好,</small>
- <?php echo Yii::app()->session['coachInfo']['real_name'];?><?php echo (Yii::app()->session["role"] === 2) ? "<span style='color:red'>(#)</span>" : "";?>
- </span>
- <i class="ace-icon fa fa-caret-down"></i>
- </a>
- <ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
- <!-- <li>
- <a href="profile.html">
- <i class="ace-icon fa fa-user"></i>
- 个人信息
- </a>
- </li>
-
- <li class="divider"></li> -->
- <li>
- <a href="<?php echo $this->createUrl('login/out');?>">
- <i class="ace-icon fa fa-power-off"></i>
- 退出
- </a>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div><!-- /.navbar-container -->
- </div>
- <div class="main-container" id="main-container">
- <script type="text/javascript">
- try{ace.settings.check('main-container' , 'fixed')}catch(e){}
- </script>
- <div id="sidebar" class="sidebar responsive">
- <script type="text/javascript">
- try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
- </script>
- <div class="sidebar-shortcuts" id="sidebar-shortcuts">
- <div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
- <button class="btn btn-success menuTop" url="<?php echo "http://{$_SERVER["HTTP_HOST"]}".$this->createUrl("index/index");?>" title="学生管理">
- <i class="ace-icon fa fa-user"></i>
- </button>
- <button class="btn btn-info menuTop" url="<?php echo "http://{$_SERVER["HTTP_HOST"]}".$this->createUrl("payment/index");?>" title="缴费记录">
- <i class="ace-icon fa fa-list-alt"></i>
- </button>
- <button class="btn btn-warning menuTop" url="<?php echo "http://{$_SERVER["HTTP_HOST"]}".$this->createUrl("print/index");?>" title="打印任务">
- <i class="ace-icon fa fa-print"></i>
- </button>
- <button class="btn btn-danger menuTop" url="<?php echo "http://{$_SERVER["HTTP_HOST"]}".$this->createUrl("classes/index");?>" title="班级管理">
- <i class="ace-icon fa fa-credit-card"></i>
- </button>
- </div>
- <div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
- <span class="btn btn-success"></span>
- <span class="btn btn-info"></span>
- <span class="btn btn-warning"></span>
- <span class="btn btn-danger"></span>
- </div>
- </div><!-- /.sidebar-shortcuts -->
- <ul class="nav nav-list">
- <li class="menuLi<?php echo stripos($url, "index/index") !== false || !$url ? " active" : "";?>" url="<?php echo "http://{$_SERVER["HTTP_HOST"]}".$this->createUrl("index/index");?>">
- <a href="javascript:;">
- <i class="menu-icon fa fa-tachometer"></i>
- <span class="menu-text">首页 </span>
- </a>
- <b class="arrow"></b>
- </li>
- <?php if(Yii::app()->session['coachInfo']['leader']==1){?>
- <li class="menuLi<?php echo stripos($url, "semester") !== false ? " active" : "";?>" url="<?php echo "http://{$_SERVER["HTTP_HOST"]}".$this->createUrl("semester/index");?>">
- <a href="javascript:;">
- <i class="menu-icon fa fa-laptop"></i>
- <span class="menu-text"> 学期管理 </span>
- </a>
- <b class="arrow"></b>
- </li>
- <?php }?>
- <li class="menuLi<?php echo stripos($url, "teacher") !== false ? " active" : "";?>" url="<?php echo "http://{$_SERVER["HTTP_HOST"]}".$this->createUrl("teacher/index");?>">
- <a href="javascript:;">
- <i class="menu-icon fa fa-barcode"></i>
- <span class="menu-text"> 教师管理 </span>
- </a>
- <b class="arrow"></b>
- </li>
- <li class="menuLi<?php echo stripos($url, "classes") !== false ? " active" : "";?>" url="<?php echo "http://{$_SERVER["HTTP_HOST"]}".$this->createUrl("classes/index");?>">
- <a href="javascript:;">
- <i class="menu-icon fa fa-credit-card"></i>
- <span class="menu-text"> 班级管理 </span>
- </a>
- <b class="arrow"></b>
- </li>
- <li class="menuLi<?php echo stripos($url, "pay/index") !== false ? " active" : "";?>" url="<?php echo "http://{$_SERVER["HTTP_HOST"]}".$this->createUrl("pay/index");?>">
- <a href="javascript:;">
- <i class="menu-icon fa fa-leaf"></i>
- <span class="menu-text"> 缴费设置 </span>
- </a>
- <b class="arrow"></b>
- </li>
- <li class="menuLi<?php echo stripos($url, "studentinfo") !== false ? " active" : "";?>" url="<?php echo "http://{$_SERVER["HTTP_HOST"]}".$this->createUrl("studentinfo/index");?>">
- <a href="javascript:;">
- <i class="menu-icon fa fa-user"></i>
- <span class="menu-text"> 学生管理 </span>
- </a>
- <b class="arrow"></b>
- </li>
- <!--<li class="menuLi<?php echo stripos($url, "record") !== false ? " active" : "";?>" url="<?php echo "http://{$_SERVER["HTTP_HOST"]}".$this->createUrl("record/index");?>">
- <a href="javascript:;">
- <i class="menu-icon fa fa-user"></i>
- <span class="menu-text">成绩录入</span>
- </a>
- <b class="arrow"></b>
- </li>-->
- <!--<li class="<?php if($this->operateUrl == 'order/index'){echo 'active';}?>">
- <a href="javascript:;">
- <i class="menu-icon fa fa-user"></i>
- <span class="menu-text">购买记录</span>
- </a>
- <b class="arrow"></b>
- </li>-->
- <!--<li class="menuLi<?php echo stripos($url, "parent") !== false ? " active" : "";?>" url="<?php echo "http://{$_SERVER["HTTP_HOST"]}".$this->createUrl("parent/index");?>">
- <a href="javascript:;">
- <i class="menu-icon fa fa-user"></i>
- <span class="menu-text">家长列表</span>
- </a>
- <b class="arrow"></b>
- </li>-->
- <li class="menuLi<?php echo stripos($url, "payment") !== false ? " active" : "";?>" url="<?php echo "http://{$_SERVER["HTTP_HOST"]}".$this->createUrl("payment/index");?>">
- <a href="javascript:;">
- <i class="menu-icon fa fa-list-alt"></i>
- <span class="menu-text"> 缴费记录 </span>
- </a>
- <b class="arrow"></b>
- </li>
- <li class="menuLi<?php echo stripos($url, "print") !== false ? " active" : "";?>" url="<?php echo "http://{$_SERVER["HTTP_HOST"]}".$this->createUrl("print/index");?>">
- <a href="javascript:;">
- <i class="menu-icon fa fa-print"></i>
- <span class="menu-text"> 打印任务 </span>
- </a>
- <b class="arrow"></b>
- </li>
- <li class="menuLi<?php echo stripos($url, "export") !== false ? " active" : "";?>" url="<?php echo "http://{$_SERVER["HTTP_HOST"]}".$this->createUrl("export/index");?>">
- <a href="javascript:;">
- <i class="menu-icon fa fa-file"></i>
- <span class="menu-text">导出报告</span>
- </a>
- <b class="arrow"></b>
- </li>
- </ul><!-- /.nav-list -->
- <div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
- <i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
- </div>
- </div>
- <div class="main-content">
- <iframe id="iframe" frameborder="0" scrolling="no" src="" style="width:100%;height:0px;"></iframe>
- </div><!-- /.main-content -->
- <div class="footer">
- <div class="footer-inner">
- <div class="footer-content">
- <span class="bigger-120">
- <!-- <span class="blue bolder">上海风车教育有限公司</span> -->
- ©<?php echo date("Y", time());?> 上海互教教育科技有限公司 All Rights Received<br />
- <a href="http://www.miibeian.gov.cn" target="_blank">沪ICP备15055185号</a>
- </span>
- </div>
- </div>
- </div>
- <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
- <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
- </a>
- </div><!-- /.main-container -->
- <!-- basic scripts -->
- <!--[if IE]>
- <script src="assets/js/jquery.1.11.1.min.js"></script>
- <![endif]-->
- <!--[if !IE]> -->
- <script type="text/javascript">
- window.jQuery || document.write("<script src='/js/jquery.min.js'>"+"<"+"/script>");
- </script>
- <!-- <![endif]-->
- <!--[if IE]>
- <script type="text/javascript">
- window.jQuery || document.write("<script src='assets/js/jquery1x.min.js'>"+"<"+"/script>");
- </script>
- <![endif]-->
- <script type="text/javascript">
- if('ontouchstart' in document.documentElement) document.write("<script src='/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
- </script>
- <script src="/js/bootstrap.min.js"></script>
- <!-- page specific plugin scripts -->
- <!-- ace scripts -->
- <script src="/js/ace-elements.min.js"></script>
- <script src="/js/ace.min.js"></script>
- <!-- inline scripts related to this page -->
- </body>
- </html>
|