Subversion Repositories cheapmusic

Rev

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