<?php

/**
 *  Dokan Dahsbaord Template
 *
 *  Dokan Dahsboard Review Widget Template
 *
 *  @since 2.4
 *
 *  @package dokan
 */
?>
<div class="col-lg-6 col-md-12">
    <div class="dashboard-widget reviews">
        <div class="widget-title"><i class="fa fa-comments"></i> <?php _e('Reviews', 'dokan'); ?></div>

        <ul class="list-unstyled list-count">
            <li>
                <a href="<?php echo $reviews_url; ?>">
                    <span class="title"><?php _e('All', 'dokan'); ?></span> <span class="count"><?php echo $comment_counts->total; ?></span>
                </a>
            </li>
            <li>
                <a href="<?php echo add_query_arg(array('comment_status' => 'hold'), $reviews_url); ?>">
                    <span class="title"><?php _e('Pending', 'dokan'); ?></span> <span class="count"><?php echo $comment_counts->moderated; ?></span>
                </a>
            </li>
            <li>
                <a href="<?php echo add_query_arg(array('comment_status' => 'spam'), $reviews_url); ?>">
                    <span class="title"><?php _e('Spam', 'dokan'); ?></span> <span class="count"><?php echo $comment_counts->spam; ?></span>
                </a>
            </li>
            <li>
                <a href="<?php echo add_query_arg(array('comment_status' => 'trash'), $reviews_url); ?>">
                    <span class="title"><?php _e('Trash', 'dokan'); ?></span> <span class="count"><?php echo $comment_counts->trash; ?></span>
                </a>
            </li>
        </ul>
    </div> <!-- .reviews -->
</div>