PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins
/
sf-shortcodes
/
templates
<?php /***************************************************************************** * * copyright(c) - aonetheme.com - Service Finder Team * More Info: http://aonetheme.com/ * Coder: Service Finder Team * Email: contact@aonetheme.com * ******************************************************************************/ ?> <!-- Testimonials Outer Template--> <?php $service_finder_options = get_option('service_finder_options'); $wpdb = service_finder_shortcode_global_vars('wpdb'); $imgurl = (!empty($service_finder_options['city-bg-image']['url'])) ? $service_finder_options['city-bg-image']['url'] : ''; $bgattachment = (isset($service_finder_options['city-background-attachment'])) ? esc_html($service_finder_options['city-background-attachment']) : ''; $bgcolor = (!empty($service_finder_options['city-bg-color'])) ? $service_finder_options['city-bg-color'] : ''; $bgopacity = (!empty($service_finder_options['city-bg-opacity'])) ? $service_finder_options['city-bg-opacity'] : ''; $bgopacity = ($bgopacity > 0) ? $bgopacity : ''; $curveleftcolor = (!empty($service_finder_options['city-left-curve-color'])) ? $service_finder_options['city-left-curve-color'] : ''; $curverightcolor = (!empty($service_finder_options['city-right-curve-color'])) ? $service_finder_options['city-right-curve-color'] : ''; $limit = $a['limit']; $country = $a['country']; if($country != '') { $args = array( 'hide_empty' => false, 'number' => $limit, 'meta_query' => array( array( 'key' => 'country', 'value' => $country, 'compare' => 'LIKE' ) ), 'taxonomy' => 'sf-cities', ); }else { $args = array( 'hide_empty' => false, 'number' => $limit, 'taxonomy' => 'sf-cities', ); } $cities = get_terms( $args ); ob_start(); ?> <section class="section-full sf-populerCities-wrap" style="background:url(<?php echo esc_url($imgurl) ?>) center <?php echo esc_attr($bgattachment) ?> no-repeat;"> <div class="container"> <div class="section-head text-center"> <h2 style="color:<?php echo esc_attr($a['title-color']); ?>"><?php echo esc_html($a['title']); ?></h2> <?php echo service_finder_title_separator($a['divider-color']) ?> <p style="color:<?php echo esc_attr($a['tagline-color']); ?>"><?php echo esc_html($a['tagline']) ?></p> </div> <div class="section-content"> <ul class="sf-popcity-list"> <?php if(!empty($cities)) { foreach($cities as $city) { ?> <li class="sf-popcity-wrap-two-box"> <div class="sf-popcity-wrap-two"> <span class="sf-popcity-title"><a href="<?php echo get_term_link($city)?>"><?php echo esc_html($city->name); ?></a></span> </div> </li> <?php } } ?> </ul> <?php if($cities > 8) { ?> <div id="loadmorecities" class="sf-showmore-cities"> <a href="javascript:;" class="site-button-link"><?php esc_html_e('Show More','service-finder'); ?> <i class="fa fa-plus"></i></a> </div> <?php } ?> </div> </div> <?php if(service_finder_themestyle_for_plugin() == 'style-3'){ ?> <div class="sf-curve-topWrap"><div class="sf-curveTop sf-PopulerCities-curveTop" style="background-color:<?php echo esc_attr($curveleftcolor); ?>"></div></div> <div class="sf-curve-botWrap"><div class="sf-curveBot sf-PopulerCities-curveBot" style="background-color:<?php echo esc_attr($curverightcolor); ?>"></div></div> <?php } ?> <div class="sf-overlay-main" style="opacity:<?php echo esc_attr($bgopacity); ?>; background-color:<?php echo esc_attr($bgcolor); ?> "> </section> <?php $html = ob_get_clean();
[+]
..
[-] pricing-table.php
[edit]
[-] aone-why-choose-us.php
[edit]
[-] categories.php
[edit]
[-] bio.php
[edit]
[-] followers.php
[edit]
[-] why-choose-us.php
[edit]
[-] aone-jobs-outer.php
[edit]
[-] cities.php
[edit]
[-] load-more-categories.php
[edit]
[-] aone-pricing-table.php
[edit]
[-] jobs-outer.php
[edit]
[-] aone-testimonials.php
[edit]
[-] features-outer.php
[edit]
[-] aone-cities.php
[edit]
[-] aone-categories.php
[edit]
[-] allcategories-v2.php
[edit]
[-] pricing-table-features.php
[edit]
[-] latest-blogs.php
[edit]
[-] aone-statistics.php
[edit]
[-] pricing-table-column.php
[edit]
[-] work-process.php
[edit]
[-] statistics.php
[edit]
[-] statistics-inner.php
[edit]
[-] why-choose-us-inner.php
[edit]
[-] features-inner.php
[edit]
[-] aone-how-it-works.php
[edit]
[-] aone-categories-v2.php
[edit]
[-] featured-providers.php
[edit]
[-] load-more-providers.php
[edit]
[-] categories-v2.php
[edit]
[-] testimonials-inner.php
[edit]
[-] allcategories-v1.php
[edit]
[-] aone-followers.php
[edit]
[-] sf-template-shortcodes.php
[edit]
[-] general-functions.php
[edit]
[-] aone-featured-providers.php
[edit]
[-] providers.php
[edit]
[-] how-it-works.php
[edit]
[-] aone-latest-blogs.php
[edit]
[-] request-quote.php
[edit]
[-] testimonials-outer.php
[edit]