php me up
This commit is contained in:
parent
681502f8a6
commit
9410b5b14b
3 changed files with 63 additions and 57 deletions
|
|
@ -1,3 +1,9 @@
|
||||||
|
<?php
|
||||||
|
date_default_timezone_set('Europe/London');
|
||||||
|
$birthday = new DateTime("2005-06-07");
|
||||||
|
$currentDate = DateTime::createFromFormat("Y-m-d", date("Y-m-d"));
|
||||||
|
$age = $birthday->diff($currentDate);
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
|
|
@ -25,11 +31,11 @@
|
||||||
<span id="quote">gimme appuls</span>
|
<span id="quote">gimme appuls</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div><img src="./res/images/profile-v4.png" class="profile-image"></div>
|
<div><img src="./res/images/profile-v5.png" class="profile-image"></div>
|
||||||
<div>
|
<div>
|
||||||
<ul>
|
<ul>
|
||||||
<li>19 y/o, British</li>
|
<li><?= $age->y ?> y/o, British</li>
|
||||||
<li>Self-proclaimed wah enthusiast</li>
|
<li>Computer collecting wah</li>
|
||||||
<li>Theatre technician</li>
|
<li>Theatre technician</li>
|
||||||
<li>Self-taught programmer</li>
|
<li>Self-taught programmer</li>
|
||||||
<li>Somewhat a weather nerd</li>
|
<li>Somewhat a weather nerd</li>
|
||||||
BIN
res/images/profile-v5.png
Normal file
BIN
res/images/profile-v5.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
Loading…
Add table
Add a link
Reference in a new issue