🔒 Bu Sekmeyi Tek Başına Aç (Diğer Sekmeleri Kapat)
📁 Dosya Dizini
Filtrele:
Tümü
🔗 Linki Düzenle
Link Adı:
Hedef URL:
Fotoğraf URL (önizleme):
Etiketler (virgülle ayır):
Popup Fotoğraf Genişliği:
0.1x (120px)
0.5x (600px)
1x (1200px)
2x (2400px)
3x (3600px)
✅ Kaydet
❌ İptal
📄 HTML Dosyaları
Hiç HTML dosyası yok.
"; } else { foreach ($htmlFiles as $file) { $baseName = pathinfo($file, PATHINFO_FILENAME); $iconUrl = ''; foreach (['jpg', 'jpeg', 'png', 'webp', 'gif'] as $ext) { if (file_exists("$baseName.$ext")) { $iconUrl = "$baseName.$ext"; break; } } // Ölçek oku $scaleFile = $baseName . '.scale'; $scale = file_exists($scaleFile) ? trim(file_get_contents($scaleFile)) : '1'; $tags = []; $tagFile = $baseName . '.tags'; if (file_exists($tagFile)) { $tagsStr = file_get_contents($tagFile); $rawTags = explode(',', $tagsStr); foreach ($rawTags as $t) { $t = trim($t); if ($t !== '') $tags[] = $t; } } $displayName = htmlspecialchars($baseName . '.html'); $safeFile = htmlspecialchars($file); $safeIcon = $iconUrl ? htmlspecialchars($iconUrl) : ''; $safeTags = htmlspecialchars(implode(',', $tags)); $safeScale = htmlspecialchars($scale); echo "
"; echo "
$displayName
"; if (!empty($tags)) { echo "
"; foreach ($tags as $tag) { echo "
" . htmlspecialchars($tag) . "
"; } echo "
"; } if ($iconUrl) { echo "
"; } echo "
\n"; } } ?>
🔗 Web Bağlantıları
Hiç .url dosyası yok.
"; } else { foreach ($urlFiles as $file) { $data = ['url' => '#', 'icon' => '', 'name' => pathinfo($file, PATHINFO_FILENAME), 'tags' => [], 'scale' => '1']; $lines = @file($file, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); if ($lines) { foreach ($lines as $line) { if (stripos($line, 'URL=') === 0) $data['url'] = trim(substr($line, 4)); elseif (stripos($line, 'ICON=') === 0) $data['icon'] = trim(substr($line, 5)); elseif (stripos($line, 'NAME=') === 0) $data['name'] = trim(substr($line, 5)); elseif (stripos($line, 'TAGS=') === 0) { $tagsStr = trim(substr($line, 5)); $rawTags = explode(',', $tagsStr); foreach ($rawTags as $t) { $t = trim($t); if ($t !== '') $data['tags'][] = $t; } } elseif (stripos($line, 'SCALE=') === 0) { $data['scale'] = trim(substr($line, 6)); } } } $displayName = $data['name'] ?: pathinfo($file, PATHINFO_FILENAME); $safeUrl = htmlspecialchars($data['url'], ENT_QUOTES, 'UTF-8'); $safeIcon = htmlspecialchars($data['icon'], ENT_QUOTES, 'UTF-8'); $safeName = htmlspecialchars($displayName, ENT_QUOTES, 'UTF-8'); $safeFile = htmlspecialchars($file, ENT_QUOTES, 'UTF-8'); $safeTags = htmlspecialchars(implode(',', $data['tags'])); $safeScale = htmlspecialchars($data['scale']); echo "
"; echo "
$safeName
"; if (!empty($data['tags'])) { echo "
"; foreach ($data['tags'] as $tag) { echo "
" . htmlspecialchars($tag) . "
"; } echo "
"; } if ($data['icon']) { echo "
"; } echo "
\n"; } } ?>