<?php if (!defined('THINK_PATH')) exit(); if($photo): if(is_array($photo)): $i = 0; $__LIST__ = array_slice($photo,0,4,true);if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="col-sm-4 col-md-3 col-mm-6 case_img" data-move-y="50px">
            <a href="<?php echo W('Href',array('url'=>$vo['url'],'id'=>$vo['id'],'type'=>'Photo'));?>">
                  <img src="__ROOT__/Uploads/<?php echo ($vo["thumb"]); ?>" class="opacity_img" alt="<?php echo ($vo["name"]); ?>"/>
            </a>
            <p class="case_title">
                  <a href="<?php echo W('Href',array('url'=>$vo['url'],'id'=>$vo['id'],'type'=>'Photo'));?>"><?php echo (mb_substr($vo["name"],0,22,'utf-8')); ?></a>
            </p>
      </div><?php endforeach; endif; else: echo "" ;endif; endif; ?>