{foreach $internalart as $data}
<table class="table table-striped table-hover table-bordered">
    <thead>
        <tr>
            <th rowspan="2">
                Type
            </th>
            <th rowspan="2">
                Date
            </th>
            <th rowspan="2">
                Place
            </th>
            <th rowspan="2">
                Protocol
            </th>
            <th rowspan="2">
                No. of Amp
            </th>
            <th colspan="4">
                No. of oocytes
            </th>
            <th colspan="2">
                No. of ET
            </th>
            <th colspan="2">
                Cryo-preserved E.
            </th>
            <th rowspan="2">
                P4
            </th>
            <th rowspan="2">
                Outcome
            </th>
        </tr>
        <tr>
            <th>
                Total
            </th>
            <th>
                MI
            </th>
            <th>
                MII
            </th>
            <th>
                GV
            </th>
            <th>
                Total
            </th>
            <th>
                G1
            </th>
            <th>
                Day
            </th>
            <th>
                W0
            </th>
        </tr>
    </thead>
    <tbody>

        <tr>
            <td>
                {$data->procedure}
            </td>
            <td style="padding: 3px;">
                <div align="center">
                    <a href="{$hosturl}/controllers/monitoring.php?ac=trialdetail&patientid={$patientid}&id={$data->id}">
                        {$data->monitordate}
                    </a>
                </div>

            </td>
            <td>    {$data->place}            </td>
            <td>  {$data->protocol} </td>
            <td>  {$data->amp} </td>
            <td>  {$data->oocytestotal} </td>
            <td>  {$data->oocytesm1} </td>
            <td>  {$data->oocytesm2} </td>

            <td>  {$data->oocytesgv} </td>
            <td>  {$data->ettotal} </td>
            <td>  {$data->etg1} </td>
            <td>  {$data->cyroday} </td>
            <td>  {$data->cyrow} </td>
            <td>  {$data->p4} </td>
            <td>  {$data->outcome} </td>
        </tr>

        <tr>
            <th>Notes</th>
            <td colspan="14"> {$data->notes} </td>
        </tr>
    </tbody>
</table>
{/foreach}