123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 |
- <!--APP-SIDEBAR-->
- <style>
- .dialog-bg {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0,0,0,0.5);
- display: flex;
- justify-content: center;
- align-items: center;
- z-index: 9999;
- }
- .dialog {
- width: 80%;
- max-width: 800px;
- background-color: #fff;
- padding: 20px;
- border-radius: 5px;
- box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
- }
- /* Optional: Set a custom scrollbar for the iframe */
- .dialog iframe::-webkit-scrollbar {
- width: 8px;
- }
- .dialog iframe::-webkit-scrollbar-track {
- background-color: #f1f1f1;
- }
- .dialog iframe::-webkit-scrollbar-thumb {
- background-color: #888;
- border-radius: 5px;
- }
- .dialog iframe::-webkit-scrollbar-thumb:hover {
- background-color: #555;
- }
- </style>
- <?php
- include_once("../untils/conn.php");
- $type = "web_config";
- $sql = "SELECT * FROM foundation WHERE type='$type'";
- $data = mysqli_query($con, $sql);
- $result = mysqli_fetch_assoc($data);
-
- $site_name = $result['site_name'];
- $site_seo = $result['site_seo'];
- $site_key = $result['site_key'];
- $site_ms = $result['site_ms'];
- $light_logo = $result['light_logo'];
- $dark_logo = $result['dark_logo'];
- ?>
- <div class="sticky">
- <div class="app-sidebar__overlay" data-bs-toggle="sidebar"></div>
- <div class="app-sidebar">
- <div class="side-header">
- <a class="header-brand1" href="index.php">
- <img src="<?php echo $dark_logo ?> " class="header-brand-img desktop-logo" alt="<?php echo $site_name ?>">
- <img src="<?php echo $dark_logo ?>" class="header-brand-img toggle-logo"
- alt="<?php echo $site_name ?>">
- <img src="<?php echo $light_logo ?>" class="header-brand-img light-logo" alt="<?php echo $site_name ?>">
- <img src="<?php echo $light_logo ?>" class="header-brand-img light-logo1"
- alt="<?php echo $site_name ?>">
- </a>
- <!-- LOGO -->
- </div>
- <div class="main-sidemenu">
- <div class="slide-left disabled" id="slide-left"><svg xmlns="http://www.w3.org/2000/svg"
- fill="#7b8191" width="24" height="24" viewBox="0 0 24 24">
- <path d="M13.293 6.293 7.586 12l5.707 5.707 1.414-1.414L10.414 12l4.293-4.293z" />
- </svg></div>
- <ul class="side-menu">
- <li class="slide">
- <a class="side-menu__item has-link" data-bs-toggle="slide" href="index.php"><i
- class="side-menu__icon fe fe-home"></i><span
- class="side-menu__label">控制台</span></a>
- </li>
- <li class="slide">
- <a class="side-menu__item" data-bs-toggle="slide" href="javascript:void(0)"><i
- class="side-menu__icon fe fe-shopping-bag"></i><span
- class="side-menu__label">商品管理</span><i
- class="angle fe fe-chevron-right"></i>
- </a>
- <ul class="slide-menu">
- <li class="panel sidetab-menu">
- <div class="panel-body tabs-menu-body p-0 border-0">
- <div class="tab-content">
- <div class="tab-pane active" id="side1">
- <ul class="sidemenu-list">
- <li><a href="Goods.php" class="slide-item">商品列表</a></li>
- </ul>
- </div>
- </div>
- </div>
- </li>
- </ul>
- </li>
- <li class="slide">
- <a class="side-menu__item" data-bs-toggle="slide" href="javascript:void(0)"><i
- class="side-menu__icon fe fe-package"></i><span
- class="side-menu__label">代理管理</span><i
- class="angle fe fe-chevron-right"></i>
- </a>
- <ul class="slide-menu mega-slide-menu">
- <li class="panel sidetab-menu">
- <div class="panel-body tabs-menu-body p-0 border-0">
- <div class="tab-content">
- <div class="tab-pane active" id="side5">
- <ul class="sidemenu-list mega-menu-list">
- <li><a href="proxy.php" class="slide-item">代理列表</a></li>
- <li><a href="proxy_price.php" class="slide-item">代理分佣</a></li>
- </ul>
- </div>
- </div>
- </div>
- </li>
- </ul>
- </li>
-
- <li class="slide">
- <a class="side-menu__item" data-bs-toggle="slide" href="javascript:void(0)"><i
- class="side-menu__icon fe fe-file-text"></i><span
- class="side-menu__label">订单管理</span><i
- class="angle fe fe-chevron-right"></i>
- </a>
- <ul class="slide-menu mega-slide-menu">
- <li class="panel sidetab-menu">
- <div class="panel-body tabs-menu-body p-0 border-0">
- <div class="tab-content">
- <div class="tab-pane active" id="side5">
- <ul class="sidemenu-list mega-menu-list">
- <li><a href="oder.php" class="slide-item">订单列表</a></li>
- <li><a href="oderse.php" class="slide-item">订单查询</a></li>
- <li><a href="oderdr.php" class="slide-item">订单导入</a></li>
- </ul>
- </div>
- </div>
- </div>
- </li>
- </ul>
- </li>
-
- <li class="slide">
- <a class="side-menu__item" data-bs-toggle="slide" href="javascript:void(0)"><i
- class="side-menu__icon fe fe-layout"></i><span
- class="side-menu__label">财务管理</span><i
- class="angle fe fe-chevron-right"></i>
- </a>
- <ul class="slide-menu mega-slide-menu">
- <li class="panel sidetab-menu">
- <div class="panel-body tabs-menu-body p-0 border-0">
- <div class="tab-content">
- <div class="tab-pane active" id="side5">
- <ul class="sidemenu-list mega-menu-list">
- <li><a href="withdrawal.php" class="slide-item">提现管理</a></li>
- <li><a href="price_rec.php" class="slide-item">收入细明</a></li>
- </ul>
- </div>
- </div>
- </div>
- </li>
- </ul>
- </li>
-
- <li class="slide">
- <a class="side-menu__item" data-bs-toggle="slide" href="javascript:void(0)"><i
- class="side-menu__icon fe fe-settings"></i><span
- class="side-menu__label">店铺配置</span><i
- class="angle fe fe-chevron-right"></i>
- </a>
- <ul class="slide-menu mega-slide-menu">
- <li class="panel sidetab-menu">
- <div class="panel-body tabs-menu-body p-0 border-0">
- <div class="tab-content">
- <div class="tab-pane active" id="side5">
- <ul class="sidemenu-list mega-menu-list">
- <li><a href="shop.php" class="slide-item">店铺设置</a></li>
- </ul>
- </div>
- </div>
- </div>
- </li>
- </ul>
- </li>
-
- </ul>
- <div class="slide-right" id="slide-right"><svg xmlns="http://www.w3.org/2000/svg" fill="#7b8191"
- width="24" height="24" viewBox="0 0 24 24">
- <path d="M10.707 17.707 16.414 12l-5.707-5.707-1.414 1.414L13.586 12l-4.293 4.293z" />
- </svg></div>
- </div>
- </div>
- </div>
- <script type="text/javascript">
- function openDialog() {
- // 创建对话框背景元素
- var dialogBg = document.createElement("div");
- dialogBg.className = "dialog-bg";
-
- // 创建对话框元素
- var dialog = document.createElement("div");
- dialog.className = "dialog";
-
- // 创建iframe元素,用于显示addproxy.php的内容
- var iframe = document.createElement("iframe");
- iframe.src = "addproxy.php";
- iframe.style.width = "100%";
- iframe.style.height = "100%";
-
- // 设置iframe元素的样式
- iframe.style.border = "none";
-
- // 将iframe添加到对话框中
- dialog.appendChild(iframe);
-
- // 将对话框添加到对话框背景中
- dialogBg.appendChild(dialog);
-
- // 将对话框背景添加到body中
- document.body.appendChild(dialogBg);
- }
-
- </script>
- </script>
- <!--/APP-SIDEBAR-->
|