PluginProbe ʕ •ᴥ•ʔ
Download Manager / trunk
Download Manager vtrunk
3.3.62 3.3.61 3.3.60 3.3.59 3.3.58 3.3.57 3.3.56 trunk 2.1.3 2.3.0 2.5.96 2.5.97 2.6.2 2.6.96 2.8.3 2.9.99 3.0.4 3.1.05 3.1.07 3.1.08 3.1.11 3.1.12 3.1.14 3.1.17 3.1.18 3.1.22 3.1.23 3.1.24 3.1.25 3.1.26 3.1.27 3.1.28 3.2.04 3.2.13 3.2.14 3.2.16 3.2.18 3.2.19 3.2.21 3.2.22 3.2.23 3.2.24 3.2.25 3.2.27 3.2.28 3.2.29 3.2.30 3.2.31 3.2.32 3.2.33 3.2.34 3.2.35 3.2.37 3.2.38 3.2.39 3.2.40 3.2.41 3.2.42 3.2.43 3.2.44 3.2.45 3.2.46 3.2.47 3.2.48 3.2.49 3.2.50 3.2.51 3.2.52 3.2.53 3.2.54 3.2.55 3.2.56 3.2.57 3.2.58 3.2.59 3.2.60 3.2.61 3.2.63 3.2.64 3.2.65 3.2.66 3.2.67 3.2.68 3.2.69 3.2.70 3.2.71 3.2.72 3.2.73 3.2.74 3.2.75 3.2.76 3.2.77 3.2.78 3.2.79 3.2.80 3.2.81 3.2.82 3.2.83 3.2.84 3.2.85 3.2.86 3.2.87 3.2.88 3.2.89 3.2.90 3.2.91 3.2.92 3.2.93 3.2.94 3.2.95 3.2.96 3.2.97 3.2.98 3.2.99 3.3.00 3.3.01 3.3.02 3.3.03 3.3.04 3.3.05 3.3.06 3.3.07 3.3.08 3.3.09 3.3.10 3.3.11 3.3.12 3.3.13 3.3.14 3.3.15 3.3.16 3.3.17 3.3.18 3.3.19 3.3.20 3.3.21 3.3.22 3.3.23 3.3.24 3.3.25 3.3.26 3.3.27 3.3.28 3.3.29 3.3.30 3.3.31 3.3.32 3.3.33 3.3.34 3.3.35 3.3.36 3.3.37 3.3.38 3.3.39 3.3.40 3.3.41 3.3.42 3.3.43 3.3.44 3.3.45 3.3.46 3.3.47 3.3.48 3.3.49 3.3.50 3.3.51 3.3.52 3.3.53 3.3.54 3.3.55
download-manager / src / User / views / public-profile.php
download-manager / src / User / views Last commit date
dashboard 5 months ago profile-cards 5 years ago profile-header 6 months ago already-logged-in.php 5 months ago auth-forms.css 5 months ago auth-forms.min.css 5 months ago clean.php 5 years ago login-form.php 5 months ago lost-password-form.php 5 months ago members.php 6 months ago modal-login-form.php 5 days ago public-profile.php 6 months ago reg-form.php 5 days ago reset-password-form.php 5 months ago review-user-status.php 1 week ago user-favourites.php 5 years ago
public-profile.php
108 lines
1 <?php if(!defined('ABSPATH')) die(); ?>
2
3 <style>
4 #logo-block img{
5 box-shadow: none;
6 width:128px;
7 height: 128px;
8 border-radius: 500px;
9 background: #ffffff;
10 }
11
12 #wpdm-user-profile{
13 padding-top: 90px;
14 }
15 #wpdm-user-profile .profile-card{
16 border-radius: 5px;
17 color: <?php echo (isset($store['txtcolor']) && !empty($store['txtcolor']) ? $store['txtcolor'] : '#333333'); ?> !important;
18 <?php if($store['banner'] !== ''){ ?>
19 background: linear-gradient(45deg, rgba(<?php echo $rgb; ?>,0.5), rgba(<?php echo $rgb ?>,0.95)), <?php echo $store['bgcolor']; ?> url("<?php echo $store['banner']; ?>");
20 background-size: cover;
21 background-repeat: repeat-x;
22 background-position: center;
23 <?php } else { ?>
24 background: <?php echo $store['bgcolor']; ?>;
25 <?php } ?>
26 }
27 #wpdm-user-profile .store-intro{
28 opacity: 0.7;
29 }
30 #profile-buttons .profile-button{
31 color: #ffffff;
32 background: rgba(0,0,0,0.2);
33 font-size: 12px;
34 letter-spacing: 1px;
35 border-radius: 200px;
36 padding: 5px 15px;
37 margin: 10px 3px;
38 text-decoration: none;
39 transition: all ease-in-out 300ms;
40 }
41 #profile-buttons .profile-button:not(.active):hover{
42 background: rgba(0,0,0,0.5);
43 }
44 #profile-buttons .profile-button.active{
45 background: rgba(0,0,0,0.6);
46 }
47 #wpdm-profile-contents{
48 min-height: 400px;
49 }
50 </style>
51
52
53 <div class="w3eden" id="wpdm-user-profile">
54 <div class="row">
55
56 <div class="col-md-12">
57 <div class="profile-card p-4 text-center bg-light">
58
59 <?php include \WPDM\__\Template::locate("profile-header/{$header}", (__DIR__)) ?>
60
61 </div>
62 </div>
63
64 </div>
65 <div class="row">
66 <div class="col-md-12 pt-4" id="wpdm-profile-contents">
67
68
69 </div>
70 </div>
71 <?php
72 foreach ($this->profile_menu as $id => $menu){
73 if(isset($menu['static_content']))
74 call_user_func($menu['static_content']);
75 }
76 ?>
77 </div>
78
79 <script>
80 jQuery(function ($) {
81 $('.profile-button.with-content').on('click', function () {
82 $('.profile-button').removeClass('active');
83 $(this).addClass('active');
84 var cc = $(this).children('fa').attr('class');
85 $(this).children('fa').removeClass(cc).addClass('fa fa-sun fa-spin');
86 var abtn = $(this);
87 WPDM.blockUI('#wpdm-profile-contents');
88 $.get(wpdm_url.ajax, { action: 'wpdm_get_profile_menu_content', __pu: '<?php echo $user_ID; ?>', __pmenu: $(this).data('menu'), __scp: '<?php echo \WPDM\__\Crypt::encrypt($params); ?>'}, function (response) {
89 $('#wpdm-profile-contents').html(response);
90 WPDM.unblockUI('#wpdm-profile-contents');
91 abtn.attr('class', cc);
92 });
93 });
94 $('.profile-button.instant').on('click', function (e) {
95 e.preventDefault();
96 var menu = $(this).data('menu');
97 });
98 var hash = location.hash.substr(1);
99 WPDM.blockUI('#wpdm-profile-contents');
100 $.get(wpdm_url.ajax, { action: 'wpdm_get_profile_menu_content', __pu: '<?php echo $user_ID; ?>', __pmenu: (hash ? hash : '<?php echo $first_menu; ?>'), __scp: '<?php echo \WPDM\__\Crypt::encrypt($params); ?>'}, function (response) {
101 $('#wpdm-profile-contents').html(response);
102 $('#profile-button-'+(hash ? hash : '<?php echo $first_menu; ?>')).addClass('active');
103 WPDM.unblockUI('#wpdm-profile-contents');
104 });
105 });
106 </script>
107
108