MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.14.246.52
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/hafinserv.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/hafinserv.com/career.php
<?php
include_once('admin/config.php');
if ($_SERVER["REQUEST_METHOD"] === "POST") {
    if (isset($_POST['submit_form'])) {
        $name = $_POST['name'];
        $phone = $_POST['phone'];
        $email = $_POST['email'];
        $dob = $_POST['dob'];
        $father = $_POST['father'];
        $address = $_POST['address'];
        $nominee_detail = $_POST['nominee_detail'];
        $marital_status = $_POST['marital_status'];
        $height = $_POST['height'];
        $weight = $_POST['weight'];
        $chest = $_POST['chest'];
        $identification_marks = $_POST['mark-identify'];
        $police_station = $_POST['police-station'];
        $qualification = $_POST['qualification'];
        $hobbies = $_POST['hobbies'];
        $uploadDir = "images/registration/";
        $currentTime = date('YmdHis');
        
        // Marksheet upload
        $marksheetExtension = pathinfo($_FILES["marksheet"]["name"], PATHINFO_EXTENSION);
        $marksheetName = "marksheet_" . $currentTime . "." . $marksheetExtension;
        $marksheetPath = $uploadDir . $marksheetName;
        move_uploaded_file($_FILES["marksheet"]["tmp_name"], $marksheetPath);
        
        // Certificate upload
        $certificateExtension = pathinfo($_FILES["certificate"]["name"], PATHINFO_EXTENSION);
        $certificateName = "certi_" . $currentTime . "." . $certificateExtension;
        $certificatePath = $uploadDir . $certificateName;
        move_uploaded_file($_FILES["certificate"]["tmp_name"], $certificatePath);
        
        // CV upload
        $cvExtension = pathinfo($_FILES["cv"]["name"], PATHINFO_EXTENSION);
        $cvName = "cv_" . $currentTime . "." . $cvExtension;
        $cvPath = $uploadDir . $cvName;
        move_uploaded_file($_FILES["cv"]["tmp_name"], $cvPath);
        
        $query = "INSERT INTO `tbl_registration`(
            `name`, 
            `phone`, 
            `email`, 
            `dob`, 
            `father`, 
            `address`, 
            `nominee_detail`, 
            `marital_status`, 
            `height`, 
            `weight`, 
            `chest`, 
            `identification_marks`, 
            `police_station`, 
            `qualification`, 
            `hobbies`, 
            `marksheet`, 
            `certificate`, 
            `cv`) VALUES
            ('$name',
            '$phone',
            '$email',
            '$dob', 
            '$father',
            '$address',
            '$nominee_detail', 
            '$marital_status', 
            '$height', 
            '$weight', 
            '$chest', 
            '$identification_marks', 
            '$police_station', 
            '$qualification', 
            '$hobbies', 
            '$marksheetName', 
            '$certificateName', 
            '$cvName')";
        $result = mysqli_query($db, $query) or die("Query Unsuccessful");

        if ($result) {
            echo "<script>
            window.alert('Successfully Submitted! Please Pay Now.');
            window.location.href = 'pay-now.html';
            </script>";
        } else {
          echo "Error";
        }
   }
 }
?>
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
	<meta name="viewport" content="width=device-width,initial-scale=1.0" />
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <?php include "top-links.php";?>
	<title><?php echo $dataa['meta_title'];?></title>
	<meta name="<?php echo $dataa['meta_title'];?>" content="<?php echo $dataa['meta_desc'];?>"/>
</head>
<body>
	<!-- Header  -->
	<?php include "header.php";?>
	
    <div class="pagehding-sec">
		<div class="pagehding-overlay"></div>
		<div class="container">
			<div class="row">
				<div class="col-md-12">
					<div class="page-heading">
						<h1>Career</h1>
						<ul>
							<li><a href="<?php echo $wspath ?>index.html">Home</a></li>
							<li><a href="<?php echo $wspath ?>career.html">Career</a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
