PluginProbe
Welcart e-Commerce / 1.4.12
Welcart e-Commerce v1.4.12
2.12.4 2.12.3 2.11.35 2.12.2 2.12.1 2.11.34 2.11.33 2.11.32 2.11.31 2.11.30 1.3.16 1.3.17 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 All 292 releases
usc-e-shop / theme / welcart_default / sidebar-other.php

sidebar-other.php in Welcart e-Commerce 1.4.12, at theme/welcart_default/sidebar-other.php

67 lines 3.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * <meta content="charset=UTF-8">
4 * @package Welcart
5 * @subpackage Welcart Default Theme
6 */
7 global $usces;
8 ?>
9 <!-- begin left sidebar -->
10 <div id="leftbar" class="sidebar">
11 <ul>
12 <?php if ( ! dynamic_sidebar( 'otherleft-widget-area' ) ): ?>
13 <li id="welcart_search-3" class="widget widget_welcart_search">
14 <div class="widget_title"><img src="<?php bloginfo('template_url'); ?>/images/search.png" alt="<?php _e('keyword search','usces') ?>" /><?php _e('keyword search','usces') ?></div>
15 <ul class="welcart_search_body welcart_widget_body">
16 <li>
17 <form method="get" id="searchform" action="<?php echo home_url(); ?>" >
18 <input type="text" value="" name="s" id="s" class="searchtext" /><input type="submit" id="searchsubmit" value="<?php _e('Search','usces') ?>" />
19 <div><a href="<?php echo USCES_CART_URL . $usces->delim; ?>page=search_item"><?php _e('An article category keyword search','usces') ?>&gt;</a></div>
20 </form>
21 </li>
22 </ul>
23 </li>
24 <li id="welcart_category-3" class="widget widget_welcart_category">
25 <div class="widget_title"><img src="<?php bloginfo('template_url'); ?>/images/category.png" alt="<?php _e('Item Category','usces') ?>" /><?php _e('Item Category','usces') ?></div>
26 <ul class="welcart_widget_body">
27 <?php $cats = get_category_by_slug('itemgenre'); ?>
28 <?php wp_list_categories('orderby=id&use_desc_for_title=0&child_of='.$cats->term_id.'&title_li='); ?>
29 </ul>
30 </li>
31 <li id="welcart_featured-3" class="widget widget_welcart_featured">
32 <div class="widget_title"><img src="<?php bloginfo('template_url'); ?>/images/osusume.png" alt="<?php _e('Items recommended','usces') ?>" /><?php _e('Items recommended','usces') ?></div>
33 <ul class="welcart_featured_body welcart_widget_body">
34 <li>
35 <?php
36 $offset = usces_posts_random_offset(get_posts('category='.usces_get_cat_id( 'itemreco' )));
37 $myposts = get_posts('numberposts=1&offset='.$offset.'&category='.usces_get_cat_id( 'itemreco' ));
38 foreach($myposts as $post) : usces_the_item();
39 ?>
40 <div class="thumimg"><a href="<?php the_permalink() ?>"><?php usces_the_itemImage($number = 0, $width = 150, $height = 150 ); ?></a></div>
41 <div class="thumtitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php usces_the_itemName(); ?> (<?php usces_the_itemCode(); ?>)</a></div>
42 <?php endforeach; ?>
43 </li>
44 </ul>
45 </li>
46 <li id="welcart_bestseller-3" class="widget widget_welcart_bestseller">
47 <div class="widget_title"><img src="<?php bloginfo('template_url'); ?>/images/bestseller.png" alt="<?php _e('best seller','usces') ?>" width="24" height="24" /><?php _e('best seller','usces') ?></div>
48 <ul class="welcart_widget_body">
49 <?php usces_list_bestseller(10); ?>
50 </ul>
51 </li>
52 <li id="welcart_post-3" class="widget widget_welcart_post">
53 <div class="widget_title"><img src="<?php bloginfo('template_url'); ?>/images/post.png" alt="<?php _e('Information','usces') ?>" /><?php _e('Information','usces') ?></div>
54 <ul class="welcart_widget_body">
55 <?php usces_list_post(__('Uncategorized'),3); ?>
56 </ul>
57 </li>
58 <li id="welcart_calendar-3" class="widget widget_welcart_calendar">
59 <div class="widget_title"><img src="<?php bloginfo('template_url'); ?>/images/calendar.png" alt="<?php _e('Business Calendar','usces') ?>" /><?php _e('Business Calendar','usces') ?></div>
60 <ul class="welcart_calendar_body welcart_widget_body"><li>
61 <?php usces_the_calendar(); ?>
62 </li></ul>
63 </li>
64 <?php endif; ?>
65 </ul>
66 </div>
67 <!-- end left sidebar -->