} } end: ?> <?php foreach ($similar_result as $thmb) { ?> <div class="image-content"> <div class="image"><a href="details.php?gid=<?php $gallery_id; ?> &pid=<?php echo $thmb->id; ?> "><img src="image_sq.php?src=<?php echo get_img_id($thmb->id); ?> "></a></div> <div align="center" class="title-image"><?php echo $thmb->title; ?> </div> </div> <?php } ?> </div>
echo get_img_id($thmb->id); ?> "></a></div> <div align="center" class="title"><?php echo $thmb->title; ?> </div> </div> --> <div class="galery-content"> <div align="center" class="image"> <?php mod_photolink($thmb->id, $thmb->gallery_id, $thmb->title, "", "photo_links"); ?> <img src="<? echo $imagepage . get_img_id($thmb->id); ?>" class="photos" border="0" class="images" /> </a> </div> <div align="center" class="title"> <?php echo $thmb->title; ?> </div> <div class="descreption"> <div align="right" class="left"> <a href="public_actions.php?pmode=add_lightbox&ptype=d&gid=<? echo $thmb->gallery_id; ?>&sgid=<? echo $sgid; ?>&pid=<? echo $thmb->id; ?>" class="photo_links"> <!-- <a onclick="javascript:show_light();" onmouseout="hide_light();">--> <img src="images/icon-show1.png"></a>