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> </div> <?php Body::end(); HTML::end();
$newRating = new Rater($other_id); $newRating->output(); } else { if ($case3) { //Show the pickup countdown $newPickup = new Pickup($duedate); $newPickup->output(); } else { //If the meeting date has not been determined... if ($meetdt == 0) { //...show the calender $newCal = new Calender(trim($oid)); $newCal->output(); } else { //...print out the countdown to the meetup $newMeetup = new Meetup($meetdt); $newMeetup->output(); } } } echo "</div>"; //Close the main container ?> <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=true"></script> <script type="text/javascript" src="/lib/min/?g=js"></script> <?php Body::end(false); HTML::end(); mysqli_close($con); //Close the existing MySQL connection