Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="content">
- <?php include (TEMPLATEPATH . '/slide.php'); ?>
- <div id="subox">
- <div class="sboxleft sblist">
- <h3 class="sidetitl"> Popular Posts </h30>
- <ul>
- <?php popular_posts();?>
- </ul>
- <div class="clear"></div>
- </div>
- <div class="sboxright sblist">
- <h3 class="sidetitl"> Random Posts </h3>
- <ul>
- <?php
- $myposts = get_posts('numberposts=10&orderby=rand');
- foreach($myposts as $post) :
- ?>
- <li><a href="<?php the_permalink(); ?>"><?php the_title();
- ?></a></li>
- <?php endforeach; ?>
- </ul>
- <div class="clear"></div>
- </div>
- </div>
- <div class="clear"></div>
- <h3 class="mytitle"> Recent Posts </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><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
- </div>
- <div class="cover">
- <div class="entry">
- <p><?php the_content_rss('', TRUE, '', 30); ?> </p>
- </div>
- <div class="data">
- <span class="author"> Posted by <?php the_author(); ?></span>
- <span class="clock"> On <?php the_time('F - j - Y'); ?></span>
- <span class="comm"><?php comments_popup_link('0 Comment', '1 Comment', '% Comments'); ?></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>
- <div id="subox">
- <div class="sboxleft sblist">
- <h3 class="sidetitl"> Twitter updates </h3>
- <?php
- $twit = get_option('asts_twit');
- include('twitter.php');?>
- <?php if(function_exists('Twitter_messages')) : ?>
- <?php Twitter_messages("$twit") ?>
- <?php endif; ?>
- <div class="clear"></div>
- </div>
- <div class="sboxright sblist">
- <h3 class="sidetitl"> Recent Comments </h3>
- <ul>
- <?php dp_recent_comments(); ?>
- </ul>
- <div class="clear"></div>
- </div>
- </div>
- <?php else : ?>
- <h1 class="title">Not Found</h1>
- <p>Sorry, but you are looking for something that isn't here.</p>
- <?php endif; ?>
- </div>
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment