summaryrefslogtreecommitdiff
path: root/www/functions/func_invite.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/functions/func_invite.php')
-rw-r--r--www/functions/func_invite.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/functions/func_invite.php b/www/functions/func_invite.php
index 864c1ad..3de7e2e 100644
--- a/www/functions/func_invite.php
+++ b/www/functions/func_invite.php
@@ -63,6 +63,12 @@ function invite($db){
}
} else {
echo "Formular";
+ echo "Hallo $name
+ - <form method='post' action='/invite'>
+ - <p> E-Mail: <input type='text' name='email'></p>
+ - <input type='hidden' name='username' value='$_SESSION[username]'>
+ - <input type='submit' name='submit' value='invite'>
+ - </form>";
return false;
}
}