<?php if (!class_exists('template')) die('Access Denied');$template->getInstance()->check('index.html', '3af074051209cae5277a68b58f134431', 1607243559);?>
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>网站源码,网站模板,后台模板,网页模板,在线工具,jQuery插件_<?php echo $site_name?></title>
    <meta name="keywords" content="<?php echo $site_key?>">
    <meta name="description" content="<?php echo $site_desc?>">
    <link href="css/style.css" rel="stylesheet">
	<link href="css/fonts.css" rel="stylesheet">
    <script src="js/jquery.min.js" type="text/javascript"></script>
    <script src="js/superslide.js" type="text/javascript"></script>
	<script src="js/code.js" type="text/javascript"></script>
	<script src="js/tn_code.js" type="text/javascript"></script>
    <script src="js/sucai.js" type="text/javascript"></script>
    <script src="js/masonry.js" type="text/javascript"></script>

	<script src="js/bootstrap.js" type="text/javascript"></script>

    <link type="image/png" href="favicon.ico" rel="shortcut icon">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>

  <body>
    <?php 
	include_once('search_nav.php');
	?>
    <div class="fa-pins container clear">
      <!--ad-->
      <!--<div class="ad"><img src="images/1158.jpg" width="1158" height="80" alt=""></div>-->
	  <?php if(is_array($ad['index'])) { foreach($ad['index'] as $v8) { ?>	  <div class="ad"><a href="<?php echo $v8['adurl']?>" target="_blank"><img src="<?php echo $v8['ad_pic']?>" width="<?php echo $v8['ad_w']?>" height="<?php echo $v8['ad_h']?>"></a></div>
	  <?php } } ?>      <!--ad-->
    </div>
    <div class="fa-pins-more container">
	  <!--分类1-->
	  <?php if(is_array($catearr)) { foreach($catearr as $val) { ?>      <p class="keyword-con clear">
      <a class="index_cate" href="javascript:void(0)"><?php echo $val['category_name']?><span style="color:#888;font-weight: 300;">&gt;</span></a>

         <?php if(is_array($val['category_tag'])) { foreach($val['category_tag'] as $v2) { ?>		    <?php if($html_flag==1) { ?>
         <a class="keyword-text" href="search-<?php echo $val['category_id']?>-<?php echo $v2?>-0.html"><?php echo $v2?></a>
			<?php } else { ?>
         <a class="keyword-text" href="search.php?category_id=<?php echo $val['category_id']?>&amp;kw=<?php echo $v2?>"><?php echo $v2?></a>
		    <?php } ?>
         <?php } } ?> 
		 <?php if($html_flag==1) { ?>
	     <a href="list-<?php echo $val['category_id']?>.html" style='float:right;margin-right: 0px;line-height: 38px;'>更多...</a>
         <?php } else { ?>
         <a href="list.php?cateid=<?php echo $val['category_id']?>" style='float:right;margin-right: 0px;line-height: 38px;'>更多...</a>
         <?php } ?>
      </p>	
	  <div class="cate"></div>
      <ul class="list clear" style="overflow: hidden;">
        <?php if(is_array($val['message'])) { foreach($val['message'] as $v3) { ?>        <li class="left">
          <div class="pic">
		      <?php if($v3['msg_tuijian']==1) { ?>
		      <div class="divbox-flag"><p>推荐</p></div>
			  <?php } ?>
			  <?php if($v3['msg_isad']==1) { ?>
		      <div class="divbox-ad"><p>广告</p></div>
			  <?php } ?>
		      <?php if($html_flag==1) { ?>
              <a href="view-<?php echo $v3['category_id']?>-<?php echo $v3['msg_id']?>.html">
              <?php } else { ?>
              <a href="view.php?cid=<?php echo $v3['category_id']?>&amp;msg_id=<?php echo $v3['msg_id']?>">
              <?php } ?>
              <img class="pic-link" src="<?php echo $v3['thumbnail_path']?>" alt="<?php echo $v3['msg_title']?>" data-url="<?php echo $v3['thumbnail_path']?>"></a>
            <div class="hover-content">
			  <!--登录前-->
			  
			  <?php if($_SESSION["uid"]=='') { ?>
			  <span class="collect login-layer">收藏<i class="ftsucai-219"></i></span>
			  <?php } else { ?>
			        <?php if(in_array($v3['msg_id'],$userfav)) { ?>
              <span class="collect">已收藏<i class="ftsucai-219"></i></span>
					<?php } else { ?>
			  <span class="collect fav-add" data-id="<?php echo $v3['msg_id']?>" id="sc-<?php echo $val['category_id']?>-<?php echo $v3['msg_id']?>">收藏<i class="ftsucai-219"></i></span>
			        <?php } ?>
			  <?php } ?>
			  
			  <?php if($v3['msg_integral']==0) { ?>
			      <?php if($downoff==0) { ?>
			          <?php if($html_flag==1) { ?>
					  <a href="down-<?php echo $v3['category_id']?>-<?php echo $v3['msg_id']?>.html"><span class="down-btn">下载<i class="ftsucai-HTSCIT_6"></i></span></a>
					  <?php } else { ?>
					  <a href="down.php?cid=<?php echo $v3['category_id']?>&amp;msg_id=<?php echo $v3['msg_id']?>"><span class="down-btn">下载<i class="ftsucai-HTSCIT_6"></i></span></a>
					  <?php } ?>
				  <?php } else { ?>
				      <?php if($html_flag==1) { ?>
					  <span class="down-btn login-layer" id="down-<?php echo $v3['category_id']?>-<?php echo $v3['msg_id']?>.html">下载<i class="ftsucai-HTSCIT_6"></i></span>
					  <?php } else { ?>
					  <span class="down-btn login-layer" id="down.php?cid=<?php echo $v3['category_id']?>&amp;msg_id=<?php echo $v3['msg_id']?>">下载<i class="ftsucai-HTSCIT_6"></i></span>
					  <?php } ?>
				  <?php } ?>
			  <?php } elseif($_SESSION["uid"]=='') { ?>
			      <?php if($html_flag==1) { ?>
                  <span class="down-btn login-layer" id="down-<?php echo $v3['category_id']?>-<?php echo $v3['msg_id']?>.html">下载<i class="ftsucai-HTSCIT_6"></i></span>
                  <?php } else { ?>
                  <span class="down-btn login-layer" id="down.php?cid=<?php echo $v3['category_id']?>&amp;msg_id=<?php echo $v3['msg_id']?>">下载<i class="ftsucai-HTSCIT_6"></i></span>
                  <?php } ?>
			  <?php } else { ?>
			      <?php if($html_flag==1) { ?>
			      <a href="down-<?php echo $v3['category_id']?>-<?php echo $v3['msg_id']?>.html"><span class="down-btn">下载<i class="ftsucai-HTSCIT_6"></i></span></a>
			      <?php } else { ?>
                  <a href="down.php?cid=<?php echo $v3['category_id']?>&amp;msg_id=<?php echo $v3['msg_id']?>"><span class="down-btn">下载<i class="ftsucai-HTSCIT_6"></i></span></a>
                  <?php } ?>
			  <?php } ?>
            </div>
          </div>
		  <?php if($v3['msg_titlecolor']!='') { ?>
		     <?php if($v3['msg_isad']==1) { ?> 
			       <div class="text"><a href="<?php echo $v3['msg_demourl']?>" target="_blank"><font color="<?php echo $v3['msg_titlecolor']?>"><?php echo $v3['msg_title']?></font></a></div> 
			 <?php } else { ?>
				   <?php if($html_flag==1) { ?>
					<div class="text"><a href="view-<?php echo $v3['category_id']?>-<?php echo $v3['msg_id']?>.html"><font color="<?php echo $v3['msg_titlecolor']?>"><?php echo $v3['msg_title']?></font></a></div>
				   <?php } else { ?>
					<div class="text"><a href="view.php?cid=<?php echo $v3['category_id']?>&amp;msg_id=<?php echo $v3['msg_id']?>"><font color="<?php echo $v3['msg_titlecolor']?>"><?php echo $v3['msg_title']?></font></a></div>
				   <?php } ?>
			 <?php } ?>
          <?php } else { ?>
		     <?php if($v3['msg_isad']==1) { ?>
			       <div class="text"><a href="<?php echo $v3['msg_demourl']?>" target="_blank"><?php echo $v3['msg_title']?></a></div> 
			 <?php } else { ?>
				   <?php if($html_flag==1) { ?>
				   <div class="text"><a href="view-<?php echo $v3['category_id']?>-<?php echo $v3['msg_id']?>.html"><?php echo $v3['msg_title']?></a></div>
				   <?php } else { ?>
				   <div class="text"><a href="view.php?cid=<?php echo $v3['category_id']?>&amp;msg_id=<?php echo $v3['msg_id']?>"><?php echo $v3['msg_title']?></a></div>
				   <?php } ?>
			 <?php } ?>
          <?php } ?>
          <div class="other">
            <span class="left m-right"><i class="ftsucai-eye-7"></i><?php echo $v3['hits_num']?></span>
            <span class="left like-count" id="scs-<?php echo $val['category_id']?>-<?php echo $v3['msg_id']?>"><i class="ftsucai-219"></i><?php echo $v3['fav_num']?></span>
			<span class="left "> <i class="ftsucai-212"></i><?php echo $v3['msg_integral']?>积分</span>
			<?php if($v3['msg_demourl']!='') { ?>
			   <?php if($val['category_id']==6) { ?>
			     <?php if($html_flag==1) { ?>
                 <a class="right yh-link" href="demo-<?php echo $v3['msg_id']?>.html" title="预览" rel="nofollow" target="_blank">
                   <i class="ftsucai-19"></i>预览
                 </a>
                 <?php } else { ?>
                 <a class="right yh-link" href="demo.php?msg_id=<?php echo $v3['msg_id']?>" title="预览" rel="nofollow" target="_blank">
                   <i class="ftsucai-19"></i>预览
                 </a>
                 <?php } ?>
			   <?php } else { ?>
                 <a class="right yh-link" href="<?php echo $v3['msg_demourl']?>" title="预览" rel="nofollow" target="_blank">
                   <i class="ftsucai-19"></i>预览
                 </a>
			   <?php } ?>
			<?php } ?>
          </div>
        </li>
		<?php } } ?>      </ul>
	  <?php } } ?>    </div>
	<?php 
	include_once('bottom.php');
	?>
  </body>
</html>