From 8fabf77b2a7720a357c63817c07035a9908818a0 Mon Sep 17 00:00:00 2001 From: Gitea Date: Wed, 10 Nov 2021 17:53:50 +0100 Subject: Update --- Neutron-trunk/cms-special/gallery/index.php | 61 ---------- .../cms-special/gallery/preview/index.php | 129 --------------------- 2 files changed, 190 deletions(-) delete mode 100644 Neutron-trunk/cms-special/gallery/index.php delete mode 100644 Neutron-trunk/cms-special/gallery/preview/index.php (limited to 'Neutron-trunk/cms-special/gallery') diff --git a/Neutron-trunk/cms-special/gallery/index.php b/Neutron-trunk/cms-special/gallery/index.php deleted file mode 100644 index 3fe2fad..0000000 --- a/Neutron-trunk/cms-special/gallery/index.php +++ /dev/null @@ -1,61 +0,0 @@ - - 2) { - $categories = scandir($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/galery/categories"); - array_push($categories, "unclassed"); - foreach ($categories as $category) { - if ($category != "." && $category != "..") { - $shown = false; - if ($category == "unclassed") { - buffer("

" . $lang["gallery"]["unclassed"] . "

"); - } else { - buffer("

" . file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/galery/categories/" . $category) . "

"); - } - buffer("
"); - $photos = scandir($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/galery/pictures"); - foreach ($photos as $photo) { - if ($photo == "." || $photo == "..") {} else { - $praw = file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/galery/pictures/" . $photo); - $pcat = explode("|", $praw)[1]; - $ppath = explode("|", $praw)[0]; - if ($pcat == $category) { - $shown = true; - if (file_exists($_SERVER['DOCUMENT_ROOT'] . $ppath)) { - buffer("
"); - buffer(""); - if (isset(explode("|", $praw)[2])) { - buffer("
" . explode("|", $praw)[2] . "
"); - } - buffer("
"); - } else { - buffer("
"); - buffer('

' . $lang["gallery"]["error"] . '

'); - buffer("
"); - } - } - } - } - if (!$shown) { - buffer("

" . $lang["gallery"]["nothing"] . "

"); - } - buffer("
"); - } - } -} else { - buffer("
" . $lang["gallery"]["disabled"][0] . "" . $lang["gallery"]["disabled"][1] . "" . $lang["gallery"]["disabled"][2] . "
"); -} -buffer(""); - -renderSpecial($buffer, $lang["gallery"]["title"]); - -?> \ No newline at end of file diff --git a/Neutron-trunk/cms-special/gallery/preview/index.php b/Neutron-trunk/cms-special/gallery/preview/index.php deleted file mode 100644 index e033cc0..0000000 --- a/Neutron-trunk/cms-special/gallery/preview/index.php +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - - - - <?= $lang["gallery"]["preview"]['title'] ?> - - - -
- - -
- "> - " download> () - - - - - - - \ No newline at end of file -- cgit