diff --git a/confirm.php b/confirm.php new file mode 100644 index 0000000..2f36e7a --- /dev/null +++ b/confirm.php @@ -0,0 +1,93 @@ + + +'); + foreach($_POST['goodRol es'] as $selectedOption) { + fwrite($rolefile, '
  • '.$selectedOption.'
  • '); + }; + fwrite($rolefile, '<"'); + + + #Convars + $f_convars = '$convars = "Normal Role Convars (also found in ULX): + '.$_POST['gconvars'].' + + Rolespecific Convars: + '.$_POST['cconvars'].'"'; + + fwrite($rolefile, $f_convars); + + + # + # Credits + # + + #The Steam URL to your addon + $f_steam = $_POST['steam']; + fwrite($rolefile, $f_steam); + #The Source URL to your addon + $f_source = $_POST['source']; + fwrite($rolefile, $f_source); + + #Creator of the Addon + $f_author = $_POST['']; + fwrite($rolefile, $f_author); + #Creatorlink + $f_authorurl = $_POST['']; + fwrite($rolefile, $f_authorurl); + # Credittext (can use the above variables) + $f_ctext = $_POST['credits']; + fwrite($rolefile, $f_ctext); + +fclose($rolefile); +} else { + echo 'INVALID ROLENAME'; +} +?> + + + diff --git a/create.php b/create.php index b0603d7..752cf58 100644 --- a/create.php +++ b/create.php @@ -28,20 +28,20 @@
    -
    +
    - +
    - +
    - @@ -69,7 +69,7 @@
    - @@ -78,7 +78,7 @@
    - @@ -88,7 +88,7 @@
    - @@ -98,13 +98,13 @@
    - +
    -
    - +
    - +
    - +
    - +
    - +
    +
    +
    + +
    + +
    -
    @@ -208,9 +217,9 @@
    @@ -290,19 +299,13 @@ document.getElementById("rcvars").innerHTML = document.getElementById("cconvars").value; } function updateSteam() { - document.getElementById("steamurl").setAttribute(href, document.getElementById("steam").value); + document.getElementById("steamurl").setAttribute("href", document.getElementById("steam").value); } function updateSource() { - document.getElementById("githuburl").setAttribute(href, document.getElementById("source").value); + document.getElementById("githuburl").setAttribute("href", document.getElementById("source").value); } - - - - - - - + diff --git a/index.php b/index.php index 5ec385e..e7ed548 100644 --- a/index.php +++ b/index.php @@ -236,6 +236,7 @@ function closeToasts() { setCookie('loading','true', 1); M.Toast.dismissAll() + $('.tap-target').tapTarget('open'); } function openCookies() { @@ -244,28 +245,21 @@ $(document).ready(function(){ $('.collapsible').collapsible(); -// $('.tabs').tabs(); $('.sidenav').sidenav(); $('.tap-target').tapTarget(); // Only show the Menu informer once var x = getCookie('loading'); if (x) {} else { - $('.tap-target').tapTarget('open'); // Cookie warn M.toast({html: "By using my page you accept our cookies! ", displayLength: "9999999999999999999999999999999"}) } - - }); - - - - + diff --git a/login.php b/login.php new file mode 100644 index 0000000..2197ab9 --- /dev/null +++ b/login.php @@ -0,0 +1,23 @@ + + User
    + Pass
    + + + '; + } +} +?>