diff --git a/assets/index.php b/assets/index.php index 757b9b5..2b1e218 100644 --- a/assets/index.php +++ b/assets/index.php @@ -1,4 +1,5 @@ printNsfwCheck(); $data["PageNumbers"] = $lib->printPagerNumbers(); $data["ScriptSec"] = $lib->printScriptSec(); - - ob_start(); echo ' diff --git a/avatars/index.php b/avatars/index.php index ad556bb..27bf80a 100644 --- a/avatars/index.php +++ b/avatars/index.php @@ -1,48 +1,56 @@ init(); $section = 2; -?> + + $data = []; + + $data["header"] = file_get_contents("/var/www/furatalog-cdn/mainHead.html"); + $data["CurrentItemList"] = $lib->printItemLists($section); + $data["NSFWCheck"] = $lib->printNsfwCheck(); + $data["PageNumbers"] = $lib->printPagerNumbers(); + $data["ScriptSec"] = $lib->printScriptSec(); + +echo ' - - +' . $data["header"] . ' Avatars - Furatalog.xyz
- printItemLists($section); ?> + ' . $data["CurrentItemList"] . '
- printNsfwCheck(); ?> - -
- printPagerNumbers(); ?> + ' . $data["NSFWCheck"] . ' +
' . $data["PageNumbers"] . '
- printScriptSec(); ?> + ' . $data["ScriptSec"] . ' - \ No newline at end of file +'; + + ob_end_flush(); diff --git a/bases/index.php b/bases/index.php index 20ba8e3..44aa3dd 100644 --- a/bases/index.php +++ b/bases/index.php @@ -1,48 +1,56 @@ init(); $section = 3; -?> + + $data = []; + + $data["header"] = file_get_contents("/var/www/furatalog-cdn/mainHead.html"); + $data["CurrentItemList"] = $lib->printItemLists($section); + $data["NSFWCheck"] = $lib->printNsfwCheck(); + $data["PageNumbers"] = $lib->printPagerNumbers(); + $data["ScriptSec"] = $lib->printScriptSec(); + +echo ' - - +' . $data["header"] . ' Avatar-Bases - Furatalog.xyz
- printItemLists($section); ?> + ' . $data["CurrentItemList"] . '
- printNsfwCheck(); ?> - -
- printPagerNumbers(); ?> + ' . $data["NSFWCheck"] . ' +
' . $data["PageNumbers"] . '
@@ -53,6 +61,8 @@

- printScriptSec(); ?> + ' . $data["ScriptSec"] . ' - \ No newline at end of file +'; + + ob_end_flush(); diff --git a/index.php b/index.php index d989d2b..76a04f5 100644 --- a/index.php +++ b/index.php @@ -38,7 +38,7 @@ if (isset($_GET["s"]) && $_GET["s"] != "") { echo "
"; - $lib->printItemLists(""); + echo $lib->printItemLists(""); echo "
"; @@ -46,7 +46,7 @@ echo $lib->printPagerNumbers(); echo "
"; - $lib->printScriptSec(); + echo $lib->printScriptSec(); } else { echo "
@@ -100,7 +100,7 @@ ?> - printNsfwCheck(); ?> + printNsfwCheck(); ?>