add quotes
This commit is contained in:
parent
7b14541470
commit
7fdbd74f3e
2 changed files with 52 additions and 1 deletions
|
@ -125,6 +125,15 @@ ul {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.quote {
|
||||||
|
text-align: center;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.quote-author {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
.noborder-table td, .noborder-table th {
|
.noborder-table td, .noborder-table th {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,46 @@
|
||||||
|
<?php
|
||||||
|
$quote_arr = [
|
||||||
|
"On the planet Earth, man had always assumed that he was more intelligent
|
||||||
|
than dolphins because he had achieved so much - the wheel, New York,
|
||||||
|
wars and so on - whilst all the dolphins had ever done was muck about in
|
||||||
|
the water having a good time. But conversely, the dolphins had always
|
||||||
|
believed that they were far more intelligent than man - for precisely
|
||||||
|
the same reasons.",
|
||||||
|
"Science flies you to the moon. Religion flies you into buildings.",
|
||||||
|
"The only way to deal with an unfree world is to become so absolutely
|
||||||
|
free that your very existence is an act of rebellion.",
|
||||||
|
"IN THIS HOUSE, WE BELIEVE:<br>
|
||||||
|
AN EVIL BLACK SCIENTIST<br>
|
||||||
|
BY THE NAME OF YAKUB<br>
|
||||||
|
LIVING ON THE ISLE OF PATMOS<br>
|
||||||
|
CREATED THE WHITE RACE<br>
|
||||||
|
SIX THOUSAND YEARS AGO<br>
|
||||||
|
BY MEANS OF EUGENICS",
|
||||||
|
"Atheism is what happens when you read the bible. Christianity is what
|
||||||
|
happens when somebody else reads it for you.",
|
||||||
|
];
|
||||||
|
|
||||||
|
$quote_author_arr = [
|
||||||
|
"Douglas Adams",
|
||||||
|
"Victor Stenger",
|
||||||
|
"Albert Camus",
|
||||||
|
"The eternal truth of the universe",
|
||||||
|
"Bertrand Russel",
|
||||||
|
];
|
||||||
|
?>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
|
<p>
|
||||||
|
<?php
|
||||||
|
$quote_index = array_rand($quote_arr);
|
||||||
|
printf("<div class=\"quote\">"%s"</div>
|
||||||
|
<div class=\"quote-author\">- %s</div>",
|
||||||
|
$quote_arr[$quote_index],
|
||||||
|
$quote_author_arr[$quote_index]
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
</p>
|
||||||
|
<hr>
|
||||||
<p>
|
<p>
|
||||||
Although I try to know and store as little information about you as possible, I do sometimes store some, you can click <a href="http://www.zdenekborovec-dev.cz/privacy">here</a> to learn more. If you have any privacy and/or security concerns, feel free to e-mail me at <zdenda [DOT] borovec [AT] gmail [DOT] com>
|
Although I try to know and store as little information about you as possible, I do sometimes store some, you can click <a href="http://www.zdenekborovec-dev.cz/privacy">here</a> to learn more. If you have any privacy and/or security concerns, feel free to e-mail me at <zdenda [DOT] borovec [AT] gmail [DOT] com>
|
||||||
</p>
|
</p>
|
||||||
|
@ -17,7 +59,7 @@
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<span>
|
<span>
|
||||||
<a href="https://validator.w3.org/check?uri=https://www.zdenekborovec.cz">
|
<a href="https://validator.w3.org/check?uri=http://www.zdenekborovec-dev.cz">
|
||||||
<img style="border:0;width:88px;height:31px"
|
<img style="border:0;width:88px;height:31px"
|
||||||
src="https://www.w3.org/Icons/valid-html401"
|
src="https://www.w3.org/Icons/valid-html401"
|
||||||
alt="Valid HTML!">
|
alt="Valid HTML!">
|
||||||
|
|
Loading…
Reference in a new issue