| Server IP : 80.93.52.51 / Your IP : 216.73.217.75 Web Server : Apache/2.4.58 (Ubuntu) System : Linux 80-93-52-51.swtest.ru 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : www-root ( 1010) PHP Version : 7.4.33 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/undergroundexpert.info/wp-content/themes/shablon/ |
Upload File : |
<?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://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Twenty_Seventeen
* @since 1.0
* @version 1.0
*/
/*
* 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;
}
$cl = pll_current_language();
if ($cl == 'ru') {
$agree = 'Настоящим подтверждаю, что я ознакомлен с политикой конфиденциальности<br>и согласен на обработку персональных данных. <a class="conf" href="#conf">Подробнее</a>';
} else {
$agree = 'I hereby confirm that I am familiar with the privacy policy of <br> and agree to the processing of personal data. <a class="conf" href="#conf">Read more</a>';
}
?>
<?php
comment_form();?>
<p class="conf_agree movable">
<span class="dt">
<span class="dtc vat">
<span class="agree checked"></span>
</span>
<span class="dtc vat"><?=$agree?></span>
</span>
</p>
<?php
// You can start editing here -- including this comment!
if ( have_comments() ) : ?>
<?php
wp_list_comments( array(
'avatar_size' => 65,
'style' => 'div',
'short_ping' => true,
'callback' => 'custom_comment'
) );
?>
<?php the_comments_pagination();
endif; // Check for have_comments().
// If comments are closed and there are comments, let's leave a little note, shall we?
if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : ?>
<p class="no-comments"><?php _e( 'Comments are closed.', 'twentyseventeen' ); ?></p>
<?php
endif;
?>