Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Larssen committed Mar 15, 2019
2 parents 31f9167 + 8b18c0a commit 485d227
Show file tree
Hide file tree
Showing 101 changed files with 9,245 additions and 1,489 deletions.
7 changes: 7 additions & 0 deletions achievement.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php include("includes/views/header.php"); ?>





<?php include("includes/views/footer.php"); ?>
31 changes: 31 additions & 0 deletions activate.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php include("includes/header.php"); ?>

<!-- <?php if ($session->is_signed_in()) {redirect("profile.php");} ?> -->

<?php


// Email::send_ActivationMail("newuser@localhost", "Markus", "hI" );

/**
* Sjekker om at det er noe i get variablen,
* burde sjekke om det er det rette som blir sendt inn
*/
if (isset($_GET["code"])){
$code = ($_GET["code"]);

// henter inn koden og gir den vidre til aktiverings metoden
User::activate_user($code);

}else{
echo "Activation could not be completed";
}


?>


<script src="js/functions.js"></script>

<?php include("includes/footer.php"); ?>
18 changes: 0 additions & 18 deletions admin_includes/delete_game.php

This file was deleted.

Loading

0 comments on commit 485d227

Please sign in to comment.