<?php
require_once("admin/functions.php");

?>


<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title><?=$webname?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

    <link rel="icon" href="./static/favicon.ico" type="image/x-icon" />
  <link rel="stylesheet" href="./css/style.css" media="all" />
  <link rel="stylesheet" media="all" href="https://assets.bk-cdn.com/assets/tenant_frontend-87319b93860703473f57b9a320aa12ae1c83dfa8495f65c90d95b04ff1d789fd.css" />
    <script src="https://assets.bk-cdn.com/assets/jweixin-6192301ba62ad963e1ee90ab87a9efa7ee3323c6dd920626b2e1ce36b2f2fb96.js" media="all"></script>
    <link rel="stylesheet" media="screen" href="https://assets.bk-cdn.com/assets/packs/css/tenant/frontend-3dba3fae.chunk.css" />
    
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <link rel="stylesheet" href="https://assets.bk-cdn.com/templates/bird/1/assets/stylesheets/bootstrap.min.css?_t=1701764613" >
    <link rel="stylesheet" href="https://assets.bk-cdn.com/templates/bird/1/assets/stylesheets/main.css?_t=1701764613" >
    <link rel="stylesheet" href="https://assets.bk-cdn.com/templates/bird/1/assets/stylesheets/nowuse.css?_t=1701764613" >
    <link rel="stylesheet" href="https://assets.bk-cdn.com/templates/bird/1/assets/stylesheets/tooltip.css?_t=1701764613" >
    <link rel="stylesheet" href="https://assets.bk-cdn.com/templates/bird/1/assets/stylesheets/jquery.treemenu.css?_t=1701764613" >
    <link href="https://assets.bk-cdn.com/templates/bird/1/assets/stylesheets/guide.css?_t=1701764613" rel="stylesheet" type="text/css" media="all" />
    <link href="https://assets.bk-cdn.com/templates/bird/1/assets/stylesheets/jquery.fancybox.min.css?_t=1701764613" rel="stylesheet" type="text/css" media="all" />
    <link rel="stylesheet" href="https://assets.bk-cdn.com/templates/bird/1/assets/stylesheets/addition.css?_t=1701764613" >
    <style>
      .tree {
        color: #03c9a9;
        width: auto;
        margin: 50px auto;
      }
      .tree li a:hover{
        color: #03c9a9;
      }
      a {
        color: #666;
        -webkit-transition: color 0.25s;
        transition: color 0.25s;
      }
      a:hover {
          color: #03c9a9;

      }
      ::selection {
        background:rgba(22, 225, 232, 0.29);
      }
      .color-main{
        color:orange !important;
        color:#03c9a9 !important;
      }
      .color-main-plus{
        color:orange !important;
        color:#03c9a9 !important;
        border-color:#03c9a9 !important;
      }
      .color-main-plus2{
        color:orange !important;
        color:#03c9a9 ;
        border-color:#03c9a9 !important;
      }
      .mke-color{
        background-color:#03c9a9;
      }
    </style>
    <script src="https://assets.bk-cdn.com/templates/bird/1/assets/javascripts/jquery.min.js"></script>
    <script src="https://assets.bk-cdn.com/templates/bird/1/assets/javascripts/popper.min.js"></script>
    <script src="https://assets.bk-cdn.com/templates/bird/1/assets/javascripts/bootstrap.min.js"></script>
    <script src="https://assets.bk-cdn.com/templates/bird/1/assets/javascripts/main.js"></script>
    <script src="https://assets.bk-cdn.com/templates/bird/1/assets/javascripts/jquery.cookie.js"></script>
    <script src="https://assets.bk-cdn.com/templates/bird/1/assets/javascripts/custom.js"></script>
    <script src="https://assets.bk-cdn.com/templates/bird/1/assets/javascripts/jquery.qrcode.min.js"></script>
    <script src="https://assets.bk-cdn.com/templates/bird/1/assets/javascripts/jquery.scrollUp.min.js"></script>
    <script src="https://assets.bk-cdn.com/templates/bird/1/assets/javascripts/tooltip.js"></script>
    <script src="https://assets.bk-cdn.com/templates/bird/1/assets/javascripts/jquery.treemenu.js"></script>
    <script type="text/javascript" src="https://assets.bk-cdn.com/templates/bird/1/assets/javascripts/guide.js"></script>
    <script type="text/javascript" src="https://assets.bk-cdn.com/templates/bird/1/assets/javascripts/jquery.fancybox.min.js"></script>
    <script type="text/javascript" src="https://assets.bk-cdn.com/templates/bird/1/assets/javascripts/addition.js"></script>
    <script type="text/javascript" src="https://assets.bk-cdn.com/templates/bird/1/assets/javascripts/turbolinks.js"></script>
    <script type="text/javascript" src="https://assets.bk-cdn.com/templates/bird/1/assets/javascripts/gumshoe.polyfills.min.js"></script>
    <script
      $(document).on("turbolinks:load", function () {
        if($('.editor_js--header').length > 0) { var spy = new Gumshoe('#js-column-nav a', {
          offset: 60
        }) }
      })
    </script>

