header.php 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. <!doctype html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>
  6. <?php echo isset($title) ? $title. '-' : '' ?>
  7. <?php echo $this->config['sitename']?>
  8. </title>
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  10. <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
  11. <meta name="renderer" content="webkit">
  12. <link href="/static/common/bootstrap.min.css" type="text/css" rel="stylesheet">
  13. <link href="/static/common/css/font-awesome.min.css" rel="stylesheet">
  14. <link href="/static/member/jquery-ui.css" rel="stylesheet">
  15. <link href="/static/member/style.css" rel="stylesheet">
  16. <link href="/static/common/datetimepicker.min.css" type="text/css" rel="stylesheet">
  17. <script src="/static/common/jquery-1.12.1.min.js" type="text/javascript">
  18. </script>
  19. <script src="/static/common/bootstrap.min.js" type="text/javascript">
  20. </script>
  21. <script src="/static/common/jquery.zclip.min.js" type="text/javascript">
  22. </script>
  23. <script src="/static/common/datetimepicker.min.js" type="text/javascript">
  24. </script>
  25. <script src="/static/member/app.js" type="text/javascript">
  26. </script>
  27. </head>
  28. <body>
  29. <div style="position:absolute;left:40%">
  30. <div class="woody-prompt">
  31. <div class="prompt-error alert alert-danger">
  32. </div>
  33. </div>
  34. </div>
  35. <div class="pace pace-inactive">
  36. <div class="pace-progress1" data-progress-text="100%" data-progress="99"
  37. style="transform: translate3d(100%, 0px, 0px);">
  38. <div class="pace-progress-inner">
  39. </div>
  40. </div>
  41. <div class="pace-activity">
  42. </div>
  43. </div>
  44. <style type="text/css">
  45. .navbar-default .nav li{ border-top: 1px solid #37414b; border-bottom:
  46. 1px solid #1f262d; border-left: 4px solid #2f4050;} .navbar-default .nav
  47. li a{ padding: 10px 45px; } .navbar-default .nav li a .fa { width: 1.2em;
  48. color: inherit; font-size: 14px; } .navbar-default .nav-heading{ padding:
  49. 10px 25px; color: #A7B1C2; } .navbar-default .nav li:hover, .navbar-default
  50. .nav li:focus{ border-left: 4px solid #293846; } .navbar-default .nav li.active{
  51. border-left: 0; } .navbar-default .nav li.active a{ border-left: 4px solid
  52. #19aa8d; } .navbar-default .nav li.nav-heading:hover, .navbar-default .nav
  53. li.nav-heading:focus { border-left: 4px solid #2F4050; } body.mini-navbar
  54. .navbar-default .nav li.nav-heading{ display: none; } body.mini-navbar
  55. .navbar-static-side { width: 100px; } body.mini-navbar #page-wrapper { margin:
  56. 0 0 0 100px;box-shadow: 4px 4px 4px #ddd;}
  57. </style>
  58. <div id="wrapper">
  59. <nav class="navbar-default navbar-static-side" role="navigation">
  60. <div class="sidebar-collapse">
  61. <ul class="nav metismenu" id="side-menu">
  62. <?php $current=isset($this->action[1]) ? $this->action[1] : '';?>
  63. <li class="nav-header">
  64. <div class="dropdown profile-element text-center">
  65. <span>
  66. <img alt="image" src="/images/agentlogo.png">
  67. </span>
  68. </div>
  69. <div class="logo-element">
  70. 代理中心
  71. </div>
  72. </li>
  73. <li<?php echo $current=='' ? ' class="active"' : ''?>
  74. >
  75. <a href="/agent">
  76. <span class="glyphicon glyphicon-home">
  77. </span>
  78. &nbsp;代理首页
  79. </a>
  80. </li>
  81. <li<?php echo $current=='userinfo' ? ' class="active"' : ''?>
  82. >
  83. <a href="/agent/userinfo">
  84. <span class="glyphicon glyphicon-user">
  85. </span>
  86. &nbsp;基本资料
  87. </a>
  88. </li>
  89. <li<?php echo $current=='userpwd' ? ' class="active"' : ''?>
  90. >
  91. <a href="/agent/userpwd">
  92. <span class="glyphicon glyphicon-lock">
  93. </span>
  94. &nbsp;修改密码
  95. </a>
  96. </li>
  97. <li<?php echo $current=='users' ? ' class="active"' : ''?>
  98. >
  99. <a href="/agent/users">
  100. <span class="glyphicon glyphicon-menu-hamburger">
  101. </span>
  102. &nbsp;下级用户
  103. </a>
  104. </li>
  105. <li<?php echo $current=='payments' ? ' class="active"' : ''?>
  106. >
  107. <a href="/agent/payments">
  108. <span class="glyphicon glyphicon-check">
  109. </span>
  110. &nbsp;结算记录
  111. </a>
  112. </li>
  113. <li<?php echo $current=='orders' ? ' class="active"' : ''?>
  114. >
  115. <a href="/agent/orders">
  116. <span class="glyphicon glyphicon-list">
  117. </span>
  118. &nbsp;用户订单
  119. </a>
  120. </li>
  121. <li<?php echo $current=='count' ? ' class="active"' : ''?>
  122. >
  123. <a href="/agent/count">
  124. <span class="glyphicon glyphicon-piggy-bank">
  125. </span>
  126. &nbsp;收入统计
  127. </a>
  128. </li>
  129. <li<?php echo $current=='rates' ? ' class="active"' : ''?>>
  130. <a href="/agent/rates">
  131. <span class="glyphicon glyphicon-sort">
  132. </span>
  133. &nbsp;代理费率
  134. </a>
  135. </li>
  136. <li<?php echo $current=='userlogs' ? ' class="active"' : ''?>>
  137. <a href="/agent/userlogs">
  138. <span class="glyphicon glyphicon-list">
  139. </span>
  140. &nbsp;登录日志
  141. </a>
  142. </li>
  143. <li<?php echo $current=='logout' ? ' class="active"' : ''?>
  144. >
  145. <a href="/login/logout">
  146. <span class="glyphicon glyphicon-sort">
  147. </span>
  148. &nbsp;安全退出
  149. </a>
  150. </li>
  151. </ul>
  152. </div>
  153. </nav>
  154. <div id="page-wrapper" class="gray-bg">
  155. <div class="row border-bottom">
  156. <nav class="navbar navbar-static-top white-bg" role="navigation" style="margin-bottom: 0">
  157. <div class="navbar-header">
  158. <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="javascript:void(0);">
  159. <i class="fa fa-bars">
  160. </i>&nbsp;<?php echo $this->config['sitename']?>代理中心 代理商: <?php echo $_SESSION[ 'login_agentname']?>
  161. </a>
  162. </div>
  163. </nav>
  164. </div>