ARKADAŞLAR ŞİMDİ İKİ ADET SLİDER KODU PAYLAŞACAM
ŞİMDİ BU SİTEDEKİ
http://www.catalagzi.com/
ANA MANŞET SLİDERI BU SİTEDEKİ
www.pasurunsesi.com
daki sliderla değiştirmek istiyorum..
bu sitedeki slider kodları http://www.catalagzi.com/
<!--manset-->
<div class="anamanset">
<ul class="ana_manset_list_img">
<?php $recent = new WP_Query("showposts=15&cat=3"); while($recent->have_posts()) : $recent->the_post();?>
<li>
<?php
if (has_post_thumbnail()) {
$attachment_id = get_post_thumbnail_id($post->ID);
$image_attributes = wp_get_attachment_image_src( $attachment_id );
$large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'large');
?>
<a href="<?php the_permalink();?>" rel="bookmark">
<img src="<?php echo $large_image_url[0]; ?>" width="<?php echo $large_image_url[1]; ?>" height="<?php echo $large_image_url[2]; ?>" alt="<?php the_title(); ?>" />
</a>
<div class="ana_manset_list_title"><?php echo mb_substr (the_title('','',false), 0 , 50); ?></div>
<?php
}else {
?>
<a href="<?php the_permalink();?>" rel="bookmark">
<img src="<?php bloginfo('template_url')?>/images/noimage.jpg" alt="<?php the_title(); ?>" />
</a>
<?php } ?>
<div class="ana_manset_list_title"><?php echo mb_substr (the_title('','',false), 0 , 100); ?></div>
</li>
<?php endwhile; ?>
</ul>
<ul class="ana_manset_list_button">
<?php $sayi = 1; $recent = new WP_Query("showposts=15&cat=3"); while($recent->have_posts()) : $recent->the_post();?>
<li><a href="<?php the_permalink();?>"><?php echo $sayi; ?></a></li>
<?php $sayi++; ?>
<?php endwhile; ?>
<div class="clear"></div>
</ul>
<div class="tm_manset"><a href="http://www.kulp.bel.tr/category/kulp-belediyesi-haberler/" rel="bookmark" target="_blank">Tüm Manşetler</a></div>
</div>
<!--#manset-->
pasurunsesi.com daki manşet slider kodları:
<?php
/******************************************************
* @coder : Resul ÇAĞLAYAN
* @Web Site : http://www.teknonix.com
* @email : info@teknonix.com
* @Copyright : 2011 teknonix.com
*****************************************************/
?>
<link rel="stylesheet" type="text/css" href="tema/OrangeNix/manset.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" ></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js" ></script>
<script type="text/javascript">
$(document).ready(function(){
$("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);
});
</script>
<div class="manset">
<div id="featured" >
<ul class="ui-tabs-nav">
<?php $mansetx = mysql_query("select * from haber_icerik where manset='Aktif' order by id desc limit 6");?>
<?php while($manx = mysql_fetch_array($mansetx)){ ?>
<li class="ui-tabs-nav-item" id="nav-fragment-<?php echo $manx['id'];?>"><a href="#fragment-<?php echo $manx['id'];?>"><img src="upload/manset/<?php echo $manx['resim_m'];?>" alt="<?php echo $manx['adi'];?>" width="80" height="50" /><span><strong><?php echo $manx['adi'];?></strong></span><br /><?php echo $manx['ozet'];?></a></li>
<?php } ?>
</ul>
<?php $manset = mysql_query("select * from haber_icerik where manset='Aktif' order by id desc limit 6");?>
<?php while($man = mysql_fetch_array($manset)){ ?>
<div id="fragment-<?php echo $man['id'];?>" class="ui-tabs-panel" style="">
<img src="upload/manset/<?php echo $man['resim_m'];?>" alt="<?php echo $man['adi'];?>" width="602" />
<div class="info">
<div style="height:60px; overflow:hidden">
<h2><a href="<?php echo $man['seo'];?>-<?php echo $man['id'];?>-haber.html" title="<?php echo $man['adi'];?>"><?php echo $man['adi'];?></a></h2>
<p><?php echo $man['ozet'];?>... <a href="<?php echo $man['seo'];?>-<?php echo $man['id'];?>-haber.html" title="devami">devami</a></p>
</div>
</div>
</div>
<?php } ?>
</div>
<div style="height:7px"></div>
</div>
ARKADAŞLAR YARDIMCI OLACAK KİŞİYE ŞİMDİDEN ÇOK TEŞEKKÜR EDERİM