File: /www/wwwroot/gxdaosen.net/wp-content/themes/simplepark/category-pic_001_full.php
<?php
/**
Category Template:图片列表(大图一栏)
**/
get_header();
$detect = new Mobile_Detect();
if ($detect->isMobile()){
include_once("move/category.php");
}
elseif($detect->isTablet()){
include_once("move/category.php");
}else{
get_template_part( 'page_single/top' );
?>
<div id="content">
<div class="full_product_lists">
<ul class="bigpic_loop" id="category_pic_big">
<?php if(get_option('mytheme_list_nmber4')==""){$nmnber =12;}else{ $nmnber =get_option('mytheme_list_nmber4');}
$posts = query_posts($query_string . '&showposts='.$nmnber); ?>
<?php if (have_posts()) : while (have_posts()) : the_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 endwhile; ?>
<?php else : ?>
<?php endif; ?>
</ul>
<div class="pager"> <?php par_pagenavi(); ?> </div>
</div>
</div>
<?php };get_footer(); ?>