diff --git a/Unimarket/Unimarket/includes/sidebar.php b/Unimarket/Unimarket/includes/sidebar.php new file mode 100644 index 0000000..124805d --- /dev/null +++ b/Unimarket/Unimarket/includes/sidebar.php @@ -0,0 +1,20 @@ +
You haven't added any products yet.
+ Add Your First Product +| Image | +Name | +Price | +Stock | +Status | +Actions | +
|---|---|---|---|---|---|
+
+
+
+ |
+ + | ₱ | ++ | + + 0 ? 'Active' : 'Inactive'; ?> + + | ++ + Edit + + + Delete + + | +
| Username | +Role | +Actions | +|
|---|---|---|---|
| + | + | + | + + Edit + + | +
| Order ID | +Customer | +Date | +Amount | +Status | +Actions | +
|---|---|---|---|---|---|
| # | ++ | + | ₱ | ++ | + + View + + | +
| Order ID | +Customer | +Date | +Amount | +Status | +Actions | +
|---|---|---|---|---|---|
| # | ++ | + | $ | +
+
+
+ Completed
+
+
+
+ Cancelled
+
+
+
+
+ |
+ + + View Details + + | +
| Product | +Price | +Quantity | +Subtotal | +
|---|---|---|---|
| + | ₱ | ++ | ₱ | +
Total products found: " . count($products) . "
"; + + // Group products by owner + $grouped_products = []; + foreach ($products as $product) { + $owner_name = $product['owner_name']; + if (!isset($grouped_products[$owner_name])) { + $grouped_products[$owner_name] = []; + } + $grouped_products[$owner_name][] = $product; + } + + echo "Number of sellers: " . count($grouped_products) . "
"; + echo "Sellers found: " . implode(", ", array_keys($grouped_products)) . "
"; + echo "| Image | +Name | +Category | +Subcategory | +Price | +Stock | +Status | +Actions | +
|---|---|---|---|---|---|---|---|
|
+
+ No Image
+
+ |
+ + | + | + | ₱ | ++ | + + + + | ++ + | +
| ID | +Username | +Role | +Actions | +|
|---|---|---|---|---|
| + | + | + | + + + + + | ++ + + Edit + + + + Edit + + + + + Delete + + + | +
+ Don't have an account? Register here +
+Looks like you haven't added any items to your cart yet.
+ Continue Shopping +₱
+ + +Size:
+ + + + +₱
+ + +Scheduled Pickup:
+Payment Method: Pay on Pickup
+Instructions: Please bring your university ID for verification when picking up your order.
+| Order # | +Date | +Total | +Status | +Pickup Schedule | +
|---|---|---|---|---|
| + + # + + | ++ | $ | ++ + + + + | ++ + + + Not scheduled + + | +
| Product | +Seller | +Price | +Quantity | +Subtotal | +
|---|---|---|---|---|
|
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+ @
+ |
+ ₱ | ++ | ₱ | +
Sold by
+ +₱
+ + + ++ + Only left in stock! + + In stock ( available) + +
+ +Member since
+You haven't placed any orders yet.
+ +| Order ID | +Date | +Amount | +Status | +Pickup Schedule | +
|---|---|---|---|---|
| # | ++ | ₱ | ++ + + + | ++ |