File manager - Edit - /home/autoph/public_html/voc/home/nav_organization_left_dashboard.php
Back
<?php protected_page(); ?> <style> .genderDiv{ width:50%; height:100%; float:left; border:0px solid gray; font-family:Calibri; font-size:24px; color:black; padding:5px; font-weight:normal; background:#dd9506; } .genderDiv:hover{ background:#2ac7fe ; color:black; } .ageBracket{ width:32%; height:100%; float:left; border:0px solid gray; font-family:Calibri; font-size:16px; color:#940bb9; padding:5px; font-weight:normal; background:#dedccb ; margin:1px; } .ageBracket:hover{ background: #cdcbbe ; font-family:Calibri; font-size:16px; color:black; } .ageBracketA{ width:32%; height:100%; float:left; border:0px solid gray; font-family:Calibri; font-size:16px; color: #08660e ; padding:5px; font-weight:normal; background:#afef38 ; margin:1px; } .ageBracketA:hover{ background:#86c60f; font-family:Calibri; font-size:16px; color:black; } .ageBracketAa{ width:32%; height:100%; float:left; border:0px solid gray; font-family:Calibri; font-size:16px; color: #08660e ; padding:5px; font-weight:normal; background:#f2f4f4 ; margin:1px; } .ageBracketAa:hover{ background:#d5dbdb; font-family:Calibri; font-size:16px; color:black; } .ageBracketAaa{ width:32%; height:100%; float:left; border:0px solid gray; font-family:Calibri; font-size:16px; color: #08660e ; padding:5px; font-weight:normal; background: #ebedef; margin:1px; } .ageBracketAaa:hover{ background: #d6dbdf; font-family:Calibri; font-size:16px; color:black; } .ageBracketAaaa{ width:32%; height:100%; float:left; border:0px solid gray; font-family:Calibri; font-size:16px; color: #08660e ; padding:5px; font-weight:normal; background: #ebdef0 ; margin:1px; } .ageBracketAaaa:hover{ background: #d7bde2 ; font-family:Calibri; font-size:16px; color:black; } .ageBracketB{ width:32%; height:100%; float:left; border:0px solid gray; font-family:Calibri; font-size:16px; color:#af690a; padding:5px; font-weight:normal; background:#faa668; margin:1px; } .ageBracketB:hover{ background: #fb9951; font-family:Calibri; font-size:16px; color:black; } .genderDivA{ width:50%; height:100%; float:left; border:0px solid gray; font-family:Calibri; font-size:24px; color:black; padding:5px; font-weight:normal; background:#8dfb25 ; } .genderDivA:hover{ background:#73de0e; color:black; } .dbCount{ width:100%; height:100%; float:left; border:0px solid gray; font-family:Calibri; font-size:24px; color:black; padding:5px; font-weight:normal; background:#f8f1be ; } .dbCount:hover{ background: #fae128; font-size:24px; color:black; } </style> <!---============================================================================================================================---> <!---LOADING NEWLY ENCODED APPOINTMENT LIST FOR UPDATING---> <!---============================================================================================================================---> <script type="text/javascript"> function showHideAppt() { var div = document.getElementById("showNewAppt"); if (div.style.display == 'none') { div.style.display = ''; } else { div.style.display = 'none'; } } function showChecked() { var div = document.getElementById("showCheckedInVehicle"); if (div.style.display == 'none') { div.style.display = ''; } else { div.style.display = 'none'; } } //DASHBOARD CLICK function viewDashboardDataByGenderMale() { var div = document.getElementById("dashboardByGender"); if (div.style.display == 'none') { div.style.display = ''; } else { div.style.display = 'none'; } } function viewDashboardDataByGenderFemale() { var div = document.getElementById("dashboardByGender"); if (div.style.display == 'none') { div.style.display = ''; } else { div.style.display = 'none'; } } //END OF DASHBOARD CLICK </script> <!---============================================================================================================================---> <!---END OF SCRIPT---> <!---============================================================================================================================---> <!---============================================================================================================================---> <!---============================================================================================================================---> <script type="text/javascript"> <script language="javascript" type="text/javascript"> function showApptInfo(row) { var x=row.cells; document.getElementById("recNum").value = x[0].innerHTML; document.getElementById("updateApptPlate").value = x[1].innerHTML; document.getElementById("updateApptRO").value = x[2].innerHTML; //document.getElementById("updateJobType").value = x[4].innerHTML; document.getElementById("updateCarModel").value = x[4].innerHTML; } </script> <?php $FirstDate = date('Y/m/01'); $LastDate = date('Y/m/t'); $getFleet= mysql_result(mysql_query("SELECT COUNT('bid') FROM `businesses_names` WHERE `status`='1' ORDER BY `business_name` ASC"),0); $custCountF=mysql_result(mysql_query("SELECT COUNT('c_id') FROM `vts_customers` WHERE `status`='1' AND `cust_gender`='FEMALE'"),0); $custCountM=mysql_result(mysql_query("SELECT COUNT('c_id') FROM `vts_customers` WHERE `status`='1' AND `cust_gender`='MALE'"),0); //$custCountA=mysql_result(mysql_query("SELECT COUNT('c_id') FROM `vts_customers` WHERE `status`='1' AND `age` < 30"),0); //$custCountB=mysql_result(mysql_query("SELECT COUNT('c_id') FROM `vts_customers` WHERE `status`='1' AND `age` BETWEEN 30 AND 50"),0); //$custCountC=mysql_result(mysql_query("SELECT COUNT('c_id') FROM `vts_customers` WHERE `status`='1' AND `age`> 50 "),0); ?> <!---============================================================================================================================---> <!---END CODE LOAD NEW SERVICE APPT---> <!---============================================================================================================================---> <div style="background:#f1edce;height:100%; border-right:0px solid gray"> <div class="vertical-menu" style='background:#f1edce; width:100%;border-bottom:0px solid black'> <a href="#" class="active" style='padding:8px;padding-left:5px;font-family:Verdana;font-size:16px;font-weight:normal;color:#000'>☵ Fleet Database</a> <div style='width:100%;height:100%;float:left;text-align:centerl;font-family:Verdana;font-size:30px;border:0px solid red;background:#f1edce;padding:0px'> <div style='margin:0px;background:#fcd810 ;width:100%;height:690px;border:0px solid gray;padding:5px;'> <div style='background:transparent;float:bottom;height:25%;margin:0px;width:100%;border:1px solid white;padding:0px;font-family:Verdana;font-size:12px;font-weight:normal;color:#043062'> <div class='dbCount' style='border:1px solid #fff;font-size:150%;'> Stored Database - Fleet <center><b style='font-family:Sans-serif;font-size:40px;font-weight:normal;color:#bd7506 ;text-shadow:0px 0px black;float:right;margin-right:20px;margin-top:50px;color:black'> <?php echo number_format($getFleet,0,'.',',');?></b></center> </div> </div> <a href="#" onclick="viewFilterDataList()" style="border:0px;background:transparent"><div style='background:#fcd8a6;float:bottom;height:25%;margin:5px;margin-top:1px;margin-left:0px;width:100%;border:0px solid gray;padding:15px;font-family:Verdana;font-size:14px;font-weight:normal;color:#043062'> View Details <div style='float:right;font-size:30px;margin-top:-13px;'>➔</div> </div></a> </div> </div> </div> </div> <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 language="javascript" type="text/javascript"> function showApptInfo(row) { var x=row.cells; document.getElementById("recNum").value = x[0].innerHTML; document.getElementById("updateApptPlate").value = x[1].innerHTML; document.getElementById("updateApptRO").value = x[2].innerHTML; //document.getElementById("updateJobType").value = x[4].innerHTML; document.getElementById("updateCarModel").value = x[4].innerHTML; } // filterMaleData $("#filterFemaleData").click(function () { $.ajax({ url: "filter_load_found_database.php", type: "POST", async: false, data: { "done": 6, //From Dashboard action - Click Gender Data "gender": 0 }, success: function(d){ $("#displayFilteredByGender").html(d); //$('#filterDataString').val(''); } }) }); // $("#filterMaleData").click(function () { $.ajax({ url: "filter_load_found_database.php", type: "POST", async: false, data: { "done": 7, //From Dashboard action - Click Gender Data "gender": 1 }, success: function(d){ $("#displayFilteredByGender").html(d); //$('#filterDataString').val(''); } }) }); $("#mixedGenderView").click(function () { $.ajax({ url: "filter_load_found_database.php", type: "POST", async: false, data: { "done": 8, //Mixed Gender sorted by gender and city "gender": 1 }, success: function(d){ $("#displayFilteredByGender").html(d); //$('#filterDataString').val(''); } }) }); //BELOW 30 YRS OLD $("#thirtyYrsOld").click(function () { $.ajax({ url: "filter_load_found_database_age_below_thirthy.php", type: "POST", async: false, data: { "done": 30, //FILTER DATA WITH AGE BELOW 30 "gender": 1 }, success: function(d){ $("#displayFilteredByGender").html(d); //$('#filterDataString').val(''); } }) }); $("#betweenTF").click(function () { $.ajax({ url: "filter_load_found_database_age_between_thirthy_fifty.php", type: "POST", async: false, data: { "done": 40, //FILTER DATA WITH AGE BELOW 30 "gender": 1 }, success: function(d){ $("#displayFilteredByGender").html(d); //$('#filterDataString').val(''); } }) }); $("#aboveFifty").click(function () { $.ajax({ url: "filter_load_found_database_age_above_fifty.php", type: "POST", async: false, data: { "done": 40, //FILTER DATA WITH AGE BELOW 30 "gender": 1 }, success: function(d){ $("#displayFilteredByGender").html(d); //$('#filterDataString').val(''); } }) }); $("#sixMonths").click(function () { $.ajax({ url: "filter_load_found_database_inactive_sixMonths.php", type: "POST", async: false, data: { "done": 40, //FILTER DATA WITH AGE BELOW 30 "gender": 1 }, success: function(d){ $("#displayFilteredByGender").html(d); //$('#filterDataString').val(''); } }) }); $("#oneYear").click(function () { $.ajax({ url: "filter_load_found_database_inactive_oneYear.php", type: "POST", async: false, data: { "done": 40, //FILTER DATA WITH AGE BELOW 30 "gender": 1 }, success: function(d){ $("#displayFilteredByGender").html(d); //$('#filterDataString').val(''); } }) }); $("#aboveOneYear").click(function () { $.ajax({ url: "filter_load_found_database_inactive_aboveOneYear.php", type: "POST", async: false, data: { "done": 40, //FILTER DATA WITH AGE BELOW 30 "gender": 1 }, success: function(d){ $("#displayFilteredByGender").html(d); //$('#filterDataString').val(''); } }) }); </script>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings