38682-vm/pos.php
2026-02-25 02:42:12 +00:00

481 lines
26 KiB
PHP

<?php
declare(strict_types=1);
require_once __DIR__ . '/db/config.php';
require_once __DIR__ . '/includes/functions.php';
require_once __DIR__ . '/includes/lang.php';
init_session();
// User requested no translations in all app except for QR order and rating.
// Force English for POS.
$currentLang = 'en';
$isRTL = false;
require_permission('pos_view');
$pdo = db();
$currentUser = get_logged_user();
// Fetch outlets based on user assignment
if (has_permission('all')) {
$outlets = $pdo->query("SELECT * FROM outlets ORDER BY name")->fetchAll();
} else {
$stmt = $pdo->prepare("
SELECT o.* FROM outlets o
JOIN user_outlets uo ON o.id = uo.outlet_id
WHERE uo.user_id = ?
ORDER BY o.name
");
$stmt->execute([$currentUser['id']]);
$outlets = $stmt->fetchAll();
}
$outlet_id = isset($_GET['outlet_id']) ? (int)$_GET['outlet_id'] : (count($outlets) > 0 ? (int)$outlets[0]['id'] : 1);
// Security check: ensure user has access to this outlet
if (!has_permission('all')) {
$has_access = false;
foreach ($outlets as $o) {
if ($o['id'] == $outlet_id) {
$has_access = true;
break;
}
}
if (!$has_access && count($outlets) > 0) {
$outlet_id = (int)$outlets[0]['id'];
}
}
$categories = $pdo->query("SELECT * FROM categories ORDER BY sort_order")->fetchAll();
$all_products = $pdo->query("SELECT p.*, c.name as category_name, c.name_ar as category_name_ar FROM products p JOIN categories c ON p.category_id = c.id")->fetchAll();
$payment_types = $pdo->query("SELECT * FROM payment_types WHERE is_active = 1 ORDER BY id")->fetchAll();
// Fetch variants
$variants_raw = $pdo->query("SELECT * FROM product_variants ORDER BY price_adjustment ASC")->fetchAll();
$variants_by_product = [];
foreach ($variants_raw as $v) {
$variants_by_product[$v['product_id']][] = $v;
}
$table_id = $_GET['table'] ?? '1'; // Default table
$settings = get_company_settings();
$order_type = $_GET['order_type'] ?? 'takeaway';
$current_outlet_name = 'Unknown Outlet';
foreach ($outlets as $o) {
if ($o['id'] == $outlet_id) {
$current_outlet_name = $o['name'];
break;
}
}
// Fetch Loyalty Settings
$loyalty_stmt = $pdo->query("SELECT * FROM loyalty_settings WHERE id = 1");
$loyalty_settings = $loyalty_stmt->fetch(PDO::FETCH_ASSOC);
if (!$loyalty_settings) {
$loyalty_settings = ['is_enabled' => 0, 'points_per_order' => 0, 'points_for_free_meal' => 0];
}
?>
<!doctype html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><?= htmlspecialchars($settings['company_name']) ?> - POS</title>
<?php if (!empty($settings['favicon_url'])): ?>
<link rel="icon" href="<?= get_base_url() . htmlspecialchars($settings['favicon_url']) ?>?v=<?= time() ?>">
<?php endif; ?>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Noto+Sans+Arabic:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/custom.css?v=<?= time() ?>">
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<style>
body { height: 100vh; overflow: hidden; font-family: 'Inter', sans-serif; background: #f4f7f6; }
.scrollable-y { overflow-y: auto; height: 100%; scrollbar-width: thin; }
.pos-layout { height: calc(100vh - 60px); }
.pos-categories { background: #fff; height: 100%; border-right: 1px solid #e0e0e0; }
.pos-products { background: #f8fafc; height: 100%; display: flex; flex-direction: column; }
.pos-cart { background: #fff; height: 100%; border-left: 1px solid #e0e0e0; display: flex; flex-direction: column; }
.product-card { transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; border: 1px solid transparent !important; background: #fff; aspect-ratio: 1/1; display: flex; flex-direction: column; }
.product-card:active { transform: scale(0.95); }
.product-card:hover { border-color: #0d6efd !important; box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important; }
.category-btn { font-size: 1.1rem; text-align: left; border: none; background: none; padding: 10px 12px; width: 100%; display: flex; align-items: center; gap: 10px; border-radius: 12px; color: #64748b; font-weight: 700; transition: all 0.2s; }
.category-btn:hover { background-color: #f1f5f9; color: #0f172a; }
.category-btn.active { background-color: #0d6efd; color: white; box-shadow: 0 4px 6px -1px rgba(13, 110, 253, 0.3); }
.search-dropdown { position: absolute; width: 100%; z-index: 1000; max-height: 200px; overflow-y: auto; display: none; }
/* Compact Card adjustments */
.card-img-container { flex: 1; position: relative; background: #f1f5f9; overflow: hidden; }
.card-img-container img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.3s; }
.product-title { font-size: 0.75rem; line-height: 1.1; height: 2.2rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-weight: 700; color: #1e293b; }
.product-price-tag { font-size: 0.8rem; color: #0d6efd; font-weight: 700; }
.product-cat-name { font-size: 0.65rem; color: #94a3b8; }
@media (max-width: 576px) {
.pos-categories { width: 65px !important; flex: 0 0 65px !important; }
.category-btn span { display: none; }
.category-btn i { font-size: 1.4rem !important; margin-bottom: 0 !important; }
.category-btn img { width: 28px !important; height: 28px !important; margin-bottom: 0 !important; }
.pos-products { flex: 1; }
}
@media print {
.no-print { display: none !important; }
.print-only { display: block !important; }
body { overflow: visible !important; height: auto !important; }
}
.print-only { display: none; }
/* Touch-friendly enhancements */
.btn-touch {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
font-weight: 700;
border-radius: 12px;
}
.btn-group-touch .btn {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
font-weight: 700;
}
.input-group-touch .form-control, .input-group-touch .btn, .input-group-touch .input-group-text {
padding-top: 0.6rem;
padding-bottom: 0.6rem;
}
</style>
</head>
<body>
<div class="print-only" id="print-section"></div>
<div class="container-fluid p-0 no-print">
<!-- Header/Navbar -->
<nav class="navbar navbar-expand-lg border-bottom px-3 py-0 bg-white sticky-top" style="height: 60px;">
<div class="container-fluid p-0">
<a class="navbar-brand fw-bold d-flex align-items-center" href="pos.php">
<?php if (!empty($settings['logo_url'])): ?>
<img src="<?= get_base_url() . htmlspecialchars($settings['logo_url']) ?>?v=<?= time() ?>" alt="Logo" height="28" class="me-2">
<?php endif; ?>
<span class="d-none d-sm-inline" style="letter-spacing: -0.5px;"><?= htmlspecialchars($settings['company_name']) ?></span>
</a>
<div class="ms-auto d-flex align-items-center gap-1 gap-sm-2">
<a href="kitchen.php" class="btn btn-outline-primary btn-sm rounded-pill px-2 px-sm-3 border-0"><i class="bi bi-fire me-1"></i> Kitchen</a>
<button class="btn btn-outline-warning btn-sm rounded-pill px-2 px-sm-3 border-0" onclick="openRecallOrderModal()"><i class="bi bi-arrow-counterclockwise me-1"></i> Recall Bill</button>
<button class="btn btn-outline-info btn-sm rounded-pill px-2 px-sm-3 border-0" onclick="openRatingQRModal()"><i class="bi bi-qr-code me-1"></i> Rating QR</button>
<div class="vr mx-1 h-25 d-none d-sm-block"></div>
<div class="dropdown">
<button class="btn btn-light btn-sm rounded-circle p-0 border" type="button" data-bs-toggle="dropdown" style="width: 32px; height: 32px;">
<img src="<?= !empty($currentUser['profile_pic']) ? htmlspecialchars($currentUser['profile_pic']) : 'https://ui-avatars.com/api/?name=' . urlencode($currentUser['username']) ?>" alt="User" width="32" height="32" class="rounded-circle">
</button>
<ul class="dropdown-menu dropdown-menu-end shadow border-0 mt-2">
<li class="px-3 py-2 border-bottom">
<div class="fw-bold small"><?= htmlspecialchars($currentUser['username']) ?></div>
<div class="text-muted" style="font-size: 0.7rem;">Signed in as <?= htmlspecialchars($currentUser['group_name'] ?? 'User') ?></div>
</li>
<?php if (has_permission('dashboard_view')): ?>
<li><a class="dropdown-item py-2" href="admin/index.php"><i class="bi bi-speedometer2 me-2"></i> Dashboard</a></li>
<?php endif; ?>
<li><a class="dropdown-item py-2 text-danger" href="logout.php"><i class="bi bi-box-arrow-right me-2"></i> Logout</a></li>
</ul>
</div>
</div>
</div>
</nav>
<div class="row g-0 pos-layout">
<!-- Left Sidebar: Categories -->
<div class="col-md-2 col-auto pos-categories scrollable-y p-2" style="max-width: 220px;">
<button class="category-btn active mb-2" data-category="all">
<i class="bi bi-grid fs-5 text-inherit"></i>
<span style="font-size: 0.85rem; font-weight: 700;">All</span>
</button>
<?php foreach ($categories as $cat): ?>
<button class="category-btn mb-2" data-category="<?= $cat['id'] ?>">
<?php if (!empty($cat['image_url'])): ?>
<img src="<?= htmlspecialchars($cat['image_url']) ?>" alt="<?= htmlspecialchars($cat['name']) ?>" class="rounded-3" style="width: 24px; height: 24px; object-fit: cover; flex-shrink: 0;">
<?php else: ?>
<i class="bi bi-tag fs-5 text-inherit"></i>
<?php endif; ?>
<span class="text-truncate" style="font-size: 0.85rem; font-weight: 700;"><?= htmlspecialchars($cat['name']) ?></span>
</button>
<?php endforeach; ?>
</div>
<!-- Center Area: Product Grid -->
<div class="col pos-products">
<!-- Search Bar -->
<div class="px-3 py-2 border-bottom bg-white">
<div class="row g-2 align-items-center">
<div class="col-md-6 col-lg-5">
<div class="position-relative">
<span class="position-absolute top-50 start-0 translate-middle-y ms-3 text-muted">
<i class="bi bi-search small"></i>
</span>
<input type="text" id="product-search" class="form-control fs-5 ps-5 border-0 bg-light rounded-3" placeholder="Search...">
</div>
</div>
<?php if (count($outlets) > 1): ?>
<div class="col-auto">
<select class="form-select form-select-sm border-0 bg-light rounded-3 fw-bold text-primary" style="min-width: 200px;" onchange="location.href='?outlet_id=' + this.value + '&order_type=<?= $order_type ?>'">
<?php foreach ($outlets as $o): ?>
<option value="<?= $o['id'] ?>" <?= $o['id'] == $outlet_id ? 'selected' : '' ?>><?= htmlspecialchars($o['name']) ?></option>
<?php endforeach; ?>
</select>
</div>
<?php endif; ?>
</div>
</div>
<!-- Grid Container -->
<div class="flex-grow-1 scrollable-y p-2">
<div class="row g-2 row-cols-3 row-cols-sm-4 row-cols-md-5 row-cols-lg-6 row-cols-xl-6 row-cols-xxl-6" id="product-grid">
<?php foreach ($all_products as $product): ?>
<?php $has_variants = !empty($variants_by_product[$product['id']]); ?>
<div class="col product-item"
data-category="<?= $product['category_id'] ?>"
data-name="<?= htmlspecialchars(strtolower($product['name'])) ?>"
data-sku="<?= htmlspecialchars(strtolower($product['sku'] ?? '')) ?>"
onclick="handleProductClick(<?= htmlspecialchars(json_encode($product), ENT_QUOTES) ?>, <?= htmlspecialchars(json_encode($variants_by_product[$product['id']] ?? []), ENT_QUOTES) ?>)">
<div class="card h-100 border-0 shadow-sm product-card rounded-3 overflow-hidden">
<div class="card-img-container">
<?php if (!empty($product['image_url'])): ?>
<img src="<?= htmlspecialchars($product['image_url']) ?>?v=<?= time() ?>" alt="<?= htmlspecialchars($product['name']) ?>">
<?php else: ?>
<div class="d-flex align-items-center justify-content-center h-100">
<i class="bi bi-image text-muted opacity-25 fs-4"></i>
</div>
<?php endif; ?>
<?php if ($has_variants): ?>
<div class="position-absolute top-0 end-0 p-1">
<span class="badge bg-warning text-dark p-0 rounded-circle d-flex align-items-center justify-content-center" style="width: 14px; height: 14px; font-size: 0.5rem;"><i class="bi bi-plus"></i></span>
</div>
<?php endif; ?>
</div>
<div class="card-body p-1 text-center d-flex flex-column justify-content-between flex-grow-0">
<div>
<h6 class="card-title product-title mb-0"><?= htmlspecialchars($product['name']) ?></h6>
</div>
<div class="product-price-tag mt-1"><?= format_currency((float)$product['price']) ?></div>
</div>
</div>
</div>
<?php endforeach; ?>
</div>
</div>
</div>
<!-- Right Sidebar: Cart -->
<div class="col-md-3 col-12 pos-cart shadow-sm">
<div class="p-2 border-bottom bg-white">
<div class="btn-group btn-group-touch w-100 mb-2" role="group">
<input type="radio" class="btn-check" name="order_type" id="ot-takeaway" value="takeaway" <?= $order_type === 'takeaway' ? 'checked' : '' ?>>
<label class="btn btn-outline-primary py-2 rounded-start-pill" for="ot-takeaway" style="font-weight: 700;">Takeaway</label>
<input type="radio" class="btn-check" name="order_type" id="ot-dine-in" value="dine-in" <?= $order_type === 'dine-in' ? 'checked' : '' ?>>
<label class="btn btn-outline-primary py-2" for="ot-dine-in" style="font-weight: 700;">Dine-In</label>
<input type="radio" class="btn-check" name="order_type" id="ot-delivery" value="delivery" <?= $order_type === 'delivery' ? 'checked' : '' ?>>
<label class="btn btn-outline-primary py-2 rounded-end-pill" for="ot-delivery" style="font-weight: 700;">Delivery</label>
</div>
<div id="current-table-display" class="mt-2 text-center" style="display: none;">
<span class="badge bg-info-subtle text-info border border-info-subtle px-3 py-2 rounded-pill fw-bold" onclick="openTableSelectionModal()" style="cursor: pointer;">
<i class="bi bi-geo-alt-fill me-1"></i> <span id="selected-table-name">None</span>
</span>
</div>
<div class="position-relative">
<div class="input-group input-group-touch">
<span class="input-group-text bg-light border-0 rounded-start-pill ps-3"><i class="bi bi-person text-muted fs-5"></i></span>
<input type="text" class="form-control border-0 bg-light ps-1 fs-6" id="customer-search" placeholder="Customer..." autocomplete="off" style="font-weight: 600; font-size: 1.1rem;">
<button class="btn btn-light border-0 d-none" type="button" id="clear-customer"><i class="bi bi-x fs-5"></i></button>
<button class="btn btn-light border-0 rounded-end-pill pe-3 text-primary" type="button" data-bs-toggle="modal" data-bs-target="#addCustomerModal"><i class="bi bi-plus-lg fs-5"></i></button>
</div>
<div class="list-group shadow border-0 search-dropdown" id="customer-results" style="border-radius: 12px; margin-top: 5px;"></div>
<input type="hidden" id="selected-customer-id">
</div>
<!-- Loyalty Section -->
<div id="loyalty-section" class="mt-2 p-2 bg-primary-subtle rounded-3 d-none border border-primary-subtle">
<div class="d-flex justify-content-between align-items-center mb-1">
<span class="small fw-bold text-primary"><i class="bi bi-star-fill me-1"></i> Loyalty Points</span>
<div class="d-flex align-items-center gap-2">
<span class="badge bg-primary rounded-pill" id="loyalty-points-display">0 pts</span>
<button type="button" class="btn btn-link p-0 text-primary" id="view-points-history-btn" title="View History"><i class="bi bi-clock-history"></i></button>
</div>
</div>
<div id="loyalty-message" class="small text-muted mb-2" style="font-size: 0.75rem;"></div>
<button type="button" class="btn btn-primary btn-sm w-100 fw-bold rounded-3" id="redeem-loyalty-btn" disabled>Redeem Free Meal</button>
</div>
</div>
<div class="flex-grow-1 overflow-auto p-2 bg-white" id="cart-items">
<div class="text-center text-muted mt-5 opacity-50">
<i class="bi bi-basket3 fs-1 d-block mb-2"></i>
<p class="small">No Items</p>
</div>
</div>
<div class="p-3 border-top bg-light mt-auto rounded-top-4">
<div class="d-flex justify-content-between mb-1">
<span class="text-muted small">Subtotal</span>
<span class="fw-bold small" id="cart-subtotal"><?= format_currency(0) ?></span>
</div>
<div class="d-flex justify-content-between mb-3">
<span class="fs-6 fw-bold">Total</span>
<span class="fs-5 fw-bold text-primary" id="cart-total-price"><?= format_currency(0) ?></span>
</div>
<button class="btn btn-link text-danger w-100 py-2 fw-bold mb-3 fs-6 text-decoration-none" onclick="clearCart()">Clear Cart</button>
<div class="d-flex gap-2">
<button class="btn btn-primary w-50 shadow-sm fw-bold py-3 rounded-4 fs-6" id="quick-order-btn" disabled>QUICK PAY</button>
<button class="btn btn-outline-warning w-50 shadow-sm fw-bold py-3 rounded-4 fs-6" id="place-order-btn" disabled>PLACE ORDER</button>
</div>
</div>
</div>
</div>
</div>
<!-- Modals -->
<div class="no-print">
<!-- Table Selection Modal -->
<div class="modal fade" id="tableSelectionModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg">
<div class="modal-content border-0 shadow-lg" style="border-radius: 20px;">
<div class="modal-header border-0 pb-0">
<h6 class="modal-title fw-bold">Select Table</h6>
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
</div>
<div class="modal-body p-3">
<div id="table-areas-container"></div>
<div id="tables-grid" class="row g-3"></div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="qrRatingModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-sm">
<div class="modal-content border-0 shadow-lg" style="border-radius: 20px;">
<div class="modal-header border-0 pb-0">
<h6 class="modal-title fw-bold">Scan to Rate</h6>
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
</div>
<div class="modal-body p-4 text-center">
<div id="rating-qr-container" class="mb-3"></div>
<p class="small text-muted mb-0">Scan this QR code with your phone to rate our service and staff.</p>
</div>
</div>
</div>
</div>
<div class="modal fade" id="recallOrderModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-lg modal-dialog-centered">
<div class="modal-content border-0 shadow-lg" style="border-radius: 20px;">
<div class="modal-header border-0 pb-0">
<h6 class="modal-title fw-bold">Recall Bill</h6>
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
</div>
<div class="modal-body p-3"><div id="recall-orders-list" class="list-group list-group-flush"></div></div>
</div>
</div>
</div>
<div class="modal fade" id="variantSelectionModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-sm">
<div class="modal-content border-0 shadow-lg" style="border-radius: 20px;">
<div class="modal-header border-0 pb-0">
<h6 class="modal-title fw-bold" id="variantModalTitle">Select Variant</h6>
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
</div>
<div class="modal-body p-3"><div id="variant-list" class="list-group list-group-flush"></div></div>
</div>
</div>
</div>
<div class="modal fade" id="addCustomerModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-sm">
<div class="modal-content border-0 shadow-lg" style="border-radius: 20px;">
<div class="modal-header border-0 pb-0">
<h6 class="modal-title fw-bold">Add Customer</h6>
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
</div>
<div class="modal-body p-3">
<div class="mb-2">
<label class="small text-muted mb-1">Name</label>
<input type="text" class="form-control form-control-sm rounded-3" id="new-customer-name">
</div>
<div class="mb-3">
<label class="small text-muted mb-1">Phone</label>
<input type="text" class="form-control form-control-sm rounded-3" id="new-customer-phone">
</div>
<button type="button" class="btn btn-primary btn-sm w-100 py-2 rounded-3" id="save-new-customer">Add Customer</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="paymentSelectionModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-sm">
<div class="modal-content border-0 shadow-lg" style="border-radius: 20px;">
<div class="modal-header border-0 pb-0">
<h6 class="modal-title fw-bold">Payment Method</h6>
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
</div>
<div class="modal-body p-3"><div class="row g-2" id="payment-methods-container"></div></div>
</div>
</div>
</div>
<!-- Loyalty History Modal -->
<div class="modal fade" id="pointsHistoryModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-sm">
<div class="modal-content border-0 shadow-lg" style="border-radius: 20px;">
<div class="modal-header border-0 pb-0">
<h6 class="modal-title fw-bold">Points History</h6>
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
</div>
<div class="modal-body p-3">
<div id="points-history-body" class="list-group list-group-flush small"></div>
<div id="points-history-empty" class="text-center py-4 text-muted d-none">No history found.</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script>
const COMPANY_SETTINGS = <?= json_encode($settings) ?>;
const PRODUCT_VARIANTS = <?= json_encode($variants_by_product) ?>;
const PAYMENT_TYPES = <?= json_encode($payment_types) ?>;
const BASE_URL = '<?= get_base_url() ?>';
const CURRENT_OUTLET = { id: <?= $outlet_id ?>, name: '<?= addslashes($current_outlet_name) ?>' };
const CURRENT_USER = { id: <?= $currentUser['id'] ?>, name: '<?= addslashes($currentUser['username']) ?>' };
const LOYALTY_SETTINGS = <?= json_encode($loyalty_settings) ?>;
const LANG = 'en';
// JS Translations
const translations = {
'en': {
'cart_empty': 'No Items in Cart',
'remove': '<i class="bi bi-trash fs-5"></i>',
'order_placed': 'Order Placed!',
'order_success': 'Order saved successfully',
'error': 'Error',
'quick_pay': 'QUICK PAY',
'save_bill': 'PLACE ORDER',
'variant': 'Variant',
'none': 'None'
}
};
const t = (key) => translations[LANG][key] || key;
</script>
<script src="assets/js/main.js?v=<?= time() ?>"></script>
</body>
</html>