</head>
<body style="--theme-color: #03c9a9;min-height: calc( 100vh );">
    <div style="height:auto">
  <div class="navhead_index">
    <div class="logo_head">
      <div class="warplogo">
        <a href="/"style="display:inline-flex">
          
            <img src="static/logo.svg" style="height: 60px">
          
        </a>
      </div>
    </div>
   
  </div>
  <div class="main-wrapper">
   <div class="container-main">
   <div class="wrap-container-main">
   <div class="content-all">
   
		    <p class="container-desc">🪶 QQ:9233783 🪶 微信：GGmoji 🪶 邮件：name@name.men</p>
          <hr/>                    
     <div class="real-content">
       <div class="real-content-ul tree">
              <ul class="page-tree_outer">
			   <?php if (!empty($available_domains)): ?>
    <li class="page-tree--node d-flex align-items-center  channel">
        <a href="javascript:;" class="js_toggle_collapse">
            <i class="page-tree--icon fa fa fa-angle-down"></i>
            <span>.Com域名</span>
        </a>   
    </li>
	
    <ul class="page-tree_inner page-tree--subtree show">
    <?php foreach ($available_domains as $domain): ?>  
    <li class="page-tree--node d-flex align-items-center fold channel">
        <a href="javascript:;" class="js_toggle_collapse">
            <i class="page-tree--icon fa fa fa-angle-down"></i>
            <span><a href="<?php echo $domain['platform_url']; ?>" target="_blank"><?php echo $domain['domain_name']; ?></a> 💰 ￥<?php echo $domain['price']; ?></span>
        </a>
      <span class="dot flex-grow-1"></span>
      <span class="updated_time"><?php echo $domain['platform']; ?></span>
    </li>
    <ul class="page-tree_inner page-tree--subtree ">
      
    <li class="page-tree--node d-flex align-items-center fold channel">
        <a href="javascript:;" class="js_toggle_collapse">
            <span><?php echo $domain['description']; ?></span>
        </a>
  
    </li>


    </ul>

  <?php endforeach; ?>

    </ul>
	  <?php endif; ?>
</ul>

<ul class="page-tree_outer">

  <?php if (!empty($sold_domains)): ?>
  
    <li class="page-tree--node d-flex align-items-center  channel">
        <a href="javascript:;" class="js_toggle_collapse">
            <i class="page-tree--icon fa fa fa-angle-down"></i>
            <span>.Cn & .Net域名</span>
        </a>
  
    </li>
    <ul class="page-tree_inner page-tree--subtree show">
	
      <?php foreach ($sold_domains as $domain): ?> 
	  
    <li class="page-tree--node d-flex align-items-center fold channel">
        <a href="javascript:;" class="js_toggle_collapse">
            <i class="page-tree--icon fa fa fa-angle-down"></i>
            <span><a href="<?php echo $domain['platform_url']; ?>" target="_blank"><?php echo $domain['domain_name']; ?></a> 💰 ￥<?php echo $domain['price']; ?></span>
        </a>
      <span class="dot flex-grow-1"></span>
      <span class="updated_time"> <?php echo $domain['platform']; ?> </span>
    </li>
    <ul class="page-tree_inner page-tree--subtree ">
      
    <li class="page-tree--node d-flex align-items-center fold channel">
        <a href="javascript:;" class="js_toggle_collapse">
            <span><?php echo $domain['description']; ?> </span>
        </a>

    </li>


    </ul>

  <?php endforeach; ?>

    </ul>
	
	 <?php endif; ?>
	
