GRAYBYTE WORDPRESS FILE MANAGER5197

Server IP : 68.65.123.43 / Your IP : 216.73.216.162
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/inteuuod/public_html/wp-content/plugins/userswp/templates/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/inteuuod/public_html/wp-content/plugins/userswp/templates//profile-header.php
<?php
/**
 * Profile header template (default)
 *
 * @ver 0.0.1
 */
global $uwp_in_user_loop;
$css_class    = ! empty( $args['css_class'] ) ? esc_attr( $args['css_class'] ) : 'border-0';
$hide_cover   = isset( $args['hide_cover'] ) ? $args['hide_cover'] : '';
$allow_change = isset( $args['allow_change'] ) ? $args['allow_change'] : '';
$hide_avatar  = isset( $args['hide_avatar'] ) ? $args['hide_avatar'] : '';
$avatar_url   = isset( $args['avatar_url'] ) ? $args['avatar_url'] : '';
$banner_url   = isset( $args['banner_url'] ) ? $args['banner_url'] : '';
$user_id      = isset( $args['user_id'] ) ? $args['user_id'] : '';

do_action( 'uwp_template_before', 'profile-header' );
if($user_id){
	$user = get_userdata($user_id);
} else {
	$user = uwp_get_displayed_user();
}

if(!$user){
	return;
}

$class = "";

if($hide_cover) {
	$class = "uwp-avatar-only";
}

?>
<div class="uwp-profile-header <?php echo esc_attr( $class ); ?> clearfix">
	<?php if(!$hide_cover) {
		?>
		<div class="uwp-profile-header-img clearfix">
			<?php
			if ($uwp_in_user_loop) {
				echo '<a href="'.esc_url(uwp_build_profile_tab_url($user->ID)).'" title="'.esc_attr( $user->display_name ).'">';
			}
			?>
			<img src="<?php echo esc_url( $banner_url ); ?>" alt="<?php esc_html_e( "User banner image", "userswp" ); ?>" class="uwp-profile-header-img-src" />
			<?php
			if ($uwp_in_user_loop) {
				echo '</a>';
			}
			?>
			<?php if (! $uwp_in_user_loop && is_user_logged_in() && $allow_change && (get_current_user_id() == $user->ID)) { ?>
				<div class="uwp-banner-change-icon">
					<i class="fas fa-camera" aria-hidden="true"></i>
					<div data-type="banner" class="uwp-profile-banner-change uwp-profile-modal-form-trigger">
                    <span class="uwp-profile-banner-change-inner">
                        <?php esc_html_e( 'Update Cover Photo', 'userswp' ); ?>
                    </span>
					</div>
				</div>
			<?php } ?>
		</div>
	<?php } ?>

	<div class="uwp-profile-avatar clearfix">
		<?php
		if(!$hide_avatar) {
			if ($uwp_in_user_loop) {
				echo '<a href="' . esc_url (uwp_build_profile_tab_url($user->ID) ) . '" title="' . esc_attr( $user->display_name ) . '">';
			}
			?>
			<div class="uwp-profile-avatar-inner">
                <img class="avatar avatar-150 photo" src="<?php echo esc_url( $avatar_url ); ?>" alt="<?php esc_attr_e("User avatar","userswp");?>" width="150" height="150">
				<?php if (!$uwp_in_user_loop && is_user_logged_in() && (get_current_user_id() == $user->ID) && $allow_change) { ?>
					<div class="uwp-profile-avatar-change">
						<div class="uwp-profile-avatar-change-inner">
							<i class="fas fa-camera" aria-hidden="true"></i>
							<a id="uwp-profile-picture-change" data-type="avatar"
							   class="uwp-profile-modal-form-trigger"
							   href="#"><?php esc_html_e('Update', 'userswp'); ?></a>
						</div>
					</div>
				<?php } ?>
			</div>
			<?php
			if ($uwp_in_user_loop) {
				echo '</a>';
			}
		}
		?>
	</div>
</div>
<?php do_action( 'uwp_template_after', 'profile-header' ); ?>

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:23
inteuuod / inteuuod
0755
bootstrap
--
July 10 2025 04:32:23
inteuuod / inteuuod
0755
emails
--
July 10 2025 04:32:23
inteuuod / inteuuod
0755
.htaccess
0.41 KB
July 10 2025 04:32:23
inteuuod / inteuuod
0644
account.php
1.018 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
change.php
1.509 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
comments-item.php
1.278 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
dashboard-simple.php
0.589 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
dashboard.php
2.038 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
forgot.php
1.646 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
login.php
2.372 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
loop-comments.php
0.892 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
loop-posts.php
0.828 KB
February 04 2025 23:32:52
inteuuod / inteuuod
0644
loop-users.php
1.481 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
modal-profile-image-crop.php
2.494 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
modal-profile-image.php
3.108 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
no-users-found.php
0.339 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
posts-post.php
1.273 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
profile-header.php
2.969 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
profile-tabs.php
2.325 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
profile.php
0.09 KB
July 16 2020 17:09:12
inteuuod / inteuuod
0644
register.php
2.337 KB
March 19 2025 15:13:04
inteuuod / inteuuod
0644
reset.php
2.269 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
search-form.php
1.035 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
user-avatar.php
1.762 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
user-cover.php
1.42 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
users-actions.php
1.921 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644
users-item.php
0.25 KB
March 13 2024 17:47:28
inteuuod / inteuuod
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF