|
1 <div class="column-right"> |
|
2 |
|
3 <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(__('Bottom 01 Sidebar','theme857')) ) : else : ?> |
|
4 |
|
5 |
|
6 <div class="widget widget_latest_projects"><div class="widget-bg"> |
|
7 <div class="title"> |
|
8 <div><h2><?php _e('Latest projects:','theme857'); ?></h2></div> |
|
9 </div> |
|
10 <div class="projects"> |
|
11 <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> |
|
12 <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> |
|
13 </div> |
|
14 <div class="more"><a href="#">other projects</a></div> |
|
15 </div></div> |
|
16 |
|
17 |
|
18 <?php |
|
19 $r = new WP_Query(array('showposts' => 3, 'what_to_show' => 'posts', 'nopaging' => 0, 'post_status' => 'publish', 'caller_get_posts' => 1)); |
|
20 if ($r->have_posts()) : |
|
21 ?> |
|
22 |
|
23 |
|
24 |
|
25 <div class="widget widget_recent_entries"><div class="widget-bg"> |
|
26 <div class="title"> |
|
27 <div><h2><?php _e('Recent Posts','theme857'); ?></h2></div> |
|
28 </div> |
|
29 |
|
30 <ul> |
|
31 <?php while ($r->have_posts()) : $r->the_post(); ?> |
|
32 <li> |
|
33 <span><?php the_time('d.m.Y') ?></span> |
|
34 <a href="<?php the_permalink() ?>"><?php if ( get_the_title() ) the_title(); else the_ID(); ?></a> |
|
35 <span class="comments"><?php comments_popup_link('0 comments', '1 comment', '% comments'); ?></span> |
|
36 </li> |
|
37 <?php endwhile; ?> |
|
38 |
|
39 </ul> |
|
40 |
|
41 <div> |
|
42 <div class="posts"> |
|
43 <div class="date">04.03.2009</div> |
|
44 <div class="text">An internet marketing & SEO company that delivers results</div> |
|
45 <div class="comments"><a href="#">15 comments</a></div> |
|
46 </div> |
|
47 <div class="posts"> |
|
48 <div class="date">04.03.2009</div> |
|
49 <div class="text">Simple & FREE password management</div> |
|
50 <div class="comments"><a href="#">10 comments</a></div> |
|
51 </div> |
|
52 <div class="posts"> |
|
53 <div class="date">04.03.2009</div> |
|
54 <div class="text">On-Site SEO that Works</div> |
|
55 <div class="comments"><a href="#">05 comments</a></div> |
|
56 </div> |
|
57 </div> |
|
58 </div></div> |
|
59 |
|
60 <?php endif; ?> |
|
61 |
|
62 <?php endif; ?> |
|
63 </div><div class="column-center"> |