<?php get_header(); ?>
<div id="content">
<?php include (TEMPLATEPATH . '/slide.php'); ?>
<div class="clear"></div>
<h3 class="mytitle"> آخرین مطالب </h3>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="box" id="post-<?php the_ID(); ?>" id="post-<?php the_ID(); ?>">
<?php asts_home_image();?>
<div class="boxtitle">
<h2>" rel="bookmark" title=" <?php the_title(); ?>"><?php the_title(); ?></h2>
</div>
<div class="cover">
<div class="entry">
<p><?php the_content_rss('', TRUE, '', 30); ?> </p>
</div>
<div class="data">
<span class="author"> ارسال شده توسط: <?php the_author(); ?></span>
<span class="clock"> <?php the_time('F - j - Y'); ?></span>
<span class="comm"><?php comments_popup_link('بدون نظر', '1 نظر', '% نظرات'); ?></span>
</div>
</div>
</div>
<?php endwhile; ?>
<div class="clear"></div>
<div id="navigation">
<?php if(function_exists('wp_pagenavi')) : ?>
<?php wp_pagenavi() ?>
<?php else : ?>
<div class="alignleft"><?php next_posts_link(__('« Older Entries','arclite')) ?></div>
<div class="alignright"><?php previous_posts_link(__('Newer Entries »','arclite')) ?></div>
<div class="clear"></div>
<?php endif; ?>
</div>
<?php else : ?>
<center><img src="http://www.4ax.ir/images/herogamesa.png" /> </center></br>
<p>صفحه یا مطلب مورد نظر پیدا نشد</p>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
________________________________________________________________________________________
<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class('post') ?> id="post-<?php the_ID(); ?>">
<div class="title">
<h2>" rel="bookmark" title=" <?php the_title(); ?>"><?php the_title(); ?></h2>
</div>
<div class="data">
<span class="author"> ارسال شده توسط: <?php the_author(); ?></span> <span class="clock"> <?php the_time('F - j - Y'); ?></span>
<span class="comm"><?php comments_popup_link('بدون نظر', '1 نظر', '% نظرات'); ?></span>
</div>
<div class="cover">
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
<?php include (TEMPLATEPATH . '/ad1.php'); ?>
<div class="clear"></div>
<?php wp_link_pages(array('before' => '<p>صفحه ها: ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>