added image, changed stuff and wip about
77
old/book.php
|
@ -1,77 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>THE GUESTBOOK</title>
|
||||
<link href="style.css" rel="stylesheet">
|
||||
<link href="icon.png" rel="icon">
|
||||
</head>
|
||||
<body id="index">
|
||||
<?php
|
||||
// define variables and set to empty values
|
||||
$name = $email = $comment = $website = $nameErr = $hosting = $capchaErr = "";
|
||||
|
||||
if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||
if ($_POST["capcha"] !== "I love me") {
|
||||
$capchaErr = "You stupid fucking dingus";}
|
||||
else{
|
||||
if (empty($_POST["name"])) {
|
||||
$nameErr = "Name is required";
|
||||
} else {
|
||||
$name = "\"".test_input($_POST["name"])."\"";
|
||||
$email = "\"".test_input($_POST["email"])."\"";
|
||||
$website = "\"".test_input($_POST["website"])."\"";
|
||||
$comment = "\"".test_input($_POST["comment"])."\"";
|
||||
if(strpos($_SERVER["HTTP_HOST"], ".onion")){ $hosting = "tor!";}
|
||||
elseif(strpos($_SERVER["HTTP_HOST"], ".i2p")){ $hosting = "i2p!";}
|
||||
elseif(strpos($_SERVER["HTTP_HOST"], ".fai")){ $hosting = "fai!";}
|
||||
else{$hosting = "???!";}
|
||||
$myfile = fopen("signs.csv", "a") or die("Unable to open file!");
|
||||
$txt = $name.",".$website.",".$email.",".$comment.",".date("Y-m-d").",".$hosting."\n";
|
||||
fwrite($myfile, $txt);
|
||||
fclose($myfile);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function test_input($data) {
|
||||
$data = trim($data);
|
||||
$data = stripslashes($data);
|
||||
$data = htmlspecialchars($data);
|
||||
return $data;
|
||||
}
|
||||
?>
|
||||
<div class="centercubepleaseind">
|
||||
<h1>Cool signers:</h1>
|
||||
<p style="text-align: left;">
|
||||
<?php //CSV FRIEND READ
|
||||
$csv = 'signs.csv';
|
||||
$signers = [];
|
||||
$f = fopen($csv, 'r');
|
||||
if ($f === false) { die('Cannot open the file ' . $csv); }
|
||||
// read each line in CSV file at a time
|
||||
while (($row = fgetcsv($f)) !== false) { $signers[] = $row; }
|
||||
fclose($f);
|
||||
|
||||
foreach($signers as $datasing){
|
||||
echo $datasing[5]."* At <span style=\"font-weight: bold;\">".$datasing[4]."</span> <a href=\"".$datasing[1]."\">".$datasing[0]."</a> said: <span style=\"font-weight: bold;\">".$datasing[3]."</span>.";
|
||||
if($datasing[2]){echo " Pester on: <a href=\"mailto:".$datasing[2]."\">".$datasing[2]."</a>";}
|
||||
echo "<br>";
|
||||
} ?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="centerade">
|
||||
<h2>Be part of this cool babes!</h2>
|
||||
<p>
|
||||
<form style="text-align: center;" method="post" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>">
|
||||
Name: <input type="text" name="name"><span style="color: red;" class="error">* <?php echo $nameErr;?></span>
|
||||
Website: <input type="text" name="website">
|
||||
E-mail: <input type="text" name="email"><br>
|
||||
Comment: <textarea name="comment" rows="1" cols="100"></textarea><br>
|
||||
Capcha(Say me that you love "me"): <input type="text" name="capcha"><span style="color: red;" class="error">* <?php echo $capchaErr;?></span><br>
|
||||
<input type="submit">
|
||||
</form>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 107 KiB |
After Width: | Height: | Size: 6.5 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 2.6 KiB |
|
@ -82,6 +82,10 @@ h3 {
|
|||
list-style: disclosure-closed;
|
||||
}
|
||||
|
||||
.error{
|
||||
.error {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
|
||||
table {
|
||||
margin: auto;
|
||||
}
|
||||
|
|
|
@ -3,72 +3,106 @@
|
|||
{% include "head.html" %}
|
||||
<body id="about">
|
||||
<div class="centercubeplease">
|
||||
<h1>So hey, you want to know more about me. Here u have!</h1>
|
||||
<h1>
|
||||
So hey, you want to know more about me. Here u have!
|
||||
</h1>
|
||||
<div class="centerade">
|
||||
<p>
|
||||
A thing i need to say is that this page one day could be deprecated bc
|
||||
of me just not remembering to change anything.
|
||||
</p>
|
||||
|
||||
<h2>Index</h2>
|
||||
<h2>
|
||||
Index
|
||||
</h2>
|
||||
<ul class="disclosure-closed">
|
||||
<li><a href="#how">How to adress me</a></li>
|
||||
<li><a href="#who">Who i am</a></li>
|
||||
<li><a href="#what">What i am</a></li>
|
||||
<li><a href="#where">Where to contact me</a></li>
|
||||
<li>
|
||||
<a href="#how">How to adress me</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#who">Who i am</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#what">What i am</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#where">Where to contact me</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h2 id="how">How to adress me</h2>
|
||||
<h2 id="how">
|
||||
How to adress me
|
||||
</h2>
|
||||
<p>
|
||||
So first of all if you are not gonna adress me directly or you don't
|
||||
know me yet just call me Bizcochito!<br />
|
||||
know me yet just call me Bizcochito!
|
||||
<br />
|
||||
</p>
|
||||
<h3>You can call me:</h3>
|
||||
<h3>
|
||||
You can call me:
|
||||
</h3>
|
||||
<ul class="disclosure-closed">
|
||||
<li>Yari</li>
|
||||
<li>Alicia</li>
|
||||
<li>Maria</li>
|
||||
<li>Bizcochito</li>
|
||||
<li>
|
||||
Yari
|
||||
</li>
|
||||
<li>
|
||||
Alicia
|
||||
</li>
|
||||
<li>
|
||||
Bizcochito
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
Also if you are gonna "pronoun" me, please think before if u can just
|
||||
use the name "Yari" that is literaly like "They" long.
|
||||
</p>
|
||||
<h3>
|
||||
If you insist in using pronouns you can use this
|
||||
<b> (in order of preference) </b> :
|
||||
</h3>
|
||||
<ul class="disclosure-closed">
|
||||
<li><b>My names</b></li>
|
||||
<li>Literally anything but he</li>
|
||||
<li>
|
||||
<b>My names</b>
|
||||
</li>
|
||||
<li>
|
||||
Neutral
|
||||
</li>
|
||||
<li>
|
||||
Femenine
|
||||
</li>
|
||||
<li>
|
||||
Literally anything but he
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h2 id="who">Who i am</h2>
|
||||
<p>Existential question i have yet not answered</p>
|
||||
|
||||
<h2 id="what">What i am</h2>
|
||||
<p></p>
|
||||
|
||||
<h2 id="where">Where to contact me</h2>
|
||||
<h2 id="who">
|
||||
Who i am
|
||||
</h2>
|
||||
<p>
|
||||
Existential question i have yet not answered
|
||||
</p>
|
||||
<h2 id="what">
|
||||
What i am
|
||||
</h2>
|
||||
<p>
|
||||
</p>
|
||||
<h2 id="where">
|
||||
Where to contact me
|
||||
</h2>
|
||||
<div class="centerade">
|
||||
<a href="xmpp:bizcochito@fai.st">
|
||||
<img
|
||||
style="border: 0px; height: 36px; width: auto"
|
||||
src="https://xmpp.org/images/logos/xmpp-logo.svg"
|
||||
alt="XMPP" />
|
||||
<img style="border: 0px;
|
||||
height: 36px;
|
||||
width: auto"
|
||||
src="https://xmpp.org/images/logos/xmpp-logo.svg"
|
||||
alt="XMPP" />
|
||||
</a>
|
||||
<a href="mailto:bizcochito@anartist.org">
|
||||
<img
|
||||
style="border: 0px; height: 36px; width: auto"
|
||||
src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/%28at%29.svg/170px-%28at%29.svg.png"
|
||||
alt="Personal Mail" />
|
||||
<img height="36px"
|
||||
style="border: 0px;
|
||||
width: auto"
|
||||
src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/%28at%29.svg/170px-%28at%29.svg.png"
|
||||
alt="Personal Mail" />
|
||||
</a>
|
||||
<a href="https://awoo.fai.st/MeDueleLaTeta">
|
||||
<img
|
||||
style="border: 0px; height: 36px; width: auto"
|
||||
src="https://upload.wikimedia.org/wikipedia/commons/9/93/Fediverse_logo_proposal.svg"
|
||||
alt="Pleroma" />
|
||||
<img height="36px"
|
||||
style="border: 0px;
|
||||
width: auto"
|
||||
src="https://upload.wikimedia.org/wikipedia/commons/9/93/Fediverse_logo_proposal.svg"
|
||||
alt="Pleroma" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<h1>I'm bizcochito, hey!</h1>
|
||||
<h2>-Pages:</h2>
|
||||
<ul class="disclosure-closed">
|
||||
<li><a href="about/">About me</a></li>
|
||||
<li><a href="signbook/">Signbook</a></li>
|
||||
</ul>
|
||||
<h2>-Banners</h2>
|
||||
|
|