File manager - Edit - /home/autoph/public_html/voc/home/mainindex.php
Back
<?php ob_start(); include 'core/init.php'; protected_page(); $accType =$user_data['account_type']; if($accType !='Admin'){ Header("Location:user_Portal.php?id=$userID"); } //echo $user_data['u_id']; //break; //https://www.allphptricks.com/demo/ //https://html-css-js.com/html/character-codes/icons/ //https://philippinescities.com/region-13-caraga-region/ RIGION AND CITIES WEBSITE REFERENCE $userID=$user_data['u_id']; $myCurTime=$currentTime; $dealID= $user_data['dealer']; $compID= $user_data['company']; //echo "Arnel ".$myCurTime; //count all new bookings $getBookingCount = mysql_result(mysql_query("SELECT COUNT('s_id') FROM `vts_service_transaction` WHERE `booking_confirmed`='no'"),0); ?> <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="css/style_menu.css"> <link rel="stylesheet" href="css/style.css"> <!--- LOCALIZED COPY OF JAVASCRIPT --> <!--- LOCALIZED COPY OF JAVASCRIPT --> <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> <!--- LOCALIZED COPY OF JAVASCRIPT --> <!--- LOCALIZED COPY OF JAVASCRIPT --> <script type="text/javascript"> $(function () { $('.showMenu').click(function () { $('.DivToHide').show(); }); $('.showMenu').click(function () { $('.DivToHide').hide(); }); }); </script> <style> .GradientOrange{ background: -webkit-linear-gradient(left top, #fb8b1b, #fea64f , #fbc337 ); /* For Safari 5.1 to 6.0 */ background: -o-linear-gradient(bottom right, #fb8b1b,#fea64f, #fbc337 ); /* For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(bottom top, #fb8b1b,#fea64f, #fbc337 ); /* For Firefox 3.6 to 15 */ background: linear-gradient(to bottom right, #fb8b1b,#fea64f, #fbc337 ); /* Standard syntax */ } <!--END OF DROP DOWN VERTICAL MEN----> .vertical-menu { width: 250px; background-color: #e0f5fa ; } .vertical-menu a { background-color: #e0f5fa ; color: black; display: block; padding: 12px; text-decoration: none; } a{ text-decoration:none; } .vertical-menu a:hover { background-color: yellow ; } .vertical-menu a.active { background: -webkit-linear-gradient(left top, #e5f7fc, #95e5fa, #e5f7fc ); /* For Safari 5.1 to 6.0 */ background: -o-linear-gradient(bottom right, #e5f7fc,#95e5fa,#e5f7fc); /* For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(bottom top, #e5f7fc,#95e5fa,#e5f7fc); /* For Firefox 3.6 to 15 */ background: linear-gradient(to bottom right, #e5f7fc,#95e5fa,#e5f7fc); /* Standard syntax */ color: red; } * { box-sizing: border-box; } .newsFeed{ width:25%; background:white; border:0px solid white; border-right:1px solid #f4f6f6 ; padding-top:20px; } .menu { float:left; width:20%; min-width:200px; text-align:left; border:0px solid red; top-margin:2px; } .menu a { background-color:#e0f5fa ; padding:1px; margin-top:1px; display:block; width:100%; color:black; } .main { float:left; width:80%; padding:0 20px; min-width:400px; } .addCustForm{ width:70%; } .right { background-color:#e5e5e5; float:left; width:20%; padding:1px; margin-top:1px; text-align:center; } @media only screen and (max-width:630px) { /* For mobile phones: */ .menu, .main, .right { width:100%; } .bDashboard{ width:100% !important; } .addCustForm{ width:100% !important; } .newsFeed{ width:100% !important; } .menu{ display:none !important; } .subBody{ width:100% !important; } } @media only screen and (max-width:1200px) { /* For mobile phones: */ .newsFeed{ width:50% !important; floart:left; } .bDashboard{ width:90% !important; } } @media only screen and (max-width:1400px) { /* For mobile phones: */ .newsFeed{ width:40% !important; floart:left; } .bDashboard{ width:90% !important; } } @media only screen and (max-width:1024px) { /* For mobile phones: */ .menu{ display:none !important; } .addCustForm{ width:100% !important; } .main{ width:100%; } .bDashboard{ width:100% !important; } .subBody{ width:100% !important; } @media only screen and (max-width:900px) { /* For mobile phones: */ .newsFeed{ width:100% !important; } .subBody{ width:100% !important; } .addCustForm{ width:100% !important; } } <!-- NEW SET OF VERTICAL MENU CSS --> .vertical-menuA { width: 300px; background-color: #fae7b6; } .vertical-menuB { width: 300px; background-color: #eaecee ; } .vertical-menuA a { background-color: #fae7b6; color: black; display: block; padding: 12px; text-decoration: none; } .vertical-menuB a { background-color: #eaecee; color: black; display: block; padding: 12px; text-decoration: none; } a{ text-decoration:none; } .vertical-menuA a:hover { background-color:#d2fc56; } .vertical-menuB a:hover { background-color: #ffa4fc; } .vertical-menuA a.active { background: -webkit-linear-gradient(left top, #fde7b1 ,#fccd56, #fde7b1 ); /* For Safari 5.1 to 6.0 */ background: -o-linear-gradient(bottom right, #fde7b1,#fccd56,#fde7b1); /* For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(bottom top, #fde7b1,#fccd56,#fde7b1); /* For Firefox 3.6 to 15 */ background: linear-gradient(to bottom right, #fde7b1,#fccd56,#fde7b1); /* Standard syntax */ color: red; } .vertical-menuB a.active { background: -webkit-linear-gradient(left top, #dbe0dc ,#ccd3cd, #f7f5f7); /* For Safari 5.1 to 6.0 */ background: -o-linear-gradient(bottom right, #dbe0dc,#ccd3cd,#f7f5f7); /* For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(bottom top, #dbe0dc,#ccd3cd,#f7f5f7); /* For Firefox 3.6 to 15 */ background: linear-gradient(to bottom right, #dbe0dc,#ccd3cd,#f7f5f7); /* Standard syntax */ color: red; } * { box-sizing: border-box; } .menuA { float:left; width:20%; min-width:200px; text-align:left; border:0px solid red; top-margin:2px; } .menuA a { background-color:#f9b1a9 ; padding:1px; margin-top:1px; display:block; width:100%; color:black; } .mainA { float:left; width:80%; padding:0 20px; min-width:400px; } .right { background-color:#e5e5e5; float:left; width:20%; padding:1px; margin-top:1px; text-align:center; } <!-- NEW SET OF VERTICAL MENU CSS --> </style> </head> <body style="font-family:Verdana;color:#aaaaaa;background:white"> <div class='topMenu' style="margin:0px;padding:0px; text-align:left;"> <div class="myTopnavA" style="text-align:right;padding:5px;padding-right:10px;float:right;border:1px solid red;width:500px;height:50px;margin:10px;background:white"> <b style="font-family:Verdana;font-size:20px;color:red;font-weight:normal">✉</b> <b style="font-family:Verdana;font-size:14px;font-weight:normal;color:red"> You have (<?php echo $getBookingCount;?>) new important notificaftion<?php if($getBookingCount > 1) {echo 's';}else{echo '';}?> </b> </div> <div style='margin-top:0px;width;30%;padding:5px;'><img src='images/autohub_logo_2016.png' border="0px solid blue"></img></div> <div id="anchor" style='border:0px solid red;padding:0px;text-align:right;padding-right:0px;background:black'> <!-- START OF MENU CODE --> <div class="topnav" id="myTopnav"> <a href="mainindex.php?id=1" class="active">⚏ Dashboard</a> <div class="dropdown"> <button class="dropbtn"> ☸ Service Operation <i class="fa fa-caret-down"></i> </button> <div class="dropdown-content"> <a href="check_in_out.php?id=8&d=1">Check-In/Out</a> <a href="mainindex.php?id=11&d=1">Service Appointment</a> <a href="mainindex.php?id=22&d=1">Service Update</a> <a href="mainindex.php?id=9&d=1">Service Transfer</a> <a href="mainindex.php?id=10&d=1">Vehicle Search</a> </div> </div> <div class="dropdown"> <button class="dropbtn">☢ Vehicle Setup <i class="fa fa-caret-down"></i> </button> <div class="dropdown-content"> <a href="mainindex.php?id=20&d=2">❒ Add New Vehicle</a> <a href="mainindex.php?id=15&d=2">❖ Brand</a> <a href="mainindex.php?id=17&d=2">❐ Model</a> <a href="mainindex.php?id=18&d=2">❑ Type</a> <a href="mainindex.php?id=19&d=2">❀ Color</a> <a href="mainindex.php?id=21&d=2">❉ Vehicle Profiling</a> </div> </div> <div class="dropdown"> <button class="dropbtn">☖Autohub Setup <i class="fa fa-caret-down"></i> </button> <div class="dropdown-content"> <a href="mainindex.php?id=14&d=3">☱ Add New Company</a> <a href="mainindex.php?id=13&d=3">☐ Add New Dealers/Branch</a> <a href="mainindex.php?id=16&d=3">☥ Add Location / Warehouse / Parking Setup</a> </div> </div> <div class="dropdown"> <button class="dropbtn">☻ Sales Management <i class="fa fa-caret-down"></i> </button> <div class="dropdown-content"> <a href="mainindex.php?id=23&d=4">Non-Fleet Accounts</a> <a href="mainindex.php?id=24&d=16">Fleet Accounts</a> <a href="mainindex.php?id=25&d=lms">Lead Management System</a> <a href="mainindex.php?id=26&d=4">Sales Event/Activity</a> </div> </div><!-- <div class="dropdown"> <button class="dropbtn">★ Insurance <i class="fa fa-caret-down"></i> </button> <div class="dropdown-content"> <a href="mainindex.php?id=001&d=5">Menu 1</a> <a href="mainindex.php?id=002&d=5">Menu 2</a> </div> </div> <div class="dropdown"> <button class="dropbtn">♢ Treasury <i class="fa fa-caret-down"></i> </button> <div class="dropdown-content"> <a href="mainindex.php?id=001&d=6">Menu 1</a> <a href="mainindex.php?id=002&d=6">Menu 2</a> </div> </div> <div class="dropdown"> <button class="dropbtn">♲ LTO <i class="fa fa-caret-down"></i> </button> <div class="dropdown-content"> <a href="mainindex.php?id=001&d=7">Menu 1</a> <a href="mainindex.php?id=002&d=7">Menu 2</a> </div> </div> <div class="dropdown"> <button class="dropbtn">⚑ Sales <i class="fa fa-caret-down"></i> </button> <div class="dropdown-content"> <a href="mainindex.php?id=001&d=8">Menu 1</a> <a href="mainindex.php?id=002&d=8">Menu 2</a> </div> </div> --> <div class="dropdown"> <button class="dropbtn">⚏ Reports & Analytics <i class="fa fa-caret-down"></i> </button> <div class="dropdown-content"> <a href="mainindex.php?id=rpt01&d=r">ℜ Service Appointment</a> <a href="mainindex.php?id=rpt02&d=r">ℜ Vehicle Summary</a> <a href="mainindex.php?id=rpt03&d=r">ℜ Customer Database</a> <a href="mainindex.php?id=rpt04&d=r">ℜ Generate Leads - Service Appointment</a> <a href="mainindex.php?id=rpt04&d=r">ℜ Generate Leads - Vehicle Sales</a> </div> </div> <div class="dropdown"> <button class="dropbtn">☸ System Setup <i class="fa fa-caret-down"></i> </button> <div class="dropdown-content"> <a href="mainindex.php?id=002&d=10">☺ Access Control Management</a> <a href="mainindex.php?id=003&d=10">☺ Time Slot Setup</a> <a href="mainindex.php?id=005&d=10">☺ Add User</a> <a href="mainindex.php?id=004&d=10">☧ Change My Password</a> <a href="logout.php?id=out">☒ Logout</a> </div> </div> <a href="javascript:void(0);" style="font-size:14px;" class="icon" onclick="myFunction()">☰</a> </div> <script> function myFunction() { var x = document.getElementById("myTopnav"); if (x.className === "topnav") { x.className += " responsive"; } else { x.className = "topnav"; } } </script> <!-- END OF MENU CODE --> </div> <div style="overflow:auto;background: #fff"> <div class="menu" style='display:block;margin-left:0px;margin-top:0px;padding:0px;padding-bottom:0px;background-color:gray;border-right:0px solid gray'> <!--===========================LEFT BOX==================================--> <?php $d=$_GET['d']; switch($d){ case '1': include 'nav_service_left_dashboard.php'; break; case '2': include 'nav_vehicle_left_dashboard.php'; break; case '': include 'nav_lms_left_dashboard.php'; break; case '3': include 'nav_company_left_dashboard.php'; break; case '4': include 'nav_customer_left_dashboard.php'; break; case '5': include 'nav_service_left_dashboard.php'; break; case '6': include 'nav_service_left_dashboard.php'; break; case '7': include 'nav_service_left_dashboard.php'; break; case '8': include 'nav_service_left_dashboard.php'; break; case '9': include 'nav_service_left_dashboard.php'; break; case '10': include 'nav_service_left_dashboard.php'; break; case '11': include 'nav_service_left_dashboard.php'; break; case '12': include 'nav_service_left_dashboard.php'; break; case '13': include 'nav_service_left_dashboard.php'; break; case '14'://Add New Vehicle include 'nav_service_left_dashboard.php'; break; case '15'://Add New Vehicle include 'nav_service_left_dashboard.php'; break; case '16': include 'nav_lms_left_dashboard.php';//'nav_organization_left_dashboard.php'; break; case 'r'://Add New Vehicle include 'report_summary_appt.php'; break; case 'lms'://LMS include 'nav_lms_left_dashboard.php'; break; } ?> <!--=============================================================--> <!--===========================LEFT BOX==================================--> </div> <!--======================MAIN BODY=====================================--> <!--======================MAIN BODY=====================================--> <div class="main" style='padding:1px;margin-left:0px;margin-top:0px;border-top:1px solid #9ea5a5;background-color:#fff;height:100%;border-left:1px solid gray '> <?php //includes/dashboard/vehicle_transfer.php $id=$_GET['id']; switch($id){ case '1'://module ID include 'ahg.php'; break; case ''://module ID include 'sales_lead_monitoring.php'; break; case '8': //module ID include 'check_in_out.php'; break; case '9'://module ID include 'service_transfer_request.php'; break; case '10'://module ID include 'search_vehicle_history.php'; break; case '11'://module ID include 'add_new_service_appointment.php'; break; case '14'://module ID include 'add_company.php'; break; case '13'://module ID include 'add_dealer.php'; break; case '16'://module ID include 'add_locations.php'; break; case '15'://module ID include 'add_brands.php'; break; case '17'://module ID include 'add_vehicle_model.php'; break; case '18'://module ID include 'add_type.php'; break; case '19'://module ID include 'add_vehicle_color.php'; break; case '20'://module ID include 'add_new_vehicle.php'; break; case '22'://module ID include 'active_service_pending_ur.php'; break; case '23'://module ID include 'cust_add_new_customer.php'; break; case '21'://module ID include 'vehicle_profiling.php'; break; case '24'://module ID include 'company_organization_list.php'; break; case '25'://module ID include 'sales_lead_monitoring.php'; break; case '26'://module ID include 'sales_lead_monitoring.php'; break; case '005':///module ID include 'user_lists.php'; break; case '002':///module ID include 'access_control_management.php'; break; case '003'://module ID include 'time_slots.php'; break; case 'rpt01'://module ID include 'rptA_report_data.php'; break; } ?> </div> <!--======================MAIN BODY=====================================--> <!--======================MAIN BODY=====================================--> </div> <!-- <div style='width:100%;height:1px;background: gray ;'></div> <div class="bgColor" style="font-size:20px;font-weight:normal;color:blue;padding:10px;border:0px solid #d6dbdf;margin:1px;margin-right:0px;margin-left:0px ">☷ Latest Updates <div style="font-size:14px;font-weight:normal;color:blue;background:white ;padding:5px;border:0px solid #d6dbdf;margin:1px;float:right;width:400px"> <?php //echo "Today's Date: ". $toDate;?></div> </div> <div style="height:600px;text-align:center;border-top:1px solid #9ea5a5;padding:1px;text-align:center;padding-top:20px;color:red;background:#fff "> </div>--> <div class='topMenuA' style="text-align:center;border-top:0px solid #9ea5a5;padding:1px;text-align:center;padding-top:20px;color:red;background:#000 "> <p style='padding:20px;padding-top:0px;font-family:Verdana;font-size:10px;color:white;text-align:center'>All Rights Reserved: ©XXXXXXXXXX: <?php echo $mycYear ."➺". ($mycYear + 1) ; ?> ® Developed by: A.E.E</p> </div> </body> </html>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings