BurningFlipside /
Profiles
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | ini_set('display_errors', 1); |
||
| 3 | error_reporting(E_ALL); |
||
| 4 | require_once("class.FlipSession.php"); |
||
| 5 | if(!FlipSession::isLoggedIn()) |
||
| 6 | { |
||
| 7 | header("Location: login.php"); |
||
| 8 | exit(); |
||
| 9 | } |
||
| 10 | require_once('class.ProfilesPage.php'); |
||
| 11 | $page = new ProfilesPage('Burning Flipside Profiles'); |
||
| 12 | |||
| 13 | $page->addWellKnownJS(JS_BOOTSTRAP_FH); |
||
| 14 | $page->addWellKnownCSS(CSS_BOOTSTRAP_FH); |
||
| 15 | $page->addWellKnownJS(JS_CRYPTO_MD5_JS); |
||
| 16 | $page->addWellKnownJS(JS_BOOTBOX); |
||
| 17 | $page->addWellKnownJS(JS_JCROP); |
||
| 18 | $page->addWellKnownCSS(CSS_JCROP); |
||
| 19 | |||
| 20 | $page->addNotification('All the information on this page is optional. However, it will make the process of signing up for Ticket Requests, Theme Camp Registrations, Art Project Registrations, and Volunteer Signup faster and easier. If you have any concerns with providing this information we suggest your read our <a href="'.$page->wwwUrl.'/about/privacy" class="alert-link" target="_new">Privacy Policy</a> or contact the <a href="'.$page->wwwUrl.'/contact/" class="alert-link" target="_new">Technology Team</a> or the <a href="'.$page->wwwUrl.'/contact/" class="alert-link" target="_new">AAR Board of Directors</a> with your concerns.', $page::NOTIFICATION_INFO); |
||
|
0 ignored issues
–
show
|
|||
| 21 | |||
| 22 | $page->body .= ' |
||
| 23 | <div id="content"> |
||
| 24 | <fieldset> |
||
| 25 | <legend>Main Profile:</legend> |
||
| 26 | <form role="form" action="profile.php" method="post" name="profile" id="profile"> |
||
| 27 | <input type="hidden" name="uid" id="uid" /> |
||
| 28 | <div class="form-group"> |
||
| 29 | <label class="col-sm-2 control-label">Username:</label> |
||
| 30 | <div class="col-sm-10"> |
||
| 31 | <label class="form-control" id="uid_label" disabled></label> |
||
| 32 | </div> |
||
| 33 | </div> |
||
| 34 | <div class="form-group"> |
||
| 35 | <label for="mail" class="col-sm-2 control-label">Email:</label> |
||
| 36 | <div class="col-sm-10"> |
||
| 37 | <input class="form-control" id="mail" name="mail" type="text" readonly/> |
||
| 38 | </div> |
||
| 39 | </div> |
||
| 40 | <div class="form-group"> |
||
| 41 | <label for="givenName" class="col-sm-2 control-label">First Name:</label> |
||
| 42 | <div class="col-sm-10"> |
||
| 43 | <input class="form-control" id="givenName" name="givenName" type="text"/> |
||
| 44 | </div> |
||
| 45 | </div> |
||
| 46 | <div class="clearfix visible-sm visible-md visible-lg"></div> |
||
| 47 | <div class="form-group"> |
||
| 48 | <label for="sn" class="col-sm-2 control-label">Last Name:</label> |
||
| 49 | <div class="col-sm-10"> |
||
| 50 | <input class="form-control" id="sn" name="sn" type="text" required/> |
||
| 51 | </div> |
||
| 52 | </div> |
||
| 53 | <div class="clearfix visible-sm visible-md visible-lg"></div> |
||
| 54 | <div class="form-group"> |
||
| 55 | <label for="displayName" class="col-sm-2 control-label">Burner Name:</label> |
||
| 56 | <div class="col-sm-10"> |
||
| 57 | <input class="form-control" id="displayName" name="displayName" type="text" /> |
||
| 58 | </div> |
||
| 59 | </div> |
||
| 60 | <div class="clearfix visible-sm visible-md visible-lg"></div> |
||
| 61 | <div class="form-group"> |
||
| 62 | <label for="c" class="col-sm-2 control-label">Country:</label> |
||
| 63 | <div class="col-sm-10"> |
||
| 64 | <select class="form-control bfh-countries" id="c" name="c" data-country="US"></select> |
||
| 65 | </div> |
||
| 66 | </div> |
||
| 67 | <div class="form-group"> |
||
| 68 | <label for="mobile" class="col-sm-2 control-label">Cell Number:</label> |
||
| 69 | <div class="col-sm-10"> |
||
| 70 | <input class="form-control bfh-phone" data-country="c" id="mobile" name="mobile" type="text"/> |
||
| 71 | </div> |
||
| 72 | </div> |
||
| 73 | <div class="clearfix visible-md visible-lg"></div> |
||
| 74 | <div class="form-group"> |
||
| 75 | <label for="postalAddress" class="col-sm-2 control-label">Street Address:</label> |
||
| 76 | <div class="col-sm-10"> |
||
| 77 | <textarea class="form-control" id="postalAddress" rows="2" name="postalAddress" type="text"></textarea> |
||
| 78 | </div> |
||
| 79 | </div> |
||
| 80 | <div class="clearfix visible-sm visible-md visible-lg"></div> |
||
| 81 | <div class="form-group"> |
||
| 82 | <label for="postalCode" class="col-sm-2 control-label">Postal/Zip Code:</label> |
||
| 83 | <div class="col-sm-10"> |
||
| 84 | <input class="form-control" id="postalCode" name="postalCode" type="text"/> |
||
| 85 | </div> |
||
| 86 | </div> |
||
| 87 | <div class="clearfix visible-sm visible-md visible-lg"></div> |
||
| 88 | <div class="form-group"> |
||
| 89 | <label for="l" class="col-sm-2 control-label">City:</label> |
||
| 90 | <div class="col-sm-10"> |
||
| 91 | <input class="form-control" id="l" name="l" type="text"/> |
||
| 92 | </div> |
||
| 93 | </div> |
||
| 94 | <div class="form-group"> |
||
| 95 | <label for="st" class="col-sm-2 control-label">State:</label> |
||
| 96 | <div class="col-sm-10"> |
||
| 97 | <select class="form-control bfh-states" data-country="c" id="st" name="st" type="text"></select> |
||
| 98 | </div> |
||
| 99 | </div> |
||
| 100 | <div class="clearfix visible-sm visible-md visible-lg"></div> |
||
| 101 | <div class="form-group"> |
||
| 102 | <label for="jpegPhotoBtn" class="col-sm-2 control-label">Profile Photo:</label> |
||
| 103 | <div class="col-sm-4"> |
||
| 104 | <input class="form-control" id="jpegPhotoBtn" name="jpegPhotoBtn" type="file" accept="image/*"/> |
||
| 105 | </div> |
||
| 106 | <div class="col-sm-4"> |
||
| 107 | <div id="gravatar"></div> |
||
| 108 | </div> |
||
| 109 | </div> |
||
| 110 | <div class="clearfix visible-md visible-lg"></div> |
||
| 111 | <div class="col-sm-2"> |
||
| 112 | <button class="btn btn-default" type="button" id="submit" onclick="update_profile()">Save Changes</button> |
||
| 113 | </div> |
||
| 114 | </form> |
||
| 115 | </fieldset> |
||
| 116 | <fieldset> |
||
| 117 | <legend>Other Options:</legend> |
||
| 118 | <button class="btn btn-default" onclick="delete_user()">Delete My Account…</button> |
||
| 119 | <button class="btn btn-default" onclick="reset_password()">Reset My Password…</button> |
||
| 120 | </fieldset> |
||
| 121 | </div>'; |
||
| 122 | |||
| 123 | $page->printPage(); |
||
| 124 | /* vim: set tabstop=4 shiftwidth=4 expandtab:*/ |
||
| 125 |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.