web/wp-content/themes/seoblogsystem/sidebar-2.php
author ymh <ymh.work@gmail.com>
Mon, 22 Mar 2010 16:36:28 +0100
changeset 5 ac511f1ccc8e
parent 1 0d28b7c10758
permissions -rw-r--r--
add hgignore

<div class="column-right">	

	<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(__('Bottom 01 Sidebar','theme857')) ) : else : ?>
			
	
		<div class="widget widget_latest_projects"><div class="widget-bg">
			<div class="title">
				<div><h2><?php _e('Latest projects:','theme857'); ?></h2></div>
			</div>
			<div class="projects">
				<p><a href="#"><img alt="" src="<?php bloginfo('stylesheet_directory'); ?>/images/1page-img3.jpg" /></a><a href="#"><img alt="" src="<?php bloginfo('stylesheet_directory'); ?>/images/1page-img4.jpg" /></a></p>
				<p><a href="#"><img alt="" src="<?php bloginfo('stylesheet_directory'); ?>/images/1page-img5.jpg" /></a><a href="#"><img alt="" src="<?php bloginfo('stylesheet_directory'); ?>/images/1page-img6.jpg" /></a></p>
			</div>
			<div class="more"><a href="#">other projects</a></div>
		</div></div>

		
		<?php
			$r = new WP_Query(array('showposts' => 3, 'what_to_show' => 'posts', 'nopaging' => 0, 'post_status' => 'publish', 'caller_get_posts' => 1));
			if ($r->have_posts()) :
		?>
			
			
			
			<div class="widget widget_recent_entries"><div class="widget-bg">
				<div class="title">
					<div><h2><?php _e('Recent Posts','theme857'); ?></h2></div>
				</div>
				
				<ul>
					<?php  while ($r->have_posts()) : $r->the_post(); ?>
						<li>
							<span><?php the_time('d.m.Y') ?></span>
							<a href="<?php the_permalink() ?>"><?php if ( get_the_title() ) the_title(); else the_ID(); ?></a>
							<span class="comments"><?php comments_popup_link('0 comments', '1 comment', '% comments'); ?></span>
						</li>
					<?php endwhile; ?>
					
				</ul>
				
				<div>
					<div class="posts">
						<div class="date">04.03.2009</div>
						<div class="text">An internet marketing &amp; SEO company that delivers results</div>
						<div class="comments"><a href="#">15 comments</a></div>
					</div>
					<div class="posts">
						<div class="date">04.03.2009</div>
						<div class="text">Simple &amp; FREE password management</div>
						<div class="comments"><a href="#">10 comments</a></div>
					</div>
					<div class="posts">
						<div class="date">04.03.2009</div>
						<div class="text">On-Site SEO that Works</div>
						<div class="comments"><a href="#">05 comments</a></div>
					</div>
				</div>
			</div></div>
			
		<?php endif; ?>
				
	<?php endif; ?>
</div><div class="column-center">