blank.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  5. <meta charset="utf-8" />
  6. <title>校本课程平台</title>
  7. <meta name="description" content="" />
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
  9. <!-- bootstrap & fontawesome -->
  10. <link rel="stylesheet" href="/css/bootstrap.min.css" />
  11. <link rel="stylesheet" href="/css/font-awesome/4.2.0/css/font-awesome.min.css" />
  12. <!-- page specific plugin styles -->
  13. <!-- text fonts -->
  14. <link rel="stylesheet" href="/css/fonts/fonts.googleapis.com.css" />
  15. <!-- ace styles -->
  16. <link rel="stylesheet" href="/css/ace.min.css" class="ace-main-stylesheet" id="main-ace-style" />
  17. <!--[if lte IE 9]>
  18. <link rel="stylesheet" href="assets/css/ace-part2.min.css" class="ace-main-stylesheet" />
  19. <![endif]-->
  20. <link rel="stylesheet" href="/css/style.css" />
  21. <!--[if lte IE 9]>
  22. <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
  23. <![endif]-->
  24. <!-- inline styles related to this page -->
  25. <!-- ace settings handler -->
  26. <script src="/js/ace-extra.min.js"></script>
  27. <script src="/js/jquery-2.2.2.min.js"></script>
  28. <!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->
  29. <script src="/js/layer/layer.js"></script>
  30. <!--[if lte IE 8]>
  31. <script src="assets/js/html5shiv.min.js"></script>
  32. <script src="assets/js/respond.min.js"></script>
  33. <![endif]-->
  34. <style type="text/css">
  35. .errorMessage{color:red;}
  36. </style>
  37. </head>
  38. <body class="no-skin">
  39. <div class="shade"></div>
  40. <div id="navbar" class="navbar navbar-default">
  41. <script type="text/javascript">
  42. try{ace.settings.check('navbar' , 'fixed')}catch(e){}
  43. </script>
  44. <div class="navbar-container" id="navbar-container">
  45. <button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler" data-target="#sidebar">
  46. <span class="sr-only">Toggle sidebar</span>
  47. <span class="icon-bar"></span>
  48. <span class="icon-bar"></span>
  49. <span class="icon-bar"></span>
  50. </button>
  51. <div class="navbar-header pull-left">
  52. <a class="navbar-brand">
  53. <small>
  54. <img src="/images/logo.png" height="23" width="40">
  55. 校本课程平台
  56. </small>
  57. </a>
  58. </div>
  59. <div class="navbar-buttons navbar-header pull-right" role="navigation">
  60. <ul class="nav ace-nav">
  61. <!-- 头部提示消息 -->
  62. <li class="purple">
  63. <a data-toggle="dropdown" class="dropdown-toggle">
  64. <?php echo Yii::app()->session['session_school_name'];?>
  65. </a>
  66. </li>
  67. <li class="green" id="change_sm">
  68. <?php if(!empty(Yii::app()->session['session_semester_name'])):?>
  69. <a data-toggle="dropdown" class="dropdown-toggle">
  70. <?php echo Yii::app()->session['session_semester_name'];?>
  71. </a>
  72. <?php else:?>
  73. <a data-toggle="dropdown" class="dropdown-toggle">
  74. <?php echo '请设置学期!';?>
  75. </a>
  76. <?php endif;?>
  77. </li>
  78. <li class="light-blue">
  79. <a data-toggle="dropdown" href="#" class="dropdown-toggle">
  80. <img class="nav-user-photo" src="/images/avatar.png" />
  81. <span class="user-info">
  82. <small>您好,</small>
  83. <?php echo Yii::app()->session['coachInfo']['real_name'];?><?php echo (Yii::app()->session["role"] === 2) ? "<span style='color:red'>(#)</span>" : "";?>
  84. </span>
  85. <i class="ace-icon fa fa-caret-down"></i>
  86. </a>
  87. <ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
  88. <!-- <li>
  89. <a href="profile.html">
  90. <i class="ace-icon fa fa-user"></i>
  91. 个人信息
  92. </a>
  93. </li>
  94. <li class="divider"></li> -->
  95. <li>
  96. <a href="<?php echo $this->createUrl('login/out');?>">
  97. <i class="ace-icon fa fa-power-off"></i>
  98. 退出
  99. </a>
  100. </li>
  101. </ul>
  102. </li>
  103. </ul>
  104. </div>
  105. </div><!-- /.navbar-container -->
  106. </div>
  107. <div class="main-container" id="main-container">
  108. <script type="text/javascript">
  109. try{ace.settings.check('main-container' , 'fixed')}catch(e){}
  110. </script>
  111. <div id="sidebar" class="sidebar responsive">
  112. <script type="text/javascript">
  113. try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
  114. </script>
  115. <div class="sidebar-shortcuts" id="sidebar-shortcuts">
  116. <div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
  117. <button class="btn btn-success" onclick="location.href='<?php echo $this->createUrl('studentinfo/index');?>'" title="学生管理">
  118. <i class="ace-icon fa fa-user"></i>
  119. </button>
  120. <button class="btn btn-info" onclick="location.href='<?php echo $this->createUrl('payment/index');?>'" title="缴费记录">
  121. <i class="ace-icon fa fa-list-alt"></i>
  122. </button>
  123. <button class="btn btn-warning" onclick="location.href='<?php echo $this->createUrl('print/index');?>'" title="打印任务">
  124. <i class="ace-icon fa fa-print"></i>
  125. </button>
  126. <button class="btn btn-danger" onclick="location.href='<?php echo $this->createUrl('classes/index');?>'" title="班级管理">
  127. <i class="ace-icon fa fa-credit-card"></i>
  128. </button>
  129. </div>
  130. <div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
  131. <span class="btn btn-success"></span>
  132. <span class="btn btn-info"></span>
  133. <span class="btn btn-warning"></span>
  134. <span class="btn btn-danger"></span>
  135. </div>
  136. </div><!-- /.sidebar-shortcuts -->
  137. <ul class="nav nav-list">
  138. <li class="<?php if($this->operateUrl == 'index/index'){echo 'active';}?>">
  139. <a href="<?php echo $this->createUrl('index/index');?>">
  140. <i class="menu-icon fa fa-tachometer"></i>
  141. <span class="menu-text">首页 </span>
  142. </a>
  143. <b class="arrow"></b>
  144. </li>
  145. <?php if(Yii::app()->session['coachInfo']['leader']==1){?>
  146. <li class="<?php if($this->operateUrl == 'semester/index'){echo 'active';}?>">
  147. <a href="<?php echo $this->createUrl('semester/index');?>">
  148. <i class="menu-icon fa fa-laptop"></i>
  149. <span class="menu-text"> 学期管理 </span>
  150. </a>
  151. <b class="arrow"></b>
  152. </li>
  153. <?php }?>
  154. <li class="<?php if($this->operateUrl == 'teacher/index'){echo 'active';}?>">
  155. <a href="<?php echo $this->createUrl('teacher/index');?>">
  156. <i class="menu-icon fa fa-barcode"></i>
  157. <span class="menu-text"> 教师管理 </span>
  158. </a>
  159. <b class="arrow"></b>
  160. </li>
  161. <li class="<?php if($this->operateUrl == 'classes/index'){echo 'active';}?>">
  162. <a href="<?php echo $this->createUrl('classes/index');?>">
  163. <i class="menu-icon fa fa-credit-card"></i>
  164. <span class="menu-text"> 班级管理 </span>
  165. </a>
  166. <b class="arrow"></b>
  167. </li>
  168. <li class="<?php if($this->operateUrl == 'pay/index'){echo 'active';}?>">
  169. <a href="<?php echo $this->createUrl('pay/index');?>">
  170. <i class="menu-icon fa fa-leaf"></i>
  171. <span class="menu-text"> 缴费设置 </span>
  172. </a>
  173. <b class="arrow"></b>
  174. </li>
  175. <li class="<?php if($this->operateUrl == 'studentinfo/index'){echo 'active';}?>">
  176. <a href="<?php echo $this->createUrl('studentinfo/index');?>">
  177. <i class="menu-icon fa fa-user"></i>
  178. <span class="menu-text"> 学生管理 </span>
  179. </a>
  180. <b class="arrow"></b>
  181. </li>
  182. <li class="<?php if($this->operateUrl == 'record/index'){echo 'active';}?>">
  183. <a href="<?php echo $this->createUrl('record/index');?>">
  184. <i class="menu-icon fa fa-user"></i>
  185. <span class="menu-text">成绩录入</span>
  186. </a>
  187. <b class="arrow"></b>
  188. </li>
  189. <!--<li class="<?php if($this->operateUrl == 'order/index'){echo 'active';}?>">
  190. <a href="<?php echo $this->createUrl('order/index');?>">
  191. <i class="menu-icon fa fa-user"></i>
  192. <span class="menu-text">购买记录</span>
  193. </a>
  194. <b class="arrow"></b>
  195. </li>-->
  196. <li class="<?php if($this->operateUrl == 'parent/index'){echo 'active';}?>">
  197. <a href="<?php echo $this->createUrl('parent/index');?>">
  198. <i class="menu-icon fa fa-user"></i>
  199. <span class="menu-text">家长列表</span>
  200. </a>
  201. <b class="arrow"></b>
  202. </li>
  203. <li class="<?php if($this->operateUrl == 'payment/index'){echo 'active';}?>">
  204. <a href="<?php echo $this->createUrl('payment/index');?>">
  205. <i class="menu-icon fa fa-list-alt"></i>
  206. <span class="menu-text"> 缴费记录 </span>
  207. </a>
  208. <b class="arrow"></b>
  209. </li>
  210. <li class="<?php if($this->controller == 'print'){echo 'active';}?>">
  211. <a href="<?php echo $this->createUrl('print/index');?>">
  212. <i class="menu-icon fa fa-print"></i>
  213. <span class="menu-text"> 打印任务 </span>
  214. </a>
  215. <b class="arrow"></b>
  216. </li>
  217. <li class="<?php if($this->operateUrl == 'export/index'){echo 'active';}?>">
  218. <a href="<?php echo $this->createUrl('export/index');?>">
  219. <i class="menu-icon fa fa-file"></i>
  220. <span class="menu-text">导出报告</span>
  221. </a>
  222. <b class="arrow"></b>
  223. </li>
  224. </ul><!-- /.nav-list -->
  225. <div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
  226. <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>
  227. </div>
  228. </div>
  229. <div class="main-content">
  230. <?php echo $content; ?>
  231. </div><!-- /.main-content -->
  232. <div class="footer">
  233. <div class="footer-inner">
  234. <div class="footer-content">
  235. <span class="bigger-120">
  236. <!-- <span class="blue bolder">上海风车教育有限公司</span> -->
  237. &copy;<?php echo date("Y", time());?> 上海互教教育科技有限公司 All Rights Received<br />
  238. <a href="http://www.miibeian.gov.cn" target="_blank">沪ICP备15055185号</a>
  239. </span>
  240. </div>
  241. </div>
  242. </div>
  243. <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
  244. <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
  245. </a>
  246. </div><!-- /.main-container -->
  247. <!-- basic scripts -->
  248. <!--[if !IE]> -->
  249. <script src="/js/jquery.2.1.1.min.js"></script>
  250. <!-- <![endif]-->
  251. <!--[if IE]>
  252. <script src="assets/js/jquery.1.11.1.min.js"></script>
  253. <![endif]-->
  254. <!--[if !IE]> -->
  255. <script type="text/javascript">
  256. window.jQuery || document.write("<script src='/js/jquery.min.js'>"+"<"+"/script>");
  257. </script>
  258. <!-- <![endif]-->
  259. <!--[if IE]>
  260. <script type="text/javascript">
  261. window.jQuery || document.write("<script src='assets/js/jquery1x.min.js'>"+"<"+"/script>");
  262. </script>
  263. <![endif]-->
  264. <script type="text/javascript">
  265. if('ontouchstart' in document.documentElement) document.write("<script src='/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
  266. </script>
  267. <script src="/js/bootstrap.min.js"></script>
  268. <!-- page specific plugin scripts -->
  269. <!-- ace scripts -->
  270. <script src="/js/ace-elements.min.js"></script>
  271. <script src="/js/ace.min.js"></script>
  272. <script type="text/javascript">
  273. function selectSemester(){
  274. layer.open({
  275. type: 2,
  276. skin: 'layui-layer-lan',
  277. title: '请选择要切换学期!',
  278. fix: false,
  279. shadeClose: true,
  280. maxmin: true,
  281. area: ['500px', '300px'],
  282. content: "<?php echo $this->createUrl('index/select');?>",
  283. });
  284. }
  285. </script>
  286. <!-- inline scripts related to this page -->
  287. </body>
  288. </html>