</div> <div class="row product level-3"> <?php $all_products = ec_product::find_by_category_id($category_detials->category_id, $_GET); if (!empty($all_products)) { include_once 'produt_section_template.php'; } ?> </div> <div class="row featurette product level-4"> <h2 class="featurette-heading bgc">Featured <span class="text-muted"> Products.</span></h2> <div id="product-summary-cs" class="product-summary"> <?php $result = ec_product::find_featured_products_id($category_detials->category_id); $subject_no_of_char = '60'; $page_string = ''; $con_count = 0; if (!empty($result) && count($result) > 0) { $page_string .= '<ul class="summary_list inline">'; $page_string .= "<li class='non-content move-left'><span class='glyphicon glyphicon-chevron-left clickable' aria-hidden='true'></span>"; foreach ($result as $records) { $con_count++; $page_string .= "<li class=\"summary count_{$con_count}\">"; $page_string .= '<a href="' . HOME_URL . 'product.php?ec_product_id=' . $records->ec_product_id . '">'; $page_string .= $f->show_existing_image($records->image_file_id, 'sm-image'); $page_string .= substr($records->item_description, 0, $subject_no_of_char); $page_string .= '</a></li>'; } $page_string .= "<li class='non-content move-right'><span class='glyphicon glyphicon-chevron-right clickable' aria-hidden='true'></span>";