 
<div class="gridnode gridnode_imgleft   gridcol2divi <?php echo $cssname;?>">     
      <?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; 

$kjia = $k+1; 
  $kyu = $kjia%$cus_columns;
 
 $haswowv ='';
if(is_int(strpos($cssname,'haswow'))) $haswowv = 'wow fadeInUp ';
$datev ='';
if(is_int(strpos($cssname,'hasdate'))) $datev = '<span class="date">'.$dateday.'</span>';

    ?>
        <div class="boxcol  <?php echo $haswowv.$cus_columnsv;?>">
	 
             <div class="img">
              <a <?php echo $nodeurl;?>> 
              <img class="mt10" src="<?php echo $img?>"  alt="<?php echo $title?>">   
             </a>
            </div>
	 
            
             <div class="text">
              <a  <?php echo $nodeurl;?> class="title"><?php echo $title?></a>   

             <?php 
              echo $datev;
              if($cus_substrnum>0) echo '<div class="desp">'.$desp.'</div>';
             ?>             
        
              <?php 
              
               if($nodebtnmore<>''){               
              ?>
              <div class="tc dmbtn morexs  ptb10">
                 <a  class="more"  <?php echo $nodeurl;?>><?php echo $nodebtnmore;?>  </a>
              </div>              
               <?php 
               }
              ?>
            </div>


      </div>
  <?php
  
//  if($kyu==0) echo '<div class="c"> </div>';
}
?>
 
</div>
<div class="c"> </div>
