Subversion Repositories cheapmusic

Rev

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