„threadr/profile/index.php“ ändern

master
Jakob 2020-03-08 16:24:40 +01:00
parent 923fb94eee
commit 65ac991632
1 changed files with 9 additions and 0 deletions

View File

@ -28,6 +28,15 @@ $navbar = "profile";
<center><h1>ThreadR</h1></center>
</div>
<div class="item-2">
<?php
if(isset($_GET['action'])) {
if($_GET['action']=='edit') {
include("./edit.php");
}
} else {
include("./default.php");
}
?>
<section>
<center><h1><?php echo " $username "; ?> </h1></center>
<form action="%CONTENT_DIR%/profile/" method="post">