<div class="gallery_item">
 <h4><a href="$PHOTO_URL$">$PHOTO_NAME$</a></h4>
 <a href="$FULL_PHOTO_DIRECT_URL$" class="prettyPhoto shadow_light" ><img src="$FULL_PHOTO_DIRECT_URL$" width="276" height="150" alt="" /><i></i></a>
 <div class="details"><a class="button" href="$PHOTO_URL$"><span> <i class="detail"></i>Подробнее</span></a>
<a class="button" href="$SECTION_URL$"><span><i class="link"></i>Альбом </span></a></div>
 </div>