header.php 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <?php
  2. include_once("../untils/conn.php");
  3. $type = "web_config";
  4. $sql = "SELECT * FROM foundation WHERE type='$type'";
  5. $data = mysqli_query($con, $sql);
  6. $result = mysqli_fetch_assoc($data);
  7. $site_name = $result['site_name'];
  8. $site_seo = $result['site_seo'];
  9. $site_key = $result['site_key'];
  10. $site_ms = $result['site_ms'];
  11. $light_logo = $result['light_logo'];
  12. $dark_logo = $result['dark_logo'];
  13. $site_icp =$result['site_icp'];
  14. ?>
  15. <html lang="cn" >
  16. <head>
  17. <!-- META DATA -->
  18. <meta charset="UTF-8">
  19. <meta name='viewport' content='width=device-width, initial-scale=1.0, user-scalable=0'>
  20. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  21. <meta name="description" content="<?php echo $site_seo?>">
  22. <meta name="author" content="GZKING">
  23. <meta name="keywords"
  24. content="<?php echo $site_key?>">
  25. <!-- FAVICON -->
  26. <link rel="shortcut icon" type="image/x-icon" href="../../../favicon.ico">
  27. <!-- TITLE -->
  28. <title><?php echo $site_name?> -代理数据管理平台</title>
  29. <!-- BOOTSTRAP CSS -->
  30. <link id="style" href="./assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  31. <!-- STYLE CSS -->
  32. <link href="./assets/css/style.css" rel="stylesheet">
  33. <!-- Plugins CSS -->
  34. <link href="./assets/css/plugins.css" rel="stylesheet">
  35. <!--- FONT-ICONS CSS -->
  36. <link href="./assets/css/icons.css" rel="stylesheet">
  37. <!-- INTERNAL Switcher css -->
  38. <link href="./assets/switcher/css/switcher.css" rel="stylesheet">
  39. <link href="./assets/switcher/demo.css" rel="stylesheet">
  40. </head>
  41. <body class="app sidebar-mini ltr light-mode">
  42. <!-- GLOBAL-LOADER -->
  43. <!--<div id="global-loader">-->
  44. <!-- <img src="./assets/images/loader.svg" class="loader-img" alt="Loader">-->
  45. <!--</div>-->
  46. <!-- /GLOBAL-LOADER -->
  47. <!-- PAGE -->
  48. <div class="page">
  49. <div class="page-main">
  50. <!-- app-Header -->
  51. <div class="app-header header sticky">
  52. <div class="container-fluid main-container">
  53. <div class="d-flex">
  54. <a aria-label="Hide Sidebar" class="app-sidebar__toggle" data-bs-toggle="sidebar" href="javascript:void(0)"></a>
  55. <!-- sidebar-toggle-->
  56. <a class="logo-horizontal " href="index.php">
  57. <img src="<?php echo $dark_logo?>" class="header-brand-img desktop-logo" alt="<?php echo $site_name?>">
  58. <img src="<?php echo $light_logo?>" class="header-brand-img light-logo1"
  59. alt="<?php echo $site_name?>">
  60. </a>
  61. <!-- LOGO -->
  62. <div class="d-flex order-lg-2 ms-auto header-right-icons">
  63. <!-- SEARCH -->
  64. <button class="navbar-toggler navresponsive-toggler d-lg-none ms-auto" type="button"
  65. data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent-4"
  66. aria-controls="navbarSupportedContent-4" aria-expanded="false"
  67. aria-label="Toggle navigation">
  68. <span class="navbar-toggler-icon fe fe-more-vertical"></span>
  69. </button>
  70. <div class="navbar navbar-collapse responsive-navbar p-0">
  71. <div class="collapse navbar-collapse" id="navbarSupportedContent-4">
  72. <div class="d-flex order-lg-2">
  73. <div class="dropdown d-lg-none d-flex">
  74. <a href="javascript:void(0)" class="nav-link icon" data-bs-toggle="dropdown">
  75. <i class="fe fe-search"></i>
  76. </a>
  77. <div class="dropdown-menu header-search dropdown-menu-start">
  78. <div class="input-group w-100 p-2">
  79. <input type="text" class="form-control" placeholder="Search....">
  80. <div class="input-group-text btn btn-primary">
  81. <i class="fa fa-search" aria-hidden="true"></i>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. <!-- COUNTRY -->
  87. <div class="d-flex">
  88. <a class="nav-link icon theme-layout nav-link-bg layout-setting">
  89. <span class="dark-layout"><i class="fe fe-moon"></i></span>
  90. <span class="light-layout"><i class="fe fe-sun"></i></span>
  91. </a>
  92. </div>
  93. <!-- CART -->
  94. <div class="dropdown d-flex">
  95. <a class="nav-link icon full-screen-link nav-link-bg">
  96. <i class="fe fe-minimize fullscreen-button"></i>
  97. </a>
  98. </div>
  99. <!-- FULL-SCREEN -->
  100. <div class="dropdown d-flex notifications">
  101. <a class="nav-link icon" data-bs-toggle="dropdown"><i
  102. class="fe fe-bell"></i><span class=" pulse"></span>
  103. </a>
  104. <div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
  105. <div class="drop-heading border-bottom">
  106. <div class="d-flex">
  107. <h6 class="mt-1 mb-0 fs-16 fw-semibold text-dark">通知
  108. </h6>
  109. </div>
  110. </div>
  111. <div class="">
  112. <a class="dropdown-item d-flex" href="">
  113. <div class="me-3 notifyimg bg-primary brround box-shadow-primary">
  114. <i class="fe fe-bell"></i>
  115. </div>
  116. <div class="mt-1 wd-80p">
  117. <h5 class="notification-label mb-1">系统通知
  118. </h5>
  119. <span class="notification-subtext">一天前</span>
  120. </div>
  121. </a>
  122. </div>
  123. </div>
  124. </div>
  125. <div class="dropdown d-flex header-settings">
  126. <a href="javascript:void(0);" class="nav-link icon"
  127. data-bs-toggle="sidebar-right" data-target=".sidebar-right">
  128. <i class="fe fe-align-right"></i>
  129. </a>
  130. </div>
  131. <!-- SIDE-MENU -->
  132. <div class="dropdown d-flex profile-1">
  133. <a href="javascript:void(0)" data-bs-toggle="dropdown" class="nav-link leading-none d-flex">
  134. <img src="https://ym.junes.cn/wp-content/uploads/2023/02/User-01a.png" alt="profile-user"
  135. class="avatar profile-user brround cover-image">
  136. </a>
  137. <div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
  138. <div class="drop-heading">
  139. <div class="text-center">
  140. <h5 class="text-dark mb-0 fs-14 fw-semibold" id="account">用户名</h5>
  141. <small class="text-muted" >你好!</small>
  142. <small class="text-muted" id="names"></small>
  143. </div>
  144. </div>
  145. <div class="dropdown-divider m-0"></div>
  146. <a class="dropdown-item" href="profile.php">
  147. <i class="dropdown-icon fe fe-user"></i> 个人信息
  148. </a>
  149. <a class="dropdown-item" href="common/logout.php">
  150. <i class="dropdown-icon fe fe-alert-circle"></i> 退出登录
  151. </a>
  152. </div>
  153. </div>
  154. </div>
  155. </div>
  156. </div>
  157. </div>
  158. </div>
  159. </div>
  160. </div>
  161. <!-- /app-Header -->