25 |
- |
1 |
<?php
|
31 |
- |
2 |
// Include Session Handling
|
|
|
3 |
require_once('includes/session.php');
|
|
|
4 |
|
25 |
- |
5 |
// Include config & login validate file
|
|
|
6 |
require_once 'includes/validateUser.php';
|
|
|
7 |
?>
|
|
|
8 |
<!DOCTYPE html>
|
|
|
9 |
<html lang="en-US">
|
|
|
10 |
<head>
|
|
|
11 |
<!--head-->
|
|
|
12 |
<?php include_once 'elements/head.php'; ?>
|
|
|
13 |
<!--//head-->
|
|
|
14 |
</head>
|
|
|
15 |
<body>
|
43 |
- |
16 |
<div class="main">
|
25 |
- |
17 |
<!--header-->
|
|
|
18 |
<?php include_once 'elements/header.php'; ?>
|
|
|
19 |
<!--//header-->
|
57 |
- |
20 |
|
25 |
- |
21 |
<!--main-->
|
|
|
22 |
<div class="main-content">
|
57 |
- |
23 |
<div class="wrapper-frm border bg-light text-dark shadow">
|
|
|
24 |
<div class="head-menu bg-primary menu-tle">
|
|
|
25 |
<h2>My Account</h2>
|
25 |
- |
26 |
</div>
|
|
|
27 |
<div class="ucontent">
|
31 |
- |
28 |
<div class="left-pnl">
|
47 |
- |
29 |
<img class="img-fluid upicture" src="<?php echo $userPicture; ?>" alt="<?php echo $userName; ?>">
|
25 |
- |
30 |
<h2><?php echo $userName; ?></h2>
|
|
|
31 |
</div>
|
31 |
- |
32 |
<div class="right-pnl">
|
25 |
- |
33 |
<div class="ac-info">
|
|
|
34 |
<p><b>E-MAIL </b>: <?php echo $userData['email']; ?></p>
|
26 |
- |
35 |
<p><b>ZIP </b>: <?php echo $userData['zip']; ?></p>
|
25 |
- |
36 |
</div>
|
57 |
- |
37 |
<?php if(!empty($userData['link'])){ ?>
|
25 |
- |
38 |
<div class="button">
|
57 |
- |
39 |
<a role="button" href="<?php echo $userData['link']; ?>" class="view-btn btn btn-success" target="_blank">Click to view profile</a>
|
25 |
- |
40 |
</div>
|
|
|
41 |
<?php } ?>
|
57 |
- |
42 |
</div>
|
25 |
- |
43 |
</div>
|
57 |
- |
44 |
|
|
|
45 |
<div class="clearfix"></div>
|
|
|
46 |
|
58 |
- |
47 |
<div class="bg-dark text-light menu-tle my-3">
|
59 |
- |
48 |
<h5>Layout</h5>
|
57 |
- |
49 |
</div>
|
|
|
50 |
<div class="text-center m-2">
|
59 |
- |
51 |
<p>Color Theme: <?php echo (!empty($userData['theme']) ? ucwords($userData['theme']) : "Default"); ?></p>
|
|
|
52 |
<p>Result View: <?php echo ($userData['cardView'] ? 'Cards' : 'Table'); ?></p>
|
57 |
- |
53 |
</div>
|
|
|
54 |
|
58 |
- |
55 |
<div class="bg-dark text-light menu-tle my-3">
|
57 |
- |
56 |
<h5>Search Filter Preferences</h5>
|
|
|
57 |
</div>
|
|
|
58 |
<div class="card-group">
|
|
|
59 |
<div class="card m-2">
|
|
|
60 |
<div class="card-header font-weight-bold">Condition</div>
|
|
|
61 |
<div class="card-body ac-info">
|
|
|
62 |
<div class="form-check">
|
|
|
63 |
<label class="form-check-label">
|
|
|
64 |
<input name="filterConditionNew" type="checkbox" class="form-check-input" value="New" <?php echo ($userData["conditionNew"] ? "checked" : ""); ?> onchange="$(this).prop('checked', !$(this).prop('checked'));">New
|
|
|
65 |
</label>
|
|
|
66 |
</div>
|
|
|
67 |
<div class="form-check">
|
|
|
68 |
<label class="form-check-label">
|
|
|
69 |
<input name="filterConditionUsed" type="checkbox" class="form-check-input" value="Used" <?php echo ($userData["conditionUsed"] ? "checked" : ""); ?> onchange="$(this).prop('checked', !$(this).prop('checked'));">Used
|
|
|
70 |
</label>
|
|
|
71 |
</div>
|
|
|
72 |
</div>
|
|
|
73 |
</div>
|
|
|
74 |
|
|
|
75 |
<div class="card m-2">
|
|
|
76 |
<div class="card-header font-weight-bold">Media Type</div>
|
|
|
77 |
<div class="card-body ac-info">
|
|
|
78 |
<div class="form-check">
|
|
|
79 |
<label class="form-check-label">
|
|
|
80 |
<input name="filterMediaTypeCD" type="checkbox" class="form-check-input" value="CD" <?php echo ($userData["mediaCD"] ? "checked" : ""); ?> onchange="$(this).prop('checked', !$(this).prop('checked'));"><i class="fas fa-compact-disc category-icon-silver"></i> Compact Disc
|
|
|
81 |
</label>
|
|
|
82 |
</div>
|
|
|
83 |
<div class="form-check">
|
|
|
84 |
<label class="form-check-label">
|
|
|
85 |
<input name="filterMediaTypeRecord" type="checkbox" class="form-check-input" value="Record" <?php echo ($userData["mediaRecord"] ? "checked" : ""); ?> onchange="$(this).prop('checked', !$(this).prop('checked'));"><i class="fas fa-dot-circle"></i> Vinyl Record
|
|
|
86 |
</label>
|
|
|
87 |
</div>
|
|
|
88 |
<div class="form-check">
|
|
|
89 |
<label class="form-check-label">
|
|
|
90 |
<input name="filterMediaTypeDigital" type="checkbox" class="form-check-input" value="Digital" <?php echo ($userData["mediaDigital"] ? "checked" : ""); ?> onchange="$(this).prop('checked', !$(this).prop('checked'));"><i class="fas fa-download"></i> Digital
|
|
|
91 |
</label>
|
|
|
92 |
</div>
|
|
|
93 |
<div class="form-check">
|
|
|
94 |
<label class="form-check-label">
|
|
|
95 |
<input name="filterMediaTypeBook" type="checkbox" class="form-check-input" value="Books" <?php echo ($userData["mediaBook"] ? "checked" : ""); ?> onchange="$(this).prop('checked', !$(this).prop('checked'));"><i class="fas fa-book-open"></i> Books / Sheet Music
|
|
|
96 |
</label>
|
|
|
97 |
</div>
|
|
|
98 |
</div>
|
|
|
99 |
</div>
|
|
|
100 |
</div>
|
25 |
- |
101 |
</div>
|
|
|
102 |
</div>
|
|
|
103 |
<!--//main-->
|
57 |
- |
104 |
|
25 |
- |
105 |
<!--footer-->
|
|
|
106 |
<?php include_once 'elements/footer.php'; ?>
|
|
|
107 |
<!--//footer-->
|
|
|
108 |
</div>
|
|
|
109 |
</body>
|
26 |
- |
110 |
</html>
|