

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=Edge">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="format-detection" content="telephone=no" />
    <title><?= $configs['site_title'] ?> <?= $configs['site_subtitle'] ?> </title>
    <meta name="description" content="<?=$configs['index_desc']?>">
<meta name="keywords" content="<?=$configs['index_Keyword']?>,开源免费程序 莲花导航">

        <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
        <link rel="stylesheet" type="text/css" href="/views/<?php echo $configs['views']; ?>/css/swiper.min.css"/>
        <link rel="stylesheet" type="text/css" href="/views/<?php echo $configs['views']; ?>/css/reset.css?v=1" />
        <link rel="stylesheet" type="text/css" href="/views/<?php echo $configs['views']; ?>/css/custom.css?v=2"/>
        <link rel="stylesheet" type="text/css" href="/views/<?php echo $configs['views']; ?>/css/globalpc.css"/>
        <link rel="stylesheet" type="text/css" href="/views/<?php echo $configs['views']; ?>/js/jquery.pagination.css" />
        <script src="/views/<?php echo $configs['views']; ?>/js/jquery-3.3.1.min.js" type="text/javascript" charset="utf-8"></script>
    </head>
    <body style="background: #f7f9fc;">
    <style>
        .list li{
            height: 220px;
        }
    </style>

<div class="head">
    <div class="head-box">
        <div class="logo"><a href="<?=$configs['site_url']?>"><?=$configs['site_title']?></a><span>- <?=$configs['site_subtitle']?> </span></div>

    </div>
</div>
<!-- 顶部导航 -->
<div class="nav-wrap">
    <div class="container">
        <div class="row">
            <ul class="nav">
                <li class="navbar">
                    <a href="index.php"  >首页</a>
                </li>
                
               <?php  foreach($cates as $k =>$v):?>
                <li class="navbar">
                    <a href="lists.php?cate_id=<?php echo $v['cate_id'];?>" class="<?php if($_GET['cate_id'] ==$v['cate_id']):?>active<?php endif;?> " ><?php echo $v['cate_name']; ?> </a>
                </li>
                <?php  endforeach;?>

            </ul>
        </div>
    </div>
    </div>


        
        <div class="container content">
            <div class="row back-row">
                    <ul class="bread">
                        <li>您的位置：</li>
                        <li class="bread-item">
                            <a href="#">首页</a>
                        </li>
                        <li class="bread-item">
                            <a href="#"><?php echo $cate['cate_name']; ?> </a>
                        </li>
                    </ul>
            </div>
			
			
            <div class="row">
                <div class="zt-mian">
                    <div class="zt-title">
                        <h2><?php echo $cate['cate_name']; ?></h2>
                    </div>
                    <div class="ku-list">
					<?php   if($data):?>
					  <?php  foreach($data as $k =>$v):?>
					    <?php  if($v['upload_img'] !=''):?>
                       <div class="zt-item">
                            <a href="<?php echo $v['url'];?>">
                                <div>
                                    <img src="<?php echo $v['upload_img'];?>" alt="">
                                </div>
                                <p><?php echo $v['website_name'];?></p>
                            </a>
                        </div>   
						   <?php endif;?>
						<?php endforeach;?> 
					<?php endif;?>
						
						
					</div>
                    
					<div class="ku-list2">
					<?php   if($data):?>
					  <?php  foreach($data as $k =>$v):?>
					    <?php  if($v['upload_img'] ==''):?>
                       <div class="zt-item2">
                            <a href="<?php echo $v['url'];?>"> 
                                <p><?php echo $v['website_name'];?></p>
                            </a>
                        </div>   
						   <?php endif;?>
						<?php endforeach;?> 
					<?php endif;?>
						
						
					</div>
					
					
                </div>
            </div>
			
			
			
        </div>
            

           

<div class="footer-wrap">
    <!-- 页尾 -->
    <div class="footer">
        <div class="container">
            <div class="row">
                <ul class="footer-list">
                    <li class="footer-item">
                        <a href="sitemap.php" target="_blank">网站地图</a>
                    </li>
                    <li class="footer-item">
                        <a href="enbody.php" id="copyright">  申请收录  </a>
                    </li>
                    <li class="footer-item">
                        <a href="javascript:;" id="disclaimer">免责申明</a>
                    </li>
                    <li class="footer-item">
                        <a href="javascript:;" id="content">联系我们</a>
                    </li>
                </ul>
    <p class="layui-mt10"> Copyright©2020 - 2022     All Rights reserved. Powered by    开源程序:莲花上网导航  </p>
            </div>
        </div>
    </div>
</div>
            
    
    </body>
</html>

