/** * */ public static function im_testimonials($atts = null, $content = null) { if ($atts == 'generator') { return array('name' => __('Testimonials', MISS_ADMIN_TEXTDOMAIN), 'base' => 'im_testimonials', 'icon' => 'im-icon-trophy-star', 'category' => __('Theme Short-Codes', MISS_ADMIN_TEXTDOMAIN), 'params' => array(array('heading' => __('Limit', MISS_ADMIN_TEXTDOMAIN), 'description' => __('Select number of testimonials to show.', MISS_ADMIN_TEXTDOMAIN), 'param_name' => 'limit', 'type' => 'number', 'max' => 20, 'min' => 1, 'step' => 1, 'unit' => __('testimonials', MISS_ADMIN_TEXTDOMAIN), 'value' => '1'), array("type" => "dropdown", "heading" => __("Viewport Animation", "js_composer"), "param_name" => "animation", "value" => miss_js_composer_css_animation(), "description" => __("Viewport animation will be triggered when this element is being viewed when you scroll page down. you only need to choose the animation style from this option. please note that this only works in moderns. We have disabled this feature in touch devices to increase browsing speed.", "js_composer")))); } extract(shortcode_atts(array('class' => 'claen', 'title' => '', 'limit' => '', 'animation' => ''), $atts)); if ($animation != '') { $animation = ' im-animate-element ' . $animation . ' '; } $tquery = new WP_Query(); $tquery = $tquery->query(array('post_type' => 'testimonials', 'showposts' => $limit)); $out = ''; foreach ($tquery as $testimony) { $out .= '<div class="row-fluid">'; $out .= '<div class="span3' . $animation . '" style="position:relative">'; if (get_post_thumbnail_id($testimony->ID)) { $thumb = wp_get_attachment_image_src(get_post_thumbnail_id($testimony->ID), 'large'); $thumb = miss_wp_image($thumb[0], 400, 400); $out .= '<div class="testimony_avatar"><img src="' . THEME_ASSETS . '/images/overlays/1x1.gif" alt="" class="empty 1x1" /><img src="' . $thumb . '" /></div>'; } $out .= '</div>'; $out .= '<div class="span9 testimony-inner' . $animation . '">'; if ($testimony->post_title != '') { $out .= '<h3>'; $out .= $testimony->post_title; $out .= '</h3>'; } $out .= '' . do_shortcode('[blockquote]' . $testimony->post_content . '[/blockquote]') . ''; $out .= '</div>'; $out .= '</div>'; } if (count($tquery) > 1) { $out = ' <div class="flex_slideshow_container arrows_top"> <div class="flexslider"> <ul class="slides"> ' . $out . ' </ul> </div> </div> '; } return '<div class="testimonials ' . $class . $animation . '">' . $out . '</div>'; }
/** * Partners Carousel * @since 1.5 */ function miss_carousel_partners($partners = array()) { /* Options */ $out = ''; if (isset($partners['enable'][0]) && $partners['enable'][0] == "true") { $out .= '<!-- Begin Partners -->'; $out .= '<div id="latest-partners" class="clearfix">'; $out .= '<h3 class="display-inline-block">' . $partners['caption'] . '</h3>'; $out .= '<div class="wp-partners-controls">'; $out .= '<li class="wp-partners-readmore"><a href="' . $partners['url'] . '">' . $partners['more'] . '</a></li>'; $out .= '<li class="wp-partners-prev"><</li>'; $out .= '<li class="wp-partners-next">></li>'; $out .= '</div>'; $out .= '<div class="wp-partners" data-delay="' . $partners['delay'] . '" data-autoplay="' . $partners['autoplay'][0] . '">'; $out .= '<ul class="carousel-inner">'; $partners_i = 0; $query = new WP_Query(); $query->query('post_type=partners&posts_per_page=20'); if ($query->have_posts()) { while ($query->have_posts()) { $query->the_post(); $site = get_post_custom_values('project_Link'); $shortDesc = get_post_custom_values('project_Desc'); $project_image1 = get_post_custom_values('project_image1'); $partners_i++; $out .= '<li>'; $out .= '<div class="entry">'; if (has_post_thumbnail()) { $work_preview = true; if (has_post_thumbnail()) { $thumb = wp_get_attachment_image_src(get_post_thumbnail_id(get_the_ID()), 'medium'); $thumb = miss_wp_image($thumb[0], 480, 250); $out .= '<div class="post-thumbnail"><a href="' . get_permalink() . '" title="' . get_the_title() . '" class="video"><img src="' . $thumb . '" class="image-resize w" alt="' . get_the_title() . '" title="' . get_the_title() . '" /></a></div>'; } $work_preview = true; } else { $out .= '<div class="post-thumbnail"><a href="' . get_permalink() . '" title="' . get_the_title() . '" class="video">' . get_the_title() . '</a></div>'; } $out .= '</div>'; $out .= '</li>'; } } if ($partners_i == 0) { $out .= '<li>' . _e('Please add more partners', MISS_TEXTDOMAIN) . '</li>'; } $out .= '</ul>'; $out .= '</div>'; $out .= '</div>'; } return $out; }
/** * */ function miss_wp_image_resize() { if (miss_ajax_request() && isset($_POST['ajax_image_resize_url'])) { $nonce = $_POST['j5M5601']; if (!wp_verify_nonce($nonce, home_url())) { die('Security check'); } $image = stripslashes($_POST['ajax_image_resize_url']); if (!miss_is_cache_writable()) { $data = array('url' => $image); $echo = json_encode($data); } else { $data = array('url' => miss_wp_image($image)); $echo = json_encode($data); } @header('Content-Type: application/json; charset=' . get_option('blog_charset')); echo $echo; exit; } }
<?php $out = ''; $out_pre = ''; $columns = 3; $column_in_row = 1; $span = 12 / $columns; $images = new miss_gallery_attachments($limit = 999, $order = 'ASC', $post_id = get_the_ID()); $initial_width = 0; $region_width = 650; $minimal_height = 715; $itmes = array(); $out_item = ''; $template = '<div class="gallery-single-item" style="overflow: hidden; height: {{ div.height }}px; float: left;max-width: ' . $region_width . 'px"><a rel="prettyPhoto[group1]" href="{{ link.href }}" class="{{ link.class }} has_preview" title="{{ link.title }}"><img src="{{ img.src }}" alt="{{ img.alt }}" class="fit width" /><div class="preview_info_wrap"></div></a></div>'; if (count($images->get_media()) > 0) { foreach ($images->get_media() as $image) { $thumb = miss_wp_image($image->guid, $region_width, '715'); $image_path = explode($_SERVER['SERVER_NAME'], $thumb); if (!empty($image_path[1])) { $image_path = $_SERVER['DOCUMENT_ROOT'] . $image_path[1]; $image_size = @getimagesize($image_path); } else { @getimagesize($thumb); } //$image_size = getimagesize( $thumb ); if ($image_size[1] < $minimal_height && $image_size[1] > 1) { $minimal_height = $image_size[1]; } $items[] = array('src' => $thumb, 'alt' => $image->post_name, 'href' => $image->guid, 'size' => $image_size); $column_in_row++; } foreach ($items as $item) {
$query = new WP_Query(); $query->query($args); $column_count = 0; while ($query->have_posts()) { $query->the_post(); //$postslist = get_posts( $args ); $column_count++; $column_class = 'span3'; $column_class .= $column_count == 4 || $column_count == 3 && $articles['layout'] == 'left_sidebar' ? ' last' : ''; $sid = get_the_id(); $link = get_permalink($sid); echo '<div class="' . $column_class . '">'; echo '<div class="entry has_preview">'; if (has_post_thumbnail()) { $thumb = wp_get_attachment_image_src(get_post_thumbnail_id(get_the_ID()), 'medium'); $thumb = miss_wp_image($thumb[0], 518, 338); echo '<div class="post-thumbnail"><a href="' . get_permalink() . '" title="' . get_the_title() . '" class="pic"><img src="' . $thumb . '" class="image-resize w" alt="' . get_the_title() . '" title="' . get_the_title() . '" /></a></div>'; } echo '<h4><a href="' . get_permalink() . '">' . get_the_title() . '</a></h4>'; echo '<div class="date">' . get_the_time('l, M j Y') . '</div>'; echo '<p>' . miss_excerpt(get_the_excerpt(), apply_filters('miss_home_articles_excerpt', $articles['excerpt']['content']), apply_filters('miss_home_articles_excerpt', THEME_ELLIPSIS)) . '</p>'; if ($articles["readmore"]["enable"] == true) { $readmore_caption = $articles['readmore']['label'] ? $articles['readmore']['label'] : __('Read More', MISS_TEXTDOMAIN); echo '<p class="read_more_block"><a class="post_more_link" href="' . esc_url($link) . '">' . $readmore_caption . '</a></p>'; //echo miss_read_more( $title = $articles['readmore']['label'], $link = get_permalink() ); } echo '</div>'; echo '</div>'; } if ($articles['layout'] == 'right_sidebar') { echo '<div class="span3 last">';
/** * */ function miss_category_slider() { global $post, $wpdb; $slider_settings = array(); $counter = 0; $slider_showcats = 0; $slider_count = 4; $slider_cats = miss_get_setting('slider_cats'); $slider_cat_count = miss_get_setting('slider_cat_count'); $_len_title = miss_get_setting('flex_info_title_len'); $_len_descr = miss_get_setting('flex_info_descr_len'); if (strlen($_len_descr) == 0) { $_len_descr = 120; } if (strlen($_len_title) == 0) { $_len_title = 120; } if ($slider_cats) { $slider_showcats = join(',', $slider_cats); } $slider_keys = array(); $slider_count = is_numeric($slider_cat_count) ? $slider_cat_count : 5; $cat_slider_query = new WP_Query("cat={$slider_showcats}&showposts={$slider_count}"); if ($cat_slider_query->have_posts()) { while ($cat_slider_query->have_posts()) { $cat_slider_query->the_post(); $_homepage_image = get_post_meta($post->ID, '_homepage_image', true); $_homepage_slider_stage = get_post_meta($post->ID, '_homepage_slider_stage', true); $_homepage_disable_excerpt = get_post_meta($post->ID, '_homepage_disable_excerpt', true); $_homepage_link = get_permalink($post->ID); if (!$_homepage_image) { $thumb = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'single-post-thumbnail'); $_homepage_image = $thumb[0]; } //echo $_homepage_image. '<br/>' ; $_homepage_image = miss_wp_image($_homepage_image, 720, 480); if ($_homepage_image || $_homepage_slider_stage == 'raw_html') { $slider_settings[$counter]['slider_url'] = esc_url($_homepage_image); $slider_settings[$counter]['alt_attr'] = esc_attr(get_the_title()); $slider_settings[$counter]['stage_effect'] = !empty($_homepage_slider_stage) ? $_homepage_slider_stage : 'staged_slide'; $slider_settings[$counter]['link_url'] = esc_url(get_permalink()); $slider_keys = array_merge($slider_keys, array((int) $counter)); if (!$_homepage_disable_excerpt && $_homepage_slider_stage != 'raw_html') { $slider_settings[$counter]['description'] = miss_excerpt(get_the_excerpt(), apply_filters('miss_cat_slider_excerpt_length', $_len_descr), apply_filters('miss_cat_slider_excerpt_ellipsis', ' ... ')); $slider_settings[$counter]['title'] = miss_excerpt(get_the_title() . " ", apply_filters('miss_cat_slider_excerpt_length', $_len_title), ''); $slider_settings[$counter]['read_more'] = false; } else { $slider_settings[$counter]['read_more'] = true; } if ($_homepage_slider_stage == 'raw_html') { $slider_settings[$counter]['description'] = get_the_excerpt(); } $counter++; } } } $slider_keys = array_merge($slider_keys, array('#')); $slider_settings['slider_keys'] = join(',', $slider_keys); wp_reset_query(); return $slider_settings; }
/** * */ public static function testimonials($atts = null, $content = null) { if ($atts == 'generator') { $option = array('name' => __('Testimonials', MISS_ADMIN_TEXTDOMAIN), 'value' => 'testimonials', 'options' => array(array('name' => __('Limit', MISS_ADMIN_TEXTDOMAIN), 'desc' => __('Number of testimonials.', MISS_ADMIN_TEXTDOMAIN), 'id' => 'limit', 'default' => '1', 'type' => 'text', 'shortcode_dont_multiply' => true), array('name' => __('Autoplay', MISS_ADMIN_TEXTDOMAIN), 'desc' => __('Enable autoplay.', MISS_ADMIN_TEXTDOMAIN), 'id' => 'autoplay', 'type' => 'checkbox', 'options' => array('true' => __('Check this option to enable testimonials autoplay.', MISS_ADMIN_TEXTDOMAIN)), 'shortcode_dont_multiply' => true), array('name' => __('Animation', MISS_ADMIN_TEXTDOMAIN), 'desc' => __('Turn on CSS3 transitions. You may specify animation effect.', MISS_ADMIN_TEXTDOMAIN), 'id' => 'animation', 'default' => '', 'type' => 'select', 'target' => 'css_animation', 'shortcode_dont_multiply' => true, 'shortcode_optional_wrap' => false), array('name' => __('Delay', MISS_ADMIN_TEXTDOMAIN), 'desc' => __('Select timeout.', MISS_ADMIN_TEXTDOMAIN), 'id' => 'delay', 'type' => 'select', 'options' => array('1000' => 1 . ' ' . __('sec', MISS_ADMIN_TEXTDOMAIN), '2000' => 2 . ' ' . __('sec', MISS_ADMIN_TEXTDOMAIN), '3000' => 3 . ' ' . __('sec', MISS_ADMIN_TEXTDOMAIN), '4000' => 4 . ' ' . __('sec', MISS_ADMIN_TEXTDOMAIN), '5000' => 5 . ' ' . __('sec', MISS_ADMIN_TEXTDOMAIN), '10000' => 10 . ' ' . __('sec', MISS_ADMIN_TEXTDOMAIN), '15000' => 15 . ' ' . __('sec', MISS_ADMIN_TEXTDOMAIN), '20000' => 20 . ' ' . __('sec', MISS_ADMIN_TEXTDOMAIN)), 'shortcode_dont_multiply' => true), 'shortcode_has_atts' => true)); return $option; } global $wp_query, $irish_framework_params; extract(shortcode_atts(array('delay' => '0', 'autoplay' => false, 'limit' => '1', 'animation' => ''), $atts)); $testimony_id = 'gmap_id_' . self::_testimony_id(); if (!empty($animation)) { $animation = ' im-transform im-animate-element ' . $animation; } $tquery = new WP_Query(); $tquery = $tquery->query(array('post_type' => 'testimonials', 'showposts' => $limit)); $out = ''; foreach ($tquery as $testimony) { $out .= '<div class="row-fluid">'; $out .= '<div class="span3' . $animation . '" style="position:relative">'; if (get_post_thumbnail_id($testimony->ID)) { $thumb = wp_get_attachment_image_src(get_post_thumbnail_id($testimony->ID), 'large'); $thumb = miss_wp_image($thumb[0], 400, 400); $out .= '<div class="testimony_avatar"><img src="' . THEME_ASSETS . '/images/overlays/1x1.gif" alt="" class="empty 1x1" /><img src="' . $thumb . '" class="realImage" /></div>'; } $out .= '</div>'; $out .= '<div class="span9 testimony-inner' . $animation . '">'; if ($testimony->post_title != '') { $out .= '<h3>'; $out .= $testimony->post_title; $out .= '</h3>'; } $out .= '' . do_shortcode('[blockquote]' . $testimony->post_content . '[/blockquote]') . ''; $out .= '</div>'; $out .= '</div>'; } // Load google maps api //$out = '<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>'; // $out .= '<script type = "text/javascript">'; // $out .= 'jQuery(document).ready(function(){'; // // Setup options // $out .= 'var options'.$map_id.' = {'; // $out .= 'zoom: '.$zoom.','; // $out .= 'scrollwheel: false,'; // $out .= 'panControl: false,'; // $out .= 'mapTypeControl: false,'; // $out .= 'zoomControl: true,'; // $out .= 'zoomControlOptions: {style: google.maps.ZoomControlStyle.SMALL, position: google.maps.ControlPosition.RIGHT_CENTER},'; // $out .= 'scaleControl: true,'; // $out .= 'mapTypeId: google.maps.MapTypeId.'.$type; // $out .= '};'; // Initialize map // $out .= 'var testimonials'.$map_id.' = new google.maps.Map(document.getElementById("'.$map_id.'"), options'.$map_id.');'; if (!preg_match_all('/(.?)\\[(marker)\\b(.*?)(?:(\\/))?\\](?:(.+?)\\[\\/marker\\])?(.?)/s', $content, $matches)) { // No markers, do nothing } else { for ($i = 0; $i < count($matches[0]); $i++) { $elements = explode('"', $matches[0][$i]); $address = $elements[1]; $placemark = explode('"', $matches[1][$i]); $placemark = isset($elements[3]) ? $elements[3] : ''; $search_string = $matches[0][$i]; $url_search = str_replace('[/marker]', '', $search_string); $info_content = substr($url_search, strpos($url_search, ']') + 1, strlen($url_search)); $info_content = trim($info_content); if (!empty($placemark)) { $placemark_sizes = @getimagesize($placemark); } // Setup a new Geocode for the current marker address // $out .= 'var address'.$i.' = "";'; // $out .= 'var g'.$i.' = new google.maps.Geocoder();'; // $out .= 'g'.$i.'.geocode({ "address" : "'.$address.'" }, function (results, status) {'; // $out .= 'if (status == google.maps.GeocoderStatus.OK) {'; // $out .= 'address'.$i.' = results[0].geometry.location;'; // $out .= 'map'.$map_id.'.setCenter(results[0].geometry.location);'; // $out .= 'var marker'.$i.' = new google.maps.Marker({'; // $out .= 'position: address'.$i.','; // if ( !empty( $placemark ) ) { // $out .= 'icon: {'; // $out .= 'url: "' . $placemark . '",'; // $out .= 'size: new google.maps.Size(' . $placemark_sizes[0] . ', ' . $placemark_sizes[1] . '),'; // $out .= 'origin: new google.maps.Point(0,0),'; // $out .= 'anchor: new google.maps.Point(0, ' . $placemark_sizes[1] . ')'; // $out .= '},'; // $out .= 'shadow: {'; // $out .= 'size: new google.maps.Size(' . $placemark_sizes[0] . ', ' . $placemark_sizes[1] . '),'; // $out .= 'origin: new google.maps.Point(0,0),'; // $out .= 'anchor: new google.maps.Point(0, ' . $placemark_sizes[1] . ')'; // $out .= '},'; // } // $out .= 'map: map'.$map_id.','; // $out .= 'clickable: true,'; // $out .= '});'; // // Setup info window for marker // $out .= 'var infowindow'.$i.' = new google.maps.InfoWindow({ content: "'.$info_content.'" });'; // $out .= 'google.maps.event.addListener(marker'.$i.', "click", function() {'; // $out .= 'infowindow'.$i.'.open(map'.$map_id.', marker'.$i.');'; // $out .= '});'; // $out .= '}'; // $out .= '});'; } } // $out .= '});'; // $out .= '</script>'; // Output our map container $out .= '<div id="' . $testimony_id . '" class="testimonials"></div>'; return '<!--start_raw-->' . $out . '<!--end_raw-->'; }
</div> </div> <?php $images = new miss_gallery_attachments($limit = 999, $order = 'ASC', $post_id = get_the_ID()); if (count($images->get_media()) > 1) { echo '<div class="image-row second media-images ' . get_post_type() . '">'; foreach ($images->get_media() as $image) { $double_resolution = miss_get_setting('hires') == 'enabled' ? true : false; if ($double_resolution == true) { $width = 340; $height = 244; } else { $width = 209; $height = 209; } $thumb = miss_wp_image($image->guid, $width, $height); echo '<div class="preview-container preview-small base-preview"> <div class="preview-image"> <img src="' . $thumb . '"> </div> <div class="preview-info-wrapper"> <div class="controls"> <a rel="prettyPhoto[' . get_post_type() . '_' . get_the_ID() . ']" href="' . $image->guid . '" class="control zoom"><i class="marker im-icon-zoom-in"></i></a> </div> </div> </div>'; /*echo '<div class="single_post_image has_preview small-single-image"><a href="' . $image->guid . '"><img src="' . $thumb . '" /></a> <div class="preview_info_wrap"><a rel="prettyPhoto" href="' . $image->guid . '" title="" class="one_column_blog"></a><a class="controls img single" href="' . $image->guid . '" rel="prettyPhoto[portfolio]"><i class="im-icon-zoom-in"></i></a> <!-- /.controls --></div> </div>';*/ } echo '</div>';
/** * Create recent posts dropdown mini blog * method: recent_posts_dropdown * * @since 1.8 */ function recent_posts_dropdown(&$output, $args) { global $wpdb, $shortname, $irish_framework_params; // Menu type $menu_type = get_post_meta($args['menu_main_parent'], '_menu_item_type', true); $showposts = get_post_meta($args['menu_main_parent'], '_miss_submenu_columns', true) * 2; // WP Query template $menu_query = array('showposts' => $showposts, 'nopaging' => 0, 'post_status' => 'publish', 'ignore_sticky_posts' => 1); // Check if category selected if (isset($menu_type)) { $category_id = get_post_meta($args['menu_main_parent'], '_menu_item_object_id', true); $category_term = get_post_meta($args['menu_main_parent'], '_menu_item_object', true); if (isset($category_term) && !empty($category_term) && (isset($category_id) && !empty($category_id) && $menu_type == "taxonomy")) { // $menu_query[$category_term] = $category_id; $menu_query['tax_query'] = array(array('taxonomy' => $category_term, 'field' => 'id', 'terms' => array($category_id))); } } $columns = get_post_meta($args['menu_main_parent'], '_miss_submenu_columns', true); $enable_full_width = get_post_meta($args['menu_main_parent'], '_miss_submenu_enable_full_width', true); $dropdown_width = get_post_meta($args['menu_main_parent'], '_miss_submenu_enable_full_width', true) == true ? 1170 - 30 : 479 - 30; // 30 - padding 30px $item_width_height = floor($dropdown_width / $columns); $details_height = floor($dropdown_width / 3); // Get menu items $recent_query = get_posts($menu_query); if (count($recent_query)) { foreach ($recent_query as $key => $post_object) { $output .= '<li class="post_preview li-menu-type-' . $menu_type . '">'; $output .= '<a rel="bookmark" href="' . esc_url(get_permalink($post_object->ID)) . '" title="' . esc_attr($post_object->post_title) . '">'; if (wp_get_attachment_image_src(get_post_thumbnail_id($post_object->ID), 'full')) { $width = $irish_framework_params->layout['images']['menu_static_span6'][0]; $height = $irish_framework_params->layout['images']['menu_static_span6'][1]; $thumb = wp_get_attachment_image_src(get_post_thumbnail_id($post_object->ID), 'full'); $output .= miss_get_post_image($args = array('pid' => $post_object->ID, 'img_class' => 'hover_fade_js image-resize w', 'width' => $item_width_height, 'height' => $item_width_height, 'echo' => false, 'preview_info_wrap' => false)); } else { $output .= get_post_meta($post_object->ID, '_icon', true) ? '<i class="' . get_post_meta($post_object->ID, '_icon', true) . '"></i> ' : '<i class="im-icon-quill-2"></i>'; } $output .= '</a>'; $output .= '<div class="after_menu_details">'; if (get_post_thumbnail_id($post_object->ID) != false) { $width = $irish_framework_params->layout['images']['menu_static_span12'][0]; $height = $irish_framework_params->layout['images']['menu_static_span12'][1]; $thumb = wp_get_attachment_image_src(get_post_thumbnail_id($post_object->ID), 'full'); if (miss_wp_image($thumb[0], $width, $height)) { $output .= miss_get_post_image($args = array('pid' => $post_object->ID, 'img_class' => 'hover_fade_js image-resize w', 'width' => $dropdown_width, 'height' => $details_height, 'echo' => false, 'preview_info_wrap' => false)); } } $output .= '<div class="post_icon pull-left"><i class="' . get_post_meta($post_object->ID, '_icon', true) . '"></i></div>'; $output .= '<div class="post_title">'; $output .= '<a rel="bookmark" href="' . esc_url(get_permalink($post_object->ID)) . '" title="' . esc_attr($post_object->post_title) . '">' . $post_object->post_title . '</a>'; $output .= '</div>'; $output .= '<div class="post_excerpt">'; $output .= miss_excerpt($post_object->post_content, apply_filters('miss_home_spotlight_excerpt', 60), apply_filters('miss_excerpt', THEME_ELLIPSIS)); $output .= '</div>'; $output .= '</div><!-- .after_menu_details -->'; $output .= '</li><!-- .post_preview -->'; } // end od foreach } $output .= '<li class="clearboth"></li><!-- .clearboth -->'; }