<?php
/*
 * This file belongs to the YIT Framework.
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl-3.0.txt
 */

/**
 * @var YITH_Commissions_list_Table $commissions_table
 */
?>

<div class="wrap">

    <h2><?php _e( 'Product reviews', 'yith-woocommerce-advanced-reviews' ) ?></h2>

    <?php $product_reviews->views(); ?>

    <form id="ywar-reviews" method="get">
        <input type="hidden" name="page" value="<?php echo $_REQUEST['page'] ?>" />
        <?php $product_reviews->search_box( __( 'Search reviews', 'yith-woocommerce-advanced-reviews' ), 'yith-woocommerce-advanced-reviews' ); ?>
        <?php $product_reviews->display(); ?>
    </form>
</div>