Kod: Tümünü seç
<style type="text/css">
#home_photo{
width:675px;
margin-top:5px;
height:226px;
position:relative;
overflow:hidden;
background:url(thema/default/images/home_photo_bg.png) repeat-x bottom;
}
#home_photo .title{
position:absolute;
width:231px;
height:46px;
top: 0px;
left: 33px;
background: url(thema/default/images/images.png) -84px 0px no-repeat;
}
#home_photo .photo_slide{
padding:10px 20px 0px 30px;
width:610px;
margin-left:auto;
margin-right:auto;
}
#home_photo {
}
#home_photo .item{
float:left;
}
#home_photo .item .item_img{
width:196px;
height:160px;
border:#FFF 1px solid;
overflow:hidden;
}
#home_photo .item .item_title{
position: absolute;
height:40px;
background:url(thema/default/images/1x1_black.png);
width:196px;
padding:0px;
bottom:0px;
text-align:center;
}
#home_photo .item a{
color:#FFF;
font-size:14px;
font-family:Arial, Helvetica, sans-serif;
text-decoration:none;
line-height:19px;
font-weight:bold;
}
#home_photo .homve_photo_prev{
background: url(thema/default/images/images.png) 0px 0px no-repeat;
width:21px;
height:61px;
cursor:pointer;
position:absolute;
left: 10px;
top: 90px;
}
#home_photo .homve_photo_prev:hover{
background: url(thema/default/images/images.png) -0px -61px no-repeat;
}
#home_photo .homve_photo_prev:active{
background: url(thema/default/images/images.png) 0px -122px no-repeat;
}
#home_photo .homve_photo_next{
background: url(thema/default/images/images.png) -21px 0px no-repeat;
width:21px;
height:61px;
cursor:pointer;
position:absolute;
right: 10px;
top: 90px;
}
#home_photo .homve_photo_next:hover{
background: url(thema/default/images/images.png) -21px -61px no-repeat;
}
#home_photo .homve_photo_next:active{
background: url(thema/default/images/images.png) -21px -122px no-repeat;
}
/*Bitiş P Galeri Ana Sayfa*/
</style>
<div id="home_photo">
<div class="page_title_black"><a href="<?=$link_fotogaleri ?>">Foto Galeri</a></div>
<div class="photo_slide">
<div class="home_photo">
<?php $photogalleryList='1'; $HomeGallery_Quer=mysql_query("select name,seoname,id from photogallery order by id desc limit 0,9"); while($HomeGallery=Object($HomeGallery_Quer)){ $HomePhoto=Write("select * from photos where photogallery='$HomeGallery->id' and state='1'"); if(($photogalleryList=="1") || ($photogalleryList=="6")){ print ' <div class="home_photo">'; } ?>
<div class="item">
<div class="item_img">
<a title="<?=WriteTool($HomeGallery->name) ?>" href="<?=GalleryLink($HomeGallery->id,$HomeGallery->seoname) ?>">
<img style="min-height:150px; min-width:250px;" width="250" src="files/gallery/big/<?=$HomePhoto['photo'] ?>" border="0" title="<?=$HomeGallery->name ?>" alt="" />
</a>
<div class="item_title">
<a title="<?=WriteTool($HomeGallery->name) ?>" href="<?=GalleryLink($HomeGallery->id,$HomeGallery->seoname) ?>">
<?=WriteTool($HomeGallery->name) ?>
</a>
</div>
</div>
</div>
<?php { if(($photogalleryList=="3") || ($photogalleryList=="6")){ print '</div>'; } $photogalleryList++; } ?>
<?php } ?>
</div>
</div>
<div class="homve_photo_prev"><a></a></div>
<div class="homve_photo_next"><a></a></div>
</div>