<link href="http://fonts.googleapis.com/css?family=Oleo+Script" rel="stylesheet" type="text/css">
 <?php 
            if(!empty($details)){
            foreach($details as $row){}
            if($row['transStatus']=='PAID'){
            ?>
<div id="printArea">
<div style="background: no-repeat  url('<?php echo base_url("images/cert.jpg");?>') center; height:675px !important;">
    <div style="font-weight: bold; font: 22px arial, sans-serif; position: relative; top:275px; text-align: center;"><?php echo strtoupper($row['confName']); ?></div>
</div>


</div>
<!--<button onclick="printDiv('printArea');" class="btn btn-primary">Print Badge</button>-->
            <?php }else{ echo "Invalid Application No"; }}else{ echo "No Records Found";} ?>

<script>
//window.print();
</script>

