| 1 |
<?php |
| 2 |
/** |
| 3 |
* <meta content="charset=UTF-8"> |
| 4 |
* @package Welcart |
| 5 |
* @subpackage Welcart Default Theme |
| 6 |
*/ |
| 7 |
get_header(); |
| 8 |
|
| 9 |
get_sidebar( 'home' ); |
| 10 |
?> |
| 11 |
|
| 12 |
<div id="content" class="three-column"> |
| 13 |
<div class="top_image"><img src="<?php bloginfo('template_url'); ?>/images/image_top.jpg" alt="<?php bloginfo('name'); ?>" width="560" height="300" /></div> |
| 14 |
|
| 15 |
<?php /* Section of Recommended Products *******************************/ ?> |
| 16 |
<div class="title"><?php _e('Items recommended','usces') ?></div> |
| 17 |
<div class="clearfix"> |
| 18 |
<?php query_posts( array('category_name'=>'itemreco', 'posts_per_page'=>8, 'post_status'=>'publish') ); ?> |
| 19 |
<?php if (have_posts()) : ?> |
| 20 |
<?php while (have_posts()) : the_post(); usces_the_item(); ?> |
| 21 |
<div class="thumbnail_box"> |
| 22 |
<div class="thumimg"><a href="<?php the_permalink() ?>"><?php usces_the_itemImage(0, 108, 108); ?></a></div> |
| 23 |
<div class="thumtitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php usces_the_itemName(); ?> (<?php usces_the_itemCode(); ?>)</a></div> |
| 24 |
<div class="price"><?php usces_crform( usces_the_firstPrice('return'), true, false ); ?><?php usces_guid_tax(); ?></div> |
| 25 |
</div> |
| 26 |
<?php endwhile; ?> |
| 27 |
<?php else: ?> |
| 28 |
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p> |
| 29 |
<?php endif; wp_reset_query(); ?> |
| 30 |
</div> |
| 31 |
<?php /******************************************************************/ ?> |
| 32 |
|
| 33 |
</div><!-- end of content --> |
| 34 |
|
| 35 |
<?php //get_sidebar( 'home' ); ?> |
| 36 |
|
| 37 |
<?php get_footer(); ?> |
| 38 |
|