<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="Cache-Control" content="no-transform">
    <meta name="viewport" content="width=device-width initial-scale=1.0 maximum-scale=1.0 user-scalable=no">
    <title><?= $configs['site_title'] ?> <?= $configs['site_subtitle'] ?> </title>
    <meta name="description" content="<?=$configs['index_desc']?>">
<meta name="keywords" content="<?=$configs['index_Keyword']?>">
    <link type="text/css" rel="stylesheet" href="/views/<?php echo $configs['views']; ?>/css/global.css" >
    <script type="text/javascript" src="/views/<?php echo $configs['views']; ?>/js/jquery.min.js"></script>
</head>
<body>
<div class="header">
    <div id="top">
        <div>
        <a href="#"></a>
            <span><em>  </em></span>
        </div>
    </div>
</div>
 
<div class="burger" style="display: none;">
    <div class="collection">
       
        <div class="Head1">
            <h2>分类</h2>
        </div>
        <ul class="icon-btn2">
            <li><a href="/"><p>首页</p></a></li>
			<?php if($cates):?>
			  <?php foreach($cates as $k =>$v):?>
			<li> <a href="lists.php?cate_id=<?php echo $v['cate_id'];?>"><p><?php echo $v['cate_name'];?>    </p></a></li>
             <?php endforeach;?>
			<?php endif;?>
        </ul>
    </div>
    <div class="back">
        <button>关闭菜单</button>
    </div>
</div>
 
<div id="syNav">
    <div class="swiper-container swiper-container-horizontal swiper-container-free-mode swiper-container-ios swiper-container-wp8-horizontal">
        <div class="swiper-wrapper" style="transform: translate3d(0px, 0px, 0px);">
		
            <div class="swiper-slide swiper-slide-active"><a href="/">首页</a></div>
			<?php if($cates):?>
			  <?php foreach($cates as $k =>$v):?>
			<div class="swiper-slide swiper-slide-active <?php if($_GET['cate_id']==$v['cate_id']):?>active <?php endif;?>"><a href="lists.php?cate_id=<?php echo $v['cate_id'];?>"><?php echo $v['cate_name'];?></a></div>
			  <?php endforeach;?>
			<?php endif;?>
			
        </div>
    </div>
</div>


<div class="line-through"></div>
 
<div class="mod_hotgame">
    <div class="mod-header">
        <h3><?php echo $cate['cate_name']; ?></h3>
          </div>

         <ul id="new_games">
		
         <?php if ($data): ?>
                <?php foreach ($data as $k => $v): ?>
				
       <li>
            <a href="<?= $v['url'] ?>">
                <img src="<?=$v['upload_img'] ?>" alt="<?=$v['website_name'] ?>">
            </a>
            <p><?=$v['website_name'] ?></p>
        </li> 
		
                <?php  endforeach;?> 
                <?php endif;?>
 		
		
            </ul>
    </div> 
 
<div class="line-through"></div>


<div class="cover"></div>

<footer>
    <div class="footer">
        <div class="foot-nav"> <a href="#" class="cur">手机版</a>| <a href="#">sitemaps</a> </div>
        <p>©2021-2022 <?php echo $configs['site_url']; ?>   </p>
		<p style="color:#f00">联系我们：<?php echo $configs['Contact_email']; ?></p>
    </div>
</footer>
</div>
<div style="display:none;"><span id="1" class="tyTestPos"></span></div>
<script type="text/javascript" src="/views/<?php echo $configs['views']; ?>/js/wap.js"></script>
<script>tyLoader()</script><script class="closetag">tyLoader(true);</script>
<script>tyLoader()</script><script class="closetag">tyLoader(true);</script>
<script>tyLoader()</script><script class="closetag">tyLoader(true);</script>
<script>tyLoader()</script><script class="closetag">tyLoader(true);</script>
</body>
</html>