1089201 2008-10-6 03:34
wp-pagenavi
<?php get_header(); ?>
>
<!-- featured section html -->
<?php include (TEMPLATEPATH . "/featured.php"); ?>
<!-- end -->
<!-- begin main column -->
<div id="bigcolumn">
<div id="top_posts">
<h2>Advertisement</h2>
<div class="postbox">
your_AD_code_here
</div>
<?php query_posts('showposts='.$leftcolumn_category_1_postsnum.'&cat='.$leftcolumn_category_1); ?>
<h2><?php single_cat_title(); ?></h2>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="postbox">
<div class="top_thumb"><?php echo get_the_image(array('Thumbnail','My Thumbnail'),'thumbnail'); ?></div>
<div class="top_entry">
<h3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
<div class="time"><?php the_time('l, F j, Y G:i'); ?></div>
<div class="excerpt"><p><?php the_excerpt_reloaded($postexcerpt, '<a>', FALSE, FALSE, 2); ?></p></div>
<ul class="postbit">
<li><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">Read Full Story</a></li>
<li><a href="<?php the_permalink() ?>#commenting" title="Jump to comments"><?php comments_number('0 Comments','1 Comment','% Comments'); ?></a></li>
</ul>
</div><div class="clear"></div>
</div>
<?php endwhile; ?>
<?php else : ?>
<div class="postbox">
<p>No entries were found in this category.</p>
</div>
<?php endif; ?>
<?php query_posts('showposts='.$leftcolumn_category_2_postsnum.'&cat='.$leftcolumn_category_2); ?>
<h2><?php single_cat_title(); ?></h2>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="postbox">
<div class="top_thumb"><?php echo get_the_image(array('Thumbnail','My Thumbnail'),'thumbnail'); ?></div>
<div class="top_entry">
<h3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
<div class="time"><?php the_time('l, F j, Y G:i'); ?></div>
<div class="excerpt"><p><?php the_excerpt_reloaded($postexcerpt, '<a>', FALSE, FALSE, 2); ?></p></div>
<ul class="postbit">
<li><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">Read Full Story</a></li>
<li><a href="<?php the_permalink() ?>#commenting" title="Jump to comments"><?php comments_number('0 Comments','1 Comment','% Comments'); ?></a></li>
</ul>
</div><div class="clear"></div>
</div>
<?php endwhile; ?>
<?php else : ?>
<div class="postbox">
<p>No entries were found in this category.</p>
</div>
<?php endif; ?>
</div>
<div id="recent_posts">
<?php query_posts('showposts='.$rightcolumn_category_1_postsnum.'&cat='.$rightcolumn_category_1); ?>
<h2><?php single_cat_title(); ?></h2>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="postbox">
<div class="recent_thumb"><?php echo get_the_image(array('Thumbnail','My Thumbnail'),'thumbnail'); ?></div>
<div class="recent_entry">
<h3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
<div class="time"><?php the_time('l, F j, Y G:i'); ?></div>
<div class="excerpt"><p><?php the_excerpt_reloaded($postexcerpt, '<a>', FALSE, FALSE, 2); ?></p></div>
<ul class="postbit">
<li><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">Read Full Story</a></li>
<li><a href="<?php the_permalink() ?>#commenting" title="Jump to comments"><?php comments_number('0 Comments','1 Comment','% Comments'); ?></a></li>
</ul>
</div><div class="clear"></div>
</div>
<?php endwhile; ?>
<?php else : ?>
<div class="postbox">
<p>No entries were found in this category.</p>
</div>
<?php endif; ?>
<?php query_posts('showposts='.$rightcolumn_category_2_postsnum.'&cat='.$rightcolumn_category_2); ?>
<h2><?php single_cat_title(); ?></h2>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="postbox">
<div class="recent_thumb"><?php echo get_the_image(array('Thumbnail','My Thumbnail'),'thumbnail'); ?></div>
<div class="recent_entry">
<h3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
<div class="time"><?php the_time('l, F j, Y G:i'); ?></div>
<div class="excerpt"><p><?php the_excerpt_reloaded($postexcerpt, '<a>', FALSE, FALSE, 2); ?></p></div>
<ul class="postbit">
<li><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">Read Full Story</a></li>
<li><a href="<?php the_permalink() ?>#commenting" title="Jump to comments"><?php comments_number('0 Comments','1 Comment','% Comments'); ?></a></li>
</ul>
</div><div class="clear"></div>
</div>
<?php endwhile; ?>
<?php else : ?>
<div class="postbox">
<p>No entries were found in this category.</p>
</div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<div class="clear"></div>
</div>
<!-- end main column -->
<?php get_footer(); ?>
这个是我的index.php代码,我怎么找不到要替换代码啊
我的主页是[url]www.flyinker.com[/url]
www.illwing.com
用的主题是[url=http://www.customthemedesign.com/guzel/]Guzel Magazine[/url]
[[i] 本帖最后由 1089201 于 2008-10-6 03:39 编辑 [/i]]