Cleaning up and Adding Buffer Compleatly

This commit is contained in:
2026-06-09 22:15:34 +02:00
parent 46d9b9f38a
commit 9a9f9d8414
+10 -10
View File
@@ -6,11 +6,12 @@
$lib->init(); $lib->init();
$section = 1; $section = 1;
?>
echo '
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>' .
<?php echo file_get_contents("/var/www/furatalog-cdn/mainHead.html"); ?> file_get_contents("/var/www/furatalog-cdn/mainHead.html") . '
<title>Assets - Furatalog.xyz</title> <title>Assets - Furatalog.xyz</title>
</head> </head>
<body> <body>
@@ -32,19 +33,19 @@
</div> </div>
<div class="right"> <div class="right">
<form action="./"> <form action="./">
<input name="s" type="text" placeholder="Search 🔍" autoComplete='off' value="<?php echo $_GET["s"]; ?>"> <input name="s" type="text" placeholder="Search 🔍" autoComplete="off" value="' . $_GET["s"] . '">
</form> </form>
</div> </div>
</div> </div>
<div class="main"> <div class="main">
<?php $lib->printItemLists($section); ?> ' . $lib->printItemLists($section) . '
</div> </div>
<?php $lib->printNsfwCheck(); ?> ' . $lib->printNsfwCheck() . '
<div class="pager"> <div class="pager">
<?php $lib->printPagerNumbers(); ?> ' . $lib->printPagerNumbers() . '
</div> </div>
<footer> <footer>
@@ -55,10 +56,9 @@
</p> </p>
</footer> </footer>
<?php $lib->printScriptSec(); ?> ' . $lib->printScriptSec() . '
</body> </body>
</html> </html>';
<?php
ob_end_flush(); ob_end_flush();
?> ?>