Add random quotes from ipfw.ru/bash and ibash.org.ru, move it to footer

This commit is contained in:
2023-08-18 12:02:10 +03:00
parent 565c02c3b0
commit f20e46c79b
3 changed files with 59 additions and 7 deletions
+10 -7
View File
@@ -1,6 +1,7 @@
<?php
include "vars.php";
include "quotes.php";
include "parse.php";
?>
<!doctype html>
<!--
@@ -27,12 +28,6 @@ include "quotes.php";
<section id="header">
<h1 id="header-time">00:00</h1>
<h2 id="header-date">Date</h2>
<div id="header-quote">
<?php
shuffle($quotes);
echo $quotes[0];
?>
</div>
<!--<div class="randompic"> </div>-->
<div id="search" class="searchbar">
<input type="text" class="searchbox" name="q" title="Search Google"
@@ -77,7 +72,15 @@ include "quotes.php";
?>
</div>
</section>
<div id="header-quote">
<?php
//shuffle($quotes);
//echo $quotes[0];
echo $quote;
?>
</div>
</main>
<script src="./assets/js/script.js" type="text/javascript"></script>
</body>
</html>
</html>