add why reason

This commit is contained in:
gtlsgamr 2022-08-11 09:38:24 +05:30
parent 6e28d81f50
commit 2d4a73eab8
2 changed files with 6 additions and 3 deletions

View File

@ -11,7 +11,7 @@
<h5>Roadmap</h5>
<ul>
<li>A logo.</li>
<li>An actual website, not this placeholder. </li>
<li>An actual website, not this placeholder. --- DONE </li>
<li>A way to enforce community participation.</li>
<li>Switch to our own VPS provider and not this free oracle instance. We have funds that will last us three months, but we will start using them once we are fully fleshed out.</li>
<li>Central communication channel. (Not telegram)</li>
@ -24,6 +24,5 @@
<li><b>#tildevarsh</b> on irc.libera.chat<br></li>
<li><b>#tildevarsh:libera.chat</b> on matrix<br></li>
<li>The telegram is no longer operational. Please switch ASAP.</li>
<h6>Registrations open soon!</h6>
</main>
<?php include("./includes/footer.php")?>

View File

@ -19,7 +19,7 @@ if($_SERVER['REQUEST_METHOD']=="POST"){
if($success){
$file = fopen("/var/varsh/user_regs.csv","a");
$txt = $_POST['name'].','.$_POST['email'].','.$_POST['ssh']."\n";
$txt = $_POST['name'].','.$_POST['email'].','.$_POST['ssh'].','.$_POST['reason']."\n";
fwrite($file,$txt);
fclose($file);
}
@ -46,6 +46,10 @@ if($_SERVER['REQUEST_METHOD']=="POST"){
<div class="col-6">Your SSH key(Need one so can login to the server):</div>
<div class="col-6"> <textarea name="ssh" style="height:max-content; width:80%;" required></textarea></div>
</div>
<div class="row">
<div class="col-6">Why would you like to join tildevarsh?:</div>
<div class="col-6"> <textarea name="ssh" style="height:max-content; width:80%;" required></textarea></div>
</div>
<br>
<div class="row">
<div class="col-6">