"") { $_SESSION["isLoggedIn"] = true; //$customer_data = getCustomerbyLoginId($_SESSION["userId"]); } else { $_SESSION["isLoggedIn"] = false; header("location: login.php"); } if($_SESSION["user_type"]!="admin"){ header("location: login.php?alert=Only admins allowed here!"); } $vendor = getVendorbyId($_SESSION["vendorId"]); $array = json_decode($vendor,true); $selectedBankAccount = null; foreach ($array['bank_acount_details'] as $bankAccount) { if ($bankAccount['bank_payout']) { $selectedBankAccount = $bankAccount; break; } } if ($selectedBankAccount === null && !empty($array['bank_acount_details'])) { $selectedBankAccount = $array['bank_acount_details'][0]; } $selectedBankAccountJSON = json_encode($selectedBankAccount); $shopOrders = getOrderbyVendorId($_SESSION["vendorId"]); $vendorOrderss = json_decode($shopOrders); if (is_array($vendorOrderss)) { $vendorOrders = json_decode($shopOrders); } elseif (is_object($vendorOrderss) && property_exists($vendorOrderss, 'message')) { $vendorOrders = []; } else { echo "Unknown type or no 'message' property found."; } ?> oBanana B2B - Admin Dashboard
" alt="user image" class="img-fluid rounded-circle" alt="Avatar Image" style="width: 100px; height: 100px; object-fit: cover; border-radius: 50%;">
1703

Friends

3005

Followers

1150

Following


Contact Information

Email address

Phone Number

+00 1234 5678 91

Birthday

Dec 10, 1991

Social Profile

Payments

Method Amount Status Payout Description Date
>

Payouts

Amount Bank Account Name Date Status
₱1,230 EastWest **** **** 1234 Jon-Jon Manaay Oct 20, 2018 Deposited

5300

New Users

1953

Order Placed

1450

Total Sales

New Order

Selena has placed an new order

10 AM
New Enquiry

Phileine has placed an new order

9 AM
Support Ticket

Emma has placed an new order

10 AM
New order

Ryan has placed an new order

10 AM
Comapny Meetup

Phileine has placed an new order

10 AM
Support Ticket

Emma has placed an new order

10 AM
New Enquiry

Phileine has placed an new order

9 AM

Recent Orders

Order_ID Product_Name Units Order_Date Order_Cost Status
24541 Coach Swagger 1 Unit Oct 20, 2018 $230 Completed
24541 Toddler Shoes, Gucci Watch 2 Units Nov 15, 2018 $550 Delayed
24541 Hat Black Suits 1 Unit Nov 18, 2018 $325 On Hold
24541 Backpack Gents, Swimming Cap Slin 5 Units Dec 13, 2018 $200 Completed
24541 Speed 500 Ignite 1 Unit Dec 23, 2018 $150 Cancelled
Example invalid custom file feedback
Accusamus nobis at omnis consequuntur culpa tempore saepe animi.