0byt3m1n1
Path:
/
home
/
k74ns2xygros
/
www
/
globetech
/
cms
/
emp
/
[
Home
]
File: index.php
<?php session_start(); unset($_SESSION['msg']); unset($_SESSION['err_msg']); $form_status = $_SESSION['form_status']; if ($_SESSION['emp_login'] != 'yes') { header('Location: ../../../index.php'); } $cid = $_SESSION['cid']; // = 43; include "../assets/config.php"; $user = new user(); include '../assets/head.php'; include '../emp_head.php'; //include '../assets/employee_profile_nav.php'; $result = $user->view_specific_employee($cid); $employee = mysqli_fetch_array($result); $todayDate = date("Y-m-d"); $exngg = $employee['ex_engineer']; $electry = $employee['electrycity_zone']; $place_det = $user->get_substation_detail_by_edd_substation_name($electry, $exngg); //print_r($place_det); $edd_id = $place_det['ex_id']; $ez_id = $place_det['ez_id']; //$emp_message = $user->select_array_query('employee_message', ' emp_id=' . $cid.' order by created_date desc'); //print_r($emp_message); //$u= $user->select_custom_query("select * from provisional_table where emp_id=".$cid." and status='un_approved'"); //$provisional = $user->select_row_query("provisional_table", "emp_id=" . $cid . " and status='un_approved'"); //$req_doc_res = $user->select_row_query("required_document_table", "emp_id=" . $cid . " and status='un_approved'"); $sql_req_doc = "SELECT * FROM required_document WHERE emp_id='" . $cid . "' AND checkbox='yes' AND DATE(end_date)>='" . $todayDate . "'"; $ReqDocArray = $user->select_custom_query($sql_req_doc); $countReqDoc = count($ReqDocArray); $nominee_req_doc_res = $user->select_row_query("nominee_required_document_table", "emp_id=" . $cid . " and status='un_approved'"); $child_req_doc_res = $user->select_array_query("child_required_document_table", "emp_id=" . $cid . " and status='un_approved'"); //echo $provisional['emp_id']; //print_r($child_req_doc_res); $sql_nominee = "SELECT * FROM `nominee_details` WHERE `cid`='$cid'"; $result_sql_nominee = $user->select_custom_query($sql_nominee); if (count($result_sql_nominee) > 0) { $nominee_name = $result_sql_nominee[0]['customer_name']; $nominee_relation = $result_sql_nominee[0]['nominee_relation']; } else { $nominee_name = $employee['nominee']; $nominee_relation = $employee['nominee_relation']; } //$sql_ez_ren= "SELECT * FROM ez_renewal WHERE ren_ez_id='" . $ez_id . "' AND DATE(ren_end_date)>='" . $todayDate . "'"; $sql_ez_ren = "SELECT * FROM ez_renewal WHERE ren_ez_id='" . $ez_id . "' AND `ren_end_date` >= NOW()"; $EzRenArray = $user->select_custom_query($sql_ez_ren); $countEzRen = count($EzRenArray); $sql_emp_ren = "SELECT * FROM employee_renewal_details WHERE emp_id='" . $emp_id . "'"; $EmpRenArray = $user->select_custom_query($sql_emp_ren); $countEmpRen = count($EmpRenArray); $btn_disabled = ''; if ($countEzRen > 0 && $EmpRenArray[0]['ren_payment_status'] != 'Success') { $btn_disabled = 'disabled="disabled"'; include '../assets/employee_profile_nav_index_disabled.php'; $sql_feeder = "SELECT * FROM mstr_feeder WHERE ez_id='" . $ez_id . "'"; $EzFeederArray = $user->select_custom_query($sql_feeder); } else { include '../assets/employee_profile_nav_index.php'; } ?> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <title>Dashboard Employee</title> <?php // include '../assets/head.php'; ?> <script src="../vendors/jquery/dist/jquery.min.js"></script> <script src="../build/js/ajax.js" type="text/javascript"></script> <script src="../js/myjs/ajax.js" type="text/javascript"></script> <link href="../build/css/custom.min.css" rel="stylesheet"> <link href="../build/css/custom_side_nav.css" rel="stylesheet" type="text/css"/> <style> #change_location_div{ display:none; } a[disabled] { pointer-events: none; } #emp_reason_remark_details table,#emp_reason_remark_details th,#emp_reason_remark_details { font-size: 14px; color: #333; } #emp_profile_details th,#emp_profile_details td{ background-color: lightgoldenrodyellow; color: #333; } #emp_bank_details th,#emp_bank_details td{ background-color: lightgoldenrodyellow; color: #333; } #emp_nominee_details th,#emp_nominee_details td{ background-color: lightgoldenrodyellow; color: #333; } #emp_child_details th,#emp_child_details td{ background-color: lightgoldenrodyellow; color: #333; } #emp_doc_details th,#emp_doc_details td{ background-color: lightgoldenrodyellow; color: #333; } .border- { border: 1px solid #000 !important; } .padding { padding: 5px; } .mar-bot { /*margin-bottom: 15px;*/ } .admit-card { border: 2px solid #000; padding: 2px; margin: 0; width: 80%; background-color: lightgoldenrodyellow; } .table-bordered td, .table-bordered th, .table thead th { border: 1px solid #000000 !important; } .alert { padding: 5; } .image_view:hover { -ms-transform: scale(4.5); -webkit-transform: scale(4.5); transform: scale(4.5); } .x_content h4 { font-size: 13px; font-weight: 500; } .x_content { /*background-color: lightgoldenrodyellow;*/ /*background-color: honeydew;*/ /*border: 1px solid #000;*/ /*border-radius: 4px;*/ } .navbar-right li a{ font-size: 13px; } .tabcontent{ display: none; } @media print { .hidden_print,.main_container,#heading-title,.alert,.x_title,.progress,.attachments,.nav_menu,.btn,.reason_menu,#show_reason,button { display: none; } #alert_div,.sidenav,.tabcontent{ display: none; } .main, .right_col { margin-left: 0% !important; } #printaprea { display: block; } .x_content { border: none; border-radius: unset; } .x_panel { border: 0; } .x_panel,.x_panel1 { /*margin: 1px;*/ padding: 1px; margin-top: -10px; } a[href]:after { content: none !important; } html, body { height:100%; margin: 0 !important; padding: 0 !important; overflow: hidden; page-break-after: avoid; /*background-color: lightgoldenrodyellow;*/ /*background-color: honeydew;*/ /*border: 1px solid #000;*/ /*border-radius: 4px;*/ -webkit-print-color-adjust: exact; } .admit-card { width: 100%; } @page { size: A4 portrait; margin: 0; padding: 0; } } </style> </head> <body onload=""> <!-- page content --> <div class="right_col" role="main" style="padding-top: 10px;color: #333;"> <div class="row hidden_print"> <?php //if ($emp_message != '') { ?> <?php // foreach ($emp_message as $emp_msg) { ?> <!-- <div class="row"> <div class="col-xs-10 col-sm-10 col-sm-offset-1"> <div class="alert alert-info"> <?php if ($emp_msg['attachment'] != '') { ?><a download="<?php echo $employee['customer_name'] . 'attachment' ?>" href="<?php echo $emp_msg['attachment']; ?>" class="btn btn-xs btn-warning pull-right">Download</a> <?php } else { ?> <a href="update_image.php" class="btn btn-xs btn-primary pull-right">Upload Now</a> <?php } ?> <strong>IMPORTANT:</strong> <?php echo $emp_msg['message']; ?> </div> <br> </div> </div>--> <?php // } ?> <?php // if ($employee['application_status'] == 'pro_accepted' && $provisional['status'] == 'un_approved' && ($provisional['photo_checkbox'] == 'yes' || $provisional['empsign_checkbox'] == 'yes' || $provisional['identity_checkbox'] == 'yes' || $provisional['address_checkbox'] == 'yes' || $provisional['pancard_checkbox'] == 'yes' || $provisional['skill_checkbox'] == 'yes' || $provisional['bank_checkbox'] == 'yes' || $provisional['epf_checkbox'] == 'yes')) { if ($provisional['status'] == 'un_approved' && ($provisional['photo_checkbox'] == 'yes' || $provisional['empsign_checkbox'] == 'yes' || $provisional['identity_checkbox'] == 'yes' || $provisional['address_checkbox'] == 'yes' || $provisional['pancard_checkbox'] == 'yes' || $provisional['skill_checkbox'] == 'yes' || $provisional['bank_checkbox'] == 'yes' || $provisional['epf_checkbox'] == 'yes')) { $arr_provisional_date = array(0 => $provisional['photo_end_date'], 1 => $provisional['address_end_date'], 2 => $provisional['identity_end_date'], 3 => $provisional['skill_end_date'], 4 => $provisional['bank_end_date'], 5 => $provisional['pancard_end_date'], 6 => $provisional['epf_end_date'], 7 => $provisional['empsign_end_date']); $max_provisional_date = date('Y-m-d h:i:s', max(array_map('strtotime', $arr_provisional_date))) . '<br>'; if ($max_provisional_date >= date('Y-m-d h:i:s')) { ?> <br> <div class="col-sm-10 col-sm-offset-1 col-md-10 col-md-offset-1 col-xs-12"> <!-- <div class="alert alert-warning"> <a href="#" class="btn btn-xs btn-primary pull-right">Upload</a> <strong>Warning:</strong> you message box with cool color. </div> <br>--> <div class="alert alert-danger-alt alert-dismissable"> <!--<span class="glyphicon glyphicon-info-sign"></span>--> <a target="_blank" href="provisional_documents.php" class="btn btn-xs btn-warning pull-right blink">Upload Now</a> <!--<button type="button" class="close" data-dismiss="alert" aria-hidden="true"> ×</button>--> <strong>अनुरोध !</strong> आपका रजिस्ट्रेशन फॉर्म अनंतिम रूप से स्वीकृत कर लिया गया है, आपको कुछ दस्तावेज निर्धारित समय पर पुनः अपलोड करना है <br> अन्यथा आपका रजिस्ट्रेशन फॉर्म निरस्त कर दिया जायेगा। अभी अपलोड करने के लिए अपलोड पर क्लिक करें। </div><br> </div> <?php } } ?> <?php if ($employee['salary_status'] == 'HOLD') { ?> <br> <div class="col-sm-10 col-sm-offset-1 col-md-10 col-md-offset-1 col-xs-12"> <div class="alert alert-danger" id="alert_div" style="border-left: 5px solid #a94442;"> <strong>YOUR SALARY IS ON HOLD DUE TO </strong> <?php echo $employee['salary_reason']; ?> </div> </div> <?php } ?> <?php //if($req_doc_res['photo_image']=='' && $req_doc_res['photo_checkbox']=='yes'){ //$arr_date=array(0=>$req_doc_res['photo_end_date'],1=>$req_doc_res['address_end_date'],2=>$req_doc_res['identity_end_date'],3=>$req_doc_res['skill_end_date'],4=>$req_doc_res['bank_end_date'],5=>$req_doc_res['pancard_end_date'],6=>$req_doc_res['epf_end_date']); ////$arr_date=array(0=>'20-05-2015',1=>'02-01-2015',2=>'30-03-2015'); //echo ' '.$i++.' ';echo $max_date = date('Y-m-d h:i:s', max(array_map('strtotime', $arr_date))).'<br>'; // //} if ($req_doc_res['status'] == 'un_approved' && ($req_doc_res['photo_checkbox'] == 'yes' || $req_doc_res['empsign_checkbox'] == 'yes' || $req_doc_res['identity_checkbox'] == 'yes' || $req_doc_res['address_checkbox'] == 'yes' || $req_doc_res['pancard_checkbox'] == 'yes' || $req_doc_res['skill_checkbox'] == 'yes' || $req_doc_res['bank_checkbox'] == 'yes' || $req_doc_res['bank_checkbox_2'] == 'yes' || $req_doc_res['epf_checkbox'] == 'yes')) { $arr_req_doc_date = array(0 => $req_doc_res['photo_end_date'], 1 => $req_doc_res['address_end_date'], 2 => $req_doc_res['identity_end_date'], 3 => $req_doc_res['skill_end_date'], 4 => $req_doc_res['bank_end_date'], 5 => $req_doc_res['pancard_end_date'], 6 => $req_doc_res['epf_end_date'], 7 => $req_doc_res['empsign_end_date'], 8 => $req_doc_res['bank_end_date_2']); $max_req_doc_date = date('Y-m-d h:i:s', max(array_map('strtotime', $arr_req_doc_date))) . '<br>'; if ($max_req_doc_date >= date('Y-m-d h:i:s')) { ?> <br> <div class="col-sm-10 col-sm-offset-1 col-md-10 col-md-offset-1 col-xs-12"> <!-- <div class="alert alert-warning"> <a href="#" class="btn btn-xs btn-primary pull-right">Upload</a> <strong>Warning:</strong> you message box with cool color. </div> <br>--> <div class="alert alert-danger-alt alert-dismissable"> <!--<span class="glyphicon glyphicon-info-sign"></span>--> <a target="_blank" href="required_documents.php" class="btn btn-xs btn-warning pull-right blink">Upload Now</a> <!--<button type="button" class="close" data-dismiss="alert" aria-hidden="true"> ×</button>--> <strong>अनुरोध !</strong> आपको कुछ दस्तावेज निर्धारित समय पर पुनः अपलोड करना है अन्यथा आपका रजिस्ट्रेशन फॉर्म निरस्त कर दिया जायेगा। अभी अपलोड करने के लिए अपलोड पर क्लिक करें। </div><br> </div> <?php } } ?> <?php if ($countReqDoc > 0) { ?> <br> <br> <div class="col-sm-10 col-sm-offset-1 col-md-10 col-md-offset-1 col-xs-12"> <!-- <div class="alert alert-warning"> <a href="#" class="btn btn-xs btn-primary pull-right">Upload</a> <strong>Warning:</strong> you message box with cool color. </div> <br>--> <div class="alert alert-danger-alt alert-dismissable"> <!--<span class="glyphicon glyphicon-info-sign"></span>--> <a target="_blank" href="emp_documents.php" class="btn btn-xs btn-warning pull-right blink">Upload Now</a> <!--<button type="button" class="close" data-dismiss="alert" aria-hidden="true"> ×</button>--> <strong>अनुरोध !</strong> आपको कुछ दस्तावेज निर्धारित समय पर पुनः अपलोड करना है अन्यथा आपका रजिस्ट्रेशन फॉर्म निरस्त कर दिया जायेगा। अभी अपलोड करने के लिए अपलोड पर क्लिक करें। </div><br> </div> <?php } ?> <?php if ($nominee_req_doc_res['status'] == 'un_approved' && ($nominee_req_doc_res['photo_checkbox'] == 'yes' || $nominee_req_doc_res['empsign_checkbox'] == 'yes' || $nominee_req_doc_res['identity_checkbox'] == 'yes' || $nominee_req_doc_res['address_checkbox'] == 'yes' || $nominee_req_doc_res['pancard_checkbox'] == 'yes' || $nominee_req_doc_res['skill_checkbox'] == 'yes' || $nominee_req_doc_res['bank_checkbox'] == 'yes' || $nominee_req_doc_res['bank_checkbox_2'] == 'yes' || $nominee_req_doc_res['epf_checkbox'] == 'yes' || $nominee_req_doc_res['relation_checkbox'] == 'yes' || $nominee_req_doc_res['other_checkbox'] == 'yes' || $nominee_req_doc_res['family_checkbox'] == 'yes')) { $nominee_arr_req_doc_date = array(0 => $nominee_req_doc_res['photo_end_date'], 1 => $nominee_req_doc_res['address_end_date'], 2 => $nominee_req_doc_res['identity_end_date'], 3 => $nominee_req_doc_res['skill_end_date'], 4 => $nominee_req_doc_res['bank_end_date'], 5 => $nominee_req_doc_res['pancard_end_date'], 6 => $nominee_req_doc_res['epf_end_date'], 7 => $nominee_req_doc_res['empsign_end_date'], 8 => $nominee_req_doc_res['bank_end_date_2'], 9 => $nominee_req_doc_res['relation_end_date'], 10 => $nominee_req_doc_res['other_end_date'], 11 => $nominee_req_doc_res['family_end_date']); $nominee_max_req_doc_date = date('Y-m-d h:i:s', max(array_map('strtotime', $nominee_arr_req_doc_date))) . '<br>'; if ($nominee_max_req_doc_date >= date('Y-m-d h:i:s')) { ?> <br> <div class="col-sm-10 col-sm-offset-1 col-md-10 col-md-offset-1 col-xs-12"> <!-- <div class="alert alert-warning"> <a href="#" class="btn btn-xs btn-primary pull-right">Upload</a> <strong>Warning:</strong> you message box with cool color. </div> <br>--> <div class="alert alert-danger-alt alert-dismissable"> <!--<span class="glyphicon glyphicon-info-sign"></span>--> <a target="_blank" href="nominee_required_documents.php" class="btn btn-xs btn-warning pull-right blink">Upload Now</a> <!--<button type="button" class="close" data-dismiss="alert" aria-hidden="true"> ×</button>--> <strong>अनुरोध !</strong> आपको आपके नॉमिनी के कुछ दस्तावेज निर्धारित समय पर पुनः अपलोड करना है अन्यथा आपके नॉमिनी का रजिस्ट्रेशन फॉर्म निरस्त कर दिया जायेगा। अभी अपलोड करने के लिए अपलोड पर क्लिक करें। </div><br> </div> <?php } } ?> <?php foreach ($child_req_doc_res as $value_child_req_doc_res) { // echo $value_child_req_doc_res['n_name']; if ($value_child_req_doc_res['status'] == 'un_approved' && ($value_child_req_doc_res['photo_checkbox'] == 'yes' || $value_child_req_doc_res['empsign_checkbox'] == 'yes' || $value_child_req_doc_res['identity_checkbox'] == 'yes' || $value_child_req_doc_res['address_checkbox'] == 'yes' || $value_child_req_doc_res['pancard_checkbox'] == 'yes' || $value_child_req_doc_res['skill_checkbox'] == 'yes' || $value_child_req_doc_res['bank_checkbox'] == 'yes' || $value_child_req_doc_res['bank_checkbox_2'] == 'yes' || $value_child_req_doc_res['epf_checkbox'] == 'yes' || $value_child_req_doc_res['relation_checkbox'] == 'yes' || $value_child_req_doc_res['other_checkbox'] == 'yes')) { $child_arr_req_doc_date = array(0 => $value_child_req_doc_res['photo_end_date'], 1 => $value_child_req_doc_res['address_end_date'], 2 => $value_child_req_doc_res['identity_end_date'], 3 => $value_child_req_doc_res['skill_end_date'], 4 => $value_child_req_doc_res['bank_end_date'], 5 => $value_child_req_doc_res['pancard_end_date'], 6 => $value_child_req_doc_res['epf_end_date'], 7 => $value_child_req_doc_res['empsign_end_date'], 8 => $value_child_req_doc_res['bank_end_date_2'], 9 => $value_child_req_doc_res['relation_end_date'], 10 => $value_child_req_doc_res['other_end_date']); $child_max_req_doc_date = date('Y-m-d h:i:s', max(array_map('strtotime', $child_arr_req_doc_date))) . '<br>'; if ($child_max_req_doc_date >= date('Y-m-d h:i:s')) { ?> <br> <div class="col-sm-10 col-sm-offset-1 col-md-10 col-md-offset-1 col-xs-12"> <!-- <div class="alert alert-warning"> <a href="#" class="btn btn-xs btn-primary pull-right">Upload</a> <strong>Warning:</strong> you message box with cool color. </div> <br>--> <div class="alert alert-danger-alt alert-dismissable"> <!--<span class="glyphicon glyphicon-info-sign"></span>--> <a target="_blank" href="child_required_documents.php?nid=<?php echo $value_child_req_doc_res['nid']; ?>" class="btn btn-xs btn-warning pull-right blink">Upload Now</a> <!--<button type="button" class="close" data-dismiss="alert" aria-hidden="true"> ×</button>--> <strong>अनुरोध !</strong> आपको आपके बच्चे <?php echo $value_child_req_doc_res['n_name']; ?> के कुछ दस्तावेज निर्धारित समय पर पुनः अपलोड करना है अन्यथा आपके नॉमिनी का रजिस्ट्रेशन फॉर्म निरस्त कर दिया जायेगा। अभी अपलोड करने के लिए अपलोड पर क्लिक करें। </div><br> </div> <?php } } ?> <?php } ?> </div> <div class="row"> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="x_panel1"> <!-- <div class="x_title"> <ul class="nav navbar-right panel_toolbox"> <li> <button class="btn btn-primary btn-sm" onclick="window.print();"><i class="fa fa-print"></i></button> </li> </ul> <div class="clearfix"></div> </div>--> <div class="row" style="text-transform:uppercase;"> <div class="x_content" id="printarea"> <div id="emp_profile_details" class="tabcontent"> <center> <div class="admit-card"> <div class="BoxA border- padding1 mar-bot" style="background-color: #ffd800;"> <div class="row text-center"> <div class="col-sm-2 col-xs-2 text-right"> <img src="../build/images/GLOBEINDIA.png" style="width: 100px;padding-top: 3;"> </div> <div class="col-sm-9 col-xs-9 text-center" style="color: black;"> <h3 style="font-weight: bold;">कार्यालय -- सहायक प्रबन्धक (कार्मिक)</h3> <h4 style="font-weight: bold;font-size: 14px;">ग्लोबटेक क्रिएशन्स प्राइवेट लिमिटेड </h4> <h5 style="font-weight: bold;">पंजीकृत कार्यालय - गोपाल नगर, सिसवा बाज़ार, जनपद- महराजगंज (उ०प्र०) - २७३१६३</h5> <!--<h5 style="font-weight: bold;">(प्रपत्र - ख)</h5>--> <u><h5 style="font-weight: bold;">कर्मचारी नियुक्ति विवरण पत्र (प्रपत्र - ख)</h5></u> </div> <div class="col-sm-1 col-xs-1 text-center" style="padding-top: 3;"> <button class="btn btn-primary btn-sm" onclick="window.print();"><i class="fa fa-print"></i></button> </div> </div> </div> <div class="BoxD border- padding mar-bot"> <div class="row"> <div class="col-sm-12 col-xs-12"> <table class="table table-bordered"> <tbody> <tr> <th colspan="5" style="text-align: center;background-color: #d8d865;"> कर्मचारी द्वारा दिया गया व्यक्तिगत विवरण </th> </tr> <tr> <th style="width: 20%;"> कर्मचारी का नाम </th> <td colspan="3" style="width: 68%;"><?php echo $employee['customer_name'] ?> </td> <td rowspan="4" style="text-align: center;width: 12%;padding: 1px;"> <a href="<?php echo $employee['clogo'] ?>" download="<?php echo str_replace(' ', '', $employee['customer_name'] . '_photo'); ?>"> <img src="<?php echo $employee['clogo'] ?>" alt="Employee Photo" class="img-responsive img-thumbnail" style="height: 95px;width: 90px;"></a> </td> </tr> <tr> <th>पिता का नाम</th> <td colspan="3"><?php echo $employee['father_name'] ?></td> </tr> <tr> <th>माता का नाम</th> <td colspan="3"><?php echo $employee['mother_name'] ?></td> </tr> <tr> <th>जन्मतिथि (DOB)</th> <td style="width: 30%;"> <?php $dob = $employee['dob']; echo date('d M,Y', strtotime($dob)); ?> </td> <th style="width: 20%;">लिंग (SEX)</th> <td style="width: 18%;"><?php echo $employee['gender'] ?></td> </tr> <tr> <th>कर्मचारी का पद </th> <td><?php echo $employee['work_type'] ?></td> <th> कर्मचारी की श्रेणी </th> <td><?php echo $employee['skilled'] ?></td> <td rowspan="2" style="text-align: center;padding: 1px;"> <a href="<?php echo $employee['emp_sign'] ?>" download="<?php echo str_replace(' ', '', $employee['customer_name'] . '_sign'); ?>"> <img src="<?php echo $employee['emp_sign'] ?>" alt="Employee Sign" class="img-responsive img-thumbnail" style="height: 38px;width: 90px;"></a> </td> </tr> <tr> <th> नामिनी</th> <td> <?php echo $nominee_name; ?> </td> <th> नामिनी से सम्बन्ध </th> <td> <?php echo $nominee_relation; ?></td> </tr> <!-- </tbody> </table>--> <!-- </div>--> <!-- </div> </div> <div class="BoxF border- padding mar-bot text-center"> <div class="row">--> <!-- <div class="col-sm-12 col-xs-12"> --> <!-- <table class="table table-bordered"> <tbody> --> <tr> <th style="width: 20%;"> विवाहित / अविवाहित </th> <td style="width: 30%;"><?php echo $employee['mstatus'] ?> </td> <th style="width: 20%;"> पति/पत्नी का नाम </th> <td colspan="2" style="width: 30%;"> <?php echo $employee['wife_name'] ?></td> </tr> <tr> <th> पुत्र और पुत्रियों की संख्या </th> <td><?php echo $employee['childs'] ?> </td> <th> पैन नंबर (PAN NO.) </th> <td colspan="2"> <?php echo $employee['pan_no'] ?></td> </tr> <tr> <th> आधार पर नाम </th> <td><?php echo $employee['name_on_identity'] ?> </td> <th> आधार नंबर </th> <td colspan="2"> <?php echo $employee['identity_no'] ?></td> </tr> <!-- </tbody> </table> </div> </div> </div> <div class="BoxF border- padding mar-bot text-center"> <div class="row"> <div class="col-sm-12 col-xs-12"> <table class="table table-bordered"> <tbody> --> <tr> <th colspan="5" style="text-align: center;background-color: #d8d865;"> कर्मचारी द्वारा दिया गया स्थाई एवं पत्राचार का पता </th> </tr> <tr> <th style="width: 20%;"> वार्ड न./मोहल्ला</th> <td style="width: 30%;"><?php echo $employee['mohalla'] ?> </td> <th style="width: 20%;"> ग्राम/नगर</th> <td colspan="2" style="width: 30%;"><?php echo $employee['village'] ?></td> </tr> <tr> <th> ब्लॉक</th> <td><?php echo $employee['block'] ?> </td> <th> थाना</th> <td colspan="2"> <?php echo $employee['thana'] ?></td> </tr> <tr> <th> पोस्ट </th> <td> <?php echo $employee['post'] ?></td> <th> पिन कोड</th> <td colspan="2"> <?php echo $employee['pincode'] ?></td> </tr> <tr> <th> तहसील </th> <td><?php echo $employee['tahsil'] ?> </td> <th> जिला </th> <td colspan="2"> <?php echo $employee['district'] ?></td> </tr> <tr> <th>प्रदेश </th> <td><?php echo $employee['state'] ?> </td> <th> नागरिकता</th> <td colspan="2"><?php echo $employee['nationality'] ?> </td> </tr> <tr> <th>मोबाइल 1 </th> <td> <?php echo $employee['phone'] ?> </td> <th>मोबाइल 2 </th> <td colspan="2"><?php echo $employee['phone2'] ?> </td> </tr> <tr> <th>ई-मेल </th> <td><?php echo $employee['emailid'] ?> </td> <th>सेवा प्रदाता संस्थान </th> <td colspan="2"><?php // echo $employee['recommended_by']; $recommended_by_emp = $user->employee_provider($employee['recommended_by']); if ($recommended_by_emp['ep_name'] != '') { echo strtok($recommended_by_emp['ep_name'], ' '); } else { echo 'No Ajency'; } ?></td> </tr> <!-- </tbody> </table> </div> </div> </div> <div class="BoxF border- padding mar-bot text-center"> <div class="row"> <div class="col-sm-12 col-xs-12"> <table class="table table-bordered"> <tbody> --> <tr> <th colspan="5" style="text-align: center;background-color: #d8d865;"> कर्मचारी द्वारा दिया गया बैंक विवरण </th> </tr> <tr> <th colspan="2" style="text-align: center;width: 50%;"> बैंक विवरण 1</th> <th colspan="5" style="text-align: center;width: 50%;"> बैंक विवरण 2</th> </tr> <!-- <tr> <th style="width: 20%;"> खाताधारक का नाम</th> <td style="width: 30%;"> <?php echo $employee['acc_holder_name'] ?> </td> <th style="width: 20%;"> खाताधारक का नाम</th> <td colspan="2" style="width: 30%;"> <?php echo $employee['acc_holder_name_2'] ?> </td> </tr>--> <tr> <th style="width: 20%;"> बैंक का नाम </th> <td style="width: 30%;"> <?php echo $employee['bank_name']; ?> </td> <th style="width: 20%;"> बैंक का नाम </th> <td colspan="2" style="width: 30%;"> <?php echo $employee['bank_name_2']; ?> </td> </tr> <tr> <th> बैंक खाता संख्या</th> <td> <?php echo $employee['acc_no'] ?> </td> <th> बैंक खाता संख्या</th> <td colspan="2"> <?php echo $employee['acc_no_2'] ?> </td> </tr> <tr> <th>बैंक शाखा</th> <td> <?php echo $employee['bank_branch'] ?> </td> <th>बैंक शाखा</th> <td colspan="2"> <?php echo $employee['bank_branch_2'] ?> </td> </tr> <tr> <th> आई एफ एस सी </th> <td> <?php echo $employee['ifsc']; ?> </td> <th> आई एफ एस सी </th> <td colspan="2"> <?php echo $employee['ifsc_2']; ?> </td> <!--<th> बैंक का पता </th>--> <!--<td>--> <?php // echo $employee['bank_address']; // $bank_address = explode(",", $employee['bank_address']); ?> <!--</td>--> </tr> <!-- </tbody> </table> </div> </div> </div> <div class="BoxF border- padding mar-bot text-center"> <div class="row"> <div class="col-sm-12 col-xs-12"> <table class="table table-bordered"> <tbody> --> <tr> <th colspan="5" style="text-align: center;background-color: #d8d865;"> कार्यालय द्वारा कर्मचारी को दिया गया विवरण (कार्यालय प्रयोगार्थ) </th> </tr> <tr> <th style="width: 20%;">मुख़्य अधिकारी </th> <td style="width: 30%;"><?php echo $employee['zone'] ?> </td> <th style="width: 20%;"> अधीक्षक अधिकारी </th> <td colspan="2" style="width: 30%;"> <?php echo $employee['s_engineer'] ?></td> </tr> <tr> <th style="width: 20%;">कार्यकारी अधिकारी </th> <td style="width: 30%;"><?php echo $employee['ex_engineer'] ?> </td> <th style="width: 20%;"> कार्यस्थल </th> <td colspan="2" style="width: 30%;"> <?php echo $employee['electrycity_zone'] ?></td> </tr> <tr> <th> इम्प्लॉई जोइनिंग डेट </th> <td><?php echo date('d-m-Y', strtotime($employee['emp_joining_date'])); ?> </td> <th> ई.पी.एफ़. पंजीकरण </th> <td colspan="2"> <?php echo $employee['epf_reg'] ?></td> </tr> <?php if ($employee['esic_detail'] == 'yes') { ?> <tr> <th> ईएसआईसी पंजीकरण </th> <td> <?php echo $employee['esic_regno'] ?> </td> <!--<th> कर्मचारी संख्या (कार्यालय प्रयोगार्थ) </th>--> <th> कर्मचारी संख्या </th> <td colspan="2"> <?php echo $employee['approved_emp_no'] ?> </td> </tr> <?php } else { ?> <tr> <th> बीमा पोलिसी न. </th> <td> <?php echo $employee['insurance_policy_no'] ?> </td> <th> सम्स्योर्ड. मुल्य </th> <td colspan="2"> <?php echo $employee['s_price'] ?></td> </tr> <tr> <th>बीमा कम्पनी </th> <td> <?php echo $employee['insurance_company'] ?> </td> <th> कर्मचारी संख्या </th> <td colspan="2"> <?php echo $employee['approved_emp_no'] ?> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <div class="BoxE border- padding mar-bot"> <div class="row"> <div class="col-sm-12 col-xs-12" style="padding: 5px 15px;font-size: 12px;text-transform: uppercase;text-align: justify;"> <u><h4 class="text-center" style="font-weight: bold;">स्वघोषणा पत्र</h4></u> <p>मैं <?php echo $employee['customer_name'] ?> पुत्र <?php echo $employee['father_name'] ?> स्थायी निवासी <?php echo $employee['district'] ?> उपरोक्त सभी जानकारी को मेरे द्वारा स्वयं भरा गया है । उपरोक्त सभी जानकारी सही व सत्य है । मेरे द्वारा दी गई जानकारी गलत पाये जाने पर ग्लोबटेक क्रिएशन्स प्राइवेट लिमिटेड पंजीकृत कार्यालय - गोपाल नगर, सिसवा बाज़ार, जनपद- महराजगंज (उ०प्र०) - २७३१६३ को पुर्ण अधिकार होगा कि मुझे कार्यमुक्त कर हमारे देय पर रोक लगा सके ।</p> <p class="text-right">हस्ताक्षर घोषणाकर्ता</p> <p class="text-right">दिनांक: --/--/----</p> <!--<br><br>--> </div> </div> </div> </div> </center> </div> <div id="emp_bank_details" class="tabcontent"> <div class="row" style="padding:5 5;text-transform: uppercase"> <center> <div class="admit-card"> <div class="BoxA border- padding mar-bot" style="background-color: #ffd800;"> <div class="row text-center"> <div class="col-sm-2 col-xs-2 text-right"> <img src="../build/images/GLOBEINDIA.png" style="width:105px;" > </div> <div class="col-sm-9 col-xs-9 text-center" style="color: black;"> <h3 style="font-weight: bold;">कार्यालय -- सहायक प्रबन्धक (कार्मिक)</h3> <h4 style="font-weight: bold;font-size: 14px;">ग्लोबटेक क्रिएशन्स प्राइवेट लिमिटेड </h4> <h5 style="font-weight: bold;">पंजीकृत कार्यालय - गोपाल नगर, सिसवा बाज़ार, जनपद- महराजगंज (उ०प्र०) - २७३१६३</h5> <!--<h5 style="font-weight: bold;">(प्रपत्र - ख)</h5>--> <u><h5 style="font-weight: bold;">कर्मचारी नियुक्ति विवरण पत्र (प्रपत्र - ख)</h5></u> </div> <div class="col-sm-1 col-xs-1 text-center"> <button class="btn btn-primary btn-sm" onclick="window.print();"><i class="fa fa-print"></i></button> </div> </div> </div> <div class="BoxD border- padding mar-bot"> <div class="row"> <div class="col-sm-12 col-xs-12"> <table class="table table-bordered"> <tbody> <tr> <th colspan="5" style="text-align: center;background-color: #d8d865;"> कर्मचारी द्वारा दिया गया व्यक्तिगत विवरण </th> </tr> <tr> <th style="width: 20%;"> कर्मचारी का नाम </th> <td colspan="3" style="width: 68%;"><?php echo $employee['customer_name'] ?> </td> <td rowspan="4" style="text-align: center;width: 12%;padding: 1px;"> <a href="<?php echo $employee['clogo'] ?>" download="<?php echo str_replace(' ', '', $employee['customer_name'] . '_photo'); ?>"> <img src="<?php echo $employee['clogo'] ?>" alt="Employee Photo" class="img-responsive img-thumbnail" style="height: 95px;width: 90px;"></a> </td> </tr> <tr> <th>पिता का नाम</th> <td colspan="3"><?php echo $employee['father_name'] ?></td> </tr> <tr> <th>माता का नाम</th> <td colspan="3"><?php echo $employee['mother_name'] ?></td> </tr> <tr> <th>जन्मतिथि (DOB)</th> <td style="width: 30%;"> <?php $dob = $employee['dob']; echo date('d M,Y', strtotime($dob)); ?> </td> <th style="width: 20%;">लिंग (SEX)</th> <td style="width: 18%;"><?php echo $employee['gender'] ?></td> </tr> <tr> <th>कर्मचारी का पद </th> <td><?php echo $employee['work_type'] ?></td> <th> कर्मचारी की श्रेणी </th> <td><?php echo $employee['skilled'] ?></td> <td rowspan="2" style="text-align: center;padding: 1px;"> <a href="<?php echo $employee['emp_sign'] ?>" download="<?php echo str_replace(' ', '', $employee['customer_name'] . '_sign'); ?>"> <img src="<?php echo $employee['emp_sign'] ?>" alt="Employee Sign" class="img-responsive img-thumbnail" style="height: 38px;width: 90px;"></a> </td> </tr> <tr> <th> नामिनी</th> <td> <?php echo $nominee_name; ?> </td> <th> नामिनी से सम्बन्ध </th> <td> <?php echo $nominee_relation; ?></td> </tr> <tr> <th style="width: 20%;"> विवाहित / अविवाहित </th> <td style="width: 30%;"><?php echo $employee['mstatus'] ?> </td> <th style="width: 20%;"> पति/पत्नी का नाम </th> <td colspan="2" style="width: 30%;"> <?php echo $employee['wife_name'] ?></td> </tr> <tr> <th> पुत्र और पुत्रियों की संख्या </th> <td><?php echo $employee['childs'] ?> </td> <th> पैन नंबर (PAN NO.) </th> <td colspan="2"> <?php echo $employee['pan_no'] ?></td> </tr> <tr> <th colspan="5" style="text-align: center;background-color: #d8d865;"> कर्मचारी द्वारा दिया गया बैंक विवरण </th> </tr> <tr> <th colspan="2" style="text-align: center;width: 50%;"> बैंक विवरण 1</th> <th colspan="5" style="text-align: center;width: 50%;"> बैंक विवरण 2</th> </tr> <tr> <th style="width: 20%;"> खाताधारक का नाम</th> <td style="width: 30%;"> <?php echo $employee['acc_holder_name'] ?> </td> <th style="width: 20%;"> खाताधारक का नाम</th> <td colspan="2" style="width: 30%;"> <?php echo $employee['acc_holder_name_2'] ?> </td> </tr> <tr> <th style="width: 20%;"> बैंक का नाम </th> <td style="width: 30%;"> <?php echo $employee['bank_name']; ?> </td> <th style="width: 20%;"> बैंक का नाम </th> <td colspan="2" style="width: 30%;"> <?php echo $employee['bank_name_2']; ?> </td> </tr> <tr> <th> बैंक खाता संख्या</th> <td> <?php echo $employee['acc_no'] ?> </td> <th> बैंक खाता संख्या</th> <td colspan="2"> <?php echo $employee['acc_no_2'] ?> </td> </tr> <tr> <th>बैंक शाखा</th> <td> <?php echo $employee['bank_branch'] ?> </td> <th>बैंक शाखा</th> <td colspan="2"> <?php echo $employee['bank_branch_2'] ?> </td> </tr> <tr> <th> आई एफ एस सी </th> <td> <?php echo $employee['ifsc']; ?> </td> <th> आई एफ एस सी </th> <td colspan="2"> <?php echo $employee['ifsc_2']; ?> </td> </tr> <tr> <th> बैंक का पता </th> <td> <?php echo $employee['bank_address']; // $bank_address = explode(",", $employee['bank_address']); ?> </td> <th> बैंक का पता </th> <td colspan="2"> <?php echo $employee['bank_address_2']; // $bank_address = explode(",", $employee['bank_address_2']); ?> </td> </tr> </tbody> </table> </div> </div> </div> </div> </center> </div> </div> <div id="emp_nominee_details" class="tabcontent"> <div class="row" style="padding:5 5;text-transform: uppercase"> <center> <div class="admit-card"> <div class="BoxA border- padding mar-bot" style="background-color: #ffd800;"> <div class="row text-center"> <div class="col-sm-2 col-xs-2 text-right"> <img src="../build/images/GLOBEINDIA.png" style="width:105px;" > </div> <div class="col-sm-9 col-xs-9 text-center" style="color: black;"> <h3 style="font-weight: bold;">कार्यालय -- सहायक प्रबन्धक (कार्मिक)</h3> <h4 style="font-weight: bold;font-size: 14px;">ग्लोबटेक क्रिएशन्स प्राइवेट लिमिटेड </h4> <h5 style="font-weight: bold;">पंजीकृत कार्यालय - गोपाल नगर, सिसवा बाज़ार, जनपद- महराजगंज (उ०प्र०) - २७३१६३</h5> <!--<h5 style="font-weight: bold;">(प्रपत्र - ख)</h5>--> <u><h5 style="font-weight: bold;">कर्मचारी नियुक्ति विवरण पत्र (प्रपत्र - ख)</h5></u> </div> <div class="col-sm-1 col-xs-1 text-center"> <button class="btn btn-primary btn-sm" onclick="window.print();"><i class="fa fa-print"></i></button> </div> </div> </div> <div class="BoxD border- padding mar-bot"> <div class="row"> <div class="col-sm-12 col-xs-12"> <table class="table table-bordered"> <tbody> <tr> <th colspan="5" style="text-align: center;background-color: #d8d865;"> कर्मचारी द्वारा दिया गया व्यक्तिगत विवरण </th> </tr> <tr> <th style="width: 20%;"> कर्मचारी का नाम </th> <td colspan="3" style="width: 68%;"><?php echo $employee['customer_name'] ?> </td> <td rowspan="4" style="text-align: center;width: 12%;padding: 1px;"> <a href="<?php echo $employee['nominee_photo'] ?>" download="<?php echo str_replace(' ', '', $employee['customer_name'] . '_nominee_photo'); ?>"> <img src="<?php echo $employee['nominee_photo'] ?>" alt="Employee Nominee Photo" class="img-responsive img-thumbnail" style="height: 95px;width: 90px;"></a> </td> </tr> <tr> <th>पिता का नाम</th> <td colspan="3"><?php echo $employee['father_name'] ?></td> </tr> <tr> <th>माता का नाम</th> <td colspan="3"><?php echo $employee['mother_name'] ?></td> </tr> <tr> <th>जन्मतिथि (DOB)</th> <td style="width: 30%;"> <?php $dob = $employee['dob']; echo date('d M,Y', strtotime($dob)); ?> </td> <th style="width: 20%;">लिंग (SEX)</th> <td style="width: 18%;"><?php echo $employee['gender'] ?></td> </tr> <tr> <th>कर्मचारी का पद </th> <td><?php echo $employee['work_type'] ?></td> <th> कर्मचारी की श्रेणी </th> <td><?php echo $employee['skilled'] ?></td> <td rowspan="2" style="text-align: center;padding: 1px;"> <a href="<?php echo $employee['nominee_sign'] ?>" download="<?php echo str_replace(' ', '', $employee['customer_name'] . '_nominee_sign'); ?>"> <img src="<?php echo $employee['nominee_sign'] ?>" alt="Employee Nominee Sign" class="img-responsive img-thumbnail" style="height: 38px;width: 90px;"></a> </td> </tr> <tr> <th> नामिनी</th> <td> <?php echo $nominee_name; ?> </td> <th> नामिनी से सम्बन्ध </th> <td> <?php echo $nominee_relation; ?></td> </tr> <tr> <th style="width: 20%;"> विवाहित / अविवाहित </th> <td style="width: 30%;"><?php echo $employee['mstatus'] ?> </td> <th style="width: 20%;"> पति/पत्नी का नाम </th> <td colspan="2" style="width: 30%;"> <?php echo $employee['wife_name'] ?></td> </tr> <tr> <th> पुत्र और पुत्रियों की संख्या </th> <td><?php echo $employee['childs'] ?> </td> <th> पैन नंबर (PAN NO.) </th> <td colspan="2"> <?php echo $employee['pan_no'] ?></td> </tr> </tbody> </table> </div> </div> </div> </div> </center> </div> </div> <div id="emp_doc_details" class="tabcontent"> <div class="row attachments" style="padding-left: 20px;"> <div class="col-sm-offset-2 col-sm-4 col-xs-offset-2 col-xs-4"> <style> a{ color:blue; font-weight:bold; font-size: 12px; } </style> <?php if ($employee['identity_upload'] != '') { ?> <a href="<?php echo $employee['identity_upload'] ?>" target="_blank">VIEW IDENTITY DETAIL - <?php echo date("d-m-Y H:i:s", filemtime($employee['identity_upload'])); ?></a> <br><a href="<?php echo $employee['identity_upload'] ?>" target="_blank"> <img class="image_view" src="<?php echo $employee['identity_upload'] ?>" height="120" width="120"> </a> <br> <?php } ?> <?php if ($employee['address_upload'] != '') { ?> <a href="<?php echo $employee['address_upload'] ?>" target="_blank">VIEW ADDRESS DETAIL - <?php echo date("d-m-Y H:i:s", filemtime($employee['address_upload'])); ?></a> <br><a href="<?php echo $employee['address_upload'] ?>" target="_blank"> <img class="image_view" src="<?php echo $employee['address_upload'] ?>" height="120" width="120"> </a> <br> <?php } ?> <?php if ($employee['emp_sign'] != '') { ?> <a href="<?php echo $employee['emp_sign'] ?>" target="_blank">VIEW SIGNATURE - <?php echo date("d-m-Y H:i:s", filemtime($employee['emp_sign'])); ?></a> <br><a href="<?php echo $employee['emp_sign'] ?>" target="_blank"> <img class="image_view" src="<?php echo $employee['emp_sign'] ?>" height="120" width="120"> </a><br><?php } ?> <?php // if ($terminated_upload_doc != '') { ?> <?php foreach ($result_sql_all_action as $all_action) { ?> <?php if ($all_action['upload_doc'] != '') { ?> <a href="../include/<?php echo $all_action['upload_doc']; ?>" title="View Document" target="_blank">View <?php echo $all_action['process_type']; ?> Document - <?php echo date("d-m-Y H:i:s", filemtime('../include/' . $all_action['upload_doc'])); ?></a> <br><a href="../include/<?php echo $all_action['upload_doc']; ?>" target="_blank"> <img class="image_view" src="../include/<?php echo $all_action['upload_doc']; ?>" height="120" width="120"> </a><br> <?php } ?> <?php } ?> </div> <div class="col-sm-offset-1 col-sm-4 col-xs-offset-1 col-xs-4"> <?php if ($employee['pan_detail'] == 'yes') { ?> <a href="<?php echo $employee['pan_upload'] ?>" target="_blank">VIEW PAN CARD - <?php echo date("d-m-Y H:i:s", filemtime($employee['pan_upload'])); ?></a> <br><a href="<?php echo $employee['pan_upload'] ?>" target="_blank"> <img class="image_view" src="<?php echo $employee['pan_upload'] ?>" height="120" width="120"> </a><br> <?php } ?> <?php if ($employee['passbook_upload'] != '') { ?> <a href="<?php echo $employee['passbook_upload'] ?>" target="_blank">VIEW BANK PASSBOOK - <?php echo date("d-m-Y H:i:s", filemtime($employee['passbook_upload'])); ?></a> <br><a href="<?php echo $employee['passbook_upload'] ?>" target="_blank"> <img class="image_view" src="<?php echo $employee['passbook_upload'] ?>" height="120" width="120"> </a><br><?php } ?> <?php if ($employee['passbook_upload_2'] != '') { ?> <a href="<?php echo $employee['passbook_upload_2'] ?>" target="_blank">VIEW BANK PASSBOOK 2 - <?php echo date("d-m-Y H:i:s", filemtime($employee['passbook_upload_2'])); ?></a> <br><a href="<?php echo $employee['passbook_upload_2'] ?>" target="_blank"> <img class="image_view" src="<?php echo $employee['passbook_upload_2'] ?>" height="120" width="120"> </a><br><?php } ?> <?php if ($employee['skilled'] == 'Skilled') { ?> <?php if ($employee['skilled_upload'] != '') { ?> <a href="<?php echo $employee['skilled_upload'] ?>" target="_blank">VIEW SKILLED DETAIL - <?php echo date("d-m-Y H:i:s", filemtime($employee['skilled_upload'])); ?></a> <br><a href="<?php echo $employee['skilled_upload'] ?>" target="_blank"> <img class="image_view" src="<?php echo $employee['skilled_upload'] ?>" height="120" width="120"> </a><br><?php } ?> <?php } ?> <?php if ($employee['other_upload'] != '') { ?> <a href="<?php echo $employee['other_upload'] ?>" target="_blank">VIEW LETTER/OTHER - <?php echo date("d-m-Y H:i:s", filemtime($employee['other_upload'])); ?></a> <br><a href="<?php echo $employee['other_upload'] ?>" target="_blank"> <img class="image_view" src="<?php echo $employee['other_upload'] ?>" height="120" width="120"> </a><br><?php } ?> </div> </div> </div> </div> </div> </div> </div> <!-- <div class="row"> <div class="progress"> <br> <div class="progress-bar progress-bar-warning progress-bar-striped" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 0%"> 0% Uploading... </div> </div> </div>--> </div> <?php if ($countEzRen > 0 && $EmpRenArray[0]['ren_payment_status'] != 'Success') { ?> <form method="post" action=""> <div class="row"> <br><br> <div class="col-sm-3"> </div> <div class="col-sm-6"> <ul style="color: red;"> <li> Test </li> <li> Test2 </li> </ul> </div> <div class="col-sm-3"> </div> <div class="col-sm-4"> </div> <div class="col-sm-4"> <label class="form-label"> SELECT AREA <span class="form-required"> * </span></label> <div class="form-input"> <select id="area_id" name="area_id" class="form-dropdown form-control" style="text-transform:uppercase" required=""> <option value="">-Select Area-</option> <?php foreach ($EzFeederArray as $EzFeederList) { ?> <option value="<?php echo $EzFeederList['feeder_id']; ?>"><?php echo $EzFeederList['feeder_name']; ?></option> <?php } ?> </select> </div> </div> <div class="col-sm-4"> <button type="submit" class="btn btn-primary" name="add_area" style="margin-top: 6%;">ADD AREA</button> </div> </div> </form> <?php } ?> </div> <!-- /page content --> <?php include '../assets/foot.php'; ?> <?php if (isset($_SESSION['msg'])) { ?> <div class="msg_box res_msg" id="msg_box"> <div class="headr" onclick="this.parentElement.style.display = 'none';">Close</div><?php echo $_SESSION['msg']; unset($_SESSION['msg']) ?> </div> <?php } else if (isset($_SESSION['err_msg'])) { ?> <div class="msg_box res_err" id="msg_box" style=" color:red;"> <div class="headrerr" onclick="this.parentElement.style.display = 'none';">Close</div><?php echo $_SESSION['err_msg']; unset($_SESSION['err_msg']) ?> </div> <?php } else { ?> <div class="msg_box res_msg" id="msg_box" style="display:none;"> <div class="headr" onclick="this.parentElement.style.display = 'none';">Close</div> <span id="bulk_res"></span> </div> <div class="msg_box res_err" id="msg_box" style=" color:red;display:none;"> <div class="headrerr" onclick="this.parentElement.style.display = 'none';">Close</div> <span id="bulk_err"></span> </div> <?php } ?> <script> setTimeout(function () { document.getElementById('msg_box').style.display = "none"; }, 8000); $(".btnprint").click(function () { //Hide all other elements other than printarea. $("#printarea").show(); window.print(); }); // Get the element with id="defaultOpen" and click on it document.getElementById("defaultOpen").click(); </script>