<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
    
    <div class="panel panel-default">
        <div class="panel panel-heading"><strong><h4>Conference Registration<?php echo $counter; ?></h4></strong></div>
        <div class="panel panel-body">
            <?php
			
            if(!empty($transaction)){
                ?>
            <table class="table table-striped">
                <tr><th>S/No</th><th>Name</th><th>Category</th><th>Email</th><th>Phone</th><th>Date Reg</th><th>Amount Paid</th></tr>
                <?php
                $sno=0;
                $total=0;
                foreach($transaction as $row){ $sno++;
                $total+=$row->transAmount;
                ?>
                <tr><td><?php echo $sno; ?></td><td><?php echo $row->confName; ?></td><td><?php echo $row->confcatName; ?></td>
				<td><?php echo $row->confEmail; ?></td><td><?php echo $row->confPhone; ?></td>
				<td><?php echo $row->confRegDate; ?></td><td><?php echo number_format($row->transAmount,2); ?></td></tr>
                <?php } ?>
                <tr><td colspan="5"></td><td><strong>TOTAL</strong></td><td><strong><?php echo number_format($total,2); ?></strong></td></tr>
				<tr><td colspan="7"><?php echo $links; ?></td></tr>
            </table> 
            <?php }else{ echo "<pre><span>No Conference Registration Found</span></pre>"; } ?>
        </div>
        <div class="panel panel-footer"></div>
    </div>
        </div>
    