</div>
                <div class="large-6 columns">
                    <?php 
echo "<h4>" . __('Team list', 'oscimp_trdom') . "</h4>";
?>

                    <table id="team_table" class="large-12 small-12 medium-12" >
                        <thead>
                            <tr>
                                <th>No</th>
                                <th>Team</th>
                                <th>Action</th>
                            </tr>
                        </thead>
                        <?php 
$t = getTeamsDT();
foreach ($t as $row) {
    ?>
                            <tr id="<?php 
    echo $row->id;
    ?>
team">
                                <td><?php 
    echo $row->id;
    ?>
</td>
                                <td><?php 
    echo $row->team;
    ?>
</td>                            
                                <td>
function createSelect($table, $column, $selected = null)
{
    $html = "<select id='{$table}' name='{$column}'>";
    $data = null;
    if ($table == "Team") {
        $data = getTeamsDT();
    } else {
        if ($table == "Tournament") {
            $data = getTournament();
        }
    }
    $html .= "<option value=''>Select {$table}</option>";
    foreach ($data as $row) {
        if ($table == "Team") {
            if ($row->id === $selected) {
                $html .= "<option id='{$row->id}' value='{$row->id}' selected>{$row->team}</option>";
            } else {
                $html .= "<option id='{$row->id}' value='{$row->id}'>{$row->team}</option>";
            }
        } else {
            if ($table == "Tournament") {
                if ($row->id === $selected) {
                    $html .= "<option id='{$row->id}' value='{$row->id}' selected>{$row->tournament}-{$row->season}</option>";
                } else {
                    $html .= "<option id='{$row->id}' value='{$row->id}'>{$row->tournament}-{$row->season}</option>";
                }
            }
        }
    }
    $html .= "</select>";
    return $html;
}