0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.135.205.102


Current Path : /var/www/html/oums/src/
Upload File :
Current File : /var/www/html/oums/src/employees_print_nda_form.php

<?php
include("sys_session.php");
include("sys_connect.php");
include("sys_mainphp.php");

$resp_mesg = "";
$resp_stat = "";
$resp_file = "";

$empl_code = $_POST['prim_code'];
$mysql = "select femplcode,femplname,fsalrhead,fpermadd1,fpermadd2,fpermadd3,fpermadd4,
date_format(fjoindate,'%D %M %Y') as ljoindate,
date_format(fndcadate,'%D %M %Y') as lndcadate
from masempl where femplcode = '$empl_code'";
$myres = mysqli_query($mycon, $mysql);
$mycnt = mysqli_num_rows($myres);
if ($mycnt == 0) {
    $resp_mesg = "No records found!";
    $resp_stat = "F";
} else {
    require("fpdf/fpdf.php");

    class PDF extends FPDF {
        // Page header
        function Header()
        {
            // Logo
            // $pdf->Image('logo.png',10,6,30);
            // Arial bold 15
            // $pdf->SetFont('Arial','B',15);
            // Move to the right
            // $pdf->Cell(80);
            // Title
            // $pdf->Cell(30,6,'NDA',1,0,'C');
            // Line break
            // $pdf->Ln(20);
        }

        // Page footer
        function Footer()
        {
            // Position at 1.5 cm from bottom
            $pdf->SetY(-15);
            // Arial italic 8
            $pdf->SetFont('Arial','I',8);
            // Page number
            $pdf->Cell(0,6,'Page '.$pdf->PageNo().'/{nb}',0,0,'C');
        }
    }

    $pdf = new FPDF('P', 'mm', 'A4');
    $pdf->AddPage();
    $pdf->SetMargins(15, 15);
    while ($myrow = mysqli_fetch_assoc($myres)) {    
        $pdf->SetFont('Times', 'B', 16);
        $pdf->ln(30);
        $pdf->Cell(0, 7, "Employee Non-Disclosure and Confidentiality Agreement", 0, 1, "C");

        $pdf->SetFont('Times', '', 12);
        $pdf->MultiCell(0, 6, "This Employee Non - Disclosure and Confidentiality Agreement is entered into on ".$myrow['lndcadate']." by and between ".$myrow['fsalrhead']." (the 'Company') and ".$myrow['femplname']." [Empl. Id.: ".$myrow['femplcode']."], residing at ".$myrow['fpermadd1']." ".$myrow['fpermadd2']." ".$myrow['fpermadd3']." ".$myrow['fpermadd4'].", an employee of the Company (the 'Employee'). The above parties may be referred to singularly as a 'Party' or collectively as the 'Parties'.", 0,'J');
        $pdf->ln();
        
        $pdf->MultiCell(0, 6, "The Company hired Employee pursuant to the terms and conditions of that certain Letter of Appointment executed between the Parties on the ".$myrow['ljoindate'].". In connection with the Employee's duties under the Letter of Appointment, the Company may disclose to the Employee certain confidential and proprietary information unique and valuable to its ongoing business operations. In consideration of the Employee's employment by the Company and the covenants and mutual promises contained herein, the Parties agree as follows:", 0,'J');

        $pdf->MultiCell(0, 6, "1.	Confidential Information. The term 'Confidential Information' as used in this Agreement shall mean any data, information, or knowledge disclosed by the Company to the Employee and not generally known to the public, including but not limited to:", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "a.	The Company's list of existing clients and prospective client list and contact details of the persons working for such organizations;", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "b.	The Company's business or operational plans or activities, existing or contemplated markets, advertising initiatives, methods of operation, products, or services;", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "c.	The Company's suppliers or associates data;", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "d.	The Company's customer or supplier lists, cost of services, profits and losses, budgeting, past or future sales, or financial information;", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "e.	The Company's schematics, designs, software source or object code, compressed or uncompressed binaries, inventions, patents or patent applications or illustrations;", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "f.	The Company's existing or contemplated designs, models or platforms, formulas, research, notes, or analytical data;", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "g.	The Company's management, board of directors, affiliates, suppliers, customers, employees, or third-party contractors; ", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "h.	The Company's history, entity structure, accounts, or goodwill; the Company's copyrights, trademarks, trade secrets, patents, trade names, moral rights, or any other tangible or intangible rights, whether registered or unregistered; ", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "i.	The Company's technical systems, processes, methods, algorithms, computational schemas, know-how, or trade secrets; ", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "j.	The Company's employees, salaries, job related functions, duties or responsibilities; the Company's written, auditory or electronic communications;", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "k.	Any information that if disclosed, whether true or untrue, could harm the goodwill or reputation of the Company or the Company's management, board of directors, affiliates, suppliers, customers, employees, third-party contractors, methods of operation, products, or services;", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "l.	Any other information of any of whatever kind and nature that the Company desires to maintain confidential.", 0,'J');

        $pdf->MultiCell(0, 6, "2.	Exclusions to Confidential Information. The obligation of confidentiality with respect to Confidential Information will not apply to any information:", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "a.	If the information is or becomes publicly known and available other than as a result of prior unauthorized disclosure by the Employee;", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "b.	If the information is or was received by the Employee from a third-party source which, to the best knowledge of the Employee, is or was not under a confidentiality obligation to the Company with regard to such information;", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "c.	If the information is disclosed by the Employee with the Company's prior written permission and approval;", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "d.	If the information is independently developed by the Employee prior to disclosure by the Company and without the use and benefit of any of the Company's resources; ", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "e.	If the Employee is legally compelled by applicable law, by any court, governmental agency, or regulatory authority or subpoena or discovery request in pending litigation, but only if, to the extent lawful, the Employee gives prompt written notice of that fact to the Company prior to disclosure so that the Company may request a protective order or other remedy, the Employee may disclose only such portion of the Confidential Information which it is legally obligated to disclose.", 0,'J');

        $pdf->MultiCell(0, 6, "3.	Obligation to Maintain Confidentiality. With respect to Confidential Information:", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "a.	The Employee agrees to retain the Confidential Information in strict confidence, to protect the security, integrity, and confidentiality of such information and to not permit unauthorized access to or unauthorized use, disclosure, publication, or dissemination of Confidential Information except in conformity with this Agreement.", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "b.	Confidential Information is and will remain the sole and exclusive property of the Company and will not be disclosed or revealed by the Employee, except (i) to other employees of the Company who have a need to know such information and agree to be bound by the terms of this Agreement or (ii) with the Company's express prior written consent.", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "c.	The Employee agrees that, in the event the Employee must download, access, process, transfer or otherwise communicate Confidential Information, the Employee will comply with all laws and regulations applicable to exports and re-exports of data and information and will not, directly or indirectly, export or re-export any Confidential Information in violation of such laws and regulations, including without limitation, those prohibiting export or re-export to restricted countries or without governmental authorization.", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "d.	Upon termination of this Agreement or at the request of the Company, the Employee will ensure that all Confidential Information and all documents, memoranda, notes and other writings or electronic records prepared by the Employee that include or reflect any Confidential Information in the Employee's actual or constructive possession are returned to the Company within one business day.", 0,'J');
        $pdf->SetX(25);
        $pdf->MultiCell(0, 6, "e.	The obligation not to disclose Confidential Information shall survive the termination of this Agreement, and at no time will the Employee be permitted to disclose Confidential Information, except to the extent that such Confidential Information is excluded from the obligations of confidentiality under this Agreement pursuant to Paragraph 2 above.", 0,'J');

        $pdf->MultiCell(0, 6, "4.	Disclaimer. There is no representation or warranty, express or implied, made by the Company as to the accuracy or completeness of any of its Confidential Information.", 0,'J');

        $pdf->MultiCell(0, 6, "5.	Remedies. The Employee acknowledges that use or disclosure of any confidential and proprietary information in a manner inconsistent with this Agreement will give rise to irreparable injury for which only bearing financial damages would not be an adequate remedy.  Accordingly, in addition to any other legal remedies which may be available at law or in equity, the Company shall be entitled to equitable or injunctive relief against the unauthorized use or disclosure of confidential and proprietary information. The Company shall be entitled to pursue any other legally permissible remedy (including pressing criminal charges against the employee) available as a result of such breach, including but not limited to damages, both direct and consequential. In any action brought by the Company under this Section, the Company shall be entitled to recover its attorney's fees and costs from Employee.", 0,'J');

        $pdf->MultiCell(0, 6, "6.	Termination. This Agreement will terminate on the written agreement of the Parties to terminate this Agreement. ", 0,'J');

        $pdf->MultiCell(0, 6, "7.	Amendment. This Agreement may be amended or modified only by a written agreement signed by both of the Parties.", 0,'J');

        $pdf->MultiCell(0, 6, "8.	Entire Agreement. This Agreement constitutes the entire agreement between the Parties and supersedes all prior or contemporaneous negotiations, discussions or agreements, whether written or oral, regarding the subject matter hereof.", 0,'J');

        $pdf->MultiCell(0, 6, "9.	Miscellaneous. In the event that any provision of this Agreement is held to be invalid, illegal or unenforceable in whole or in part, the remaining provisions shall not be affected and shall continue to be valid, legal and enforceable as though the invalid, illegal or unenforceable parts had not been included in this Agreement. Neither Party will be charged with any waiver of any provision of this Agreement, unless such waiver is evidenced by a writing signed by the Party and any such waiver will be limited to the terms of such writing.", 0,'J');
        $pdf->ln();

        $pdf->MultiCell(0, 6, "By your signature below you acknowledge that you have read and understand the foregoing Agreement, that you agree to comply with all of the terms of the Agreement, and that you have received a copy of the Agreement.", 0,'J');
        $pdf->ln(20);
        $pdf->Cell(90, 7, "For the Employee", 1, 0, "C");
        $pdf->Cell(90, 7, "For the Company", 1, 1, "C");

        $pdf->Cell(90, 10, "Signature:", 1, 0, "L");
        $pdf->Cell(90, 10, "Signature:", 1, 1, "L");

        $pdf->Cell(90, 7, "Name: ".$myrow['femplname']." [".$myrow['femplcode']."]", 1, 0, "L");
        $pdf->Cell(90, 7, "Name:", 1, 1, "L");

        $pdf->Cell(90, 7, "Date:", 1, 0, "L");
        $pdf->Cell(90, 7, "Date:", 1, 1, "L");
    }        
    $resp_file = 'reports/empl_nda_form_'.$empl_code.'.pdf';
    $pdf->output($resp_file, 'F'); 
}
echo json_encode(array("mesg" => $resp_mesg, "stat" => $resp_stat, "file" => $resp_file));