<?php
defined('BASEPATH') OR exit('No direct script access allowed');

$tn_govt_emblm = "data:image/jpeg;base64,[encoded data, 239932 characters]";

$signature = "data:image/jpeg;base64,[encoded data, 18816 characters]";
?>

<html>
    <head>
        
        <style>


        	body {
                margin-top:    3cm;
                margin-bottom: 0.5cm;
                margin-left:   0.5cm;
                margin-right:  0.5cm;
            }
        		#watermark {
                position: fixed;
                text-align: center;

                /** 
                    Set a position in the page for your image
                    This should center it vertically
                **/
                bottom:   10cm;
                left:     5.5cm;

                /** Change image dimensions**/
                width:    8cm;
                height:   8cm;

                /** Your watermark should be behind every content**/
                z-index:  -1000;
                opacity: 0.1
            }
        </style>
    </head>
        <body style="font-family: Times New Romen">
        	<div id="watermark">
            <img src="<?php echo $tn_govt_emblm?>" height="180%" width="180%" />
        </div>
       
<center><img src='<?php echo $tn_govt_emblm?>' width='150' height='150'>
<h1>TAMIL NADU STATE PARENT TEACHER<br>
ASSOCIATION</h1></center>
	
	<p style="font-size: 20px;"> 
	<span> Ack No. : <?php echo $data['trackid']?> </span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	<span >Ref Id. : <?php echo $data['ref_id']?></span> 
    </p>

	<p style="font-size: 20px; text-align: justify;line-height: 40px">&nbsp;&nbsp;Received with thanks,a sum of Rs. <?php echo $data['amount']?> /- (<?php echo $data['numtowords']?>) from Mr/Ms <?php echo $data['name']?> <?php if($data['org_pan']) { ?> (PAN :  <?php echo $data['org_pan']?>) <?php } ?>  as donation towards improvement of Government  Schools in Tamil Nadu through the online portal https://contribute.tnschools.gov.in</p>

	<p style="font-size: 20px; text-align: justify;line-height: 40px">&nbsp;&nbsp;Contribution to Tamil Nadu Parent Teacher Association  -  CSR Fund is eligible for deduction under section 80G of the Income Tax Act, 1961 vide approval no. DIT(E) No.2(901) 09- 10- PAN: AACAT2920R</p>
	<br>
	<p style="font-size: 20px;">Chennai &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Your's faithfully</p>
	<p style="font-size: 20px;"><?php echo $data['txn_date']?> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src='<?php echo $signature?>' width='100' height='50'></p>
	
	<p style="font-size: 20px; text-align: right;">Secretary</p>
	<p style="font-size: 20px; text-align: right;">Tamil Nadu State Parent Teacher Association</p>
	<p style="font-size: 20px; text-align: justify;"></p>
	


</body>
</html>

?>