<?php
   ob_start();
   
   ini_set('display_errors', '1');
   ini_set('display_startup_errors', '1');
   error_reporting(E_ALL);
   
   include_once 'cauhinh.php';
   include_once 'config.php';
   include_once 'set.php';
   ?>
<!doctype html>
<html lang="en">
   <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
      <meta name="description" content="">
      <meta name="author" content="">
      <title><?php echo $_title; ?></title>
      <link rel="canonical" href="https://getbootstrap.com/docs/4.0/examples/pricing/">
      <!-- Bootstrap core CSS -->
      <link href="https://getbootstrap.com/docs/4.0/dist/css/bootstrap.min.css" rel="stylesheet">
      <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
      <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
      <script src="https://getbootstrap.com/docs/4.0/dist/js/bootstrap.min.js"></script>
      <script language="javascript" src="https://code.jquery.com/jquery-2.0.0.min.js"></script>
      <script src="https://cdn.jsdelivr.net/npm/sweetalert2@7.29.2/dist/sweetalert2.min.js"></script>
      <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@7.29.2/dist/sweetalert2.min.css">
      <script src='https://www.google.com/recaptcha/api.js'></script>
      <style>
         html {
         font-size: 14px;
         }
         @media (min-width: 768px) {
         html {
         font-size: 16px;
         }
         }
         .container {
         max-width: 960px;
         }
         .pricing-header {
         max-width: 700px;
         }
         .card-deck .card {
         min-width: 220px;
         }
         .border-top {
         border-top: 1px solid #e5e5e5;
         }
         .border-bottom {
         border-bottom: 1px solid #e5e5e5;
         }
         .box-shadow {
         box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
         }
      </style>
   </head>
   <body>
      <div class="p-3 px-md-4 mb-3 bg-white border-bottom box-shadow">
         <div class="d-flex flex-column flex-md-row align-items-center container">
            <a class="my-0 mr-md-auto font-weight-normal" href="/">
               <h5 class="">DPVZ - Thanh toán</h5>
            </a>
            <nav class=" my-2 my-md-0 mr-md-3">
               <a class="p-2 text-dark" href="/tai-ve">Tải về</a>
               <a class="p-2 text-dark" href="/lich-su">Lịch sử</a>
               <a class="p-2 text-dark" target="_blank" href="https://www.facebook.com/groups/">Cộng
               đồng</a>
               <a class="p-2 text-dark" target="_blank" href="https://www.facebook.com/">Hỗ trợ</a>
            </nav>
            <?php if($_login == null) { ?>
            <nav class="my-2 my-md-0 mr-md-3">
               <a class="btn btn-outline-info" href="/login">Đăng nhập</a>
               <?php } else { ?>
               <a class="btn btn-outline-info" href="/user">
               <span><?php echo ($_username); ?> - <?php echo number_format($_coin); ?> DCoin</span>
               </a>	
               <?php } ?>
            </nav>
         </div>
      </div>
   </body>