Subversion Repositories cheapmusic

Rev

Rev 107 | Rev 120 | 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">
107 - 25
                <h1>My Account</h1>
25 - 26
            </div>
27
            <div class="ucontent">
31 - 28
                <div class="left-pnl">
116 - 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">
116 - 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
57 - 66
                             </label>
67
                         </div>
68
                         <div class="form-check">
69
                             <label class="form-check-label">
116 - 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
57 - 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">
116 - 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="<?php echo getMediaIconClass("CD", "material-text"); ?>"><?php echo getMediaIconAlias("CD"); ?></i> <?php echo getMediaIconText("CD"); ?>
57 - 82
                             </label>
83
                         </div>
84
                         <div class="form-check">
85
                             <label class="form-check-label">
116 - 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="<?php echo getMediaIconClass("Record", "material-text"); ?>"><?php echo getMediaIconAlias("Record"); ?></i> <?php echo getMediaIconText("Record"); ?>
57 - 87
                             </label>
88
                         </div>
89
                         <div class="form-check">
90
                             <label class="form-check-label">
116 - 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="<?php echo getMediaIconClass("Digital", "material-text"); ?>"><?php echo getMediaIconAlias("Digital"); ?></i> <?php echo getMediaIconText("Digital"); ?>
57 - 92
                             </label>
93
                         </div>
94
                         <div class="form-check">
95
                             <label class="form-check-label">
116 - 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="<?php echo getMediaIconClass("Book", "material-text"); ?>"><?php echo getMediaIconAlias("Book"); ?></i> <?php echo getMediaIconText("Book"); ?>
57 - 97
                             </label>
98
                         </div>
99
                     </div>
100
                 </div>
101
             </div>
71 - 102
 
103
            <div class="bg-dark text-light menu-tle my-3">
104
                <h5>Wishlist</h5>
105
            </div>
106
            <div class="text-center m-2">
107
                <p>Email Price Checks: <?php echo ($userData['wlEmailFlag'] ? "Yes" : "No"); ?></p>
108
                <p>Email Price Check Frequency: <?php echo $wlFreqArr[$userData['wlFreq']]; ?></p>
109
            </div>
110
 
25 - 111
		</div>
112
	</div>
113
	<!--//main-->
57 - 114
 
25 - 115
	<!--footer-->
116
	<?php include_once 'elements/footer.php'; ?>
117
	<!--//footer-->
118
</div>
119
</body>
26 - 120
</html>