header.php 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <?php include_once 'config.php' ?>
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta charset="utf-8">
  6. <title>抽奖答题管理后台</title>
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. <!-- The styles -->
  9. <link id="bs-css" href="css/bootstrap-cerulean.min.css" rel="stylesheet">
  10. <link href="css/charisma-app.css" rel="stylesheet">
  11. <link href='bower_components/fullcalendar/dist/fullcalendar.css' rel='stylesheet'>
  12. <link href='bower_components/fullcalendar/dist/fullcalendar.print.css' rel='stylesheet' media='print'>
  13. <link href='bower_components/chosen/chosen.min.css' rel='stylesheet'>
  14. <link href='bower_components/colorbox/example3/colorbox.css' rel='stylesheet'>
  15. <link href='bower_components/responsive-tables/responsive-tables.css' rel='stylesheet'>
  16. <link href='bower_components/bootstrap-tour/build/css/bootstrap-tour.min.css' rel='stylesheet'>
  17. <link href='css/jquery.noty.css' rel='stylesheet'>
  18. <link href='css/noty_theme_default.css' rel='stylesheet'>
  19. <link href='css/elfinder.min.css' rel='stylesheet'>
  20. <link href='css/elfinder.theme.css' rel='stylesheet'>
  21. <link href='css/jquery.iphone.toggle.css' rel='stylesheet'>
  22. <link href='css/uploadify.css' rel='stylesheet'>
  23. <link href='css/animate.min.css' rel='stylesheet'>
  24. <link href="bower_components/layui/css/layui.css" rel="stylesheet">
  25. <script src="bower_components/layui/layui.js"></script>
  26. <!-- jQuery -->
  27. <script src="bower_components/jquery/jquery.min.js"></script>
  28. <!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
  29. <!--[if lt IE 9]>
  30. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  31. <![endif]-->
  32. <!-- The fav icon -->
  33. <link rel="shortcut icon" href="img/favicon.ico">
  34. <style type="text/css">
  35. .layui-table-cell {
  36. display: table-cell;
  37. vertical-align: middle;
  38. height: auto;
  39. overflow: visible;
  40. text-overflow: inherit;
  41. white-space: normal;
  42. }
  43. </style>
  44. </head>
  45. <body>
  46. <?php if (!isset($no_visible_elements) || !$no_visible_elements) { ?>
  47. <!-- topbar starts -->
  48. <div class="navbar navbar-default" role="navigation">
  49. <div class="navbar-inner">
  50. <button type="button" class="navbar-toggle pull-left animated flip">
  51. <span class="sr-only">Toggle navigation</span>
  52. <span class="icon-bar"></span>
  53. <span class="icon-bar"></span>
  54. <span class="icon-bar"></span>
  55. </button>
  56. <!-- user dropdown starts -->
  57. <div class="btn-group pull-right">
  58. <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
  59. <i class="glyphicon glyphicon-user"></i><span class="hidden-sm hidden-xs"> admin</span>
  60. <span class="caret"></span>
  61. </button>
  62. <ul class="dropdown-menu">
  63. <li><a href="logout.php">注销</a></li>
  64. </ul>
  65. </div>
  66. <!-- user dropdown ends -->
  67. </div>
  68. </div>
  69. <!-- topbar ends -->
  70. <?php } ?>
  71. <div class="ch-container">
  72. <div class="row">
  73. <?php if (!isset($no_visible_elements) || !$no_visible_elements) { ?>
  74. <!-- left menu starts -->
  75. <div class="col-sm-2 col-lg-2">
  76. <div class="sidebar-nav">
  77. <div class="nav-canvas">
  78. <div class="nav-sm nav nav-stacked">
  79. </div>
  80. <ul class="nav nav-pills nav-stacked main-menu">
  81. <li class="nav-header">功能列表</li>
  82. <li>
  83. <a class="ajax-link" href="index.php">
  84. <i class="glyphicon glyphicon-th-list"></i>
  85. <span>&nbsp&nbsp问卷活动管理</span>
  86. </a>
  87. </li>
  88. </ul>
  89. </div>
  90. </div>
  91. </div>
  92. <!--/span-->
  93. <!-- left menu ends -->
  94. <noscript>
  95. <div class="alert alert-block col-md-12">
  96. <h4 class="alert-heading">Warning!</h4>
  97. <p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a>
  98. enabled to use this site.</p>
  99. </div>
  100. </noscript>
  101. <div id="content" class="col-lg-10 col-sm-10">
  102. <!-- content starts -->
  103. <?php } ?>