ok

Mini Shell

Direktori : /proc/thread-self/root/home2/selectio/www/saew.in/admin/print-form/
Upload File :
Current File : //proc/thread-self/root/home2/selectio/www/saew.in/admin/print-form/nomination-form.php

<?php
ob_start();
session_start();
include"../config/config.php"; 

$id=$_POST['id'];
//$id=2;
//$statement = $pdo->prepare("SELECT * FROM tbl_user where id ='$id'");
$statement = $pdo->prepare("SELECT tbl_user.*,(SELECT departement from tbl_departement WHERE id=tbl_user.department_id) as department_name,(SELECT desgination from tbl_desgination WHERE id=tbl_user.designation_id) as designation_name,tbl_branch.branch_name,tbl_branch.branch_location,tbl_branch.address as branch_address FROM `tbl_user` inner join tbl_branch on tbl_user.branch_id=tbl_branch.id where tbl_user.id ='$id'");
$statement->execute();
    $statement->execute();
    $emp_data = $statement->fetchAll(PDO::FETCH_ASSOC);
    $totalData = $statement->rowCount();
    
    // Extra Words
    $worker_name = "Worker's Name";
if($totalData){ 
 foreach($emp_data as $data){ 
$content='
<center><span class="compnay_name4">M.SUNDARDAS & SONS</span></center>
<br>
	<center><span class="address4">'.$data['branch_address'].'</span></center>
	<br>
	<center><span style="font-family: Times New Roman;font-size:13px;font-weight:bold">THE FACTORIES ACT 1948 & THE TAMILNADU FACTORIES RULES 1950</span></center>
	<center><h5>FORM NO:34</h5></center>
	<center><span style="font-family: Times New Roman;font-size:11px;">(Prescribed under Rule : 93)</span></center> 
	<center><u style="font-family: Algerian Regular;font-size:26px;font-weight: bold;">NOMINATION/ நியமனம்/ नामांकन</u></center>
	  <br><br>
	  <table style=width:100%;>
	      <tr>
	       <td style=width:50%;><p style="font-weight:bold;" class="calibri16_4">
	       '.$worker_name.' / <span class="tamil-font-size_4">தொழிலாளியின் பெயர் / <br> कार्यकर्ता का नाम</span></p></td>
	       <td style="width: 1%;"><p style="font-weight:bold;width: 1%;">:</p></td>
	       <td><p style="font-weight:bold;"> &nbsp; '.$data['emp_name'].'</p> </td>
	      </tr>
	       <tr>
	       <td style=width:50%;><p style="font-weight:bold;" class="calibri16_4">ID No / <span class="tamil-font-size_4">அடையாள எண் / पहचान संख्या</span></p></td>
	       <td style="width: 1%;"><p style="font-weight:bold;">:</p></td>
	       <td><p style="font-weight:bold;"> &nbsp; '.$data['emp_code'].'</p> </td>
	      </tr>
	      <tr>
	       <td style=width:50%;><p style="font-weight:bold;" class="calibri16_4">Designation / <span class="tamil-font-size_4"> பதவி / पद </span></p></td>
	       <td style="width: 1%;"><p style="font-weight:bold;">:</p></td>
	       <td><p style="font-weight:bold;"> &nbsp; '.$data['designation_name'].'</p> </td>
	      </tr>
	  </table>
	  <p style="padding-left:20px;font-family: Calibri;font-size:16px;line-height: 2.2;">&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
	  I  hereby  require  that  in  the  event  of  my  death  before  resuming  work,  the balance <br>
	  of  may pay  due for  the period  of leave with  wages and  pending  payment / salaries  not availed,<br>
	  shall  be paid to &nbsp  &nbsp  &nbsp   <b><u>'.$data['nominee_name'].'</u></b>  &nbsp &nbsp &nbsp who is my &nbsp  &nbsp  &nbsp  <b><u>'.$data['nominee_relationship'].'</u></b></p>
	 <h3>Resides at</h3>
	 <p style="padding-left:120px;font-weight:bold;">'.$data['nominee_address'].'</p>
	 <p style="padding-left:120px;font-weight:bold;"></p>
	 <p style="padding-left:120px;font-weight:bold;"></p>
	 <p style="padding-left:20px;font-family: Times New Roman;font-size:13px;line-height: 2.2;">&nbsp &nbsp &nbsp &nbsp &nbsp ஒரு வேளை நான் பணியில் இருக்கும் போதே எனக்கு மரணம் <br> 
	 ஏற்பட்டால் எனக்கு வர  வேண்டிய அனைத்து தொகையையும் எனது<br>
 <b><u>'.$data['nominee_relationship'].'</u></b> &nbsp  &nbsp &nbsp  ஆன &nbsp  &nbsp &nbsp  <b><u>'.$data['nominee_name'].'</u></b> &nbsp  &nbsp &nbsp  அவர்களுக்கு கொடுக்குமாறு <br>
 முழு மனதுடன் கேட்டுக்கொள்கிறேன்.</p>
<br>

<p style="padding-left:20px;font-family: Times New Roman;font-size:13px;line-height: 2.2;">&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
मैं एतदद्वारा अपेक्षा करता हूं कि काम पर लौटने से पहले मेरी मृत्यु की स्थिति में, शेष राशि<br>
वेतन के साथ छुट्टी की अवधि के लिए देय भुगतान और लंबित भुगतान/वेतन का उपयोग नहीं किया जा सकता है,<br>
भुगतान किया जाएगा &nbsp &nbsp <b><u>'.$data['nominee_name'].'</u></b> &nbsp &nbsp जो मेरा &nbsp &nbsp <b><u>'.$data['nominee_relationship'].'</u></b> &nbsp &nbsp है
</p>
<br><br>
      <h4 style="padding-left:60px;font-weight:bold;font-family: Times New Roman;font-size:13px;">Witness / சாட்சி / गवाह</h4>
      <p style="padding-left:140px;font-weight:bold;">1 --------------------</p>
      <p style="padding-left:140px;font-weight:bold;">2 --------------------</p>
      <br><br><br>
      <table style="width:100%;">
          <tr>
              <td style="font-weight:bold;width:40%;text-align:center;font-size:14px;">Authorised Signatory </td>
              <td style="width:20%;"></td>
              <td style="font-weight:bold;width:40%;text-align:center; font-family: Calibri;font-size:14px;">Signature of the Applicant</td>
          </tr>
           <tr>
              <td style="font-weight:bold;width:40%;text-align:center;" class="tamil-font-size_4">நிறுவன மேலாளர்</td>
              <td style="width:20%;"></td>
              <td style="font-weight:bold;width:40%;text-align:center;" class="tamil-font-size_4"> விண்ணப்பதாரின் கையொப்பம்</td>
          </tr>
          <tr>
              <td style="font-weight:bold;width:40%;text-align:center;" class="tamil-font-size_4">अधिकृत हस्ताक्षरकर्ता</td>
              <td style="width:20%;"></td>
              <td style="font-weight:bold;width:40%;text-align:center;" class="tamil-font-size_4">आवेदक के हस्ताक्षर</td>
          </tr>
      </table>
<style>
                .compnay_name4{
                    font-family: Algerian Regular;
                    font-size:26px;font-weight: bold;
                }
                .address4{
                    font-family: Calibri;
                    font-size:12px;
                    font-weight: bold;
                }
                
                .calibri16_4{
                    font-family: Calibri;
                    font-size:16px;font-weight: bold;
                }
                
                 .title-form{
                    font-family: Calibri;
                    font-size:20px;font-weight: bold;
                }
                .tamil-font-size_4{
                font-family: Calibri;
                    font-size:13px;font-weight: bold;
                }
</style>
      ';
}}else{ $content='<center>Empty</center>';}
echo $content;

Zerion Mini Shell 1.0