</ul>
<ul class="page-tree_outer">

  <?php if (!empty($reserved_domains)): ?>
  
    <li class="page-tree--node d-flex align-items-center  channel">
        <a href="javascript:;" class="js_toggle_collapse">
            <i class="page-tree--icon fa fa fa-angle-down"></i>
            <span>Other 其他精品域名</span>
        </a>

    </li>
    <ul class="page-tree_inner page-tree--subtree show">
	
             <?php foreach ($reserved_domains as $domain): ?>
			 
    <li class="page-tree--node d-flex align-items-center fold channel">
        <a href="javascript:;" class="js_toggle_collapse">
            <i class="page-tree--icon fa fa fa-angle-down"></i>
            <span><a href="<?php echo $domain['platform_url']; ?>" target="_blank"><?php echo $domain['domain_name']; ?></a> 💰 ￥<?php echo $domain['price']; ?></span>
        </a>
      <span class="dot flex-grow-1"></span>
      <span class="updated_time"> <?php echo $domain['platform']; ?></span>
    </li>
    <ul class="page-tree_inner page-tree--subtree ">
      
    <li class="page-tree--node d-flex align-items-center fold channel">
        <a href="javascript:;" class="js_toggle_collapse">
            <span><?php echo $domain['description']; ?></span>
        </a>

    </li>


    </ul>
   <?php endforeach; ?>
    </ul>
	  <?php endif; ?>
</ul>


              
              <p id="bookhide"class="d-none"></p>
            </div>
          </div>
        </div>
      </div> 
    </div> 
  </div> 
</div> 


  <footer class="py-3">
    <div class="container text-center tenant_contact">
    <a title="米表联盟[Domain.Cards]" href="https://domain.cards/"><img width="40" height="40" src="https://domain.cards/api/icon/name.men" atl="米表联盟 BadgeIcon"/></a> 
    </div>
    <hr/>
  <div class="container flex items-center justify-center d-flex justify-content-center align-items-center">
   🪶 友情链接： <a href="http://www.yuminggou.com"  target="_blank">域名狗</a>
    <a target="_blank" href="https://allhas.com">全有导航</a>
    <a target="_blank" href="https://ppzt.cn">皮皮主题</a>
  </div>
</footer>
<div class='hidden d-none'>
</div>
<script src="https://assets.bk-cdn.com/assets/tenant_frontend-5288caec27a29de65dff54ee2d88ab543ac7a6858ce9d2ba995032e2e70841a9.js"></script><script src="https://assets.bk-cdn.com/assets/packs/js/runtime~tenant/frontend-967bb5d108d0a539d195.js"></script>
<script src="https://assets.bk-cdn.com/assets/packs/js/vendors~frontend~tenant/admin~tenant/frontend~tenant/frontend_tailwind~view_component_preview-fb44f627bc93191e9dc0.chunk.js"></script>
<script src="https://assets.bk-cdn.com/assets/packs/js/vendors~tenant/frontend-ca0b60bbd8a619ea68aa.chunk.js"></script>
<script src="https://assets.bk-cdn.com/assets/packs/js/tenant/frontend-5eed66f49f0309a1240d.chunk.js"></script>
  <script>
    function addWaterMarker(str){
      if(document.querySelector('[editorjs-pre-show]')){
        var can = document.createElement('canvas');
        var body = document.querySelector('[editorjs-pre-show]');
        body.appendChild(can);

        can.width = 480;
        can.height = 180;

        can.style.display = "none";
        var cans = can.getContext('2d');

        cans.rotate(-20*Math.PI/180);
        cans.font = "24px Microsoft JhengHei";
        cans.fillStyle = "rgba(17, 17, 17, 0.10)";
        cans.textAlign = "left";
        cans.textBaseline = "Middle";

        cans.fillText(str, 48, 180);
        body.style.backgroundImage="url("+can.toDataURL("image/png")+")";
      }
    }

    var watermark = "000.HOST"
    addWaterMarker(watermark)
  </script>

  <script>
    $(function(params) {
      var contentDom = $('[editorjs-pre-show]')
      if (contentDom.length > 0) {
        allow_copy()
      }
    })

    function allow_copy(){
      var tip = `<div class="js-copy-tip" style="position: fixed; z-index: 1200; top: 75px; left: 50%; transform: translate(-50%); display: none; background: #fff; box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); padding: .5rem 1rem; border-radius: .25rem; font-size: 16px;">
                  <i class="fa fa-info-circle" aria-hidden="true" style="color: #ffc107;"></i>
                  文章内容禁止复制
                </div>`

      $('body').prepend(tip)
      //禁用网页复制事件
      var tip_timer = null
      $('[editorjs-pre-show]').on("select copy dragstart", function(e){
        e.preventDefault()

        if (tip_timer) clearTimeout(tip_timer)
        $('.js-copy-tip').fadeIn("normal")

        tip_timer = setTimeout(() => {
          $('.js-copy-tip').fadeOut("normal")
        }, 3000)
      })
    }
  </script>
</body>
</html>
