Testpanel klasörüne güncel dosyalar eklendi

This commit is contained in:
2026-04-20 22:28:31 +03:00
commit eb7e1a2b0f
107 changed files with 16317 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
<?php
$jsonFilePath = './ad_type.json';
if (file_exists($jsonFilePath) && is_readable($jsonFilePath)) {
$jsonContent = file_get_contents($jsonFilePath);
$jsonData = json_decode($jsonContent, true);
$fileToLoad = $jsonData['adType'] ?? 'manual';
if ($fileToLoad === 'manual') {
include('./manual_ads.php');
} else if ($fileToLoad === 'tmdb') {
include('./tmdb.php');
} else {
echo "No valid ad type found.";
}
} else {
echo "Unable to read ad type file.";
}
?>