<?php
ob_start();
session_start();
require_once($_SERVER['DOCUMENT_ROOT'] . "/include/config.php");
require_once($_SERVER['DOCUMENT_ROOT'] . "/include/Function/Function.php");


require_once($_SERVER['DOCUMENT_ROOT'] . "/session.php");
// require_once("/include/Function.php");

$sql = "SELECT * FROM settings WHERE id ='1'";
$stmt = $conn->prepare($sql);
$stmt->execute();

$page = $stmt->fetch(PDO::FETCH_ASSOC);


$email_message = new message();
$sendMail = new emailMessage();

?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title><?= $pageName ?> - <?= $page['url_name'] ?></title>
    <link rel="shortcut icon" type="image/jpg" href="<?= $web_url ?>/static/assets/images/bsc.png" />
    <link rel="stylesheet" href="<?= $web_url ?>/static/assets/flaticon/css/uicons-regular-rounded.css">
    <link rel="stylesheet" href="<?= $web_url ?>/static/vendor/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="<?= $web_url ?>/static/docs/css/light.css">
    <link rel="stylesheet" href="<?= $web_url ?>/static/docs/css/animate.css">
    <link rel="stylesheet" href="<?= $web_url ?>/static/docs/css/major.css">
    <link rel="stylesheet" href="<?= $web_url ?>/static/assets/css/fontawesome.css">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu|Noto Sans|Source Sans Pro|Roboto|Merriweather Sans">
    <link href="https://fonts.googleapis.com/css2?family=Anuphan:wght@500&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Anuphan:wght@400&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Anuphan:wght@600&display=swap" rel="stylesheet">
    
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap" rel="stylesheet">


    <link rel="stylesheet" href="<?= $web_url ?>/static/assets/plugin/jquery/jquery-ui.min.css">
    <link href="https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined" rel="stylesheet">
    <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.2/font/bootstrap-icons.css">
    
       <script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.2/sweetalert.min.js" integrity="sha512-AA1Bzp5Q0K1KanKKmvN/4d3IRKVlv9PYgwFPvm32nPO6QS8yH1HO7LbgB1pgiOxPtfeg5zEn2ba64MUcqJx6CA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>

    <script src="https://code.jquery.com/jquery-3.6.1.min.js"></script>


</head>



<body>
    <div class="dialog sans-pro authDialog" style="background: rgba(0, 0, 0, 0.7); display: none;">
        <div class="dialogContent" style="background: none; box-shadow: none;">
            <center>
                <div style="border-radius: 8px;" class="p-0 d-msg anuphan"></div>
            </center>
        </div>
    </div>

    <!-- auth form loader -->
    <div class="dialog-xm auth-ac-dlg" style="display: none;">
        <div class="dialog-content-xm dark-bg2 fit-content p-3 px-4" style="border-radius: 0px;">
            <div class="loader" style="height: 10px;">
              <span class="bar"></span>
              <span class="bar"></span>
              <span class="bar"></span>
              <span class="bar"></span>
            </div>
          </div>
    </div>
    <!-- end auth form loader -->

    <!-- messages -->
     <!-- messages -->
 
 <!-- end messages -->
    <!-- End Messages -->


    <div class="site-container">
        <!-- ## -->
<div class="d-none d-md-block">
    <nav class="navbar navbar-expand-lg px-4 dark-bg shadow-none" style="z-index:999 !important;">
        <a class="navbar-brand" href="/">
            <p class="m-0 name-brand bold-text">
                <img src="/static/assets/images/logo.png" alt="bscotc" style="height: 25px; width: 130px;">
            </p>
        </a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav"
            aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarNav" style="font-family: 'anuphan';">
            <ul class="navbar-nav noto-sans ml-auto" style="font-size: 14px;">
                <li class="nav-item mt-1">
                    <i class="bi bi-globe top-2 ml-3" style="font-size: 20px;"></i>
                </li>
                <li class="nav-item mt-2 ml-3 grey-color-3">
                    |
                </li>
                <li class="nav-item mt-2">
                    <i class="bi bi-moon-fill ml-3 top-2" style="font-size: 14px;"></i>
                </li>
            </ul>
        </div>
    </nav>
</div>



 <!-- mobile nav bar -->
 <div class="d-block d-sm-none container-fluid shadow-sm noto-sans" style="z-index: 4;">
    <div class="row py-3">
        <div class="col-6">
            <a href="/">
                <img src="<?= $web_url ?>/static/assets/images/logo.png" alt="bscotc" style="height: 25px; width: 130px;">
            </a>  
        </div>
        <div class="col-6">
            <div class="d-flex justify-content-end">
                
                <i class="material-icons ml-4 top-1" style="font-size: 30px;" onclick="openSideBarSm()">menu</i>
            </div>
        </div>
    </div>
</div>

<!-- sidebar Mobile -->
<div class="d-block d-sm-none">
    <div class="overlayDiv" id="overlayDiv" onclick="hideSideBarSm()" style="z-index: 9;"></div>
    <div class="side-bar-mobile white-bg" id="sideBarSm" style="display: none; width: 90%;">
        <div class="side-bar-mobile-inner anuphan-2">
            <div class="mt-3 container" style="padding-bottom: 40px;">
                <!-- --- -->
                <div class="row mb-3 text-right border-bottom-light pb-3">
                    <div class="col-12">
                        <i class="material-icons grey-color" style="font-size: 22px;" onclick="hideSideBarSm()">close</i>
                    </div>
                </div>

                <a href="#">
                    <div class="side-link mt-1 p-2">
                        <i class="material-icons grey-color-3 top-4" style="font-size: 18px;">api</i>
                        <span class="ml-1">Theme</span>
                        <i class="material-icons grey-color-3 top-4 float-right" style="font-size: 18px;">light_mode</i>
                    </div>
                </a>
            </div>
        </div>
    </div>
</div>
        

<div class="dialog-xm auth-ac-dlg" style="display: none;">
    <div class="dialog-content-xm dark-bg2 fit-content p-3 px-4" style="border-radius: 0px;">
      <div class="loader">
        <span class="bar"></span>
        <span class="bar"></span>
        <span class="bar"></span>
      </div>
    </div>
  </div>

<!-- <div class="text-center primary-bg-3 d-flex justify-content-center" style="padding: 12px 0px;">
    <svg width="20" height="20" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" class="css-11gn95z"><path fill-rule="evenodd" clip-rule="evenodd" d="M7 8v2H5v11h14V10h-2V8A5 5 0 007 8zm7.5 2V8a2.5 2.5 0 00-5 0v2h5zm-1 8v-5h-3v5h3z" fill="rgb(14, 203, 129)"></path></svg>
    <p class="xsmall2 m-0 top-2">
        URL verification: <span class="green-color">https://</span>bscotc.exchange
    </p>
</div> -->
