echo $test['test_name'];
?>
                        </h3>
                        <p><span class="col1">Course: </span><span class="col2"><?php 
if (isset($ut->course)) {
    echo $ut->course->course_name;
}
?>
</span></p>
                        <p><span class="col1">Total point: </span><span class="col2"><?php 
echo $test['total_point'];
?>
 points</span></p>
                        <p><span class="col1">Status: </span><span class="col2">
                        <?php 
if (count($listtrainee) != $total && WUserTest::checkStatusAllTest($test['id'], $ut['course_id'])) {
    echo '<span style="color:red;">Not Finished<span>';
} else {
    echo '<span style="color:green;">Finished</span>';
}
?>
                    </span></p>
                        <p><span class="col1">Finished date: </span><span class="col2"><?php 
echo date('d-m-Y', strtotime($ut['finish_date']));
?>
</span></p>
                    </div>
                </div>
                <div class="grid_test">
                    <table width="100%">
                        <thead>