 
<div  class="dmpj03 slickarrow3  <?php  echo  $cssname?>" <?php  echo  $stylev?>>
  <div class="poaimg" style="background:url(<?php echo get_img($blockimg)?>) no-repeat;background-size: cover">
  </div>
    
  <div class="colhalf w1">  
      &nbsp;
  </div>
  <div class="colhalf w2">
    <div class="w2inc">
      <h2 class="titlemain"><?php echo $namefront?></h2>
    <div class="blocktestimonials"  id="<?php echo $dhtrigger;?>">
     
<?php
 
foreach($result['data'] as $k=>$v){
          // pre($v);
       $title = $v['title'];  
        $img  =   get_img($v['kv']);  
        $desp  =   $v['desp'];
        $despjj  =   $v['despjj'];
         
       $dhlinkurl =  $dhlinktitle= '';
            foreach ($v['arrcan'] as   $key=>$value) { 
                 $bsccc = $key;
                 $$bsccc=$value;
             }

//$linkurlarr =  get_nodelinkurl($dhlinkurl);

?> <div class="slidertext">
 <div class="desp">
  <?php echo $desp?>
 </div>
 
        <div class="imgtext por">   
                 <div class="img tc"> 
                    <img class="mt10" src="<?php echo $img?>"  alt="<?php echo $title?>">               
                </div>
     
                <div class="text">        
                                         
                    <h5><?php echo $title; ?></h5>  <span class="sm"><?php echo $dhtitlebz1; ?></span>  
              </div>
      </div>
 </div>
<?php 
 
 }
  ?>

</div></div>
</div><div class="c"> </div>
</div>
<style>
/*css in file:  DM-block/jtblock/jtblock_dhtestimonials/dh_testimonials03.php  */
.dmpj03 {width: 100%; background: #F6F6F6 ;}
.dmpj03 .w1 { height: 100%; min-height: 400px }
.dmpj03 .poaimg { position: absolute;width: 50%;height: 100% ;}
.dmpj03 .w2inc{padding:15px 30px 30px;}
.dmpj03 .w2inc .titlemain {color:#283541; font-size: 30px;line-height: 50px;padding:20px 0;}
.dmpj03 .w2inc .desp{font-size: 18px;line-height: 24px;padding-right: 50px;max-width: 800px;}
.dmpj03 .w2inc .imgtext{padding-top:10px;padding-left:110px;height: 180px}
.dmpj03 .w2inc .img{position: absolute;left:10px;top:10px;}
.dmpj03 .w2inc .img img{width: 80px;height: 80px;}
.dmpj03 .w2inc .text {text-align: left}

.dmpj03 .w2inc button{bottom:-10px;top:auto;}
.dmpj03 .w2inc .slick-next{left:60px;right:auto;}
@media (max-width: 600px) {
   .dmpj03 .poaimg { position: relative;width: 100%;height: 300px ;}
   .dmpj03 .w1 {display: none}
   .dmpj03 .w2inc{padding:15px}
   .dmpj03 .w2inc .titlemain { font-size: 20px;padding:0; }
   .dmpj03 .w2inc .desp{font-size: 14px;line-height: 20px;padding:0;}
}

</style> 

 <?php 
$ifdots = 'false';
$ifarrows = 'true';
 if(is_int(strpos($cssname,'dotsfalse'))) $ifdots = 'false';
if(is_int(strpos($cssname,'arrowsfalse'))) $ifarrows = 'false';
$cus_columns = 1;
 ?>

 <script>
$(function(){
 
   $('#<?php echo $dhtrigger?>').slick({  //use div to avoid gridcol2
 
         infinite: true,
              slidesToShow: <?php echo $cus_columns;?>,
              slidesToScroll: <?php echo $cus_columns;?>,
              autoplay:true,
               dots: <?php echo $ifdots;?>, 
               arrows:  <?php echo $ifarrows;?>,
               
 });
});
</script>
