403Webshell
Server IP : 89.108.64.180  /  Your IP : 216.73.216.140
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : www-root ( 1010)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/жемчужина.online/wp-content/plugins/mphb-reviews/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/жемчужина.online/wp-content/plugins/mphb-reviews/templates/reviews.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/
 * @link https://developer.wordpress.org/reference/functions/comment_form/
 *
 */

/*
 * 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() || ! mphbr_is_reviews_enabled_for_post() ) {
	return;
}

do_action( 'mphbr_reviews_content_before' );

?>

<div id="comments" class="comments-area mphb-reviews">

    <?php do_action( 'mphbr_reviews_content' ); ?>

    <div class="mphbr-new-review-box mphb-hide">
	<?php

		$comments_args = apply_filters(
			'mphbr_comment_form_args',
			array(
				'class_form' 	=> 'mphbr-review-form comment-form',
				'label_submit' 	=> esc_html__( 'Post review', 'mphb-reviews' ), // Change the title of send button
				'title_reply' 	=> sprintf( esc_html__( 'Review "%s"', 'mphb-reviews' ), get_the_title() ), // Change the title of the reply section
				'comment_field' => '<p class="comment-form-comment"><label for="comment">' .
					esc_html__( 'Your review', 'mphb-reviews' ) .
					'</label> <textarea id="comment" name="comment" cols="45" rows="4" maxlength="65525" required="required"></textarea></p>'
			)
		);

		comment_form( $comments_args );

		?>
    </div>

    <?php if ( have_comments() ) { ?>

        <ol class="comment-list">
		<?php
            $list_args = apply_filters(
				'mphbr_list_comments_args',
				array(
					'style'       => 'ol',
					'short_ping'  => true,
					'avatar_size' => 64
				)
			);

            wp_list_comments( $list_args );

		?>
        </ol><!-- .comment-list -->

        <?php

		$comments_navigation_args = apply_filters(
			'mphbr_comments_navigation_args',
			array(
				'prev_text' => esc_html__( 'Older reviews', 'mphb-reviews' ),
				'next_text' => esc_html__( 'Newer reviews', 'mphb-reviews' ),
			)
		);

		the_comments_navigation( $comments_navigation_args );

		?>

        <?php // If comments are closed and there are comments, let's leave a little note, shall we? ?>

    <?php } else if ( comments_open() ) { ?>
        <p class="no-comments"><?php esc_html_e( 'There are no reviews yet.', 'mphb-reviews' ); ?></p>
    <?php } ?>

</div><!-- #comments -->

<?php

do_action( 'mphbr_reviews_content_after' );

Youez - 2016 - github.com/yon3zu
LinuXploit