File: /www/wwwroot/gxdaosen.net/wp-content/themes/simplepark/index/full_bigpic_x02.php
<?php $case3=get_option('mytheme_case3');
$category = get_category($case3);
?>
<div id="full_bigpic">
<div class="left_news_hd" id="index_pic_oo2">
<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($case3) ?>"> </a>
<a class="next"> next > </a>
</div>
</div>
<div id="loop_big_cajx" class="loop_big_caj">
<?php $posts = get_posts( "category=($case3)&numberposts=12" ); ?>
<?php if( $posts ) : ?>
<ul class="bigpic_loop">
<?php foreach( $posts as $post ) : setup_postdata( $post ); ?>
<li id="twoshow">
<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 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>
<div id="test_twoshow">
<span><a class="title" title="<?php the_title(); ?>"><?php echo mb_strimwidth(get_the_title(), 0, 20,"...","utf-8") ?></a></span>
<p> <?php echo mb_strimwidth(strip_tags(apply_filters('the_excerp',get_the_excerpt($id))),0,280,"...","utf-8"); ?></p>
<a href="<?php the_permalink() ?>" target="_blank" class="btn"><?php $word_t1=get_option('mytheme_word_t1');if($word_t1!=""){echo $word_t1;}else{echo '查看详细';} ?></a>
</div>
</li>
<?php endforeach; ?>
</ul>
<script>
$(function() {
$("#loop_big_cajx").jCarouselLite({
btnNext: "#index_pic_oo2 .next",
btnPrev: "#index_pic_oo2 .prve",
auto:4000,
speed:1000,
visible:2,
onMouse:true,
easing: "easeOutBack"
});
});
</script>
<?php else : ?>
<?php endif; ?>
</div></div>