tire Emlak -KONUT -Arazi -Arsa -İŞ YERİ - emre emlak

burda emlak ilanlarının sonunda foto makinası nın üstüne tıklayınca resim acılıyor ( şimdi acılmıyo ) onu tıklamadan fare üstüne gelince cıkacak şekilde nasıl yaparım


$img_id = (isset($_GET['img_id'])) ? $_GET['img_id'] : 1;
$ads_id = $_GET['ads_id'];
$array_id = $_GET['array_id'];
$n = explode('_',$array_id);
$nb_img = count($n)-1;
include_once(XOOPS_ROOT_PATH."/modules/".$xoopsModule->dirname()."/class/ads.php");
$ads_handler =& xoops_getmodulehandler('ads');
$ads = & $ads_handler->get($ads_id);
$photo = $ads->getVar('photo'.$n[$img_id]);
echo "<CENTER><IMG SRC=\"images/ads/$photo\" BORDER=0></CENTER><br />";
echo "<center><table><tr><td>";
if ($img_id > 1) {
 echo "<a href=\"display_image.php?array_id=".$array_id."&img_id=".($img_id-1)."&ads_id=".$ads_id."\" target=\"_self\"><<&nbsp;</a>";
}
echo "<a href=#  onClick='window.close()'>"._MD_emlak_CLOSEF."</a>";
if ($img_id < ($nb_img)) {
 echo "<a href=\"display_image.php?array_id=".$array_id."&img_id=".($img_id+1)."&ads_id=".$ads_id."\" target=\"_self\">&nbsp;>></a>";
}
echo "</td></tr></table></center>";
xoops_footer();
?>






if ($strid != ''){
    $width  = $config['photo_maxwidth'] + 40;
    $height = $config['photo_maxheight'] + 80;
    $item['photo'] = "<a href=\"javascript:openWithSelfMain('".XOOPS_URL."/modules/".$module->getVar('dirname')."/display_image.php?array_id=".$strid."&ads_id=".$ads_id."','Photo',".$width.",".$height.");\"><img src=\"".XOOPS_URL."/modules/".$module->getVar('dirname')."/images/photo.gif\" border=0 width=15 height=11 ></a>";