JezK
Edit File: formDownload2.php
<?php session_start(); include('MPDF57/mpdf.php'); $_SESSION['userID'] = 1; include("app/main.php"); include("app/getUserDetailsApp.php"); $data = '<html class="no-js" lang=""> <body> <header> <div class="headerContainer "> <div class="headText "><img src="images/logo.png"></div> <div class="headClr ">SLI Submission Form</div> </div> </header> <div class="container main" > <div class="row"> <div class="form-horizontal row formContainer-p " > <!--Page1--> <div class=" "> <section> <div class=""> <div style="width:20%;float:left;clear:both;" class="divClass" for="SliName">SLI Submission ID </div> <div style="width:80%;float:left" type="text" name="sliName" class=" ">: '.$formSubmissionID.'</div> </div> <div class=""> <div style="width:20%;float:left;clear:both;" for="SliName">Name of the SLI </div> <div style="width:80%;float:left;" name="sliName" id="sliName">: '.$sliName.'</div> </div> <div class=""> <div style="width:20%;float:left;clear:both;" for="address" >Address</div> <div style="width:80%;float:left;">: '.$address.'</div> </div> <div class=""> <div style="width:20%;float:left;clear:both;" for="city">City </div> <div style="width:80%;float:left;">: '.$city.'</div> </div> <div class=""> <div style="width:20%;float:left;clear:both;" for="state" >State </div> <div style="width:80%;float:left;">: '.$stateName.'</div> </div> <div class=""> <div style="width:20%;float:left;clear:both;">District</div> <div style="width:80%;float:left;">: '. $districtName.'</div> </div> <div class=""> <div style="width:20%;float:left;clear:both;">Phone Number</div> <div style="width:20%;float:left;">: '. $mobileNumber.'</div> </div> <div class=""> <div style="width:20%;float:left;clear:both;">Fax Number</div> <div style="width:80%;float:left;">: '.$fax.'</div> </div> <div class=""> <div style="width:20%;float:left;clear:both;">Email</div> <div style="width:80%;float:left;">: '.$email.'</div> </div> <div class=""> <div style="width:20%;float:left;clear:both;">Website</div> <div style="width:80%;float:left;">: '.$website.'</div> </div> <div class=""> <div style="width:20%;float:left;clear:both;">Pincode </div> <div style="width:80%;float:left;">: '. $zipcode.'</div> </div> <div class=""> <div style="width:20%;float:left;clear:both;">Constitution </div> <div style="width:80%;float:left;">: '. $constitutionName.'</div> </div> </section> <section> <div> <h3 style="width:20%;float:left;clear:both;"">Details Of Registration :</h3> </div> <div class=" table-reonsive removePadding" style="clear:both;"> <table class="table table-bordered cs-table"> <thead> <tr> <th>Act of Registration</th> <th>Date & Place Of Registration</th> <th>Registration Number</th> <th>Validity Period</th> </tr> </thead> <tbody class="input_fields_wrap"> '.$reistrationDetailsView.' </tbody> </table> </div> </section> <section> <div class=""> <h3 class="subHead">Activities of the Business Entity</h3> <div class=" " style="padding:10px 20px"> <div class=""> <label class=" " for="existing">Existing :</div> <div class=" col-md-6"> <textarea type="text" name="existing" id="existing" >'.$existing.'</textarea> </div> </div> <div class=""> <label class=" " for="proposed">Proposed :</div> <div class=" col-md-6"> <textarea type="text" name="proposed" value="" id="proposed" >'.$proposed.'</textarea> </div> </div> </div> </section> <section> <div class=" removePadding"> <h3 class="subHead">Whether Registered under Foreign Contribution (Regulation) Act, 1976(FCRA)? <input type="radio" name="isFCRA" value="1" id="fcraYes" '.$isFCRA1.' onclick="return false;"> <label for="fcraYes" style="color:black;font-weight:normal;cursor:pointer;">Yes</div> <input type="radio" name="isFCRA" value="0" id="fcraNo" '.$isFCRA2.' onclick="return false;"> <label for="fcraNo" style="color:black;font-weight:normal;cursor:pointer;">No</div> </h3> </div> '.$FCRADilayDetails.' </section> <section> <div class=" removePadding"> <h3 class="subHead">Whether a *Permanent Account Number (PAN) obtained from Competent Authority? <input type="radio" name="iAN" value="1" id="panYes" '.$iAN1.' onclick="return false;"> <label for="panYes" style="color:black;font-weight:normal;cursor:pointer;">Yes</div> <input type="radio" name="iAN" value="0" id="panNo" '.$iAN2.' onclick="return false;"> <label for="panNo" style="color:black;font-weight:normal;cursor:pointer;">No</div> </h3> </div> </section> </div><!--end formContainer--> </div> <!--Page2--> <div class=" col-md-offset-0 "> <section> <div class=""> <div class=" removePadding"> <h3 class="subHead">Details of the Board meeting held in last three years</h3> </div> <div class=" removePadding table-reonsive"> <table class="table table-bordered cs-table"> <thead> <tr> <th>Year</th> <th>No. of Board meetings held</th> <th>Average Attendance</th> </tr> </thead> <tbody class="input_fields_wrap2"> '.$boardMeeting1DetailsView.' </tbody> </table> </div> </div> </section> <h3>Management</h3> <section> <div class=" removePadding"> <h3 class="subHead">Name of members of Governing body/Board of trustees/Board of directors/Proprietors/Partners/Authorised Signatories/Principal Share Holders</h3> </div> <div class=" table-reonsive removePadding"> <table class="table table-bordered cs-table table-reonsive"> <thead> <tr> <th>Name</th> <th>Designation</th> <th>Date of Appointment</th> <th>Address</th> <th>Educational Qualification</th> <th>Experience in years</th> <th>Experience Details</th> <th>Association with any other institution</th> <th>Relationship with other Board Members</th> <th>Authorize signatory </th> </tr> </thead> <tbody class="input_fields_wrap1"> '.$managementDetailsView.' </tbody> </table> </div> </section> <section> <div class=" removePadding"> <h3 class="subHead">Profile of the Key Functionary</h3> </div> <div class="table-reonsive removePadding"> <table class="table table-bordered cs-table table-reonsive"> <thead> <tr> <th>Name</th> <th>Designation</th> <th>Qualification</th> <th>Experience</th> <th>Date of appointment</th> <th>Details of association with any other institution</th> </tr> </thead> <tbody class="input_fields_wrap3"> '.$ceoDetailsView.' </tbody> </table> </div> </section> <section> <div id="<?=$sharedBlockShow;?>"> <div class=" removePadding"> <h3 class="subHead">Share holding Pattern</h3> </div> <div class=" removePadding table-reonsive"> <table class="table table-bordered cs-table"> <thead> <tr> <th>Name of the share holder</th> <th>No. of shares</th> <th>Face value</th> <th>Premium</th> <th>Percentage of share holding</th> </tr> </thead> <tbody class="input_fields_wrap4"> '.$shareDetailsView.' </tbody> </table> </div> </div> </section> </div><!--end formContainer--> <!--Page3--> <div class=" col-md-offset-0 "> <h3>Staffing Pattern</h3> <div class="removePadding "> <h3 class="subHead">Please give details of organizational structure</h3> <div class=" removePadding"> <textarea style="width:100%" id="structuralDetails" name="structuralDetails" rows="7" placeholder="Organizational Structure Details" >'.$structuralDetails.'</textarea> </div> </div> <div class=""> <div class=" removePadding"> <h3 class="subHead">Details of Infrastructure available for the activity</h3> <div class=" rowStyle"> <label class=" ">Type of infrastructure</div> <label class=" ">Description</div> <label class=" ">Approximate cost of Acquisition</div> <label class=" ">Year of Acquisition</div> </div> '.$infrastructureDetailsView.' </div> </div> </div><!--end formContainer--> <!--page4--> <div class=" text-cneter "> <section> <div id="<?=$rawMaterialBlock;?>"> <div class="removePadding "> <h3>Details of raw material/commodities consumed/procured/traded in past 3 years</h3> <div class=" rowStyle"> <label class=" snMargin">S.No</div> <label class=" ">Raw Material</div> <label class=" ">'.$previousYear3.'</div> <label class=" ">'.$previousYear2.'</div> <label class=" ">'.$previousYear1.'</div> </div> <div class="addMoreFields"> '.$rawMaterialDetailsView.' </div> <div class=" marginDiv totalBlock"> <an class=" "></an> <label class=" ">Total</div> <input type="text" class=" " name="totalyear3RawMateril" value="'. $totalRawY3.'" > <input type="text" class=" " name="totalyear2RawMateril" value="'. $totalRawY2.'" > <input type="text" class=" " name="totalyear1RawMateril" value="'. $totalRawY1.'" > </div> </div> </div> </section> <section> <div class="removePadding "> <h3>A brief notes on the rawmaterials used/commodities traded in sources of procurement to be furnished</h3> <textarea style="width:100%" name="rawMaterialNotes" id="rawMaterialNotes" rows="7" >'.$rawMaterialNotes.'</textarea> </div> </section> <section> <div id="<?=$productsBlock;?>"> <div class="removePadding detailsBlock " id="block1"> <h3>Details of production for past 3years (₹)</h3> <div class=" marginDiv "> <label class=" snMargin">S.No</div> <label class=" ">Product Total</div> <label class=" ">'.$previousYear3.'</div> <label class=" ">'.$previousYear2.'</div> <label class=" ">'.$previousYear1.'</div> </div> '.$productionDetailsView.' </div> </div> </section> <section> <div id="<?=$salesBlock;?>"> <div class="removePadding detailsBlock" id="block2"> <h3>Sales Particulars for past 3years (₹)</h3> <div class=" marginDiv"> <label class=" snMargin">S.No</div> <label class=" ">Product </div> <label class=" ">'.$previousYear3.'</div> <label class=" ">'.$previousYear2.'</div> <label class=" ">'.$previousYear1.'</div> </div> '.$salesDetailsView.' </div> </div> </section> </div><!--end formContainer--> <!--page5--> <div class=" text-cneter"> <section> <div class=" detailsBlock removePadding"> <h3>Gross Profit for 3 years (₹)</h3> <div class=" marginDiv "> <label class=" snMargin">S.No</div> <label class=" ">Particulars</div> <label class=" ">'.$previousYear3.'</div> <label class=" ">'.$previousYear2.'</div> <label class=" ">'.$previousYear1.'</div> </div> <div class=" "> <an class=" ">1.</an> <label class=" ">Total Income</div> <input type="text" class=" " name="grossIncomeY3" id="grossIncomeY3" value="'. $grossIncomeY3.'" onkeypress="return number2(event)" > <input type="text" class=" " name="grossIncomeY2" id="grossIncomeY2" value="'. $grossIncomeY2.'" onkeypress="return number2(event)" > <input type="text" class=" " name="grossIncomeY1" id="grossIncomeY1" value="'. $grossIncomeY1.'" onkeypress="return number2(event)" > </div> <div class=" "> <an class=" ">2.</an> <label class=" ">Total Expenditure</div> <input type="text" class=" " name="expenditureY3" id="expenditureY3" value="'. $expenditureY3.'" onkeypress="return number2(event)" > <input type="text" class=" " name="expenditureY2" id="expenditureY2" value="'. $expenditureY2.'" onkeypress="return number2(event)" > <input type="text" class=" " name="expenditureY1" id="expenditureY1" value="'. $expenditureY1.'" onkeypress="return number2(event)" > </div> </div> </section> <section> <div class=" detailsBlock removePadding" > <h3>Cash Flow Statement for past 3 years (₹)</h3> <div class=" marginDiv"> <label class=" snMargin">S.No</div> <label class=" ">Particulars</div> <label class=" ">'.$previousYear3.'</div> <label class=" ">'.$previousYear2.'</div> <label class=" ">'.$previousYear1.'</div> </div> <div class=" "> <an class=" ">1.</an> <label class=" ">Net Worth</div> <input type="text" class=" " name="netWorthY3" value="'. $netWorthY3.'" id="netWorthY3" onkeypress="return number2(event)" > <input type="text" class=" " name="netWorthY2" value="'. $netWorthY2.'" id="netWorthY2" onkeypress="return number2(event)" > <input type="text" class=" " name="netWorthY1" value="'. $netWorthY1.'" id="netWorthY1" onkeypress="return number2(event)" > </div> <div class=" "> <an class=" ">2.</an> <label class=" "> Net sales</div> <input type="text" class=" " name="salesY3" value="'. $salesY3.'" id="salesY3" onkeypress="return number2(event)" > <input type="text" class=" " name="salesY2" value="'. $salesY2.'" id="salesY2" onkeypress="return number2(event)" > <input type="text" class=" " name="salesY1" value="'. $salesY1.'" id="salesY1" onkeypress="return number2(event)" > </div> <div class=" "> <an class=" ">3.</an> <label class=" ">Net Profit</div> <input type="text" class=" " name="netProfitY3" value="'. $netProfitY3.'" id="netProfitY3" onkeypress="return number2(event)" > <input type="text" class=" " name="netProfitY2" value="'. $netProfitY2.'" id="netProfitY2" onkeypress="return number2(event)" > <input type="text" class=" " name="netProfitY1" value="'. $netProfitY1.'" id="netProfitY1" onkeypress="return number2(event)" > </div> <div class=" "> <an class=" ">4.</an> <label class=" ">Depriciation</div> <input type="text" class=" " name="depriciationY3" value="'. $depriciationY3.'" id="depriciationY3" onkeypress="return number2(event)" > <input type="text" class=" " name="depriciationY2" value="'. $depriciationY2.'" id="depriciationY2" onkeypress="return number2(event)" > <input type="text" class=" " name="depriciationY1" value="'. $depriciationY1.'" id="depriciationY1" onkeypress="return number2(event)" > </div> <div class=" "> <an class=" ">5.</an> <label class=" ">Interest</div> <input type="text" class=" " name="interestY3" id="interestY3" value="'. $interestY3.'" onkeypress="return number2(event)" > <input type="text" class=" " name="interestY2" id="interestY2" value="'. $interestY2.'" onkeypress="return number2(event)" > <input type="text" class=" " name="interestY1" id="interestY1" value="'. $interestY1.'" onkeypress="return number2(event)" > </div> </div> <div class=" detailsBlock removePadding" > <h3>Future Estimations for next 3 years (₹)</h3> <div class=" marginDiv"> <label class=" snMargin">S.No</div> <label class=" ">Particulars</div> <label class=" ">'.$futureYear3.'</div> <label class=" ">'.$futureYear2.'</div> <label class=" ">'.$futureYear1.'</div> </div> <div class=" "> <an class=" ">1.</an> <label class=" ">Net Worth</div> <input type="text" class=" " name="netWorthNextY3" value="'. $netWorthNextY3.'" id="netWorthNextY3" onkeypress="return number2(event)" > <input type="text" class=" " name="netWorthNextY2" value="'. $netWorthNextY2.'" id="netWorthNextY2" onkeypress="return number2(event)" > <input type="text" class=" " name="netWorthNextY1" value="'. $netWorthNextY1.'" id="netWorthNextY1" onkeypress="return number2(event)" > </div> <div class=" "> <an class=" ">2.</an> <label class=" "> Net sales</div> <input type="text" class=" " name="salesNextY3" value="'. $salesNextY3.'" id="salesNextY3" onkeypress="return number2(event)" > <input type="text" class=" " name="salesNextY2" value="'. $salesNextY2.'" id="salesNextY2" onkeypress="return number2(event)" > <input type="text" class=" " name="salesNextY1" value="'. $salesNextY1.'" id="salesNextY1" onkeypress="return number2(event)" > </div> <div class=" "> <an class=" ">3.</an> <label class=" ">Net Profit</div> <input type="text" class=" " name="netProfitNextY3" value="'. $netProfitNextY3.'" id="netProfitNextY3" onkeypress="return number2(event)" > <input type="text" class=" " name="netProfitNextY2" value="'. $netProfitNextY2.'" id="netProfitNextY2" onkeypress="return number2(event)" > <input type="text" class=" " name="netProfitNextY1" value="'. $netProfitNextY1.'" id="netProfitNextY1" onkeypress="return number2(event)" > </div> <div class=" "> <an class=" ">4.</an> <label class=" ">Depriciation</div> <input type="text" class=" " name="depriciationNextY3" value="'. $depriciationNextY3.'" id="depriciationNextY3" onkeypress="return number2(event)" > <input type="text" class=" " name="depriciationNextY2" value="'. $depriciationNextY2.'" id="depriciationNextY2" onkeypress="return number2(event)" > <input type="text" class=" " name="depriciationNextY1" value="'. $depriciationNextY1.'" id="depriciationNextY1" onkeypress="return number2(event)" > </div> <div class=" "> <an class=" ">5.</an> <label class=" ">Interest</div> <input type="text" class=" " name="interestNextY3" id="interestNextY3" value="'. $interestNextY3.'" onkeypress="return number2(event)" > <input type="text" class=" " name="interestNextY2" id="interestNextY2" value="'. $interestNextY2.'" onkeypress="return number2(event)" > <input type="text" class=" " name="interestNextY1" id="interestNextY1" value="'. $interestNextY1.'" onkeypress="return number2(event)" > </div> </div> </section> <section> <div class=" detailsBlock removePadding"> <h3>Details of Loan availed & repaid in past 3 years</h3> <div class=" marginDiv "> <label class=" snMargin">S.No</div> <label class=" ">Particulars</div> <label class=" ">'.$previousYear3.'</div> <label class=" ">'.$previousYear2.'</div> <label class=" ">'.$previousYear1.'</div> </div> <div class=" "> <an class=" ">1.</an> <label class=" ">Loan Availed</div> <input type="text" class=" " name="loanAvailedY3" value="'. $loanAvailedY3.'" id="loanAvailedY3" onkeypress="return number2(event)" > <input type="text" class=" " name="loanAvailedY2" value="'. $loanAvailedY2.'" id="loanAvailedY2" onkeypress="return number2(event)" > <input type="text" class=" " name="loanAvailedY1" value="'. $loanAvailedY1.'" id="loanAvailedY1" onkeypress="return number2(event)" > </div> <div class=" "> <an class=" ">2.</an> <label class=" ">Loan Repaid</div> <input type="text" class=" " name="loanRepaidY3" value="'. $loanRepaidY3.'" id="loanRepaidY3" onkeypress="return number2(event)" > <input type="text" class=" " name="loanRepaidY2" value="'. $loanRepaidY2.'" id="loanRepaidY2" onkeypress="return number2(event)" > <input type="text" class=" " name="loanRepaidY1" value="'. $loanRepaidY1.'" id="loanRepaidY1" onkeypress="return number2(event)" > </div> <div class=" totalBlock"> <an class=" "></an> <label class=" ">Balance Outstanding</div> <input type="text" class=" " id="totalY3" value="'. $totalLoanY3.'" > <input type="text" class=" " id="totalY2" value="'. $totalLoanY2.'" > <input type="text" class=" " id="totalY1" value="'. $totalLoanY1.'" > </div> </div> <div class="" style="padding-top:20px;"> <label class="">Amount of Loan (Rs.) :</div> <input type="text" class="" id="loanAmount" value="'. $loanAmount.'" name="loanAmount" > </div> <div class="" style="padding-top:20px;"> <label class="">Amount of Loan Purpose :</div> <textarea style="width:100%" name="loanPurpose" id="loanPurpose" rows="7">'.$loanPurpose.'</textarea> </div> </section> <section> </section> </div><!--end formContainer--> <!--page6--> <div class=" text-cneter"> <section> <div class=" removePadding"> <h3>Details of Bank Accounts</h3> <div class=" rowStyle"> <label class=" snMargin">S.No</div> <label class=" ">IFSC Code</div> <label class=" ">Bank Name</div> <label class=" ">Branch Name</div> <label class=" ">Account Number</div> </div> <div class="addMoreFields"> <div class=" textBlock"> <an class=" ">1.</an> <input type="text" class=" " placeholder="IFSC Code" value="'. $ifsc.'" name="ifscCode" id="ifscCode" > <input type="text" class=" " placeholder="Bank Name" value="'. $bankName.'" name="bankName" id="bankName" > <input type="text" class=" " placeholder="Branch Name" value="'. $branch.'" name="branchName" id="branchName" > <input type="text" class=" " placeholder="Account Number" value="'. $accountNumber.'" name="accountNumber" id="accountNumber" > </div> </div> </div> </section> <div style="clear:both;"></div> <section style="padding-top: 70px;"> <div class=""> <div class=" text-center signatureBlock removePadding"> <div class="">ace for photo</div> <div class="">Name & Designation</div> </div> <div class=" text-center signatureBlock removePadding"> <div class="">ace for photo</div> <div class="">Name & Designation</div> </div> </div> <div class="signatureContent"> <p>Signature of the authorized signatory (ies) whose photo is affixed above (sign across the photo)</p> <p>We hereby certify that the information furnished by us is correct. In the event of any of the information furnished by us is found to be false, we agree to be liable for any action under the law of the land.</p> <p>Place:</p> <p>Date:</p> <p class="text-right" style="padding-right: 30%;">Seal</p> </div> </section> </div><!--end --> </div> </div> </div> </body> <style> .addMoreFields input, .rowStyle label { margin: 0px !important; } .rowStyle label { padding-left: 15px !important; padding-right: 15px !important; } .marginDiv label, .marginDiv input { margin: 0px !important; } h3 { font-size: 17px !important; color: #666 !important; font-weight:bold; } .divClass{color:red;} </style> </html>'; echo $data;exit; $mpdf = new mPDF(); $mpdf->WriteHTML($data); $content = $mpdf->Output('sliForm.pdf', 'D'); /*echo $content = chunk_lit(base64_encode($content));exit; $uid = md5(uniqid(time())); $mpdf->Output(); exit;*/ ?>