File manager - Edit - /home/autoph/public_html/voc/home/CL_NEW_CLEARANCE_VIEW.php
Back
<?php ob_start(); include 'core/init.php'; protected_page(); $comID=$user_data['company']; echo "<input type='hidden' name='companyID' id='companyID' value='$comID'>"; if(isset($_GET['company'])){ $comName=$_GET['company'];//mysql_result(mysql_query("SELECT `comp_code` FROM `vts_company` WHERE `comp_id`='$comID'"),0); }else{ $comName = mysql_result(mysql_query("SELECT `comp_code` FROM `vts_company` WHERE `comp_id`='$comID'"),0); } $userID=$user_data['u_id']; $dataCount =0; ?> <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="css/style_menu.css"> <link rel="stylesheet" href="css/style.css"> <!--- LOCALIZED COPY OF JAVASCRIPT --> <!--- LOCALIZED COPY OF JAVASCRIPT --> <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script> <script language="javascript" type="text/javascript"> function UpdateApprovalCount() { $.ajax({ url: "CL_UPDATE_APPROVAL_COUNT.php", type: "get", dataType: "text", success: function(data){ $('#ForMyApproval').html(data); } }); } function UpdateMyClearanceCount() { $.ajax({ url: "CL_UPDATE_MYCLEARANCE_COUNT.php", type: "get", dataType: "text", success: function(data){ $('#MyClearanceForm').html(data); } }); } function UpdateUnPostedClerance() { $.ajax({ url: "CL_UPDATE_UNPOSTED_COUNT.php", type: "get", dataType: "text", success: function(data){ $('#UnPostedClearance').html(data); } }); } function UpdateCleranceList() { $.ajax({ url: "CL_UPDATE_CLERANCE_LIST_COUNT.php", type: "get", dataType: "text", success: function(data){ $('#cleranceList').html(data); } }); } function UpdateFinalPay() { $.ajax({ url: "CL_UPDATE_FINAL_PAY_COUNT.php", type: "get", dataType: "text", success: function(data){ $('#FinalPay').html(data); } }); } function UpdateReadyForRelease() { $.ajax({ url: "CL_UPDATE_FOR_RELEASE_COUNT.php", type: "get", dataType: "text", success: function(data){ $('#forReleasePay').html(data); } }); } //=================END OF DASHBOARD UPDATE COUNTER========================================== //=================END OF DASHBOARD UPDATE COUNTER========================================== $(function () { $('.showMenu').click(function () { $('.DivToHide').show(); }); $('.showMenu').click(function () { $('.DivToHide').hide(); }); }); $(function () { $('.showMenu').click(function () { $('.DivToHide').show(); }); $('.showMenu').click(function () { $('.DivToHide').hide(); }); }); function confirmDeleteBox(){ var diva=document.getElementById("deleteBoxYesNo"); if (diva.style.display == 'none') { diva.style.display = ''; } else { diva.style.display = 'none'; } } function showAddNewForm(){ var diva=document.getElementById("AddNewInventoryForm"); if (diva.style.display == 'none') { diva.style.display = ''; } else { diva.style.display = 'none'; } } function showAddNewAdminForm(){ var diva=document.getElementById("FORMAddNewAdmin"); if (diva.style.display == 'none') { diva.style.display = ''; } else { diva.style.display = 'none'; } } function hideAssignMsg(){ $("#saveMessage").fadeOut(3000); }; function showAssignMsg(){ $("#saveMessage").fadeIn(); }; function invHideAssignMsg(){ $("#invMessage").fadeOut(3000); }; function invShowAssignMsg(){ $("#invMessage").fadeIn(); }; </script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <div id="wait" style="display:none;width:400px;height:100px;border:0px solid red;position:absolute;top:50%;left:45%;padding:2px;z-index:999999999999999999"> <img src='images/demo_wait.gif' width="64" height="64" /><br>Loading...</div> <!-- add jquery --> <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script> <script language="javascript" type="text/javascript"> $(document).ready(function(){ $(document).ajaxStart(function(){ $("#wait").css("display", "block"); }); $(document).ajaxComplete(function(){ $("#wait").css("display", "none"); }); //============================================================================================================================================ //============================================================================================================================================ $("#goSearchRecord").click(function(){ var SearchText = $("#SearchText").val(); //alert(SearchText); //return false; if(SearchText==""){ //alert('Invalid Entry'); $('#SearchText').focus(); $('#SearchText').css({'border':'1px solid red'}); $('#SearchText').css({'color':'red'}); $('#SearchText').attr("placeholder","Enter something to search..."); return false; } //if(confirm("WARNING: \n\nARE YOU SURE YOU WANT TO DELETE THIS RECORD? \n\n Press 'OK' button to proceed...")){ $.ajax({ url: "CL_SEARCH_CL_HEADER.php", type: "POST", async: false, data: { "SearchText": SearchText, "done": 1 }, success: function(d){ //invShowAssignMsg(); $("#templateContent").html(d); //invHideAssignMsg(); //$('#searchText').val(''); . } }) //} }); //============================================================================================================================================ //============================================================================================================================================ $("#EditClearanceForm").click(function(){ var recordID = $("#recordID").val(); var addCompID = $("#addCompID").val(); if(recordID==""){ alert('No record has been selected'); return false; } $.ajax({ url: "CL_EDIT_LOAD_DATA.php", type: "POST", async: false, data: { "addCompID": addCompID, "recordID": recordID, "done": 1 }, success: function(d){ //invShowAssignMsg(); $("#EditResult").html(d); //invHideAssignMsg(); //$('#searchText').val(''); } }) }); //=======================EditClearanceForm===================================================================================================================== $("#DeleteClearanceForm").click(function(){ var recordID = $("#recordID").val(); var addCompID = $("#addCompID").val(); if(recordID==""){ alert('No record has been selected'); return false; } if(confirm("WARNING: \n\nARE YOU SURE YOU WANT TO DELETE THIS RECORD? \n\n Press 'OK' button to proceed...")){ $.ajax({ url: "CL_DELETE_SELECTED_CLEARANCE.php", type: "POST", async: false, data: { "addCompID": addCompID, "recordID": recordID, "done": 1 }, success: function(d){ //invShowAssignMsg(); $("#templateContent").html(d); //invHideAssignMsg(); //$('#searchText').val(''); UnPostedClearance UpdateApprovalCount(); UpdateMyClearanceCount(); UpdateUnPostedClerance(); UpdateCleranceList(); UpdateFinalPay(); UpdateReadyForRelease(); } }) } }); //============================================================================================================================================ //============================================================================================================================================ $("#goSearchEmployee").click(function(){ var SearchEmployees = $("#SearchEmployees").val(); var addCompID = $("#addCompID").val(); if(SearchEmployees==""){ //alert('Invalid Entry'); $('#SearchEmployees').focus(); $('#SearchEmployees').css({'border':'1px solid red'}); $('#SearchEmployees').css({'color':'red'}); $('#SearchEmployees').attr("placeholder","Enter something to search..."); return falise; } //if(confirm("WARNING: \n\nARE YOU SURE YOU WANT TO DELETE THIS RECORD? \n\n Press 'OK' button to proceed...")){ $.ajax({ url: "CL_SEARCH_EMPLOYEE_ADMIN_ACCESS.php", type: "POST", async: false, data: { "addCompID": addCompID, "SearchEmployees": SearchEmployees, "done": 1 }, success: function(d){ //invShowAssignMsg(); $("#SearchResult").html(d); //invHideAssignMsg(); //$('#searchText').val(''); } }) //} }); //============================================================================================================================================ //============================================================================================================================================ $("#saveNewClearanceEdit").click(function(){ var SelEmpIDe = $("#SelEmpIDe").val(); var empIDe = $("#empIDe").val(); var employmentStatuse = $("#employmentStatuse").val(); var employeePositione = $("#employeePositione").val(); var empDesignatede = $("#empDesignatede").val(); var empUnitAssignmente = $("#empUnitAssignmente").val(); var empCompanye = $("#empCompanye").val(); var empSharedServicese = $("#empSharedServicese").val(); var clearanceReasone = $("#clearanceReasone").val(); var reasonFrome = $("#reasonFrome").val(); var reasonToe = $("#reasonToe").val(); var empClearanceNotee = $("#empClearanceNotee").val(); var addByUID = $("#addByUID").val(); var empDateHirede = $("#empDateHirede").val(); var clearanceTemplatee = $("#clearanceTemplatee").val(); //endaya var recordID = $("#recordID").val(); //endaya //alert(recordID); //return false; if(recordID == ""){ alert('No record has been selected'); return false; } if(empIDe==""){ //alert('Invalid Entry'); $('#empIDe').focus(); $('#empIDe').css({'border':'1px solid red'}); $('#empIDe').css({'color':'red'}); $('#empIDe').attr("placeholder","Required"); return falise; } if(empDateHirede==""){ //alert('Invalid Entry'); $('#empDateHirede').focus(); $('#empDateHirede').css({'border':'1px solid red'}); $('#empDateHirede').css({'color':'red'}); $('#empDateHirede').attr("placeholder","Required"); return falise; } if(empUnitAssignmente==""){ //alert('Invalid Entry'); $('#empUnitAssignmente').focus(); $('#empUnitAssignmente').css({'border':'1px solid red'}); $('#empUnitAssignmente').css({'color':'red'}); $('#empUnitAssignmente').attr("placeholder","Required"); return falise; } if(empCompanye==""){ //alert('Invalid Entry'); $('#empCompanye').focus(); $('#empCompanye').css({'border':'1px solid red'}); $('#empCompanye').css({'color':'red'}); $('#empCompanye').attr("placeholder","Required"); return falise; } if(clearanceTemplatee==""){ //alert('Invalid Entry'); $('#clearanceTemplatee').focus(); $('#clearanceTemplatee').css({'border':'1px solid red'}); $('#clearanceTemplatee').css({'color':'red'}); $('#clearanceTemplatee').css({'background':'yellow'}); $('#clearanceTemplatee').attr("placeholder","Required"); return falise; } ShowUploadBar(); //if(confirm("CONFIRM CHANGES: \n\nAre you sure you want to modify this record? \n\n Press 'OK' button to proceed...")){ $.ajax({ url: "CL_SAVE_NEW_CLEARANCE_HDRe.php", type: "POST", async: false, data: { "SelEmpIDe": SelEmpIDe, "recordID": recordID, "empDateHirede": empDateHirede, "empIDe": empIDe, "employmentStatuse": employmentStatuse, "employeePositione": employeePositione, "empDesignatede": empDesignatede, "empUnitAssignmente": empUnitAssignmente, "empCompanye": empCompanye, "empSharedServicese": empSharedServicese, "clearanceReasone": clearanceReasone, "reasonFrome": reasonFrome, "reasonToe": reasonToe, "empClearanceNotee": empClearanceNotee, "clearanceTemplatee": clearanceTemplatee, "addByUID": addByUID, "done": 1 }, success: function(d){ $('#reasonFrom').val(''); $('#SelEmpID').val(''); $('#reasonTo').val(''); $('#empClearanceNote').val(''); $('#empDateHired').val(''); $('#empID').val(''); $('#employmentStatus').val(''); $('#employeePosition').val(''); $('#empUnitAssignment').val(''); $('#empCompany').val(''); $('#empSharedServices').val(''); $('#clearanceReason').val(''); //$("#templateContent").html(d); alert("New Clearance Form has been saved."); hideAdminFormEdit(); ShowUploadBar(); } }) //} }); //============================================================================================================================================ //=====================================================================returnedToPayroll approvedByHR======================================================================= $("#AttachFile").click(function(){ var clearanceID = $("#recordID").val(); var SelUserName = $("#SelUserName").val(); var SelEMPID = $("#SelEMPID").val(); var SelDateCreated = $("#SelDateCreated").val(); var SelPosition = $("#SelPosition").val(); if(clearanceID==""){ alert('No record or clearance has been selected'); return false; } //if(confirm("WARNING: \n\nARE YOU SURE YOU WANT TO DELETE THIS RECORD? \n\n Press 'OK' button to proceed...")){ $.ajax({ url: "cl_resignation_acceptance_letter.php", type: "POST", async: false, data: { "clearanceID": clearanceID, "SelUserName": SelUserName, "SelEMPID": SelEMPID, "SelDateCreated": SelDateCreated, "SelPosition": SelPosition, "done": 1 }, success: function(d){ showFileUpload(); $("#showUploadedFile").html(d); } }) //} }); //============================================================================================================================================ $("#saveNewClearance").click(function(){ var SelEmpID = $("#SelEmpID").val(); var empDateResigned = $("#empDateResigned").val(); var empID = $("#empID").val(); var employmentStatus = $("#employmentStatus").val(); var employeePosition = $("#employeePosition").val(); var empDesignated = $("#empDesignated").val(); var empUnitAssignment = $("#empUnitAssignment").val(); var empCompany = $("#empCompany").val(); var empSharedServices = $("#empSharedServices").val(); var clearanceReason = $("#clearanceReason").val(); var reasonFrom = $("#reasonFrom").val(); var reasonTo = $("#reasonTo").val(); var FromLocation = $("#FromLocation").val(); var ToLocation = $("#ToLocation").val(); var empClearanceNote = $("#empClearanceNote").val(); var addByUID = $("#addByUID").val(); var empDateHired = $("#empDateHired").val(); var clearanceTemplate = $("#clearanceTemplate").val(); var empEffectivityDate = $("#empEffectivityDate").val(); if(empID==""){ //alert('Invalid Entry'); $('#empID').focus(); $('#empID').css({'border':'1px solid red'}); $('#empID').css({'color':'red'}); $('#empID').attr("placeholder","Required"); return falise; } if(empDateHired==""){ //alert('Invalid Entry'); $('#empDateHired').focus(); $('#empDateHired').css({'border':'1px solid red'}); $('#empDateHired').css({'color':'red'}); $('#empDateHired').attr("placeholder","Required"); return falise; } if(empUnitAssignment==""){ //alert('Invalid Entry'); $('#empUnitAssignment').focus(); $('#empUnitAssignment').css({'border':'1px solid red'}); $('#empUnitAssignment').css({'color':'red'}); $('#empUnitAssignment').attr("placeholder","Required"); return falise; } if(empCompany==""){ //alert('Invalid Entry'); $('#empCompany').focus(); $('#empCompany').css({'border':'1px solid red'}); $('#empCompany').css({'color':'red'}); $('#empCompany').attr("placeholder","Required"); return falise; } if(clearanceTemplate==""){ //alert('Invalid Entry'); $('#clearanceTemplate').focus(); $('#clearanceTemplate').css({'border':'1px solid red'}); $('#clearanceTemplate').css({'color':'red'}); $('#clearanceTemplate').css({'background':'yellow'}); $('#clearanceTemplate').attr("placeholder","Required"); return falise; } if(empDateResigned==""){ //alert('Invalid Entry'); $('#empDateResigned').focus(); $('#empDateResigned').css({'border':'1px solid red'}); $('#empDateResigned').css({'color':'red'}); $('#empDateResigned').attr("placeholder","Required"); return falise; } if(empEffectivityDate==""){ //alert('Invalid Entry'); $('#empEffectivityDate').focus(); $('#empEffectivityDate').css({'border':'1px solid red'}); $('#empEffectivityDate').css({'color':'red'}); $('#empEffectivityDate').attr("placeholder","Required"); return falise; } ShowUploadBar(); //if(confirm("WARNING: \n\nARE YOU SURE YOU WANT TO DELETE THIS RECORD? \n\n Press 'OK' button to proceed...")){ $.ajax({ url: "CL_SAVE_NEW_CLEARANCE_HDR.php", type: "POST", async: false, data: { "SelEmpID": SelEmpID, "empDateHired": empDateHired, "empID": empID, "FromLocation":FromLocation, "ToLocation":ToLocation, "employmentStatus": employmentStatus, "employeePosition": employeePosition, "empDesignated": empDesignated, "empUnitAssignment": empUnitAssignment, "empCompany": empCompany, "empSharedServices": empSharedServices, "clearanceReason": clearanceReason, "reasonFrom": reasonFrom, "reasonTo": reasonTo, "empClearanceNote": empClearanceNote, "clearanceTemplate": clearanceTemplate, "addByUID": addByUID, "empEffectivityDate": empEffectivityDate, "empDateResigned": empDateResigned, "done": 1 }, success: function(d){ $('#reasonFrom').val(''); $('#SelEmpID').val(''); $('#reasonTo').val(''); $('#empClearanceNote').val(''); $('#empDateHired').val(''); $('#empID').val(''); $('#employmentStatus').val(''); $('#employeePosition').val(''); $('#empUnitAssignment').val(''); $('#empCompany').val(''); $('#empSharedServices').val(''); $('#clearanceReason').val(''); $("#templateContent").html(d); hideAdminForm(); UpdateApprovalCount(); UpdateMyClearanceCount(); UpdateUnPostedClerance(); UpdateCleranceList(); ShowUploadBar(); } }) //} }); //START OF FUNCTION========UPLOAD RESIGNATION LETTER==================================================================== //START OF FUNCTION========UPLOAD RESIGNATION LETTER==================================================================== $('#GoUploadResignation').on('change', function() { var clearanceID = $("#recordID").val(); var addCompID = $("#addCompID").val(); var file_data = $('#GoUploadResignation').prop('files')[0]; var form_data = new FormData(); // Create a FormData object form_data.append('file', file_data); // Append all element in FormData object form_data.append('clearanceID', clearanceID); form_data.append('addCompID', addCompID); if(clearanceID==''){ alert('No record has been selected. ERROR: File upload failed.'); return false; } $.ajax({ url : 'CL_UPLOAD_RESIGNATION_LETTER.php', // point to server-side PHP script dataType : 'text', // what to expect back from the PHP script, if anything cache : false, contentType : false, processData : false, data : form_data, type : 'post', success : function(output){ HideUploadResignationLetter(); $("#showUploadedFile").html(output); } }); $('#GoUploadResignation').val(''); /* Clear the file container */ }); //============================================================================================================================================ //============================================================================================================================================. //START OF FUNCTION========UPLOAD RESIGNATION LETTER==================================================================== //START OF FUNCTION========UPLOAD RESIGNATION LETTER==================================================================== $('#GoUploadAcceptance').on('change', function() { var clearanceID = $("#recordID").val(); var addCompID = $("#addCompID").val(); var file_data = $('#GoUploadAcceptance').prop('files')[0]; var form_data = new FormData(); // Create a FormData object form_data.append('file', file_data); // Append all element in FormData object form_data.append('clearanceID', clearanceID); form_data.append('addCompID', addCompID); if(clearanceID==''){ alert('No record has been selected. ERROR: File upload failed.'); return false; } $.ajax({ url : 'CL_UPLOAD_ACCEPTANCE_LETTER.php', // point to server-side PHP script dataType : 'text', // what to expect back from the PHP script, if anything cache : false, contentType : false, processData : false, data : form_data, type : 'post', success : function(output){ HideUploadAcceptanceLetter(); $("#showUploadedFile").html(output); } }); $('#GoUploadAcceptance').val(''); /* Clear the file container */ }); //============================================================================================================================================ //============================================================================================================================================ }); function HideUploadAcceptanceLetter(){ $("#uploadAcceptanceLetter").fadeOut(400); }; function ShowUploadAcceptanceLetter(){ $("#uploadAcceptanceLetter").fadeIn(); hideFileUpload(); }; function HideUploadResignationLetter(){ $("#uploadResignationLetter").fadeOut(400); }; function ShowUploadResignationLetter(){ $("#uploadResignationLetter").fadeIn(); hideFileUpload(); }; function hideAdminForm(){ $("#FORMAddNewAdmin").fadeOut(500); }; function showAdminForm(){ $("#FORMAddNewAdmin").fadeIn(500); }; function hideAdminFormEdit(){ $("#FORMAddNewAdminEdit").fadeOut(500); }; function showAdminFormEdit(){ $("#FORMAddNewAdminEdit").fadeIn(500); }; function hideFileUpload(){ $("#UploadFileToClearance").fadeOut(400); }; function showFileUpload(){ $("#UploadFileToClearance").fadeIn(); }; function showAdminAccess(row) { var x=row.cells; document.getElementById("recordID").value = x[1].innerHTML; document.getElementById("activeRecord").value = "SELECTED RECORD: " + x[4].innerHTML + ", " + x[4].innerHTML + " (Record # " + x[1].innerHTML +")"; document.getElementById("rank").value = x[3].innerHTML; document.getElementById("SelUserName").value = x[4].innerHTML; document.getElementById("SelEMPID").value = x[3].innerHTML; document.getElementById("SelDateCreated").value = x[2].innerHTML; document.getElementById("SelPosition").value = x[5].innerHTML; } function ShowUploadBar() { var div = document.getElementById("loadBaraData"); if (div.style.display == 'none') { div.style.display = ''; } else { div.style.display = 'none' } } </script> <style> p{ font-Family:Calibri; font-size:20px; font-weight:bold; color:black; padding:10px; padding-top:0px; margin:10px; margin-top:0px; margin-left:0px; } select { -webkit-appearance: button; -moz-appearance: button; -webkit-user-select: none; -moz-user-select: none; -webkit-padding-end: 20px; -moz-padding-end: 20px; -webkit-padding-start: 2px; -moz-padding-start: 2px; background-color: #d9dad8 ; /* Fallback color if gradients are not supported */ background-image: url(images/select-arrow.png), -webkit-linear-gradient(top, #E5E5E5, #F4F4F4); /* For Chrome and Safari */ background-image: url(images/select-arrow.png), -moz-linear-gradient(top, #E5E5E5, #F4F4F4); /* For old Firefox (3.6 to 15) */ background-image: url(images/select-arrow.png), -ms-linear-gradient(top, #E5E5E5, #F4F4F4); /* For pre-releases of Internet Explorer 10*/ background-image: url(images/select-arrow.png), -o-linear-gradient(top, #E5E5E5, #F4F4F4); /* For old Opera (11.1 to 12.0) */ background-image: url(images/select-arrow.png), linear-gradient(to bottom, #E5E5E5, #F4F4F4); /* Standard syntax; must be last */ background-position: center right; background-repeat: no-repeat; border: 1px solid #AAA; border-radius: 2px; box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); color: #555; font-size: 14px; margin: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right:5px; } .bgColorBlk{ background: -webkit-linear-gradient(left top,#000000, #646462,#e3e3da); /* For Safari 5.1 to 6.0 */ background: -o-linear-gradient(bottom right, #000000, #646462,#e3e3da); /* For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(bottom top, #000000, #646462,#e3e3da); /* For Firefox 3.6 to 15 */ background: linear-gradient(to bottom right, #000000, #646462,#e3e3da); /* Standard syntax */ } input, text, date { -webkit-appearance: button; -moz-appearance: button; -webkit-user-select: none; -moz-user-select: none; -webkit-padding-end: 20px; -moz-padding-end: 20px; -webkit-padding-start: 2px; -moz-padding-start: 2px; background-color: #d9dad8 ; /* Fallback color if gradients are not supported */ background-image: url(images/pen.png), -webkit-linear-gradient(top, #E5E5E5, #F4F4F4); /* For Chrome and Safari */ background-image: url(images/pen.png), -moz-linear-gradient(top, #E5E5E5, #F4F4F4); /* For old Firefox (3.6 to 15) */ background-image: url(images/pen.png), -ms-linear-gradient(top, #E5E5E5, #F4F4F4); /* For pre-releases of Internet Explorer 10*/ background-image: url(images/pen.png), -o-linear-gradient(top, #E5E5E5, #F4F4F4); /* For old Opera (11.1 to 12.0) */ background-image: url(images/pen.png), linear-gradient(to bottom, #E5E5E5, #F4F4F4); /* Standard syntax; must be last */ background-position: center left; background-repeat: no-repeat; border: 1px solid #AAA; border-radius: 2px; box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); color: #555; font-size: 14px; margin: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left:5px; height:30px; margin-top:0px; text-align:center; } textarea { -webkit-appearance: button; -moz-appearance: button; -webkit-user-select: none; -moz-user-select: none; -webkit-padding-end: 20px; -moz-padding-end: 20px; -webkit-padding-start: 2px; -moz-padding-start: 2px; background-color: #d9dad8 ; /* Fallback color if gradients are not supported */ background-image: url(images/pen.png), -webkit-linear-gradient(top, #E5E5E5, #F4F4F4); /* For Chrome and Safari */ background-image: url(images/pen.png), -moz-linear-gradient(top, #E5E5E5, #F4F4F4); /* For old Firefox (3.6 to 15) */ background-image: url(images/pen.png), -ms-linear-gradient(top, #E5E5E5, #F4F4F4); /* For pre-releases of Internet Explorer 10*/ background-image: url(images/pen.png), -o-linear-gradient(top, #E5E5E5, #F4F4F4); /* For old Opera (11.1 to 12.0) */ background-image: url(images/pen.png), linear-gradient(to bottom, #E5E5E5, #F4F4F4); /* Standard syntax; must be last */ background-position: center right; background-repeat: no-repeat; border: 1px solid #AAA; border-radius: 2px; box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); color: #555; font-size: 14px; margin: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; height:30px; margin-top:0px; padding:2px; } table{ border-collapse:collapse; width:100%; } th{ padding:8px; font-family:Verdana; color: #c4cac3 ; font-size:12px; font-weight:normal; border:1px solid gray; text-align:left; background:#2c3e29; } .tableMenu{ display:block;padding:3px;font-weight:normal;color:blue;border:1px solid gray;;width:70px;float:left;margin-right:15px; } .tableMenu:hover{ display:block;padding:3px;font-weight:bold;color:red;cursor: pointer;border:1px solid red;width:70px;background:#f4fcb6;float:left;;margin-right:15px; } </style> </head> <body style="font-family:Verdana;color:#aaaaaa;background:white"> <!--===================================================== --> <!--===========OPEN TEMPLATE FOR VIEW======================== --> <input type="hidden" id="addByUID" value="<?php echo $userID;?>"> <input type="hidden" id="addCompID" value="<?php echo $comID;?>"> <input type="hidden" id="recordID"> <input type="hidden" id="rank"> <input type="hidden" id="SelUserName"> <input type="hidden" id="SelEMPID"> <input type="hidden" id="SelDateCreated"> <input type="hidden" id="SelPosition"> <!--#########################################################################--> <div id="loadBaraData" style="display:none;position:absolute;top:50%;left:35%;width:30%;padding:5px;padding-left:2px;padding-right:2px;height:80px;background:transparent;z-index:9999;border:0px solid gray;z-index:999999999999999999"> <div id="uploadBar" style="font-family:Calibri;font-size:14px;color:red;text-align:center;margin-top:0px;background:white;display:block;width:100%;height:50px;border:0px solid red;position:relative;left:5px;padding:5px;z-index:999999999999999999;border:1px solid orange"> <img src='images/ajaxLoader.gif' width="100%" height="20px" /><br><center>Working...<center></div> </div> <!--#########################################################################--> <!--===================================================== --> <!--========UPLOAD RESIGNATION============ --> <div id='uploadResignationLetter' style='display:none;position:absolute;top:100px;left:120px;height:300px;width:600px;background:white;border:2px solid gray;z-index:99'> <div style='padding:0px;width:100%;float:left;border:0px solid lightgray;background:#fff;height:100%'> <div class='grayBG' style='vertical-align:top;height:30px;margin:0px;width:100%;border-bottom:0px solid gray;padding:5px;font-family:Verdana;font-weight:bold;font-size:14px;color:#043062;text-align:left'>☳ HRD: UPLOAD RESIGNATION LETTER </div> <div style='padding:30px;padding-top:10px;text-align:center;width:100%;float:right;font-family:Verdana;font-size:12px;border:0px solid red;height:100px'> <p style='float:left;font-family:Yu Gothic Light;margin-top:20px;font-size:16px;'>Click 'Browse' button and select the file you wish to attach...</p> <form action = "" method="post" enctype="multipart/form-data" style='background:white;border:0px solid gray;text-align:left;font-family:Arial;font-size:12px;color:black;border-bottom:0px solid lightgray;'> <input type="hidden" id="clearanceID" style="font-family:Arial;font-size:16px;color:blue;font-weight:bold;margin:2px;padding:2px;border:0px solid white" disabled> <input type="hidden" id="uploadTitle" style="font-family:Arial;font-size:16px;color:blue;font-weight:bold;margin-bottom:20px;padding:10px;border:0px solid white;background:yellow;border-top:0px solid lightgray;" disabled> <input type="file" value="Upload" id="GoUploadResignation" required style='float:left;background:yellow;width:100%;text-align:left;border:0px;float:left;font-family:Calibri;font-size:18px;margin-bottom:5px'> <br> </form> </div> <br><br><button onclick="HideUploadResignationLetter()" id="closeDiv" style="width:20%;height:30px;padding:5px;font-family:Arial;font-size:14px;margin:20px;margin-right:40%;margin-top:50px">Close</button> </div> </div> <!--===================================================== --> <!--========UPLOAD ACCEPTANCE LETTER============ --> <div id='uploadAcceptanceLetter' style='display:none;position:absolute;top:100px;left:120px;height:300px;width:600px;background:white;border:2px solid gray;z-index:99'> <div style='padding:0px;width:100%;float:left;border:0px solid lightgray;background:#fff;height:100%'> <div class='grayBG' style='vertical-align:top;height:30px;margin:0px;width:100%;border-bottom:0px solid gray;padding:5px;font-family:Verdana;font-weight:bold;font-size:14px;color:#043062;text-align:left'>☳ HRD: UPLOAD ACCEPTANCE LETTER </div> <div style='padding:30px;padding-top:10px;text-align:center;width:100%;float:right;font-family:Verdana;font-size:12px;border:0px solid red;height:100px'> <p style='float:left;font-family:Yu Gothic Light;margin-top:20px;font-size:16px;'>Click 'Browse' button and select the file you wish to attach...</p> <form action = "" method="post" enctype="multipart/form-data" style='background:white;border:0px solid gray;text-align:left;font-family:Arial;font-size:12px;color:black;border-bottom:0px solid lightgray;'> <input type="hidden" id="clearanceID" style="font-family:Arial;font-size:16px;color:blue;font-weight:bold;margin:2px;padding:2px;border:0px solid white" disabled> <input type="hidden" id="uploadTitle" style="font-family:Arial;font-size:16px;color:blue;font-weight:bold;margin-bottom:20px;padding:10px;border:0px solid white;background:yellow;border-top:0px solid lightgray;" disabled> <input type="file" value="Upload" id="GoUploadAcceptance" required style='float:left;background:yellow;width:100%;text-align:left;border:0px;float:left;font-family:Calibri;font-size:18px;margin-bottom:5px'> <br> </form> </div> <br><br><button onclick="HideUploadAcceptanceLetter()" id="closeDiv" style="width:20%;height:30px;padding:5px;font-family:Arial;font-size:14px;margin:20px;margin-right:40%;margin-top:50px">Close</button> </div> </div> <!--===================================================== --> <!--===========EDIT NEW CLEARANCE HEADER======================== --> <!--===================================================== --> <!--===========EDIT NEW CLEARANCE HEADER======================== --> <div id="FORMAddNewAdminEdit" style="display:none;width:1000px;height:484px;background:#fce4a4;border:2px solid black;position:absolute;top:150px;left:300px;"> <div class='bgColor' style='vertical-align:top;height:30px;margin:0px;width:100%;border-bottom:1px solid gray;padding:5px;font-family:Verdana;font-size:16px;font-weight:bold;color:#e5320a;text-align:left;'> ☶ EDIT CLEARANCE FORM: <div style='float:right;font-family:Calibri;font-size:18px;'> <a href='#' onclick='hideAdminFormEdit()' style='font-weight:bold'> ✕ </a> </div> </div> <!--BODY--> <div style="padding:10px;width:100%;height:450px;margin:0px;border;1px solid black;background:white;border-bottom:1px solid gray"> <p style="border-radius:0px;float:right;width:100%;padding:10px;padding-top:5px;height:40px">❖ EDIT MODE </p> <div id="EditResult" style="width:100%;height:320px;background: #fce4a4 ;margin-top:10px;border:2px solid red;overflow:auto"> </div> <input type="submit" id="saveNewClearanceEdit" value="✛ UPDATE CLEARANCE FORM" STYLE="padding:10px;height:50px;width:250px;float:right;margin-right:0px"> <button type="submit" onclick='hideAdminFormEdit()'STYLE="padding:10px;height:50px;width:150px;float:right;margin-right:20px;margin-top:10px">✖ CANCEL </button> <select id='clearanceTemplatee' style='padding:10px;height:50px;width:350px;float:left;margin-right:100px;margin-top:10px;font-size:18px;color:red;borde:2px solid red'> <?php $gePosition = mysql_query("SELECT * FROM `cl_template_name` WHERE `cl_comp_id` = '$comID' ORDER BY `id` ASC"); echo "<option value=''>-- SELECT TEMPLATE --</option>"; while($row=mysql_fetch_array($gePosition)){ echo "<option value='".$row['id']."'>".$row['cl_template_rank']."</option>"; } ?> </select> </div> </div> <!--===================================================== --> <!--===========ADD NEW CLEARANCE======================== --> <div id="FORMAddNewAdmin" style="display:none;width:1000px;height:534px;background:gray;border:2px solid black;position:absolute;top:150px;left:300px;"> <div class='bgColorBlk' style='vertical-align:top;height:30px;margin:0px;width:100%;border-bottom:1px solid gray;padding:5px;font-family:Verdana;font-size:16px;font-weight:bold;color:#ffffff;text-align:left;'> ☶ : <div style='float:right;font-family:Calibri;font-size:18px;'> <a href='#' onclick='hideAdminForm()' style='font-weight:bold'> ✕ </a> </div> </div> <!--BODY--> <div style="padding:10px;width:100%;height:500px;margin:0px;border;1px solid black;background:white;border-bottom:1px solid gray"> <p style="border-radius:0px;float:right;width:100%;padding:10px;padding-top:5px;height:40px">❖ CREATE NEW CLEARANCE FROM</p> <div id="SearchResult" style="width:100%;height:370px;background:lightgray;margin-top:10px;border:2px solid black;overflow:auto"> <div style="float:left;width:50%;height:100%;padding:10px;"> <!-------------------- --> <div style="width:100%;position:relative;border:0px solid red;height:70px"> <div style="float:left;width:70%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>SELECT EMPLOYEE:</p> <select id="SelEmpID" style="width:100%;"> <?php $getAdminList = mysql_query("SELECT `u_id`, `u_fname`, `u_lname`, `u_position` FROM `vts_users` WHERE `deleted`=0 ORDER BY `u_lname` ASC"); while($row=mysql_fetch_array($getAdminList)){ echo "<option value='".$row['u_id']."'>".strtoupper($row['u_lname']).", ".strtoupper($row['u_fname'])." - ".strtoupper($row['u_position'])."</option>"; } ?> </select> </div> <div style="float:left;width:30%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>EMPLOYEE ID:</p> <input type="text" id="empID" style='margin:0px'> </div> </div> <!-------------------- --> <div style="width:100%;position:relative;border:0px solid red;height:70px"> <div style="float:left;width:50%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>EMPLOYMENT STATUS:</p> <select id='employmentStatus'> <option value='REG'>Regular</option> <option value='PRO'>Probationary</option> <option value='CTR'>Contractual</option> <option value='PRJ'>Project Based</option> <option value='CON'>CONSULTANT</option> </select> </div> <div style="float:left;width:50%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>DATE HIRED:</p> <input type="date" id="empDateHired" style='width:100%;margin:0px'> </div> </div> <!-------------------- --> <div style="width:100%;position:relative;border:0px solid red;height:70px"> <div style="float:left;width:50%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>POSITION TITLE:</p> <select id='employeePosition'> <?php $gePosition = mysql_query("SELECT * FROM `db_positions` WHERE `status` = 1 ORDER BY `position_title` ASC"); while($row=mysql_fetch_array($gePosition)){ echo "<option value='".$row['pid']."'>".$row['position_title']."</option>"; } ?> </select> </div> <div style="float:left;width:50%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>WORKING TITLE:</p> <input type="text" id="empDesignated" style='margin:0px'> </div> </div> <!-------------------- --> <div style="width:100%;position:relative;border:0px solid red;height:70px"> <div style="float:left;width:50%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>CURRENT UNIT ASSIGNMENT:</p> <input type="text" id="empUnitAssignment" style='margin:0px'> </div> <div style="float:left;width:50%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>COMPANY:</p> <select id='empCompany'> <?php $gePosition = mysql_query("SELECT * FROM `vts_company` WHERE `comp_status` = 1 ORDER BY `comp_code` ASC"); while($row=mysql_fetch_array($gePosition)){ echo "<option value='".$row['comp_id']."'>".$row['comp_code']."</option>"; } ?> </select> </div> </div> <!-------------------- --> </div> <div style="float:left;width:50%;height:100%;padding:10px;"> <div style="width:100%;position:relative;border:0px solid red;height:70px"> <div style="float:left;width:60%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>SHARED SERVICES:</p> <input type="text" id="empSharedServices" style='margin:0px'> </div> <div style="float:right;width:40%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>DATE ACCEPTED:</p> <input type="date" id="empDateResigned" style='width:100%;margin:0px'> </div> </div> <!-------------------- --> <div style="width:100%;position:relative;border:0px solid red;height:70px"> <div style="float:left;width:60%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>REASON FOR SECURING CLEARANCE:</p> <select id='clearanceReason'> <option value='LEAVE OF ABSENCE'>Leave Of Absence</option> <option value='REASSIGNMENT'>ReAssignment</option> <option value='TRANSFER'>Transfer</option> <option value='DETAIL'>Detail</option> <option value='SUSPENSION'>Suspension</option> <option value='REEMPLOYMENT'>ReEmployment</option> <option value='RESIGNATION'>Resignation</option> <option value='INVOLUNTARY SEPARATION'>Involuntary Separation</option> <option value='RETIREMENT'>Retirement</option> <option value='MATERNITY'>Maternity</option> </select> </div> <div style="float:left;width:40%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>EFFECTIVITY DATE:</p> <input type="date" id="empEffectivityDate" style='width:100%;margin:0px'> </div> </div> <!-------------------- --> <div style="width:100%;position:relative;border:0px solid red;height:70px"> <div style="float:left;width:50%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>FROM COMPANY/LOCATION:</p> <input type="text" id="FromLocation" style='margin:0px'> </div> <div style="float:left;width:50%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>TO COMPANY/LOCATION:</p> <input type="text" id="ToLocation" style='margin:0px'> </div> </div> <div style="width:100%;position:relative;border:0px solid red;height:70px"> <div style="float:left;width:50%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>FROM DATE:</p> <input type="date" id="reasonFrom" style='margin:0px'> </div> <div style="float:left;width:50%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>TO DATE:</p> <input type="date" id="reasonTo" style='margin:0px'> </div> </div> <!-------------------- --> <div style="float:left;width:100%;height:auto;padding:1px;"> <p style='width:100%;padding:1px;margin:1px;font-size:16px;padding-top:10px;font-weight:normal'>CLEARANCE NOTE:</p> <textarea id="empClearanceNote" style='margin:0px;width:100%;height:40px'rows="3"></textarea> </div> <!-------------------- --> </div> </div> <input type="submit" id="saveNewClearance" value="✛ SAVE CLEARANCE FORM" STYLE="padding:10px;height:50px;width:250px;float:right;margin-right:0px"> <button type="submit" onclick='hideAdminForm()'STYLE="padding:10px;height:50px;width:150px;float:right;margin-right:20px;margin-top:10px">✖ CANCEL </button> <select id='clearanceTemplate' style='padding:10px;height:50px;width:350px;float:left;margin-right:100px;margin-top:10px;font-size:18px;color:red;borde:2px solid red'> <?php $gePosition = mysql_query("SELECT * FROM `cl_template_name` WHERE `cl_comp_id` = '$comID' ORDER BY `id` ASC"); while($row=mysql_fetch_array($gePosition)){ echo "<option value='".$row['id']."'>".$row['cl_template_name']."</option>"; } ?> </select> </div> </div> <!--===================================================== --> <!--===================================================== --> <!--===================================================== --> <div id='UploadFileToClearance' style='display:none;position:absolute;top:100px;left:20px;height:500px;width:600px;background:white;border:2px solid gray'> <div style='padding:0px;width:100%;float:left;border:0px solid lightgray;background:#fff;height:100%'> <div class='grayBG' style='vertical-align:top;height:30px;margin:0px;width:100%;border-bottom:0px solid gray;padding:5px;font-family:Verdana;font-weight:bold;font-size:14px;color:#043062;text-align:left'>☳ HRD: FILE UPLOAD <div style='float:right;font-family:Calibri;font-size:18px;'> <a href='#' onclick='hideFileUpload()' style='font-weight:bold'> ✕ </a> </div> </div> <input type="hidden" id="clearanceID" style="font-family:Arial;font-size:16px;color:blue;font-weight:bold;margin:2px;padding:2px;border:0px solid white" disabled> <p style='float:left;font-family:Yu Gothic Light;font-weight:normal;font-size:16px;text-align:justify;padding:20px;padding-top:10px;padding-bottom:10px'>You can upload employee resignation letter and acceptance letter for reference of approving officers and legal.</p> <div id='showUploadedFile' style='padding:30px;padding-top:0px;text-align:center;width:100%;float:left;text-align:justify;font-family:Verdana;font-size:12px;border:0px solid red;height:300px;background:white'> </div> <div style="float:left;position:relative;width:100%;padding:20px;text-align:center;padding-top:10px"> <a href="#" onclick='ShowUploadResignationLetter()' style="floar:left;padding:5px;font-family:Yu Gothic Light;font-weight:bold;font-size:14px;color:blue;margin:10px;">✛ UPLOAD RESIGNATION LETTER</a> <a href="#" onclick='ShowUploadAcceptanceLetter()' style="floar:left;padding:5px;font-family:Yu Gothic Light;font-weight:bold; font-size:14px;color:blue;margin:10px;">✛ UPLOAD ACCEPTANCE LETTER</a></div> </div> </div> <!--===================================================== --> <!--===================================================== --> <div class="formSearch" style="width:50%"> <input type="text" id="SearchText" placeholder="☶ Search Record..." style="margin:2px;width:55%;padding:10px;font-family:Calibri;font-size:16px;color:blue;height:40px;float:left"> <input type="submit" id="goSearchRecord" value="SEARCH RECORD 🏸" style="margin:2px;width:38%;padding:10px;font-family:Calibri;font-size:16px;color:black;font-weight:bold;height:40px;float:left;"> </div> <div class="formSearch" style="width:40%;float:right;text-align:center"><p class="menuTitle" style="border-radius:20px;float:right;width:100%;padding:5px;height:40px">☸ CLEARANCE MODULE</p></div> <div style="margin-top:2px;float:left;width:100%;height:40px;padding:8px;border:0px solid #3cd408" class="grayBG"> <button id='AddAdminAccess' onclick="showAdminForm()" style="border-radius:0px; border:0px solid white;display:block;margin:0px;width:20%;padding:2px;height:28px;font-family:Calibri;font-size:16px;float:right;border-left:1px solid gray">✚ CREATE NEW CLEARANCE</button> <!--<b id="AddAdminAccess" class="pageMenu">✚ CREATE NEW CLEARANCE</b> --> <button id='AttachFile' style="border-radius:0px; border:0px solid white;display:block;margin:0px;width:15%;padding:2px;height:28px;font-family:Calibri;font-size:16px;float:right;border-left:1px solid gray">↓ ATTACH FILE...</button> <!--<b id="AttachFile" class="pageMenu">↓ ATTACH FILE</b> <b id="DeleteClearanceForm" class="pageMenu">✘ DELETE CLEARANCE FORM</b>--> <button id='DeleteClearanceForm' style="border-radius:0px; border:0px solid white;display:block;margin:0px;width:20%;padding:2px;height:28px;font-family:Calibri;font-size:16px;float:right;border-left:1px solid gray">✘ DELETE CLEARANCE FORM</button> </div> <div id="templateContent" style="float:left;width:100%;padding:0px;border-top:0px solid orange;border-bottom:0px solid orange;margin-top:0px;height:550px;;min-height:400px;overflow:auto"> <?php echo "<table>"; echo "<thead>"; echo "<th style='min-width:5%;border:0px solid white'>NO.</th>"; echo "<th style='min-width:10%;border:0px solid white'>TRANS ID.</th>"; echo "<th style='min-width:10%;border:0px solid white'>DATE CREATED.</th>"; echo "<th style='min-width:10%;border:0px solid white'>EMP. ID.</th>"; echo "<th style='min-width:25%;border:0px solid white'>EMPLOYEE NAME</th>"; echo "<th style='min-width:20%;border:0px solid white'>POSITION</th>"; echo "<th style='min-width:10%;border:0px solid white'>TYPE</th>"; echo "<th style='min-width:20%;border:0px solid white'>STATUS</th>"; echo "</thead>"; $getActiveClearance = mysql_query("SELECT * FROM `cl_clearance_header` WHERE `cl_h_hr_approval` = 'FOR HR APPROVAL' AND `cl_status`='1' AND `cl_h_comp_id` = '$comID' AND `hdr_status` = 0 ORDER BY `cl_h_date_created` DESC"); while($row=mysql_fetch_array($getActiveClearance)){ $dataCount = $dataCount + 1; $uID = $row['cl_h_emp_id']; $pID = $row['cl_emp_position']; $uFName=mysql_result(mysql_query("SELECT `u_fname` FROM `vts_users` WHERE `u_id`='$uID'"),0); $uLName=mysql_result(mysql_query("SELECT `u_lname` FROM `vts_users` WHERE `u_id`='$uID'"),0); $uEMPID=mysql_result(mysql_query("SELECT `employee_id` FROM `vts_users` WHERE `u_id`='$uID'"),0); $uPosition=mysql_result(mysql_query("SELECT `position_title` FROM `db_positions` WHERE `pid`='$pID'"),0); $count = $count + 1; ?><tr onclick="javascript:showAdminAccess(this);"><?php echo "<td style=';border:0px solid white;cursor:pointer'>".$count."</td>"; echo "<td style=';border:0px solid white;cursor:pointer'>".strtoupper($row['h_id'])."</td>"; echo "<td style=';border:0px solid white;cursor:pointer'>".strtoupper($row['cl_h_date_created'])."</td>"; echo "<td style=';border:0px solid white;cursor:pointer'>".strtoupper($uEMPID)."</td>"; echo "<td style=';border:0px solid white;cursor:pointer'>".strtoupper($uLName).", ".strtoupper($uFName)."</td>"; echo "<td style=';border:0px solid white;cursor:pointer'>".strtoupper($uPosition)."</td>"; echo "<td style=';border:0px solid white;cursor:pointer'>".strtoupper($row['cl_rank'])."</td>"; echo "<td style=';border:0px solid white;cursor:pointer'>".strtoupper($row['cl_h_hr_approval'])."</td>"; echo "</tr>"; } echo "</table>"; if($dataCount == 0){ echo "<p style='font-family:Yu Gothic Light;font-size:16px;font-weight:normal;color:black;padding:30px;margin-top:100px;text-align:center'>--No Record Found--</p>"; } ?> </div> <input type="text" id="activeRecord" readonly style="background:#f4fcb6;border:0px solid white;float:left;width:100%;font-family:Calibri;font-size:14px;font-weight:normal;color:black;padding:5px;text-align:left"> </body> </html>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings