👍 แนะนำสินค้า

สินค้าคัดมาแล้ว คุ้มค่า สเปคดี ราคาเหมาะสม

หมวดหมู่
ทั้งหมด 💻 โน้ตบุ๊ค 🖥️ คอมพิวเตอร์ตั้งโต๊ะ ⚙️ CPU / Processor 🎮 การ์ดจอ GPU 🔧 RAM / Memory 💾 SSD / HDD 🔌 เมนบอร์ด 🖥 จอมอนิเตอร์ 🖱️ เมาส์ / คีย์บอร์ด 🎧 หูฟัง / ลำโพง 📡 อุปกรณ์เน็ตเวิร์ก ❄️ เคส / PSU / Cooling 📱 มือถือ/แท็บเล็ต ⌨️ คีย์บอร์ด Mechanical 📷 เว็บแคม 🖨️ เครื่องพิมพ์ 🔋 Power Bank / UPS 🎙️ ไมค์ / สตรีมมิ่ง 💺 เก้าอี้ / โต๊ะ Gaming 🎯 อุปกรณ์เสริม
งบประมาณ: ทุกงบ ไม่เกิน ฿5,000 ไม่เกิน ฿10,000 ไม่เกิน ฿20,000 ไม่เกิน ฿30,000 เกิน ฿30,000
คอมพิวเตอร์ PC คอมประกอบ Core-i7 /Ram 16Gb ทำงาน เล่นเกมส์ GTA V /Valorant /Freefire /Pubg /Roblox (เลือกสเปคได้) Shopee SALE
คอมพิวเตอร์ตั้งโต๊ะ
คอมพิวเตอร์ PC คอมประกอบ Core-i7 /Ram 16Gb ทำงาน เล่นเกมส์ GTA V /Valorant /Freefire /Pubg /Roblox (เลือกสเปคได้)
5.0 (4)
฿7,610 ฿8,550
📖 รีวิว 🛒 ซื้อเลย
คอมพิวเตอร์ All-in-One i3, i5, i7 จอใหญ่เต็มตา มือสองสภาพดี พร้อมใช้งาน (เลือกสเปคได้) Shopee SALE
คอมพิวเตอร์ตั้งโต๊ะ
คอมพิวเตอร์ All-in-One i3, i5, i7 จอใหญ่เต็มตา มือสองสภาพดี พร้อมใช้งาน (เลือกสเปคได้)
5.0 (144)
฿5,500 ฿6,900
📖 รีวิว 🛒 ซื้อเลย
$db = Database::getInstance(); // Budget filter $budgets = [ ['label' => 'ทุกงบ', 'max' => 0], ['label' => 'ไม่เกิน ฿5,000', 'max' => 5000], ['label' => 'ไม่เกิน ฿10,000', 'max' => 10000], ['label' => 'ไม่เกิน ฿20,000', 'max' => 20000], ['label' => 'ไม่เกิน ฿30,000', 'max' => 30000], ['label' => 'เกิน ฿30,000', 'max' => -1], ]; $budgetMax = Security::sanitizeInt($_GET['budget'] ?? 0, -1, 9999999); $catSlug = Security::sanitizeString($_GET['cat'] ?? '', 130); $where = ["p.status = 'published'", "p.is_featured = 1"]; $params = []; if ($catSlug) { $cat = $db->fetchOne("SELECT * FROM categories WHERE slug=? AND is_active=1 LIMIT 1", [$catSlug]); if ($cat) { $where[] = 'p.category_id = ?'; $params[] = $cat['id']; } } if ($budgetMax > 0) { $where[] = 'p.price <= ?'; $params[] = $budgetMax; } if ($budgetMax === -1) { $where[] = 'p.price > 30000'; } $whereSql = 'WHERE ' . implode(' AND ', $where); $products = $db->fetchAll( "SELECT p.*, c.name as cat_name, c.slug as cat_slug, al.short_code, al.platform as aff_platform FROM products p LEFT JOIN categories c ON c.id = p.category_id LEFT JOIN affiliate_links al ON al.product_id=p.id AND al.is_primary=1 AND al.is_active=1 $whereSql ORDER BY p.rating DESC, p.view_count DESC LIMIT 24", $params ); // ถ้ายังไม่มี featured products แสดง top-rated แทน if (empty($products)) { $fallbackWhere = ["p.status='published'"]; $fallbackParams = []; if ($catSlug && !empty($cat)) { $fallbackWhere[] = 'p.category_id = ?'; $fallbackParams[] = $cat['id']; } $fWhereSql = 'WHERE ' . implode(' AND ', $fallbackWhere); $products = $db->fetchAll( "SELECT p.*, c.name as cat_name, c.slug as cat_slug, al.short_code, al.platform as aff_platform FROM products p LEFT JOIN categories c ON c.id = p.category_id LEFT JOIN affiliate_links al ON al.product_id=p.id AND al.is_primary=1 AND al.is_active=1 $fWhereSql ORDER BY p.rating DESC, p.view_count DESC LIMIT 24", $fallbackParams ); } $allCats = $db->fetchAll( "SELECT c.id, c.name, c.slug, c.icon FROM categories c WHERE c.is_active=1 ORDER BY c.sort_order LIMIT 12" ); function firstImg(?string $j): string { if (!$j) return '/assets/img/no-image.svg'; $a = json_decode($j, true); return (is_array($a) && !empty($a[0])) ? $a[0] : '/assets/img/no-image.svg'; } include __DIR__ . '/includes/header.php'; ?>

👍 แนะนำสินค้า

สินค้าคัดมาแล้ว คุ้มค่า สเปคดี ราคาเหมาะสม

หมวดหมู่
ทั้งหมด 💻 โน้ตบุ๊ค 🖥️ คอมพิวเตอร์ตั้งโต๊ะ ⚙️ CPU / Processor 🎮 การ์ดจอ GPU 🔧 RAM / Memory 💾 SSD / HDD 🔌 เมนบอร์ด 🖥 จอมอนิเตอร์ 🖱️ เมาส์ / คีย์บอร์ด 🎧 หูฟัง / ลำโพง 📡 อุปกรณ์เน็ตเวิร์ก ❄️ เคส / PSU / Cooling 📱 มือถือ/แท็บเล็ต ⌨️ คีย์บอร์ด Mechanical 📷 เว็บแคม 🖨️ เครื่องพิมพ์ 🔋 Power Bank / UPS 🎙️ ไมค์ / สตรีมมิ่ง 💺 เก้าอี้ / โต๊ะ Gaming 🎯 อุปกรณ์เสริม
งบประมาณ: ทุกงบ ไม่เกิน ฿5,000 ไม่เกิน ฿10,000 ไม่เกิน ฿20,000 ไม่เกิน ฿30,000 เกิน ฿30,000