SamtigisID - Rekomendasi Hargak Termurah

2 lampu (7835 produk)

CATL 200AH LiFePO4 Battery Free BMS 3.2V
CATL 200AH LiFePO4 Battery Free BMS 3.2V
Rp 465.000
CATL 200AH LiFePO4 Battery Free BMS 3.2V...
Beli Sekarang
PROMO Kabel Lotusku 2x0.75mm 50m SNI Tembaga
PROMO Kabel Lotusku 2x0.75mm 50m SNI Tembaga
Rp 198.187
PROMO Kabel Lotusku 2x0.75mm 50m SNI Tembaga...
Beli Sekarang
Plastik Vacuum 15x25 / Vakum Makanan 15 x 25 cm
Plastik Vacuum 15x25 / Vakum Makanan 15 x 25 cm
Rp 618
Plastik Vacuum 15x25 / Vakum Makanan 15 x 25 cm...
Beli Sekarang
Baterai Lifepo 12V 44ah
Baterai Lifepo 12V 44ah
Rp 825.000
Baterai Lifepo 12V 44ah...
Beli Sekarang
PROMO Broco Steker Gepeng Hitam Isi 24Pcs
PROMO Broco Steker Gepeng Hitam Isi 24Pcs
Rp 77.534
PROMO Broco Steker Gepeng Hitam Isi 24Pcs...
Beli Sekarang
Stanley Battery Fatmax / Baterai 20 Volt 2.0Ah SB202
Stanley Battery Fatmax / Baterai 20 Volt 2.0Ah SB202
Rp 523.200
Stanley Battery Fatmax / Baterai 20 Volt 2.0Ah SB202...
Beli Sekarang
Resistor 1/2W Metal Film 1% 10pcs Available
Resistor 1/2W Metal Film 1% 10pcs Available
Rp 3.000
Resistor 1/2W Metal Film 1% 10pcs Available...
Beli Sekarang
Baterai Lifepo4 3.2V 30Ah/50Ah Baru Rechargeable
Baterai Lifepo4 3.2V 30Ah/50Ah Baru Rechargeable
Rp 154.000
Baterai Lifepo4 3.2V 30Ah/50Ah Baru Rechargeable...
Beli Sekarang
PROMO Kabel Listrik Evolus HYO 2x1.5 50M Hitam/Putih
PROMO Kabel Listrik Evolus HYO 2x1.5 50M Hitam/Putih
Rp 129.999
PROMO Kabel Listrik Evolus HYO 2x1.5 50M Hitam/Putih...
Beli Sekarang
Hi-Cook Gas Cartridge 230g For Portable Stoves
Hi-Cook Gas Cartridge 230g For Portable Stoves
Rp 18.700
Hi-Cook Gas Cartridge 230g For Portable Stoves...
Beli Sekarang
ABC AA A2 Biru Original Termurah 1.5V 24PCS
ABC AA A2 Biru Original Termurah 1.5V 24PCS
Rp 2.755
ABC AA A2 Biru Original Termurah 1.5V 24PCS...
Beli Sekarang
ONE-C246 Holder Stop Kontak Gantungan Colokan Listrik Double Tape Hook Tempel Meja Dinding Universal
ONE-C246 Holder Stop Kontak Gantungan Colokan Listrik Double Tape Hook Tempel Meja Dinding Universal
Rp 2.567
ONE-C246 Holder Stop Kontak Gantungan Colokan Listrik Double Tape Hook Tempel Meja Dinding Universal...
Beli Sekarang
Pot Cream 12.5gr Kosmetik Mewah Anti Pecah
Pot Cream 12.5gr Kosmetik Mewah Anti Pecah
Rp 1.350
Pot Cream 12.5gr Kosmetik Mewah Anti Pecah...
Beli Sekarang
Promo (Per 1 PCS) Baterai 9V ENERGIZER Rechargerable Power 9V¹ 230mAh
Promo (Per 1 PCS) Baterai 9V ENERGIZER Rechargerable Power 9V¹ 230mAh
Rp 65.000
Promo (Per 1 PCS) Baterai 9V ENERGIZER Rechargerable Power 9V¹ 230mAh...
Beli Sekarang
Baterai Lithium LiFePO4 12V 200Ah Waterproof
Baterai Lithium LiFePO4 12V 200Ah Waterproof
Rp 465.000
Baterai Lithium LiFePO4 12V 200Ah Waterproof...
Beli Sekarang
Baterai lifepo 12v 27/54ah Baru!!!
Baterai lifepo 12v 27/54ah Baru!!!
Rp 650.000
Baterai lifepo 12v 27/54ah Baru!!!...
Beli Sekarang
Kabel Twiste 2x10 mm / Kabel SR 2x10 / Kabel Twist SR 2 x 10mm
Kabel Twiste 2x10 mm / Kabel SR 2x10 / Kabel Twist SR 2 x 10mm
Rp 3.700
Kabel Twiste 2x10 mm / Kabel SR 2x10 / Kabel Twist SR 2 x 10mm...
Beli Sekarang
fuse kipas angin 2A umum
fuse kipas angin 2A umum
Rp 600
fuse kipas angin 2A umum...
Beli Sekarang
Saklar senter kecil 2 kaki self locking push on off switch
Saklar senter kecil 2 kaki self locking push on off switch
Rp 650
Saklar senter kecil 2 kaki self locking push on off switch...
Beli Sekarang
Neodymium Magnet N52 6mm Coin Mini Strong
Neodymium Magnet N52 6mm Coin Mini Strong
Rp 370
Neodymium Magnet N52 6mm Coin Mini Strong...
Beli Sekarang
Calb Baterai Lithium 12V 200Ah 3000 Siklus
Calb Baterai Lithium 12V 200Ah 3000 Siklus
Rp 420.000
Calb Baterai Lithium 12V 200Ah 3000 Siklus...
Beli Sekarang
Kabel Listrik NYA Super 1x2.5mm 40m Kawat Besar
Kabel Listrik NYA Super 1x2.5mm 40m Kawat Besar
Rp 89.000
Kabel Listrik NYA Super 1x2.5mm 40m Kawat Besar...
Beli Sekarang
Holder/Box/kotak baterai A2 ( Tempat baterai A2 )
Holder/Box/kotak baterai A2 ( Tempat baterai A2 )
Rp 1.250
Holder/Box/kotak baterai A2 ( Tempat baterai A2 )...
Beli Sekarang
Promo PER 5 METER Kabel NYM Supreme 2x2,5
Promo PER 5 METER Kabel NYM Supreme 2x2,5
Rp 85.750
Promo PER 5 METER Kabel NYM Supreme 2x2,5...
Beli Sekarang
baterai pack 12v 100Ah copotan Baru
baterai pack 12v 100Ah copotan Baru
Rp 1.500.000
baterai pack 12v 100Ah copotan Baru...
Beli Sekarang
PSU 200W 38V 12V Untuk Fresnel Strobo Moving
PSU 200W 38V 12V Untuk Fresnel Strobo Moving
Rp 385.000
PSU 200W 38V 12V Untuk Fresnel Strobo Moving...
Beli Sekarang
Werace LED Module 12V 24V High Brightness IP67
Werace LED Module 12V 24V High Brightness IP67
Rp 1.700
Werace LED Module 12V 24V High Brightness IP67...
Beli Sekarang
Baterai Pack Miyota 20V 4AH Untuk Power Tools
Baterai Pack Miyota 20V 4AH Untuk Power Tools
Rp 338.900
Baterai Pack Miyota 20V 4AH Untuk Power Tools...
Beli Sekarang
16PCS 3.2V 30Ah Lifepo4 Battery 4000 Cycle
16PCS 3.2V 30Ah Lifepo4 Battery 4000 Cycle
Rp 2.352.000
16PCS 3.2V 30Ah Lifepo4 Battery 4000 Cycle...
Beli Sekarang
// traffic_logger.php - Mencatat Traffic Search Query // Dipanggil (include) di single.php dan search.php require_once "config.php"; // 1. DETEKSI QUERY/KEYWORD $log_query = ''; // a. Dari parameter URL ?q= if (isset($_GET['q']) && !empty($_GET['q'])) { $log_query = trim($_GET['q']); } // b. Dari variabel global $keyword (jika di search.php) elseif (isset($keyword) && !empty($keyword)) { $log_query = $keyword; } // c. Dari URL Path (misal /s/sepatu-baru) else { $path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); if (preg_match('#/s/([^/]+)#', $path, $matches)) { $log_query = urldecode(str_replace('-', ' ', $matches[1])); } } $ref = $_SERVER['HTTP_REFERER'] ?? ''; // 3. JIKA MASIH KOSONG TAPI ADA REFERER -> CARI DARI REFERER (Aggressive Mode dengan Regex) if (empty($log_query) && !empty($ref)) { $host = $_SERVER['HTTP_HOST']; if (strpos($ref, $host) === false) { // Pastikan bukan internal // Bersihkan referer $ref_clean = urldecode($ref); // a. Yandex (param 'text') if (strpos($ref, 'yandex') !== false && preg_match('/[?&]text=([^&]+)/i', $ref_clean, $m)) { $log_query = $m[1]; } // b. Bing (param 'q' atau 'Q') elseif (strpos($ref, 'bing') !== false && preg_match('/[?&]q=([^&]+)/i', $ref_clean, $m)) { $log_query = $m[1]; } // c. Yahoo (param 'p') elseif (strpos($ref, 'yahoo') !== false && preg_match('/[?&]p=([^&]+)/i', $ref_clean, $m)) { $log_query = $m[1]; } // d. Baidu (param 'wd') elseif (strpos($ref, 'baidu') !== false && preg_match('/[?&]wd=([^&]+)/i', $ref_clean, $m)) { $log_query = $m[1]; } // e. DuckDuckGo (param 'q') elseif (strpos($ref, 'duckduckgo') !== false && preg_match('/[?&]q=([^&]+)/i', $ref_clean, $m)) { $log_query = $m[1]; } } } // 4. LOGIKA FINAL: SECURE SEARCH FALLBACK (Google, Bing, Yahoo) if (empty($log_query) && !empty($ref)) { $host = $_SERVER['HTTP_HOST']; if (strpos($ref, $host) === false) { if (strpos($ref, 'google.') !== false) { $log_query = "Google Search (Secure)"; } elseif (strpos($ref, 'bing.') !== false) { $log_query = "Bing Search (Secure)"; } elseif (strpos($ref, 'yahoo.') !== false) { $log_query = "Yahoo Search (Secure)"; } elseif (strpos($ref, 'facebook.') !== false || strpos($ref, 'fb.com') !== false) { $log_query = "Facebook"; } elseif (strpos($ref, 'instagram.') !== false) { $log_query = "Instagram"; } else { $log_query = "Ref: " . parse_url($ref, PHP_URL_HOST); } } } // 5. VALIDASI & EKSEKUSI if (!empty($log_query)) { $date = date("Y-m-d"); // Slug bersih $uri_parts = explode('?', $_SERVER['REQUEST_URI'], 2); $slug = $uri_parts[0]; // Cek apakah data sudah ada $stmt = $conn->prepare("SELECT id, jumlah FROM trafikdata WHERE query = ? AND slug = ? AND date = ? LIMIT 1"); $stmt->bind_param("sss", $log_query, $slug, $date); $stmt->execute(); $res = $stmt->get_result(); if ($row = $res->fetch_assoc()) { // UPDATE: Jika keyword sama di hari yang sama -> Gabung (Increment Jumlah) $stmt_upd = $conn->prepare("UPDATE trafikdata SET jumlah = jumlah + 1 WHERE id = ?"); $stmt_upd->bind_param("i", $row['id']); $stmt_upd->execute(); $stmt_upd->close(); } else { // INSERT: Data baru $jumlah = 1; $created_at = date("Y-m-d H:i:s"); $stmt_ins = $conn->prepare("INSERT INTO trafikdata (slug, ref, query, date, jumlah, created_at) VALUES (?, ?, ?, ?, ?, ?)"); $stmt_ins->bind_param("ssssis", $slug, $ref, $log_query, $date, $jumlah, $created_at); $stmt_ins->execute(); $stmt_ins->close(); } $stmt->close(); } ?>