<?php
/**
 * WP-JoomSport
 * @author      BearDev
 * @package     JoomSport
 */
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

?>
<?php
$html = '<div class="table-responsive">';
$html .= '<form role="form" method="post" lpformnum="1">';
        if (count($rows->lists['teamsObj'])) {
            $html .= '<div class="jstable">';

            for ($intA = 0; $intA < count($rows->lists['teamsObj']); ++$intA) {
                $team = $rows->lists['teamsObj'][$intA];

                $html .= '<div class="jstable-row">
                        <div class="jstable-cell">
                            <div class="jsDivLineEmbl">'
                                .wp_kses_post($team->getEmblem(true, 0, ''))
                                .wp_kses_post(jsHelper::nameHTML($team->getName(true)))

                            .'</div>
                            
                        </div>
                        
                    </div>';
            }

            $html .= '</div>';
        }
        //echo $html;

if (isset($lists['pagination']) && $lists['pagination']) {
    require_once JOOMSPORT_PATH_VIEWS.'elements'.DIRECTORY_SEPARATOR.'pagination.php';
    $html .= paginationView($lists['pagination']);
}
$html .= '</form>';
$html .= '</div>';
echo $html;
?>
