File manager - Edit - /home/autoph/public_html/weCare/Covid19/ContactTracing/COVIDAPP/autohub.php
Back
<?php ob_start(); include 'core/init.php'; protected_page(); //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']; $accType =$user_data['account_type']; $getBookingCount = 0;//mysql_result(mysql_query("SELECT COUNT('s_id') FROM `vts_service_transaction` WHERE `booking_confirmed`='no'"),0); $comID=$user_data['company']; $comName=mysql_result(mysql_query("SELECT `comp_code` FROM `vts_company` WHERE `comp_id`='$comID'"),0); $userBrand=mysql_result(mysql_query("SELECT `brand` FROM `vts_company` WHERE `comp_code`='$comName'"),0); $BrandID=mysql_result(mysql_query("SELECT `b_id` FROM `vts_brands` WHERE `b_name`='$userBrand'"),0); if($accType !='Admin'){ Header("Location:user_Portal.php?id=$userID"); } //echo "Arnel ".$myCurTime; //count all new bookings $getBookingCount = 0;//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> <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>Scanning. Please wait....</div> <!-- add jquery --> <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script> <script type="text/javascript"> $(document).ready(function(){ }); function showInventory(row) { var x=row.cells; var selCompany = x[0].innerHTML; alert(selCompany); //return false; //load_vehicle_inventory_on_click $.ajax({ url: "load_vehicle_inventory_on_click.php", type: "POST", async: false, data: { "selCompany": selCompany }, success: function(d){ $("#viewInventory").html(d); alert("success"); } }); } </script> <style> .topBG{ background: -webkit-linear-gradient(left top, #f96409, #f99e09 , #fad497); /* For Safari 5.1 to 6.0 */ background: -o-linear-gradient(bottom right, #f96409,#f99e09, #fad497 ); /* For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(bottom top, #f96409,#f99e09, #fad497 ); /* For Firefox 3.6 to 15 */ background: linear-gradient(to bottom right, #f96409,#f99e09, #fad497 ); /* Standard syntax */ font-weight:bold; color:black; } .bgColor{ background: -webkit-linear-gradient(left top,#ff8430, #f9cc5f,#fff ); /* For Safari 5.1 to 6.0 */ background: -o-linear-gradient(bottom right, #ff8430, #f9cc5f,#fff); /* For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(bottom top, #ff8430, #f9cc5f,#fff); /* For Firefox 3.6 to 15 */ background: linear-gradient(to bottom right, #ff8430, #f9cc5f,#fff ); /* Standard syntax */ } .addBrandLink{ display:block; padding:10px; padding-left:15px; padding-right:15px; margin:10px; border:1px solid #0ca7f4; margin-left:0px; margin-right:0px; background:#1cd9fe; font-family:Arial; font-size:14px; font-weight:normal; } .addBrandLink:hover{ display:block; padding:10px; padding-left:15px; padding-right:15px; margin:10px; border:1px solid #fa824f ; margin-left:0px; margin-right:0px; background:#f7e581; font-family:Arial; font-size:14px; font-weight:bold; } .bodyMenu{ float:left; width:55%; border:0px solid red; } .bodyTitle{ float:left; width:40%; border:0px solid red; padding:10px; display:block; } .myDashBoard{ display:block; float:left; width:20%; height:auto; border:0px solid gray; background:white; border-right:1px solid gray; } .myBody{ display:block; float:left; width:80%; min-height:600px; min-width:400px; border:0px solid gray; background:white; padding:10px; } .fHeaderA{ float:left; width:30%; min-width:200px; border:0px solid red; } .fHeaderB{ float:left; width:70%; min-width:200px; border:0px solid red; } .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; } .DIVBox{ font-family:Arial; background: -webkit-linear-gradient(left top, #d2fbf3,#f0f0dd, #f0f0dd ); /* For Safari 5.1 to 6.0 */ background: -o-linear-gradient(bottom right, #d2fbf3,#f0f0dd ,#f0f0dd); /* For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(bottom top, #d2fbf3,#f0f0dd,#f0f0dd); /* For Firefox 3.6 to 15 */ background: linear-gradient(to bottom right, #d2fbf3,#f0f0dd,#f0f0dd); /* Standard syntax */ font-size:12px; color:black; border:0px solid orange; width:22%; height:10%; min-width:250px; min-height:150px; float:left; margin:1%; } .DIVBox:hover{ font-family:Arial; background: -webkit-linear-gradient(left top, #fdfdac ,#f0f0dd,#f0f0dd ); background: -o-linear-gradient(bottom right, #fdfdac,#fdfdac,#f0f0dd); background: -moz-linear-gradient(bottom top, #fdfdac,#fdfdac,#f0f0dd); background: linear-gradient(to bottom right, #fdfdac,#fdfdac,#f0f0dd); font-size:12px; color:black; border:1px solid red; width:22%; height:10%; min-width:250px; min-height:150px; float:left; margin:1%; } .pageMenuA{ width:40%; float:left; margin:5px; border:0px solid blue; } .pageMenuB{ width:50%; float:right; margin:5px; border:0px solid blue; } @media only screen and (max-width:900px) { .DIVBox{ width:28%; margin:2%; } .DIVBox:hover{ width:28%; margin:2%; } } @media only screen and (max-width:800px) { .DIVBox{ width:46%; margin:2%; } .DIVBox:hover{ width:46%; margin:2%; } .pageMenuA{ width:100%; float:left; margin:5px; border:0px solid blue; } .pageMenuB{ width:100%; float:right; margin:5px; border:0px solid blue; } } @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; } .vertical-menuA a.active { color: red; } .DIVBox{ width:94%; margin:2%; } .DIVBox:hover{ width:94%; margin:2%; } .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 */ color: red; } .fHeaderA{ float:left; width:100%; min-width:200px; border:0px solid red; } .fHeaderB{ display:none; float:left; width:100%; min-width:200px; border:0px solid red; } .myDashBoard{ display:none; float:left; width:100%; min-width:200px; border:1px solid red; } .myBody{ display:block; float:left; width:100%; min-width:200px; border:0px solid red; } .bodyTitle{ float:left; width:40%; border:0px solid red; padding:10px; display:none; } .bodyMenu{ float:left; width:100%; border:0px solid red; } .pageMenuA{ width:100%; float:left; margin:5px; border:0px solid blue; } .pageMenuB{ width:100%; float:right; margin:5px; border:0px solid blue; } } <!-- 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="position: fixed; top: 0; left: 0; padding:5px; z-index: 999; height: 80px; width: 100%;background:white;border:1px solid black; border-radius:0px 0px 0px 0px "> <div class="fHeaderA"><img src='images/autohub_logo_2016.png' border="0px solid blue"></img></div> <div class="fHeaderB"> <?php echo "<p style='padding:10px;font-family:Arial;font-size:14px;color:black;float:right'>🔐: ".strtoupper($accType)." | 👩 User: ".strtoupper($user_data['u_name'])." | 🏪 Company: ".$comName." | <a href='logout.php'>❌ Logout</a></p>";?></div> </div> <div style='height:80px;width;30%;padding:5px;'> </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="autohub.php?id=x&d=x" class="active">⚏ Dashboard</a> <!--<div class="dropdown"> <button class="dropbtn"> ☸ HELPDESK <i class="fa fa-caret-down"></i> </button> <div class="dropdown-content"> <a href="autohub.php?id=c&d=c">Clearance Form</a> <a href="autohub.php?id=a&d=a">Support Request</a> <a href="#"><div style='border:0px solid white; border-bottom:1px solid gray; widthL100%;'></div></a> <a href="mainindex.php?id=10&d=1">Reports</a> </div> </div> <div class="dropdown"> <button class="dropbtn">☢ PMS <i class="fa fa-caret-down"></i> </button> <div class="dropdown-content"> <a href="check_in_out.php?id=8&d=1">Job Design</a> <a href="mainindex.php?id=10&d=1">Operational Plan</a> <a href="mainindex.php?id=10&d=1">Performance Commitment Plan</a> <a href="mainindex.php?id=10&d=1">Performance Evaluation </a> <a href="#"><div style='border:0px solid white; border-bottom:1px solid gray; widthL100%;'></div></a> <a href="mainindex.php?id=10&d=1">Reports</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="autohub.php?id=vs&d=vs">✩ Brand</a> <a href="autohub.php?id=ml&d=vs">✩ Model</a> <a href="autohub.php?id=cl&d=vs">✩ Color</a> --> <a href="autohub.php?id=s&d=p">✩ Price Setup</a> <a href="autohub.php?id=promo&d=promo">✩ Promos & Discounts</a> <a href="autohub.php?id=v&d=i">✩ Vehicle Inventory</a> <a href="autohub.php?id=xv&d=x">✩ Reservation Request</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="autohub.php?id=14&d=x">✩ ADD NEW COMPANY</a> <a href="autohub.php?id=13&d=x">✩ ADD NEW DEALERSHIP</a> <a href="autohub.php?id=ac&d=ac">✩ ACTIVATE ACCOUNT</a> </div> </div> <!-- <div class="dropdown"> <button class="dropbtn">☸ SETUP <i class="fa fa-caret-down"></i> </button> <div class="dropdown-content"> <a href="mainindex.php?id=002&d=10">☺ ACCOUNT SETUP</a> <a href="mainindex.php?id=003&d=10">☺ ACCESS SETUP</a> <a href="mainindex.php?id=005&d=10">☺ CHANGE 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="width:100%;float:left;height:100%;text-align:center;border-top:1px solid #9ea5a5;padding:1px;text-align:center;padding-top:0px;color:red;background:#fff "> <div class="myDashBoard"> <div style="width:100%;height:900px;border:0px solid red;border:3px solid white;overflow:auto;float:left"> <?php $getD=$_GET['d']; switch($getD){ //===============================================================//=============================================================== //===============================================================//=============================================================== case 'p': echo "<div class='bgColor' style='text-align:left;vertical-align:top;height:35px;margin:0px;width:100%;border-bottom:1px solid gray;padding:5px;font-family:Verdana;font-weight:normal;font-size:18px;color:#043062'>VEHICLE PRICE SETUP <div style='float:right;font-family:Verdana;font-size:15px;'> <a href='autohub.php?id=a&d=a' onclick='showAddNewProspect()' style='font-weight:bold'> ✕ </a> </div> </div>"; $getComp = mysql_query("SELECT * FROM `brand_access` WHERE `user_id`='$userID' ORDER BY `brand_name` ASC "); echo "<table style='border-collapse:collapse;width:100%'>"; while($row=mysql_fetch_array($getComp)){ $resUnit = mysql_result(mysql_query("SELECT COUNT('req_id') FROM `db_sc_request` WHERE `brand_name`='".$row['brand_name']."'"),0); echo "<tr>"; echo "<td style='width:100%;;padding:10px;text-align:left;font-family:Arial;font-weight:bold;font-size:14px;color:blue'> ".$row['brand_name']; echo "<div>"; $bid = mysql_result(mysql_query("SELECT `b_id` FROM `vts_brands` WHERE `b_name`='".$row['brand_name']."'"),0); $getCompX = mysql_query("SELECT * FROM `vts_model` WHERE `b_id`='$bid' ORDER BY `m_name` ASC "); echo "<table style='border-collapse:collapse;width:100%'>"; while($row=mysql_fetch_array($getCompX)){ echo "<tr>"; echo "<td style='background:white;padding-left:10px;width:100%;text-align:left;padding-left:30px'><a href='autohub.php?id=s&d=p&model=".$row['m_name']."' style='display:block;width:100%;padding:5px;'>: ".$row['m_name']."</a></td>"; echo "</tr>"; } echo "</table>"; echo "</div>"; echo "</td>"; echo "</tr>"; } echo "</table>"; break; //===============================================================//=============================================================== //===============================================================//=============================================================== case 'c': echo "<div class='bgColor' style='text-align:left;vertical-align:top;height:35px;margin:0px;width:100%;border-bottom:1px solid gray;padding:5px;font-family:Verdana;font-weight:normal;font-size:18px;color:#043062'>CLEARANCE DASHBOARD <div style='float:right;font-family:Verdana;font-size:15px;'> <a href='autohub.php?id=a&d=a' onclick='showAddNewProspect()' style='font-weight:bold'> ✕ </a> </div> </div>"; $getComp = mysql_query("SELECT * FROM `vts_company` WHERE `comp_status`='1' ORDER BY `comp_name` ASC "); echo "<table style='border-collapse:collapse;width:100%'>"; echo "<thead>"; echo "<th class='tBalls' style='width:70%'>COMPANY</th>"; echo "<th class='tBalls' style='width:30%'>OPEN</th>"; echo "</thead>"; while($row=mysql_fetch_array($getComp)){ echo "<tr>"; echo "<td style='width:70%'>".$row['comp_code']."</td>"; echo "<td style='width:30%'>"; echo"</td>"; echo "</tr>"; } echo "</table>"; break; //===============================================================//=============================================================== //===============================================================//=============================================================== case 'i': echo "<div class='bgColor' style='text-align:left;vertical-align:top;height:35px;margin:0px;width:100%;border-bottom:1px solid gray;padding:5px;font-family:Verdana;font-weight:normal;font-size:18px;color:#043062'>DASHBOARD <div style='float:right;font-family:Verdana;font-size:15px;'> <a href='autohub.php?id=a&d=a' onclick='showAddNewProspect()' style='font-weight:bold'> ✕ </a> </div> </div>"; //$getComp = mysql_query("SELECT * FROM `vts_brands` WHERE `group_brand`='Yes' AND `b_name`='$userBrand' ORDER BY `b_name` ASC "); $getComp = mysql_query("SELECT * FROM `vts_brands` WHERE `group_brand`='Yes' ORDER BY `b_name` ASC "); echo "<table style='border-collapse:collapse;width:100%'>"; echo "<thead>"; echo "<th class='tBalls' style='width:70%'>BRAND</th>"; echo "<th class='tBalls' style='width:30%'>STOCKS</th>"; echo "</thead>"; while($row=mysql_fetch_array($getComp)){ $brand = $row['b_name']; $chkAccess = mysql_result(mysql_query("SELECT COUNT(id) FROM `brand_access` WHERE `brand_name`='$brand' AND `user_id`='$userID'"),0); //echo "Test". $brand . " ID ". $userID; if($chkAccess != 0){ $getTotalAvail = mysql_result(mysql_query("SELECT COUNT('id') FROM `db_vehicle_inventory` WHERE `sold` = 0 AND `returned` = 0 AND `tagged` = 0 AND `brand`='$brand'"),0); ?><tr onDblclick="javascript:showInventory(this);"><?php echo "<td style='width:70%;text-align:left'><a href='autohub.php?id=v&d=i&comp=".$row['b_name']."' style='display:block;padding:3px;'>".$row['b_name']."</a></td>"; echo "<td style='width:30%'><a href='autohub.php?id=v&d=i&comp=".$row['b_name']."' style='display:block;padding:3px;'>".$getTotalAvail."</td>"; echo "</tr>"; } } echo "</table>"; break; //===============================================================//=============================================================== //===============================================================//=============================================================== case 'promo': echo "<div class='bgColor' style='text-align:left;vertical-align:top;height:35px;margin:0px;width:100%;border-bottom:1px solid gray;padding:5px;font-family:Verdana;font-weight:normal;font-size:18px;color:#043062'>DASHBOARD <div style='float:right;font-family:Verdana;font-size:15px;'> <a href='autohub.php?id=a&d=a' onclick='showAddNewProspect()' style='font-weight:bold'> ✕ </a> </div> </div>"; $getComp = mysql_query("SELECT * FROM `vts_brands` WHERE `group_brand`='Yes' ORDER BY `b_name` ASC "); echo "<table style='border-collapse:collapse;width:100%'>"; echo "<thead>"; echo "<th class='tBalls' style='width:100%;font-family:Arial;font-size:24px;font-weight:bold'>BRAND</th>"; //echo "<th class='tBalls' style='width:30%'>STOCKS</th>"; echo "</thead>"; while($row=mysql_fetch_array($getComp)){ $brand = $row['b_name']; $getTotalAvail = mysql_result(mysql_query("SELECT COUNT('id') FROM `db_vehicle_inventory` WHERE `sold` = 0 AND `returned` = 0 AND `tagged` = 0 AND `brand`='$brand'"),0); ?><tr onDblclick="javascript:showInventory(this);"><?php echo "<td style='width:100%;text-align:left;padding-left:30px'><a href='autohub.php?id=promo&d=promo&comp=".$row['b_name']."' style='display:block;padding:3px;font-family:Arial;font-size:16px;color:black'>✧ ".$row['b_name']."</a></td>"; //echo "<td style='width:30%'><a href='autohub.php?id=promo&d=promo&comp=".$row['b_name']."' style='display:block;padding:3px;'>".$getTotalAvail."</td>"; echo "</tr>"; } echo "</table>"; break; //===============================================================//=============================================================== //===============================================================//=============================================================== case 'x': echo "<div class='bgColor' style='text-align:left;vertical-align:top;height:35px;margin:0px;width:100%;border-bottom:1px solid gray;padding:5px;font-family:Verdana;font-weight:normal;font-size:18px;color:#043062'>SALES INQUIRY <div style='float:right;font-family:Verdana;font-size:15px;'> <a href='autohub.php?id=a&d=a' onclick='showAddNewProspect()' style='font-weight:bold'> ✕ </a> </div> </div>"; //$getComp = mysql_query("SELECT * FROM `vts_brands` WHERE `group_brand`='Yes' AND `b_name`='$userBrand' ORDER BY `b_name` ASC "); $getComp = mysql_query("SELECT * FROM `brand_access` WHERE `user_id`='$userID' ORDER BY `brand_name` ASC "); echo "<table style='border-collapse:collapse;width:100%'>"; echo "<thead>"; echo "<th class='tBalls' style='width:70%'>BRAND</th>"; echo "<th class='tBalls' style='width:30%'>REQUEST</th>"; echo "</thead>"; while($row=mysql_fetch_array($getComp)){ $resUnit = mysql_result(mysql_query("SELECT COUNT('req_id') FROM `db_sc_request` WHERE `brand_name`='".$row['brand_name']."'"),0); echo "<tr>"; echo "<td style='width:70%'><a href='autohub.php?id=xv&d=x&brd=".$row['brand_name']."' style='display:block;padding:3px;text-align:left'>".$row['brand_name']."</a></td>"; echo "<td style='width:30%'><a href='autohub.php?id=xv&d=x&brd=".$row['brand_name']."' style='display:block;padding:3px;'>".$resUnit."</td>"; echo "</tr>"; } echo "</table>"; break; case 'ac': echo "<div class='bgColor' style='text-align:left;vertical-align:top;height:35px;margin:0px;width:100%;border-bottom:1px solid gray;padding:5px;font-family:Verdana;font-weight:normal;font-size:18px;color:#043062'>ACCOUNT SUMMARY <div style='float:right;font-family:Verdana;font-size:15px;'> <a href='autohub.php?id=a&d=a' onclick='showAddNewProspect()' style='font-weight:bold'> ✕ </a> </div> </div>"; $result = mysql_query("SELECT * FROM vts_users WHERE `deleted` = 0 AND `company`='$comID' ORDER BY `u_id` DESC"); echo "<table style='width:100%;'>"; echo "<thead> <tr> <th style='width:60%'>FIRST NAME</th> <th style='width:40%'>STATUS</th> </tr> </thead>"; while($row=mysql_fetch_array($result)){ ?><tr onclick="javascript:getSelectedUSER(this);"><?php echo "<td style='text-align:left'>".$row['u_lname'].", ".$row['u_fname']."</td>"; echo "<td>"; if($row['u_status']== 0){echo 'For Activation';}else{echo 'Active';} echo"</td>"; echo "</tr>"; } echo "</table>"; //===============================================================//=============================================================== //===============================================================//=============================================================== } ?> </div> </div> <div class="myBody"> <div style='text-align:left;vertical-align:top;height:60px;margin:0px;width:100%;border-bottom:0px solid gray;padding:5px;font-family:Verdana;font-weight:normal;font-size:18px;color:#043062'> <?php $getBody=$_GET['id']; switch($getBody){ case 'ac': include 'activate_new_account.php'; break; case 'x': include 'banner.php'; break; case 'xv': include 'unit_reservation.php'; break; case 'c': include 'clearance_body.php'; break; case 'v': include 'inventory_body.php'; break; case 's': include 'inventory_price_setup.php'; break; case 'promo': include 'unit_promo_setup.php'; break; case 'vs': include 'add_brands.php'; break; case 'ml': include 'add_vehicle_model.php'; break; case 'cl': include 'add_vehicle_color.php'; break; case '14'://module ID include 'add_company.php'; break; case '13'://module ID include 'add_dealer.php'; break; } ?> </div> </div> <div class='topMenuA' style="width:100%;float:left;text-align:center;border-top:0px solid #9ea5a5;padding:1px;text-align:center;padding-top:0px;color:red;background:#000 "> <p style='padding:10px;padding-top:0px;font-family:Verdana;font-size:10px;color:white;text-align:center;border-top:0px solid white;padding-top:20px'>All Rights Reserved: ©XXXXXXXXXX: <?php echo $mycYear ."➺". ($mycYear + 1) ; ?> ® Developed by: A.E.E</p> </div> </body> </html>
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0 |
proxy
|
phpinfo
|
Settings