Age instead of birthday #164

Merged
11291680 merged 1 commits from lars into master 2017-01-31 16:11:48 +01:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit b41a365b60 - Show all commits

View File

@@ -17,6 +17,7 @@ include_once("../queries/user.php");
include_once("../queries/friendship.php");
include_once("../queries/nicetime.php");
include_once("../queries/post.php");
include_once("../queries/calcAge.php");
if(empty($_GET["username"])) {
$userID = $_SESSION["userID"];

View File

@@ -29,7 +29,7 @@
<h3>Informatie</h3>
<p>
<ul>
<li>Geboren op: <?= $user["birthdate"] ?></li>
<li>Leeftijd: <?= getAge($user["birthdate"]) ?> jaar</li>
<li>Locatie: <?= $user["location"] ?></li>
<li>Lid sinds: <?= nicetime($user["creationdate"]) ?></li>
</ul>