UnknownSec Bypass
403
:
/
var
/
www
/
cotutilitydash
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
Cross_Table_Consumption_Report.php
<?php include "header.php"?> <?php include "sidemenu.php"?> <!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> --> <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/r/dt/jq-2.1.4,jszip-2.5.0,pdfmake-0.1.18,dt-1.10.9,af-2.0.0,b-1.0.3,b-colvis-1.0.3,b-html5-1.0.3,b-print-1.0.3,se-1.0.1/datatables.min.css" /> <script type="text/javascript" src="https://cdn.datatables.net/r/dt/jq-2.1.4,jszip-2.5.0,pdfmake-0.1.18,dt-1.10.9,af-2.0.0,b-1.0.3,b-colvis-1.0.3,b-html5-1.0.3,b-print-1.0.3,se-1.0.1/datatables.min.js"> </script> <!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" /> --> <!-- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> --> <div id="page-wrapper"> <div class="col-md-12 graphs"> <div class="xs"> <h3>Consumption Report</h3> <input type="hidden" class="form-control1" id="hdid" name="hdid"> <div class="well1 white"> <fieldset> <div class="form-group"> <div class="row"> <div class="col-md-6 grid_box1"> <label class="control-label">Select Area</label> <select class="form-control1 ng-invalid ng-invalid-required" ng-model="model.select" required="" id="area" name="area" onchange="getequipment(this.value,'')"> </select> </div> <div class="col-md-6"> <label class="control-label">Select Equipment</label> <select class="form-control1 ng-invalid ng-invalid-required" ng-model="model.select" required="" id="equipment" name="equipment" onclick="getsubarea(this.value,'')" > </select> </div> <div class="clearfix"> </div> </div> </div> <div class="form-group"> <div class="row"> <div class="col-md-6"> <label class="control-label">Select Sub Area</label> <select class="form-control1 ng-invalid ng-invalid-required" ng-model="model.select" required="" id="subarea" name="subarea[]" multiple="multiple"> </select> </div> <div class="col-md-6 grid_box1"> <label class="control-label">Month Name</label> <select class="form-control1 ng-invalid ng-invalid-required" ng-model="model.select" required="" id="monthname" name="monthname"> <option value="Select Month">Select Month</option> <option value="January">January</option> <option value="February">February</option> <option value="March">March</option> <option value="April">April</option> <option value="May">May</option> <option value="June">June</option> <option value="July">July</option> <option value="August">August</option> <option value="September">September</option> <option value="October">October</option> <option value="November">November</option> <option value="December">December</option> </select> </div> <div class="clearfix"> </div> </div> </div> <div class="form-group"> <div class="row"> <div class="col-md-6"> <label class="control-label">Year</label> <select class="form-control1 ng-invalid ng-invalid-required" ng-model="model.select" required="" id="monthyear" name="monthyear"> <option value="Select Year">Select Year</option> <option value="2023">2023</option> <option value="2024">2024</option> <option value="2025">2025</option> <option value="2026">2026</option> <option value="2027">2027</option> <option value="2028">2028</option> <option value="2029">2029</option> <option value="2030">2030</option> <option value="2031">2031</option> <option value="2032">2032</option> <option value="2033">2033</option> <option value="2034">2034</option> <option value="2035">2035</option> </select> </div> <div class="clearfix"> </div> </div> </div> <div class="form-group"> <button type="submit" class="btn btn-primary" id="btnsave" onclick="show();">SHOW</button> <button type="reset" class="btn btn-default">Reset</button> </div> </fieldset> </div> <div class="bs-example4 tab-content" data-example-id="simple-responsive-table"> <div class="table-responsive"> <table id="customer_data" class="table table-bordered table-striped"> <thead> <tr> <th width="15%">Date</th> <th width="25%">Area</th> <th width="40%">Sub Area</th> <th width="20%">Total Consumption</th> </tr> </thead> </table> </div> </div> </div> <script> function getarea(val) { $.ajax({ type: "Post", url: "get_userwise_area.php", success: function(res) { var data = JSON.parse(res); var sel = $("#area"); sel.empty(); $("#area").append('<option>Select Area</option>'); for (var i = 0; i < data.length; i++) { if (data[i].tname == val) { sel.append('<option value="' + data[i].tname + '" selected=true>' + data[i] .tname + '</option>'); } else { sel.append('<option value="' + data[i].tname + '">' + data[i].tname + '</option>'); } } // $('#particular').editableSelect(); /// $("#state").html(data); } }); } function getequipment(val,val1) { var sel = $("#equipment"); sel.empty(); $.ajax({ type: "Post", url: "get_userwise_equipment.php", data: '&area=' + val, success: function(res) { var data = JSON.parse(res); $("#equipment").append('<option>Select Equipment</option>'); for (var i = 0; i < data.length; i++) { if (data[i].tname == val1) { sel.append('<option value="' + data[i].tname + '" selected=true>' + data[i] .tname + '</option>'); } else { sel.append('<option value="' + data[i].tname + '">' + data[i].tname + '</option>'); } } // $('#particular').editableSelect(); /// $("#state").html(data); } }); } function getsubarea1(area,equipment, val) { var sel = $("#subarea"); sel.empty(); $.ajax({ type: "Post", url: "get_userwise_subarea.php", data: '&area=' + area+'&equipment=' + equipment, success: function(res) { var data = JSON.parse(res); $("#subarea").append('<option>Select Subarea</option>'); for (var i = 0; i < data.length; i++) { if (data[i].tname == val) { sel.append('<option value="' + data[i].tname + '" selected=true>' + data[i] .tname + '</option>'); } else { sel.append('<option value="' + data[i].tname + '">' + data[i].tname + '</option>'); } } } }); } function getsubarea(equipment,val) { var area = document.getElementById("area").value; var sel = $("#subarea"); sel.empty(); $.ajax({ type: "Post", url: "get_userwise_subarea.php", data: '&area=' + area+'&equipment=' + equipment, success: function(res) { var data = JSON.parse(res); $("#subarea").append('<option selected=true></option>'); for (var i = 0; i < data.length; i++) { if (data[i].tname == val) { sel.append('<option value="' + data[i].tname + '" selected=true>' + data[i] .tname + '</option>'); } else { sel.append('<option value="' + data[i].tname + '">' + data[i].tname + '</option>'); } } } }); } $(document).ready(function() { getarea(""); }); function show() { var inputField1 = document.getElementById("area"); if (inputField1.value == "Select Area") { flag = false; alert("Please select area."); document.getElementById("area").focus(); return false; } var inputField2 = document.getElementById("equipment"); if (inputField2.value == "Select Equipment") { flag = false; alert("Please select equipment."); document.getElementById("equipment").focus(); return false; } var inputField2 = document.getElementById("monthname"); if (inputField2.value == "Select Month") { flag = false; alert("Please select month name."); document.getElementById("monthname").focus(); return false; } var inputField3 = document.getElementById("monthyear"); if (inputField3.value == "Select Year") { flag = false; alert("Please select year."); document.getElementById("monthyear").focus(); return false; } var area = document.getElementById("area").value; var equipment = document.getElementById("equipment").value; var foo = $('#subarea').val(); var subarea=foo.toString(); var monthname = document.getElementById("monthname").value var monyear = document.getElementById("monthyear").value; // window.location.href("PivotTest.php?area"=+area); // window.location.search = '?id='+hidposid.value; window.location.href="cross_result1.php?area="+area+'&'+"equipment="+equipment +'&'+"subarea="+subarea +'&'+"monthname="+monthname+'&'+"monyear="+monyear; } </script> <?php include "footer.php"?>
Copyright © 2025 - UnknownSec