added image, changed stuff and wip about

This commit is contained in:
Alie 2023-07-04 13:03:24 +02:00
parent e349050758
commit bf3004b6da
14 changed files with 82 additions and 122 deletions

View File

@ -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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -82,6 +82,10 @@ h3 {
list-style: disclosure-closed; list-style: disclosure-closed;
} }
.error{ .error {
color: red; color: red;
} }
table {
margin: auto;
}

View File

@ -3,72 +3,106 @@
{% include "head.html" %} {% include "head.html" %}
<body id="about"> <body id="about">
<div class="centercubeplease"> <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"> <div class="centerade">
<p> <p>
A thing i need to say is that this page one day could be deprecated bc A thing i need to say is that this page one day could be deprecated bc
of me just not remembering to change anything. of me just not remembering to change anything.
</p> </p>
<h2>
<h2>Index</h2> Index
</h2>
<ul class="disclosure-closed"> <ul class="disclosure-closed">
<li><a href="#how">How to adress me</a></li> <li>
<li><a href="#who">Who i am</a></li> <a href="#how">How to adress me</a>
<li><a href="#what">What i am</a></li> </li>
<li><a href="#where">Where to contact 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> </ul>
<h2 id="how">
<h2 id="how">How to adress me</h2> How to adress me
</h2>
<p> <p>
So first of all if you are not gonna adress me directly or you don't 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> </p>
<h3>You can call me:</h3> <h3>
You can call me:
</h3>
<ul class="disclosure-closed"> <ul class="disclosure-closed">
<li>Yari</li> <li>
<li>Alicia</li> Yari
<li>Maria</li> </li>
<li>Bizcochito</li> <li>
Alicia
</li>
<li>
Bizcochito
</li>
</ul> </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> <h3>
If you insist in using pronouns you can use this If you insist in using pronouns you can use this
<b> (in order of preference) </b> : <b> (in order of preference) </b> :
</h3> </h3>
<ul class="disclosure-closed"> <ul class="disclosure-closed">
<li><b>My names</b></li> <li>
<li>Literally anything but he</li> <b>My names</b>
</li>
<li>
Neutral
</li>
<li>
Femenine
</li>
<li>
Literally anything but he
</li>
</ul> </ul>
<h2 id="who">
<h2 id="who">Who i am</h2> Who i am
<p>Existential question i have yet not answered</p> </h2>
<p>
<h2 id="what">What i am</h2> Existential question i have yet not answered
<p></p> </p>
<h2 id="what">
<h2 id="where">Where to contact me</h2> What i am
</h2>
<p>
</p>
<h2 id="where">
Where to contact me
</h2>
<div class="centerade"> <div class="centerade">
<a href="xmpp:bizcochito@fai.st"> <a href="xmpp:bizcochito@fai.st">
<img <img style="border: 0px;
style="border: 0px; height: 36px; width: auto" height: 36px;
src="https://xmpp.org/images/logos/xmpp-logo.svg" width: auto"
alt="XMPP" /> src="https://xmpp.org/images/logos/xmpp-logo.svg"
alt="XMPP" />
</a> </a>
<a href="mailto:bizcochito@anartist.org"> <a href="mailto:bizcochito@anartist.org">
<img <img height="36px"
style="border: 0px; height: 36px; width: auto" style="border: 0px;
src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/%28at%29.svg/170px-%28at%29.svg.png" width: auto"
alt="Personal Mail" /> src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/%28at%29.svg/170px-%28at%29.svg.png"
alt="Personal Mail" />
</a> </a>
<a href="https://awoo.fai.st/MeDueleLaTeta"> <a href="https://awoo.fai.st/MeDueleLaTeta">
<img <img height="36px"
style="border: 0px; height: 36px; width: auto" style="border: 0px;
src="https://upload.wikimedia.org/wikipedia/commons/9/93/Fediverse_logo_proposal.svg" width: auto"
alt="Pleroma" /> src="https://upload.wikimedia.org/wikipedia/commons/9/93/Fediverse_logo_proposal.svg"
alt="Pleroma" />
</a> </a>
</div> </div>
</div> </div>

View File

@ -9,7 +9,6 @@
<h1>I'm bizcochito, hey!</h1> <h1>I'm bizcochito, hey!</h1>
<h2>-Pages:</h2> <h2>-Pages:</h2>
<ul class="disclosure-closed"> <ul class="disclosure-closed">
<li><a href="about/">About me</a></li>
<li><a href="signbook/">Signbook</a></li> <li><a href="signbook/">Signbook</a></li>
</ul> </ul>
<h2>-Banners</h2> <h2>-Banners</h2>