version ); wp_register_style( 'font-awesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css', array(), $this->version ); wp_enqueue_style( 'listings-desc-view-css' ); wp_enqueue_style( 'font-awesome' ); if ( ! empty( $total_listing_records ) && ! empty( $showcse_crea_serializable_maxlistingonpage_results ) ) { $max_numbers_pagination = ( $total_listing_records / $showcse_crea_serializable_maxlistingonpage_results ); } $current_date_timestamp = strtotime( "now" ); $html = ''; if ( $showcase_settings['display_searchbar'] === 'yes' ) { require_once ARETK_CREA_PLUGIN_PATH . 'public/templates/listings-search/template.php'; } $html .= '
'; if ( ! empty( $allListingFinalArr ) && isset( $allListingFinalArr ) && $total_listing_records > 0 ) { $html .= '' . $total_listing_records; if ( $total_listing_records == '1' ) { $html .= ' Result'; } else { $html .= ' Results'; $html .= ' | Page ' . $showcase_settings['current_page_number'] . ' of ' . $showcase_settings['max_numbers_pagination'] . ''; } $html .= ''; } else { $html .= '

Sorry no properties found

'; } if ( $total_listing_records > 0 ) { if ( ! empty( $showcase_settings['max_numbers_pagination'] ) ) { $html .= ''; } } if ( ! empty( $showcase_settings['crea_feed_id'] ) && $showcase_settings['aretk_subscription_status'] === 'valid' ) { $html .= '

MLS®, REALTOR®, and the associated logos are trademarks of The Canadian Real Estate Association.

'; } $html .= '
';