-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdelete.php
37 lines (34 loc) · 1.23 KB
/
delete.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
require_once("FlipSession.php");
if(!\Flipside\FlipSession::isLoggedIn())
{
header("Location: login.php");
exit();
}
require_once('class.ProfilesPage.php');
$page = new ProfilesPage('Burning Flipside Profiles');
//Page specific JS
$page->addJS('js/delete.js');
$page->body = '
<div id="content">
<div class="alert alert-danger" role="alert">
<table>
<tr>
<td>
<span class="fa fa-fire" style="font-size: 5em;"></span>
</td>
<td>
Please note: This operation is <strong>irreversible</strong>! Once your account is deleted you will no longer have access to
any of your ticket requests, theme camp registrations, art proejct registrations or other information you have provided to AAR,
LLC.
</td>
<tr>
</table>
</div>
<input type="checkbox" onclick="allow_delete()">Yes, I understand that this operation is irreversible. Please delete my account.</input><br/><br/><br/>
<button type="button" class="btn btn-danger" disabled>Delete My Account</button>
</div>';
$page->printPage();
/* vim: set tabstop=4 shiftwidth=4 expandtab:*/