<?php

/**
 * Provide a public-facing view for the plugin
 *
 * This file is used to markup the public-facing aspects of the plugin.
 *
 * @link       https://cnpagency.com/people/glenn
 * @since      1.0.0
 *
 * @package    Dvc_Listing_Views
 * @subpackage Dvc_Listing_Views/public/partials
 */

//global $views;
?>
<div class="listingviews">
    <div class="listingviews__inner">
        <div class="listingviews__image"><img src="<?php echo plugin_dir_url( dirname( __FILE__ ) ); ?>img/fire.svg"
                                              alt="Hot Listing!" class="listingviews__icon"></div>
        <div class="listingviews__content">
            <div class="listingviews__title">Don't miss out on this listing!</div>
            <div class="listingviews__text">It's been viewed more than <?php echo number_format( floatval( $views ) ); ?> times in the last week.
            </div>
        </div>
    </div>
</div>
