File manager - Edit - /home/autoph/public_html/voc/home/vehicle_profiling.php
Back
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> .loader { border: 12px solid #f3f3f3; border-radius: 50%; border-top: 12px solid blue; border-bottom: 12px solid blue; width: 200px; height: 200px; -webkit-animation: spin 2s linear infinite; animation: spin 2s linear infinite; } @-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } </style> <title></title> <style type="text/css"> body{ background:#fafcfc; } a{ text-decoration:none; } } #wrapper{ width:50%; height:auto; margin:10px auto; border:1px solid #cbcbcb; background:white; } #comment_input_from li{ list-style-type:none; margin:5px auto; } #comment_input_from{ width:100%; margin:0px; background: #dde2e4 ; padding:10px; } #display_area{ width:100%; margin:00px auto; background:#fafcfc; padding:2px; height:200px; overflow:auto; border:0px solid gray; } #submit_name{ width:30%; min-width:150px; margin:20px; padding:20px; } #name, textarea{ width:100%; } </style> </head> <!----==============================================================-----> <!----==============================================================-----> <script type="text/javascript"> function hideShowImportForm() { var div = document.getElementById("dataImportForm"); if (div.style.display == 'none') { div.style.display = ''; } else { div.style.display = 'none' } } function showLocationFilter() { var diva = document.getElementById("viewLocationFilter"); var divb= document.getElementById("viewSectorFilter"); var divc= document.getElementById("viewPersonalInfo"); if (diva.style.display == 'none') { diva.style.display = ''; divb.style.display = 'none'; divc.style.display = 'none'; } } function showSectorFilter() { var diva = document.getElementById("viewLocationFilter"); var divb= document.getElementById("viewSectorFilter"); var divc= document.getElementById("viewPersonalInfo"); if (divb.style.display == 'none') { divb.style.display = ''; diva.style.display = 'none'; divc.style.display = 'none'; } } function showBarangayFilter() { var diva = document.getElementById("viewLocationFilter"); var divb= document.getElementById("viewSectorFilter"); var divc= document.getElementById("viewPersonalInfo"); if (divc.style.display == 'none') { divc.style.display = ''; divb.style.display = 'none'; diva.style.display = 'none'; } } function showAdd() { var div = document.getElementById("addForm"); var divD= document.getElementById("display_area"); var divE= document.getElementById("LatestDataForm"); if (div.style.display == 'none') { div.style.display = ''; divE.style.display = 'None'; divD.style.display = 'none'; } else { divD.style.display = 'none'; div.style.display = 'none'; divE.style.display = 'none'; } } function showAddXXX() { var div = document.getElementById("addForm"); var divD= document.getElementById("display_area"); var divE= document.getElementById("LatestDataForm"); if (div.style.display == 'none') { div.style.display = 'none'; divE.style.display = ''; divD.style.display = 'none'; } else { divD.style.display = 'none'; div.style.display = 'none'; divE.style.display = ''; } } function viewFilterDataList() { var div = document.getElementById("viewFilterDataForm"); if (div.style.display == 'none') { div.style.display = ''; } else { div.style.display = 'none'; } } function showDisplayArea() { var divA = document.getElementById("addForm"); var divD = document.getElementById("display_area"); var divE= document.getElementById("LatestDataForm"); if (divD.style.display == 'none') { divD.style.display = ''; divA.style.display = 'none'; divE.style.display = 'none'; } else { divD.style.display = ''; divA.style.display = 'none'; divE.style.display = 'none'; } } function viewList() { var div = document.getElementById("details_div"); if (div.style.display == 'none') { div.style.display = ''; } else { div.style.display = 'none'; } } </script> <!-- CODE FOR MODEL DROPDOWN AUTO Loading --> <script> //======================================================================================== //SHOW MUNICIPALITY FOR NEXT FILTER //======================================================================================== function showMunicipalityList(str) { if (str == "") { document.getElementById("filterMunicipality").innerHTML = ""; return; } else { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { document.getElementById("filterMunicipality").innerHTML = xmlhttp.responseText; } } xmlhttp.open("GET","add_new_load_municipality_based_on_selected_region.php?q="+str,true); xmlhttp.send(); } } //======================================================================================== //SHOW FILTERED CITY //======================================================================================== function showCityList(str) { if (str == "") { document.getElementById("filterCity").innerHTML = ""; return; } else { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { document.getElementById("filterCity").innerHTML = xmlhttp.responseText; } } xmlhttp.open("GET","add_new_load_city_based_on_selected_municipality.php?q="+str,true); xmlhttp.send(); } } //======================================================================================== //LOAD FILTERED BARANGAY //======================================================================================== function showBarangayList(str) { if (str == "") { document.getElementById("filterBarangay").innerHTML = ""; return; } else { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { document.getElementById("filterBarangay").innerHTML = xmlhttp.responseText; } } xmlhttp.open("GET","add_new_load_barangays_based_on_selected_city.php?q="+str,true); xmlhttp.send(); } } //======================================================================================== //======================================================================================== function showUser(str) { if (str == "") { document.getElementById("svCity").innerHTML = ""; return; } else { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { document.getElementById("svCity").innerHTML = xmlhttp.responseText; } } xmlhttp.open("GET","add_new_load_city_based_on_selected_municipality.php?q="+str,true); xmlhttp.send(); } } //show barangays based on selected cities function showBrgy(str) { if (str == "") { document.getElementById("svBrgy").innerHTML = ""; return; } else { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { document.getElementById("svBrgy").innerHTML = xmlhttp.responseText; } } xmlhttp.open("GET","add_new_load_barangays_based_on_selected_city.php?q="+str,true); xmlhttp.send(); } } //show municipalities based onselected region_code` function showRegion(str) { if (str == "") { document.getElementById("svMunicipality").innerHTML = ""; return; } else { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { document.getElementById("svMunicipality").innerHTML = xmlhttp.responseText; } } xmlhttp.open("GET","add_new_load_municipality_based_on_selected_region.php?q="+str,true); xmlhttp.send(); } } </script> <body> <div style='border:0px solid gray;width:100%;height:100%;float:left;margin:0px;min-width:800px;background:white'> <div class='bgColor' style='vertical-align:top;height:35px;margin:0px;width:100%;border-bottom:1px solid gray;padding:5px;font-family:Verdana;font-weight:normal;font-size:18px;color:#043062'>Vehicle Database: <div style='float:right;font-family:Verdana;font-size:15px;'> <a href='mainindex.php?id=14&ex=refresh' class='hideClick hidden' > ♲ </a><!--REFRESH/RELOAD WINDOW--> <a href='mainindex.php?id=14&ex=true' class='hideClick hidden' > ✉ </a> <!--EXTRACT LIST OF COMPANY AND EXPORT TO EXCEL--> <a href='mainindex.php?id=1' class='hideClick hidden' style='font-weight:bold'> ✕ </a> </div> </div> <div style='border-bottom:1px solid gray;width:100%;min-width:400px'> <div style='border:0px solid red;border-bottom:1px solid gray;background:lightgray;padding:5px;height:60px;width:100%;margin:0px;float:left;min-width:150px'> <input type="text" id="searchString" placeholder="Type Plate or Conduction Number" style='width:30%;min-width:100px;float:left;height:30px;margin:5px;margin-right:-5px;border-right:0px solid red' onkeyup="this.value = this.value.toUpperCase();"> <input onclick="showDisplayArea()" type="submit" id="submit_name" value="Search..." style="width:10%;margin:0px;float:left;height:30px;padding:3px;margin:5px;border-radius:0px 3px 3px 0px;"> <input type="submit" id="submit_view_reports" value="☰ Reports" style="width:8%;margin:0px;float:right;height:30px;padding:3px;margin:2px;border-radius: 0px;"> <input type="submit" id="submit_view_list" onclick="viewFilterDataList()" value="☳ Filter Clients" style="width:10%;margin:0px;float:right;height:30px;padding:3px;margin:2px;border-radius: 0px;"> <input type="submit" id="submit_import" value="≚ Import" onclick="hideShowImportForm()" style="width:8%;margin:0px;float:right;height:30px;padding:3px;margin:2px;border-radius: 0px;"> <input type="submit" id="submit_export" value="≙ Export" onclick="window.location='export_non_fleet_account.php'" style="width:8%;margin:0px;float:right;height:30px;padding:3px;margin:2px;border-radius: 0px;"> <input type="submit" onclick="showAdd()" id="submit_add_new" value="✛ Add New" style="width:8%;margin:0px;float:right;height:30px;padding:3px;margin:2px;border-radius: 0px;"> </div> </div> <!-- ============================================================================ --><!-- ============================================================================ --> <!-- ============================================================================ --><!-- ============================================================================ --> <div id="LatestDataForm" style='display:;z-index:9999;margin-top:58px;'> <div class='bgColor' style='background:lightgray;vertical-align:top;height:30px;margin:0px;width:100%;border-bottom:1px solid gray;padding:5px;font-family:Verdana;font-weight:normal;font-size:14px;color:#043062'> 📊 Vehicle Profiling Module <div style='float:right;font-family:Verdana;font-size:15px;'> <a href='mainindex.php?id=21&d=2' class='hideClick hidden' > ♲ </a><!--REFRESH/RELOAD WINDOW--> <a href='#' onclick="showAddFleet()" style='font-weight:bold'> ✕ </a> </div> </div> <input type="hidden" id="sCompID" value="<?php echo $compID;?>" style="width:200px;padding:5px;font-family:Verdana;font-size:14px"> <input type="hidden" id="sDealID" value="<?php echo $dealID;?>" style="width:200px;padding:5px;font-family:Verdana;font-size:14px"> <input type="hidden" id="svDate" value="<?php echo $toDate;?>" style="width:200px;padding:5px;font-family:Verdana;font-size:14px"> <input type="hidden" id="svTime" value="<?php echo $myCurTime;?>" style="width:200px;padding:5px;font-family:Verdana;font-size:14px"> <input type="hidden" id="svUserID" value="<?php echo $userID;?>" style="width:200px;padding:5px;font-family:Verdana;font-size:14px"> <!-- ================================================================================================================================================================= --> <div id="displayNewFleetDatabase" style="float:left;font-size:12px;color:black;border:1px solid blue;width:100%;height:600px;overflow:auto"> <!-- ============================================================================ --> <div id="display_area" style='height:630px;display:none;border:0px solid blue'> </div> <!-- ============================================================================ --> </div> </div> </div> </body> </html> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <div id="wait" style="display:none;width:69px;height:89px;border:0px solid red;position:absolute;top:50%;left:50%;padding:2px;"> <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 type="text/javascript"> $(document).ready(function(){ //loading gif animator during query or page load $(document).ajaxStart(function(){ $("#wait").css("display", "block"); }); $(document).ajaxComplete(function(){ $("#wait").css("display", "none"); }); //START OF FUNCTION================= SAVING NEW RECORD $("#submit_name").click(function(){ var searchString = $("#searchString").val(); if (searchString == "") { alert("Error: Invalid Input Data"); return false; } $.ajax({ url: "search_load_found_vehicles.php", type: "POST", async: false, data: { "done": 1, "searchString": searchString }, success: function(d){ $("#display_area").html(d); } }) }); //END OF FUNCTION================= }); //END OF SCRIPT FOR PREFERENCES FILTER ============================================================================================================================ //================================================================================================================================================================= </script>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings