File: /www/wwwroot/gxdaosen.net/wp-content/themes/simplepark/index/full_bigpic_x01.php
<?php $case2=get_option('mytheme_case2');
$category = get_category($case2);
?>
<div id="full_bigpic">
<div class="left_news_hd" id="index_pic_oo1">
<a id="cs1" class="inopen"><?php echo $category->name; ?></a>
<div class="loop_big_caj_nav">
<a class="prve"> < prev</a>
<a id="morepic"target="_blank" href="<?php echo get_category_link($case2) ?>"> </a>
<a class="next"> next > </a>
</div>
</div>
<div id="loop_big_caj" class="loop_big_caj">
<?php $posts = get_posts( "category=($case2)&numberposts=12" ); ?>
<?php if( $posts ) : ?>
<ul class="bigpic_loop">
<?php foreach( $posts as $post ) : setup_postdata( $post ); ?>
<li>
<div class="loop_big_a">
<a href="<?php the_permalink() ?>">
<?php $tit= get_the_title();if (has_post_thumbnail()) { the_post_thumbnail('news-sidbar-thumb' ,array('alt' =>$tit, 'title'=> $tit ));}?>
</a>
<b>
<a class="title"><?php echo mb_strimwidth(get_the_title(), 0, 20,"...","utf-8") ?></a>
<a data-lightbox="example-set" href="<?php echo catch_that_image();?>" class="lightboxlink"></a>
<a href="<?php the_permalink() ?>" target="_blank" class="link"></a>
</b>
</div>
</li>
<?php endforeach; ?>
</ul>
<script>
$(function() {
$("#loop_big_caj").jCarouselLite({
btnNext: "#index_pic_oo1 .next",
btnPrev: "#index_pic_oo1 .prve",
auto:3000,
speed:1000,
visible:4,
onMouse:true,
easing: "easeOutBack"
});
});
</script>
<?php else : ?>
<?php endif; ?>
</div></div>