Esempio n. 1
0
    <div class="chart-block">
        <div class="chart-title">
            <?php 
echo __('Overall property views for last two weeks', 'realia');
?>
        </div><!-- /.chart-title -->

        <div id="chart-statistics-daily">
            <svg></svg>
        </div>
    </div><!-- /.chart-block -->

    <div class="row">
        <div class="one-half">
            <?php 
$properties = Realia_Statistics::property_views_get_popular_properties();
?>

            <?php 
if (!empty($properties) && is_array($properties)) {
    ?>
                <table class="table">
                    <thead>
                    <th colspan="2" class="center">
                        <?php 
    echo __('10 most popular properties', 'realia');
    ?>
                    </th>
                    </thead>

                    <tbody>