File manager - Edit - /home/autoph/public_html/tasks/APP_SETTING_PAGE.php.tar
Back
home/autoph/public_html/connect/APP_SETTING_PAGE.php 0000644 00000011616 15025045227 0016060 0 ustar 00 <?php include 'core/database/connect.php'; $toDate = date_create() ->format("Y-m-d"); ?> <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 type="text/javascript"> //============================================================================================================================================ //============================================================================================================================================ $("#GoSearchEmployee").click(function(){ var empSearchID = $("#empSearchID").val(); if(empSearchID ==''){ alert('ERROR: Invalid employee ID. Please select employee first'); return false; } ShowUploadBar(); $.ajax({ url: "CL_save_User_Access_Rights.php", type: "POST", async: false, data: { "empSearchID" : empSearchID, "search":1 }, success: function(d){ ShowUploadBar(); $("#AccessConfigWindow").html(d); } }) }); function showAdminAccess(row) { var x=row.cells; document.getElementById("moduleCode").value = x[0].innerHTML; } function ShowUploadBar() { var div = document.getElementById("loadBaraData"); if (div.style.display == 'none') { div.style.display = ''; } else { div.style.display = 'none' } } </script> <!--#########################################################################--> <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:8px;z-index:999999999999999999;border:0px solid orange"> <img src='images/ajaxLoader.gif' width="100%" height="30px" /><br><center>Working...<center></div> </div> <!--#########################################################################--> <p style="border:10px solid white;positin:relative;width:100%;padding:10px;height:80px;font-family:Yu Gothic Light;font-size:28px;color:white;background:black;margin-top:1px">☸ System Management</p> <input type='submit' id='GoSearchEmployee' value=' SEARCH USER' style='margin-left:5px;width:20%;padding:5px;float:right;font-family:Calibri;font-size:18px;text-align:left;margin-right:15px'> <select id='empSearchID' style='float:right;width:35%;padding:5px;font-family:Calibri;font-size:18px;color:gray'> <option value="">-- Select Employee --</option> <?php $getEmployee = mysql_query("SELECT u_id, u_fname, u_lname, employee_id, u_status FROM `vts_users` WHERE `u_status` = 1 ORDER BY u_lname ASC"); while($row=mysql_fetch_array($getEmployee)){ echo "<option value='".$row['u_id']."'>".$row['u_lname'].", ".$row['u_fname']." - ".$row['employee_id']."</option>"; } ?> </select> </p> <!--#####################################################################################--> <div style='margin-left:10px;padding:15px;float:left;width:29%;border:1px solid gray;height:620px;background: #f5f0ee;padding-top:5px'> <b style='margin:5px;font-family:Yu Gothic Light;font-size:24px;color:black;margin-left:0px;margin-top:0px'>System Health Check</b> <input type='hidden' id='moduleCode'><br> <?php $array = explode(" ", mysql_stat()); foreach ($array as $value){ echo "<b style='font-family:Yu Gothic Light;font-size:14px;color:gray;font-weigth:normal'>".$value . "</b><br />"; } ?> <div style='position:relative;width:100%;height:200px;margin-top:100px'> </div> </div> <div style='padding:15px;float:left;width:70%;border:1px solid white;height:600px;background:white;padding-top:5px'> <hr style='float:left;width:100%;background:white;border:1px solid white;border-bottom:1px solid lightgray'> <div id = "CheckUpdateStatus" style='display:none;float:left;width:100%;padding:5px;border:0px solid gray;height:5%;background:yellow;margin-bottom:3px'> </div> <div id = "AccessConfigWindow" style='float:left;width:100%;padding:5px;border:1px solid gray;height:550px;overflow:auto'> </div> </div> <!--#####################################################################################-->