<!doctype html>
<html>
    <head>
        <title>Sampel Doc</title>
        <link rel="stylesheet" href="<?php echo base_url('public/plugins/bootstrap/css/bootstrap.min.css') ?>"/>
        <style>
            .word-table {
                border:1px solid black !important; 
                border-collapse: collapse !important;
                width: 100%;
            }
            .word-table tr th, .word-table tr td{
                border:1px solid black !important; 
                padding: 5px 10px;
            }
        </style>
    </head>
    <body>
        <h2>Sampel List</h2>
        <table class="word-table" style="margin-bottom: 10px">
            <tr>
                <th style="width: 10px;">No</th>
				<th class="text-center">Sampel Text</th>
				<th class="text-center">Sampel Tanggal</th>
				<th class="text-center">Sampel Time</th>
				<th class="text-center">Sampel Enum</th>
				<th class="text-center">Sampel File</th>
				<th class="text-center">Sampel Number</th>		
            </tr>
            <?php
            foreach ($sampel_data as $sampel)
            {
            ?>
            <tr>
		        <td style="width: 10px; text-align: right"><?php echo ++$start ?></td>
				<td><?php echo $sampel->sampel_text ?></td>
				<td class="text-center"><?php echo format_indo($sampel->sampel_tanggal) ?></td>
				<td><?php echo $sampel->sampel_time ?></td>
				<td><?php echo $sampel->sampel_enum ?></td>
				<td><?php echo $sampel->sampel_file ?></td>
				<td><?php echo $sampel->sampel_number ?></td>	
            </tr>
            <?php
            }
            ?>
        </table>
    </body>
</html>