<form action="<?php $_PHP_SELF?>" method="POST" enctype="multipart/form-data">
    <section id="career">
      <div class="container">
        <div class="row">
          <div class="col-md-12 mt-5">
            <br>
            <h2 class="text-center">APPLICATION FORM FOR EMPLOYMENT</h2>
          </div>
            <p class="text-danger text-center"><strong>Note:</strong> Please Read All <a href="termconditions.html"><strong>Term & Conditions</strong></a> Before Making Any Payment or Applying For EMPLOYMENT</p>
            <div class="col-lg-6">
              <div class="form-group">
                <label for="exampleInputName">Full Name</label>
                <input type="text" name="name" oninput="capitalizeInput(this)" class="form-control" id="exampleInputName" placeholder="Enter your name and surname" required>
              </div>
            </div>
            <div class="col-lg-3">
              <div class="form-group">
                <label for="exampleInputEmail1">Email address</label>
                <input type="email" name="email" class="form-control" placeholder="Enter your email address" required>
              </div>
            </div>
            <div class="col-lg-3">
              <div class="form-group">
                <label for="exampleInputEmail1">Phone Number</label>
                <input type="text" name="phone" class="form-control" placeholder="Enter your Phone Number" minlength="10" maxlength="10" onkeypress="return isNumberKey(event)" pattern=".{10,10}" onpaste="return false;" required>
              </div>
            </div>
            <div class="col-lg-6">
              <div class="form-group">
                <label for="example-date-input" class="col-3 col-form-label">Date Of Birth</label>
                <div class="col-10">
                  <input class="form-control" name="dob" type="date" value="1988-02-01" >
                </div>
              </div>
            </div>
            <div class="col-lg-6">
              <div class="form-group">
                <label for="exampleInputName">Father Name</label>
                <input type="text" name="father" oninput="capitalizeInput(this)" class="form-control" placeholder="Enter your Father's Name" required>
              </div>
            </div>
            <div class="col-lg-6">
              <div class="form-group">
                <label for="inputAddress">Address</label>
                <input type="text" name="address" class="form-control" placeholder="1234 Main St">
              </div>
            </div>
            <div class="col-lg-6">
              <div class="form-group">
                <label for="inputAddress">Nominee Name, Mobile, Address and Relation</label>
                <input type="text" name="nominee_detail" class="form-control" placeholder="XYZ, 9876765436, 1234 Main St, Father" required>
              </div>
            </div>
            <div class="col-lg-6">
              <label for="inputAddress">Marital Status</label>
              <div class="form-check">
                <input class="form-check-input" type="radio" name="marital_status" id="flexRadioDefault1">
                <label class="form-check-label" for="flexRadioDefault1" value="Married">Married</label>
                <input class="form-check-input" type="radio" name="marital_status" id="flexRadioDefault2" checked>
                <label class="form-check-label" for="flexRadioDefault2" value="UnMarried">UnMarried</label>
              </div>
            </div>
    
            <div class="col-lg-6">
              <div class="form-group col-md-4">
                <label for="inputZip">Height (cm) </label>
                <input type="text" name="height" class="form-control" required placeholder="34000">
              </div>
              <div class="form-group col-md-4">
                <label for="inputZip"> Weight (kg)</label>
                <input type="text" name="weight" class="form-control" required placeholder="34000">
              </div>
              <div class="form-group col-md-4">
                <label for="inputZip">Chest (cm) </label>
                <input type="text" name="chest" class="form-control" required placeholder="34000">
              </div>
            </div>
    
            <div class="col-lg-6">
              <div class="form-group">
                <label for="example-tel-input" class="col-2 col-form-label">Personal Marks of identification</label>
                <div class="col-10">
                  <input class="form-control" oninput="capitalizeInput(this)" name="mark-identify" type="text" placeholder=" Marks of Identification" >
                </div>
              </div>
            </div>
    
            <div class="col-lg-6">
              <div class="form-group">
                <label for="example-tel-input" class="col-2 col-form-label">Police Station (Near your Residence) –</label>
                <div class="col-10">
                  <input class="form-control" oninput="capitalizeInput(this)" name="police-station" type="text" placeholder=" Police Station (Near your Residence)" required>
                </div>
              </div>
            </div>
            <div class="col-lg-6">
              <div class="form-group">
                <label for="example-tel-input" class="col-2 col-form-label"> Highest Class Studied (With Year)</label>
                <div class="col-10">
                  <input class="form-control" name="qualification" type="text" placeholder=" Police Station (Near your Residence)" required>
                </div>
              </div>
            </div>
            <div class="col-lg-6">
              <div class="form-group">
                <label for="example-tel-input" class="col-2 col-form-label">Games & Hobbies</label>
                <div class="col-10">
                  <input class="form-control" name="hobbies" type="text" placeholder=" Hobbies and Games" required>
                </div>
              </div>
            </div>
            <div class="col-lg-12">
              <div class="form-group col-md-4 mt-3">
                <label class="mr-4">Upload Your Mark sheet</label>
                <input type="file" name="marksheet" required>
              </div>
              <div class="form-group col-md-4 mt-3 ">
                <label class="mr-4">Attach the copies of certificate </label>
                <input type="file" name="certificate" required>
              </div>
              <div class="form-group col-md-4 mt-3">
                <label class="mr-4">Upload your CV:</label>
                <input type="file" name="cv" required>
              </div>
            </div>
            <!--<div class="col-lg-6">-->
            <!--    <div class="form-group col-md-3 mt-3">-->
            <!--        <label class="mr-4">Gross Pay P.M.</label>-->
            <!--        <div class="col-10">-->
            <!--            <input class="form-control" name="text" type="text" placeholder=" Police Station (Near your Residence)" id="example-tel-input">-->
            <!--        </div>-->
            <!--    </div>-->
            <!--    <div class="form-group col-md-3 mt-3">-->
            <!--        <label class="mr-4">Reason of leaving</label>-->
            <!--        <div class="col-10">-->
            <!--            <input class="form-control" name="text" type="text" placeholder=" Police Station (Near your Residence)" id="example-tel-input">-->
            <!--        </div>-->
            <!--    </div>-->
            <!--</div>-->
        </div>
      </div>
    </section><hr>
    
    <section id="declaration">
        <div class="container">
            <div class="row">
                <div class="col-md-12 declaration-title">
                    <h1>Declaration</h1>
                </div>
                <div class="col-12 terms">
                     <p>1. I will not misuse any facility entrusted to me, where on duty, either at the clients premises or at the 
                        office of Utkarsh professional security and Intelligence Service Pvt Ltd. If found I shall be Punished 
                        as per the rules of the company I shall obey the conduct rules of the company.</p>
                     <p>2. If I am found to be involved in theft / malpractice / Causing damage to property / Causing bodily 
                        harm, I submit myself to be punished as per the rules of the company.</p>
                     <p>3. I shall be personally reposible, if found that any material loss due to theft / damage has occurred 
                        because of my negligence or neglect of my duties while on duty, I shall be personally resposbile for it 
                        and compensate the loss to the affected party / Company.</p>
                     <p>4. Utkarsh professional security and Intelligence Services pvt Ltd. I will have absolute right and 
                        discretion to shift and / or transfer me from one site / premises to another, whether located in Chennai 
                        or outside if exigencies of work of the company so demands. Refusal to carry out such orders shall 
                        constitude gross misconduct for which my services shall be liable to be terminated without any notice 
                        by utkarsh professional security and Intelligence Service Pvt Ltd. And they have a right and 
                        discretion to shift or transfer me to any of their sister organization within India.
                    </p>
                     <p>5. I will compensate Utkarsh professional security and intelligence Services Pvt Ltd. To the tune of one 
                        month gross salary of mine, as costs towards training and administration expenses incurred by them if 
                        I resign myself without giving the required notice period of 1 month in writing.</p>
                     <p>6. Utkarsh professional security and Intelligence Services Pvt Ltd. Reserve the right to compensation 
                        upto Rs 1,00,000 /- including legal action if employee is found to have taken up a job at any of the 
                        competitor company engaged in security / guarding, and working in the same client location, as was 
                        serving while in the services of Utkarsh Professional security and intelligence Services Pvt Ltd. </p>
                     <p>7. I hereby understand and I am fully aware that the management has got every right to terminate my 
                        services, if I go on leave more than days without any prior intimation.</p>
                    <p>8. I hereby understand that security duty is considered to be an important and essential service and will 
                        ensure that no hindrance is caused by me at clients location, which can affect or stop the clients day 
                        to day to operations or create a loss to the client’s property.</p>
                     <p>9. I also hereby that I will not entice other employees away from employment of the employer / client or 
                        to indulge in some activity detrimental to the interests of the employer / Clients.</p>
                        
                        <div class="col-lg-6">
                            <div class="form-group mt-3">
                                <input type="checkbox" id="vehicle1" name="vehicle1" value="Bike" required>
                                <label for="vehicle1">I have Read All The Declaration and agree with all terms and conditions.</label><br>
                            </div>
                        </div>
                        <br><button type="submit" name="submit_form" class=" w-100 mt-5 btn btn-primary">Submit</button>
                </div>
            </div>
        </div>
    </section>
</form>

	<!-- Footer  -->
    <?php include "footer.php";?>
    <script>
        function capitalizeInput(input) {
        let inputValue = input.value;
        if (inputValue.length === 0) {
            return;
        }
    
        let words = inputValue.split(' ');
    
        words = words.map(word => {
            if (word.length > 0) {
                return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase();
            }
            return '';
        });
    
        input.value = words.join(' ');
        }
    </script>

</body>

</html>

MMCT - 2023