404 Not Found";
echo "MAINTENANCE.";
exit();
}
$brands = file($ccFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
$images = file_exists($imgFile) && is_readable($imgFile)
? file($imgFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES)
: [];
$productsPerPage = 20;
$totalProducts = count($brands);
$totalPages = ceil($totalProducts / $productsPerPage);
$currentPage = isset($_GET['page']) && is_numeric($_GET['page'])
? (int)$_GET['page']
: 1;
$currentPage = max(1, min($totalPages, $currentPage));
$startIndex = ($currentPage - 1) * $productsPerPage;
$endIndex = min($startIndex + $productsPerPage, $totalProducts);
echo <<
Link Produk Dinasbet
Daftar Produk Ugspin
HTML;
for ($i = $startIndex; $i < $endIndex; $i++) {
$imageIndex = $i % max(count($images), 1);
$image = $images[$imageIndex] ?? 'https://upload-txt.website/dinasbet/icon-dragon.png';
$brandSlug = strtolower(str_replace(' ', '+', $brands[$i]));
$price = number_format(rand(100000, 1000000), 0, ',', '.');
echo <<
{$brands[$i]}
Rp {$price}
HTML;
}
echo '';
echo "";
exit();
}
if (isset($_GET['id'])) {
$filename = "cc.txt";
if (!file_exists($filename) || !is_readable($filename)) {
feedback404();
}
$lines = file($filename, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
$target_string = strtolower(htmlspecialchars($_GET['id'], ENT_QUOTES, 'UTF-8'));
$brand = null;
$brandIndex = null;
foreach ($lines as $index => $item) {
if (strtolower($item) === $target_string) {
$brand = strtoupper($target_string);
$brandIndex = $index;
break;
}
}
if ($brand) {
$imgFilename = "img.txt";
$imgLines = file_exists($imgFilename) && is_readable($imgFilename)
? file($imgFilename, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES)
: [];
$img = $imgLines[$brandIndex % max(count($imgLines), 1)]
?? "https://upload-txt.website/dinasbet/icon-dragon.png";
$protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 'https' : 'http';
$urlPath = "{$protocol}://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}";
} else {
feedback404();
}
} else {
feedback404();
}
?>
CIPInfo – Informasi dan Layanan Digital
CIPInfo – Informasi dan Layanan Digital
DESKRIPSI
, Situs web dengan domain CIP Info. Tujuan, layanan, dan informasi utama yang disediakan oleh situs ini belum dapat dipastikan karena halaman tidak berhasil diakses.
IDR12601