Subversion Repositories cheapmusic

Rev

Rev 57 | Rev 59 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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">
57 - 48
                <h5>Color Theme</h5>
49
            </div>
50
            <div class="text-center m-2">
51
                <p><?php echo (!empty($userData['theme']) ? ucwords($userData['theme']) : "Default"); ?></p>
52
            </div>
53
 
58 - 54
            <div class="bg-dark text-light menu-tle my-3">
57 - 55
                <h5>Search Filter Preferences</h5>
56
            </div>
57
            <div class="card-group">
58
                 <div class="card m-2">
59
                     <div class="card-header font-weight-bold">Condition</div>
60
                     <div class="card-body ac-info">
61
                         <div class="form-check">
62
                             <label class="form-check-label">
63
                                 <input name="filterConditionNew" type="checkbox" class="form-check-input" value="New" <?php echo ($userData["conditionNew"] ? "checked" : ""); ?> onchange="$(this).prop('checked', !$(this).prop('checked'));">New
64
                             </label>
65
                         </div>
66
                         <div class="form-check">
67
                             <label class="form-check-label">
68
                                 <input name="filterConditionUsed" type="checkbox" class="form-check-input" value="Used" <?php echo ($userData["conditionUsed"] ? "checked" : ""); ?> onchange="$(this).prop('checked', !$(this).prop('checked'));">Used
69
                             </label>
70
                         </div>
71
                     </div>
72
                 </div>
73
 
74
                 <div class="card m-2">
75
                     <div class="card-header font-weight-bold">Media Type</div>
76
                     <div class="card-body ac-info">
77
                         <div class="form-check">
78
                             <label class="form-check-label">
79
                                 <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
80
                             </label>
81
                         </div>
82
                         <div class="form-check">
83
                             <label class="form-check-label">
84
                                 <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
85
                             </label>
86
                         </div>
87
                         <div class="form-check">
88
                             <label class="form-check-label">
89
                                 <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
90
                             </label>
91
                         </div>
92
                         <div class="form-check">
93
                             <label class="form-check-label">
94
                                 <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
95
                             </label>
96
                         </div>
97
                     </div>
98
                 </div>
99
             </div>
25 - 100
		</div>
101
	</div>
102
	<!--//main-->
57 - 103
 
25 - 104
	<!--footer-->
105
	<?php include_once 'elements/footer.php'; ?>
106
	<!--//footer-->
107
</div>
108
</body>
26 - 109
</html>