/** * This is a system function for processing SEF * @author Howard R <*****@*****.**> * @static * @param array $instance * @return mixed */ public static function process($instance) { /** get global settings **/ $settings = wpl_global::get_settings(); $wpl_qs = wpl_global::get_wp_qvar('wpl_qs'); $ex = explode($settings['sef_main_separator'], $wpl_qs); /** get view **/ $view = self::get_view($wpl_qs, $settings['sef_main_separator']); if (!trim($view)) { $view = 'property_listing'; } /** load view **/ return wpl_global::load($view, '', $instance); }
<?php /** no direct access **/ defined('_WPLEXEC') or die('Restricted access'); $this->_wpl_import($this->tpl_path . '.scripts.js', true, true); ?> <div class="wpl_profile_show_container" id="wpl_profile_show_container"> <div class="wpl_profile_show_container_box"> <?php /** load position1 **/ wpl_activity::load_position('profile_show_position1', array('user_id' => $this->uid)); ?> </div> <?php if (is_active_sidebar('wpl-profileshow-top')) { dynamic_sidebar('wpl-profileshow-top'); } ?> </div> <?php /** loading property listing **/ echo wpl_global::load('property_listing');