exit; break; //If they are already validated //If they are already validated case 2: //Redirect header("Location:/me"); exit; break; } } //Close the connection mysqli_close($con); HTML::begin(); Head::make("Terms and Conditions"); Body::begin(); ?> <div id="trmcnt" style="margin-top:20px;margin-bottom:20px;"> <h1 class="uk-text-center" style="padding-bottom:1em;">Agreeing to the Terms of Service</h1> <div id="trmbx" style="white-space:normal;"> <?php //Get the terms out of the HTM file echo file_get_contents("terms.htm"); ?> </div> <div class="text_medium uk-text-center" style="padding-top:10px;padding-bottom:10px;">You must agree to the above terms before you can create your account.</div> <div class="uk-text-center"> <a href="/signup/validate.php" class="button_primary green">I Agree</a> <a class="button_primary red" href="javascript:void(0);" onclick="logout();">I Refuse</a>
//Print the image contents exit; //Exit } //Change the profile picture to use the URL instead $profile_pic = "/profile.php?id=" . $_GET["id"] . "&load=image"; } catch (Exception $e) { //If the person can't be found, throw a not found page if ($personInfo == 404) { header('Location:/notfound.php'); exit; } } HTML::begin(); Head::make("{$fname} {$lname}", true); Body::begin(true, true); ?> <style type="text/css"> .prefix{ display:inline-block; margin-left:25px; vertical-align:top;margin-right:10px; display:inline-block; font-size:18px; } </style> <div id="profile_container"> <div id="profile"> <div id="cover" style="background-image:url('/profile.php?id=<?php echo $_GET["id"]; ?> &load=image&filter=blur&size=huge')"> <div class="layout-1200 uk-container-center"> <div class="uk-grid"> <div class="uk-width-1-1 reset_padding">