Rev 120 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php// Include Session Handlingrequire_once ('includes/session.php');// Include config & login validate filerequire_once 'includes/validateUser.php';?><!DOCTYPE html><html lang="en-US"><head><!--head--><?php include_once 'elements/head.php'; ?><!--//head--></head><body><div class="main"><!--header--><?php include_once 'elements/header.php'; ?><!--//header--><!--main--><div class="main-content"><div class="wrapper-frm border bg-light text-dark shadow"><div class="head-menu bg-primary menu-tle header"><h1>My Account</h1></div><div class="ucontent"><div class="left-pnl"><img class="img-fluid upicture" src="<?php echo $userPicture; ?>" alt="<?php echo $userName; ?>" /><h2><?php echo $userName; ?></h2></div><div class="right-pnl"><div class="ac-info"><p><b>E-MAIL </b>: <?php echo $userData['email']; ?></p><p><b>ZIP </b>: <?php echo $userData['zip']; ?></p></div><?php if (!empty($userData['link'])) { ?><div class="button"><a role="button" href="<?php echo $userData['link']; ?>" class="view-btn btn btn-success" target="_blank">Click to view profile</a></div><?php} ?></div></div><div class="clearfix"></div><div class="bg-dark text-light menu-tle my-3"><h5>Layout</h5></div><div class="text-center m-2"><p>Color Theme: <?php echo (!empty($userData['theme']) ? ucwords($userData['theme']) : "Default"); ?></p><p>Result View: <?php echo ($userData['cardView'] ? 'Cards' : 'Table'); ?></p></div><div class="bg-dark text-light menu-tle my-3"><h5>Search Filter Preferences</h5></div><div class="card-group"><div class="card m-2"><div class="card-header font-weight-bold">Condition</div><div class="card-body ac-info"><div class="form-check"><label class="form-check-label"><input id="conditionNew" name="filterConditionNew" type="checkbox" class="form-check-input" value="New" <?php echo ($userData["conditionNew"] ? "checked" : ""); ?> />New</label><script nonce="<?php echo base64_encode($_SESSION["nonce"]) ?>">document.addEventListener("DOMContentLoaded", function() {document.getElementById("conditionNew").addEventListener("change", function(e) {$(this).prop('checked', !$(this).prop('checked'));});});</script></div><div class="form-check"><label class="form-check-label"><input id="conditionUsed" name="filterConditionUsed" type="checkbox" class="form-check-input" value="Used" <?php echo ($userData["conditionUsed"] ? "checked" : ""); ?> />Used</label><script nonce="<?php echo base64_encode($_SESSION["nonce"]) ?>">document.addEventListener("DOMContentLoaded", function() {document.getElementById("conditionUsed").addEventListener("change", function(e) {$(this).prop('checked', !$(this).prop('checked'));});});</script></div></div></div><div class="card m-2"><div class="card-header font-weight-bold">Media Type</div><div class="card-body ac-info"><div class="form-check"><label class="form-check-label"><input id="mediaCD" name="filterMediaTypeCD" type="checkbox" class="form-check-input" value="CD" <?php echo ($userData["mediaCD"] ? "checked" : ""); ?> /><i class="<?php echo getMediaIconClass("CD", "material-text"); ?>"><?php echo getMediaIconAlias("CD"); ?></i> <?php echo getMediaIconText("CD"); ?></label><script nonce="<?php echo base64_encode($_SESSION["nonce"]) ?>">document.addEventListener("DOMContentLoaded", function() {document.getElementById("mediaCD").addEventListener("change", function(e) {$(this).prop('checked', !$(this).prop('checked'));});});</script></div><div class="form-check"><label class="form-check-label"><input id="mediaRecord" name="filterMediaTypeRecord" type="checkbox" class="form-check-input" value="Record" <?php echo ($userData["mediaRecord"] ? "checked" : ""); ?> /><i class="<?php echo getMediaIconClass("Record", "material-text"); ?>"><?php echo getMediaIconAlias("Record"); ?></i> <?php echo getMediaIconText("Record"); ?></label><script nonce="<?php echo base64_encode($_SESSION["nonce"]) ?>">document.addEventListener("DOMContentLoaded", function() {document.getElementById("mediaRecord").addEventListener("change", function(e) {$(this).prop('checked', !$(this).prop('checked'));});});</script></div><div class="form-check"><label class="form-check-label"><input id="mediaDigital" name="filterMediaTypeDigital" type="checkbox" class="form-check-input" value="Digital" <?php echo ($userData["mediaDigital"] ? "checked" : ""); ?> /><i class="<?php echo getMediaIconClass("Digital", "material-text"); ?>"><?php echo getMediaIconAlias("Digital"); ?></i> <?php echo getMediaIconText("Digital"); ?></label><script nonce="<?php echo base64_encode($_SESSION["nonce"]) ?>">document.addEventListener("DOMContentLoaded", function() {document.getElementById("mediaDigital").addEventListener("change", function(e) {$(this).prop('checked', !$(this).prop('checked'));});});</script></div><div class="form-check"><label class="form-check-label"><input id="mediaBook" name="filterMediaTypeBook" type="checkbox" class="form-check-input" value="Books" <?php echo ($userData["mediaBook"] ? "checked" : ""); ?> /><i class="<?php echo getMediaIconClass("Book", "material-text"); ?>"><?php echo getMediaIconAlias("Book"); ?></i> <?php echo getMediaIconText("Book"); ?></label><script nonce="<?php echo base64_encode($_SESSION["nonce"]) ?>">document.addEventListener("DOMContentLoaded", function() {document.getElementById("mediaBook").addEventListener("change", function(e) {$(this).prop('checked', !$(this).prop('checked'));});});</script></div></div></div></div><div class="bg-dark text-light menu-tle my-3"><h5>Wishlist</h5></div><div class="text-center m-2"><p>Email Price Checks: <?php echo ($userData['wlEmailFlag'] ? "Yes" : "No"); ?></p><p>Email Price Check Frequency: <?php echo $wlFreqArr[$userData['wlFreq']]; ?></p></div></div></div><!--//main--><!--footer--><?php include_once 'elements/footer.php'; ?><!--//footer--></div></body></html>