File manager - Edit - /home/autoph/public_html/connect/home/main_app_new.php
Back
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <?php ob_start(); $cookieID =$_COOKIE['cookieID']; include "core/database/connect.php"; $MyCookieID = mysql_result(mysql_query("SELECT `IT_ADM` FROM `vts_users` WHERE `u_id`='$cookieID'"),0); $MyPRF = mysql_result(mysql_query("SELECT `PRF` FROM `vts_users` WHERE `u_id`='$cookieID'"),0); //echo "My User ID in COOKIE: ".$cookieID; echo "<input type='hidden' id='ckhITRights' value='".$MyCookieID."'>"; echo "<input type='hidden' id='chkPRFAccess' value='".$MyPRF."'>"; ?> <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>Please wait...</div> <!-- add jquery --> <script type="text/javascript" src="https://code.jquery.com/jquery-1.9.1.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(document).ajaxStart(function(){ //$("#wait").css("display", "block"); }); $(document).ajaxComplete(function(){ // $("#wait").css("display", "none"); }); //=================================== //==================================== $("#showHRDApps").click(function(){ ShowUploadBar(); $.ajax({ url: "APP_HR_Module.php", type: "POST", async: true, data: { }, success: function(d){ ShowUploadBar(); $("#displayAPP").html(d); //invHideAssignMsg(); //$('#searchText').val(''); } }) }); //==================================== $("#showSALESApps").click(function(){ ShowUploadBar(); $.ajax({ url: "APP_ASA_Module.php", type: "POST", async: true, data: { }, success: function(d){ ShowUploadBar(); $("#displayAPP").html(d); //invHideAssignMsg(); //$('#searchText').val(''); } }) }); //==================================== $("#showDATABASEApp").click(function(){ ShowUploadBar(); $.ajax({ url: "APP_DBCON_Module.php", type: "POST", async: true, data: { }, success: function(d){ ShowUploadBar(); $("#displayAPP").html(d); //invHideAssignMsg(); //$('#searchText').val(''); } }) }); //==================================== $("#showSettingsApp").click(function(){ var ckhITRights = $("#ckhITRights").val(); if(ckhITRights != 1){ alert('Sorry you are not allowed to access this page. Please contact your System Admin for assistance. Thank yoU!'); return false; } ShowUploadBar(); $.ajax({ url: "APP_SETTING_PAGE.php", type: "POST", async: true, data: { }, success: function(d){ ShowUploadBar(); $("#displayAPP").html(d); //invHideAssignMsg(); //$('#searchText').val(''); } }) }); //==================================== $("#loadClearancePage").click(function(){ $.ajax({ url: "CL_clearance_form.php", type: "POST", async: true, data: { }, success: function(d){ //invShowAssignMsg(); $("#displayBox").html(d); //invHideAssignMsg(); //$('#searchText').val(''); } }) }); //==================================== $("#procurementPage").click(function(){ var chkPRFAccess = $("#chkPRFAccess").val(); if(chkPRFAccess != 1){ alert('Sorry you are not allowed to access this page. \n\nPlease contact your System Admin for assistance. Thank You!'); return false; exit; } ShowUploadBar(); $.ajax({ url: "PRF_procurement_page.php", type: "POST", async: true, data: { }, success: function(d){ ShowUploadBar(); $("#displayBox").html(d); //invHideAssignMsg(); //$('#searchText').val(''); } }) }); //==================================== $("#showMyVoice").click(function(){ $.ajax({ url: "FGP_SurveyView.php", type: "POST", async: true, data: { }, success: function(d){ //invShowAssignMsg(); $("#displayBox").html(d); //invHideAssignMsg(); //$('#searchText').val(''); } }) }); }); //================== $("#HideShowMenu").click(function(){ $("#displayMenu").animate({width: 'toggle'}); }); //==================== var isOn = true; $(function(){ $("#HideShowMenu").click(function(){ console.log(isOn); if ( isOn ){ isOn = false; $('.BodyArea').css("width", '100%'); $("#displayAPP").css("width", '100%'); $("#cleranceTemplateView").css("width", '100%'); $('.BodyArea').css("height", '900px'); $("#slaCount").css("width", '100%'); } else { isOn = true; $('.BodyArea').css("width", '80%'); $("#displayAPP").css("width", '80%'); $("#cleranceTemplateView").css("width", '80%'); $("#slaCount").css("width", '100%'); $('.BodyArea').css("height", '750px'); } return false; }); }); function ShowUploadBarxxxxx() { var div = document.getElementById("loadBaraData"); if (div.style.display == 'none') { div.style.display = ''; } else { div.style.display = 'none' } } </script> <style> #displayMenu{ background: #E3E0DE; width: 20%; height: auto% } .BodyArea{ width:80%; } .orangeBG{ background: -webkit-linear-gradient(left top,#F34410 ,#f9b709); /* For Safari 5.1 to 6.0 */ background: -o-linear-gradient(bottom right, #F34410,#f9b709); /* For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(bottom top, #F34410,#f9b709); /* For Firefox 3.6 to 15 */ background: linear-gradient(to bottom right, #F34410,#f9b709); /* Standard syntax */ } .appMenu{ min-width:250px;width:100%;float:left;height:100px;border:0px;border-bottom:1px solid lightgray;padding:20px;background:#eff1f1;cursor:pointer; } .appMenu:hover{ min-width:250px;width:100%;float:left;height:100px;border:0px;border-bottom:1px solid lightgray;padding:20px;background: #f7d768;cursor:pointer; } .menuLogo{ background-image: url(./images/sys_bg.png); background-size: cover; background-repeat: no-repeat; background-position: center center; width:40%; height:100%; float:left; } .inventoryBG{ background-image: url(./images/inventory_bg.png); background-size: cover; background-repeat: no-repeat; background-position: center center; width:40%; height:100%; float:left; } .dbCon_bg{ background-image: url(./images/dbcon_bg.png); background-size: cover; background-repeat: no-repeat; background-position: center center; width:40%; height:100%; float:left; } .supportBG{ background-image: url(./images/ticket_bg.png); background-size: cover; background-repeat: no-repeat; background-position: center center; width:40%; height:100%; float:left; } .clearanceBG{ background-image: url(./images/clearance_bg.png); background-size: cover; background-repeat: no-repeat; background-position: center center; width:40%; height:100%; float:left; } .bgMenuBackImage{ float:left;width:30%; height:90px; border:0px solid blue; background-image: url(./images/support_bg.png); background-size: cover; background-repeat: no-repeat; background-position: center center; } .bgMenuBackImageSales{ background: -webkit-linear-gradient(left top,#c6cac6,#f7faf7); /* For Safari 5.1 to 6.0 */ background: -o-linear-gradient(bottom right, #c6cac6,#f7faf7); /* For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(bottom top, #c6cac6,#f7faf7); /* For Firefox 3.6 to 15 */ background: linear-gradient(to bottom right, #c6cac6,#f7faf7); /* Standard syntax */ float:left;width:30%; height:90px; border:0px solid blue; } .bgMenuBackImageCRM{ float:left;width:30%; height:90px; border:0px solid blue; background-image: url(./images/crm_bg.png); background-size: cover; background-repeat: no-repeat; background-position: center center; } .bgMenuBackImageBlank{ float:left;width:30%; height:90px; border:0px solid blue; background-image: url(./images/blank_bg.png); background-size: cover; background-repeat: no-repeat; background-position: center center; } .mainMenuBg{ background: -webkit-linear-gradient(left top,#c6cac6,#f7faf7); /* For Safari 5.1 to 6.0 */ background: -o-linear-gradient(bottom right, #c6cac6,#f7faf7); /* For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(bottom top, #c6cac6,#f7faf7); /* For Firefox 3.6 to 15 */ background: linear-gradient(to bottom right, #c6cac6,#f7faf7); /* Standard syntax */ float:left;width:100%;border-bottom:1px solid #a0a09f ; } .mainMenuBg:hover{ float:left;width:100%;border-bottom:1px solid orange ; background: -webkit-linear-gradient(left top,#c6cac6,#fcd56d); /* For Safari 5.1 to 6.0 */ background: -o-linear-gradient(bottom right, #c6cac6,#fcd56d); /* For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(bottom top, #c6cac6,#fcd56d); /* For Firefox 3.6 to 15 */ background: linear-gradient(to bottom right, #c6cac6,#fcd56d); /* Standard syntax */ } .appModule{ float:right; margin:0px;padding:8px;width:90%;height:110px;border:0px solid gray;border-right:0px solid lightgray;border-radius:0px;float:left;margin-top:0px;padding-top:0px;border-bottom:0px solid lightgray; background:#3f3e3d ; border-radius:10px; box-shadow:lightgray 5px 5px 5px; /*background: -webkit-linear-gradient(left top,#f7200e,#f7ed0e,#0a0a01 ); /*For Safari 5.1 to 6.0 */ /*background: -o-linear-gradient(bottom right, #f7200e,#f7ed0e,#0a0a01); /*For Opera 11.1 to 12.0 */ /*background: -moz-linear-gradient(bottom top, #f7200e,#f7ed0e,#0a0a01); /*For Firefox 3.6 to 15 */ /*background: linear-gradient(to bottom right, #f7200e,#f7ed0e,#0a0a01 ); /*Standard syntax */ } .appModule:hover{ float:right; margin:0px;padding:8px;width:90%;height:110px;border:0px solid orange;border-radius:0px;float:left;margin-top:0px;padding-top:0px;;border-bottom:0px solid orange; border-radius:10px; background: #ae0b09 ; box-shadow: #a79e9b 1px 1px 1px; background: -webkit-linear-gradient(left top,#f77304,#f7ed0e,#f7200e ); /*For Safari 5.1 to 6.0 */ background: -o-linear-gradient(bottom right, #f77304,#f7ed0e,#f7200e); /*For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(bottom top, #f77304,#f7ed0e,#f7200e); /*For Firefox 3.6 to 15 */ background: linear-gradient(to bottom right, #f77304,#f7ed0e,#f7200e ); /*Standard syntax */ } .main_app_menu{ padding:10px;float:left;width:70%;height:90px;border:0px solid lightgray;background:white;cursor:pointer; background: -webkit-linear-gradient(left top,#c6cac6,#f7faf7); /* For Safari 5.1 to 6.0 */ background: -o-linear-gradient(bottom right, #c6cac6,#f7faf7); /* For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(bottom top, #c6cac6,#f7faf7); /* For Firefox 3.6 to 15 */ background: linear-gradient(to bottom right, #c6cac6,#f7faf7); /* Standard syntax */ } .main_app_menu:hover{ padding:10px;float:left;width:70%;height:90px;border:0px solid red;background:white;cursor:pointer; background: -webkit-linear-gradient(left top,#08a89a,#2bbbae); /* For Safari 5.1 to 6.0 */ background: -o-linear-gradient(bottom right, #08a89a,#2bbbae); /* For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(bottom top, #08a89a,#2bbbae); /* For Firefox 3.6 to 15 */ background: linear-gradient(to bottom right, #08a89a,#2bbbae); /* Standard syntax */ } </style> </head> <body style="font-family:Verdana;color:#aaaaaa;background:white"> <!--#########################################################################--> <div id="loadBaraDataXXXX" 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="20px" /><br><center>Working...<center></div> </div> <!--######################################################################### --> <div id="displayAPP" style=" float:left;width:100%;min-width:50%;height:auto;margin:0px;border:0px solid red;padding:0px;height:100%;padding-top:0px" > <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;margin-bottom:0px">🛠 BACK-END MANAGEMENT</p> <!--#####################################################################################--> <div style='cursor:pointer;border:0px solid gray;float:left;width:20%;padding:20px;padding-right:0px;background:white;height:140px'> <div onclick="location.href='autohub.php?id=das&d=das'" class='appModule' style='float:center;padding:7px;height:120px;'> <div style='width:30%;float:left;background:black;margin:0px;height:100%;border-radius:10px 0px 0px 10px;padding:0px;padding-bottom:25px;box-shadow:gray 1px 1px 1px 1px;font-size:3.5vw'>📦</div> <div style='width:70%;float:left;background:black;margin:0px;height:100%;border-radius:0px 10px 10px 0px;padding:5px;box-shadow:gray 1px 1px 1px 1px'> <b class='itemCS' style='font-family:Yu Gothic;font-size:23px;color:white'>VEHICLE</b><br> <b class='itemCS' style='font-family:Yu Gothic Light;font-size:14px;color:white'>Inventory Management</b> <br><a style='float:right;font-size:10px;color:lightgray;margin-top:20px;text-decoration:underline;'>Click to view</a> </div> </div> </div> <!--#####################################################################################--> <div style='cursor:pointer;border:0px solid gray;float:left;width:20%;padding:20px;padding-right:0px;background:white;height:140px'> <div id="loadClearancePage" class='appModule' style='float:center;padding:7px;height:120px;'> <div style='width:30%;float:left;background:black;margin:0px;height:100%;border-radius:10px 0px 0px 10px;padding:0px;padding-bottom:25px;box-shadow:gray 1px 1px 1px 1px;font-size:4vw;color:white'>👬</div> <div style='width:70%;float:left;background:black;margin:0px;height:100%;border-radius:0px 10px 10px 0px;padding:5px;box-shadow:gray 1px 1px 1px 1px'> <b class='itemCS' style='font-family:Yu Gothic;font-size:23px;color:white'>EMPLOYEE</b><br> <b class='itemCS' style='font-family:Yu Gothic Light;font-size:14px;color:white'>Clearance Form</b> <br><a style='float:right;font-size:10px;color:lightgray;margin-top:20px;text-decoration:underline'>Click to view</a> </div> </div> </div> <!--#####################################################################################--> <div style='cursor:pointer;border:0px solid gray;float:left;width:20%;padding:20px;padding-right:0px;background:white;height:140px'> <div id="procurementPage" class='appModule' style='float:center;padding:10px;height:120px;'> <div style='width:30%;float:left;background:black;margin:0px;height:100%;border-radius:10px 0px 0px 10px;padding:0px;padding-bottom:25px;box-shadow:gray 1px 1px 1px 1px;font-size:4vw;color:white'>📇</div> <div style='width:70%;float:left;background:black;margin:0px;height:100%;border-radius:0px 10px 10px 0px;padding:5px;box-shadow:gray 1px 1px 1px 1px'> <b class='itemCS' style='font-family:Yu Gothic;font-size:23px;color:white'>PURCHASE</b><br> <b class='itemCS' style='font-family:Yu Gothic Light;font-size:14px;color:white'>Request Form</b> <br><a style='float:right;font-size:10px;color:lightgray;margin-top:15px;text-decoration:underline'>Click to view</a> </div> </div> </div> <div style='cursor:pointer;border:0px solid gray;float:left;width:20%;padding:20px;padding-right:0px;background:white;height:140px'> <div onclick="location.href='FGP_SurveyView.php?id=das&d=das'" class='appModule' style='float:center;padding:10px;height:120px;'> <div style='width:30%;float:left;background:black;margin:0px;height:100%;border-radius:10px 0px 0px 10px;padding:0px;padding-bottom:25px;box-shadow:gray 1px 1px 1px 1px;font-size:4vw;color:white'>🗣</div> <div style='width:70%;float:left;background:black;margin:0px;height:100%;border-radius:0px 10px 10px 0px;padding:5px;box-shadow:gray 1px 1px 1px 1px'> <b class='itemCS' style='font-family:Yu Gothic;font-size:23px;color:white'>CUSTOMER</b><br> <b class='itemCS' style='font-family:Yu Gothic Light;font-size:14px;color:white'>Feedback Results</b> <br><a style='float:right;font-size:10px;color:lightgray;margin-top:15px;text-decoration:underline'>Click to view</a> </div> </div> </div> <div style='cursor:pointer;border:0px solid gray;float:left;width:20%;padding:20px;padding-right:0px;background:white;height:140px'> <div id="showSettingsApp" class='appModule' style='float:center;padding:10px;height:120px;'> <div style='width:30%;float:left;background:black;margin:0px;height:100%;border-radius:10px 0px 0px 10px;padding:0px;padding-bottom:25px;box-shadow:gray 1px 1px 1px 1px;font-size:4vw;color:white'>⚙</div> <div style='width:70%;float:left;background:black;margin:0px;height:100%;border-radius:0px 10px 10px 0px;padding:5px;box-shadow:gray 1px 1px 1px 1px'> <b class='itemCS' style='font-family:Yu Gothic;font-size:23px;color:white'>SYSTEM</b><br> <b class='itemCS' style='font-family:Yu Gothic Light;font-size:14px;color:white'>Configuration</b> <br><a style='float:right;font-size:10px;color:lightgray;margin-top:15px;text-decoration:underline'>Click to view</a> </div> </div> </div> </div> <div style="text-align:center;float:left;width:100%;height:auto;margin:0px;border:0px solid red;padding:0px;background:black"> <?php include 'footer.php';?> </div> </body> </html>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings