 
<div id="<?php echo $dhtrigger;?>" class="  <?php echo $cssname;?>" <?php echo $stylev;?>>
 <ul>
<?php 
foreach($result['data'] as $k=>$v){
         // pre($v);
        $title = $v['title']; $titlestyle = $v['titlestyle']; 
        
        $kvsm= $v['kvsm'];         
        $img = get_img($kvsm);  
         $dateday  =   $v['dateday'];
        $desp  =   $v['desp'];
        $titlestylev=$titlestyle<>''?' style="'.$titlestyle.'" ':'';   
 
            $link = $v['link'];          
            $nodeurl = linkhref($link).$titlestylev; 
 
//$nodebtnmore = $nodebtnmore==''?'查看详情':$nodebtnmore;
 
  $nodebz1 = @$v['arrcan']['nodebz1'];  
 

   $kjia = $k+1; 
  $kyu = $kjia%$cus_columns;

?>
 
 <li  class="boxcol <?php echo $cus_columnsv;?>">  
   <div class="gcoverlaykuo por">   
            <div class="text transition5">
                                 
                    <a <?php echo $nodeurl;?>><i class="fa fa-link" aria-hidden="true"></i></a>
               
          </div>
          <div class="img">              
              <img src="<?php echo $img?>" alt="<?php echo $title?>" />                
              <div class="imgtext  tc"> 
                   <h4><?php echo $title?></h4> 
                  <?php if($nodebz1<>'') echo '<span>'.$nodebz1.'</span>'?> 
              </div>            
                         
            </div>
  </div>          
</li>
 <?php
    if(is_int(strpos($cssname,'sliderenable'))) $kyu=100000;
//   if($kyu==0) echo '<li class="c"> </li>';
    }
 ?>
 </ul><div class="c"> </div>
  </div>
  <?php 
if($linktitle<>'')  echo  '<div class="dmbtn mt10 tc"><a class="more" '.linkhref($linkurl).'>'.$linktitle.'</a></div>'; 
  ?>
<div class="c"> </div>


<?php 
if(is_int(strpos($cssname,'sliderenable'))){

 
$ifdots = 'true';
$ifarrows = 'true';
 if(is_int(strpos($cssname,'dotsfalse'))) $ifdots = 'false';
if(is_int(strpos($cssname,'arrowsfalse'))) $ifarrows = 'false'; 
 
$num800 = $cus_columns<=3?$cus_columns:3;
$num600 = $cus_columns<=2?$cus_columns:2;
?>
<script>
$(function(){
    

    $('#<?php echo $dhtrigger?>>ul').slick({ 
 
         infinite: true,
              slidesToShow: <?php echo $cus_columns;?>,
              slidesToScroll: <?php echo $cus_columns;?>,
              autoplay:true,
              dots: <?php echo $ifdots;?>, 
               arrows:  <?php echo $ifarrows;?>,
                responsive: [                                 
                  {
                    breakpoint: 800,
                    settings: {
                      slidesToShow: <?php echo $num800;?>,
                      slidesToScroll:  <?php echo $num800;?>,
                    }
                  },
                   {
                    breakpoint: 600,
                    settings: {
                      slidesToShow: <?php echo $num600;?>,
                      slidesToScroll:  <?php echo $num600;?>,
                    }
                  },
                  {
                    breakpoint: 480,
                    settings: {
                      slidesToShow: 1,
                      slidesToScroll: 1,
                    }
                  }
                  ]
 });
});
</script>
<?php 
}
?>