version . '19' ); wp_register_style( 'font-awesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css', array(), $this->version ); wp_enqueue_style( 'listings-grid-view-css' ); wp_enqueue_style( 'font-awesome' ); $html .= ''; if ( $showcase_settings['display_searchbar'] === 'yes' ) { require_once ARETK_CREA_PLUGIN_PATH . 'public/templates/listings-search/template.php'; } $html .= '
'; $html .= '
'; $html .= '
'; if ( ! empty( $allListingFinalArr ) && isset( $allListingFinalArr ) && $total_listing_records > 0 ) { $html .= '' . $total_listing_records . ' Results | Page ' . $showcase_settings['current_page_number'] . ' of ' . $showcase_settings['max_numbers_pagination'] . ''; $html .= '
    '; $current_date_timestamp = strtotime( "now" ); foreach ( $allListingFinalArr as $singleListing ) { include ARETK_CREA_PLUGIN_PATH . 'public/templates/listings/transmux-listing-data.php'; $html .= '
  • '; $html .= '
    '; $html .= '
    '; $html .= '' . strip_tags( str_replace( '-', ' ', $property_address ) ) . ''; if ( ! empty( $listing_openhose_datetime ) && ! is_null( $listing_openhose_datetime ) ) { if ( $current_date_timestamp < $openhouse_timestamp_end ) { $html .= '
    Open House, ' . $listing_openhose_datetime . '
    '; } } $html .= '
    '; $html .= '
    '; $html .= ''; $html .= '

    ' . strip_tags( $property_address ) . '

    '; $html .= '
    '; $html .= '

    '; if ( isset( $mls_id ) && ! empty( $mls_id ) && $mls_id !== 'Exclusive' && empty( $is_exclusive_list ) ) { $html .= 'MLS®#: ' . trim( $mls_id ); } else { $html .= 'EXCLUSIVE'; } $html .= '

    '; $html .= '
    '; if ( ! empty( $ListingBedRooms ) && $ListingBedRooms > 0 ) { $html .= '' . $ListingBedRooms . ' Beds'; } if ( ! empty( $ListingBathrooms ) && $ListingBathrooms > 0 ) { $html .= '' . $ListingBathrooms . ' Baths'; } $html .= '
    '; $html .= '
    '; $html .= ''; $html .= '
    '; $html .= '
  • '; } $html .= '
'; } else { $html .= '

Sorry no properties found

'; } $html .= '
'; 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 .= '
'; $html .= '
';