| Server IP : 89.108.64.180 / Your IP : 216.73.216.46 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/fl-brief.agast.ru/wp-content/themes/hotel-lux/ |
Upload File : |
<?php
/**
* @package WordPress
* @subpackage Hotel LUX
* @version 1.1.2
*
* Comments Template
* Created by CMSMasters
*
*/
if (post_password_required()) {
echo '<p class="nocomments">' . esc_html__('This post is password protected. Enter the password to view comments.', 'hotel-lux') . '</p>';
return;
}
if (have_comments()) {
echo '<aside id="comments" class="post_comments">' . "\n" .
'<h3 class="post_comments_title">';
comments_number(esc_attr__('No Comments', 'hotel-lux'), esc_attr__('Comment', 'hotel-lux') . ' (1)', esc_attr__('Comments', 'hotel-lux') . ' (%)');
echo '</h3>' . "\n";
if (get_previous_comments_link() || get_next_comments_link()) {
echo '<aside class="comments_nav">';
if (get_previous_comments_link()) {
echo '<span class="comments_nav_prev cmsmasters_theme_icon_comments_nav_prev">';
previous_comments_link(esc_attr__('Older Comments', 'hotel-lux'));
echo '</span>';
}
if (get_next_comments_link()) {
echo '<span class="comments_nav_next cmsmasters_theme_icon_comments_nav_next">';
next_comments_link(esc_attr__('Newer Comments', 'hotel-lux'));
echo '</span>';
}
echo '</aside>';
}
echo '<ol class="commentlist">' . "\n";
wp_list_comments(array(
'type' => 'comment',
'callback' => 'hotel_lux_mytheme_comment'
));
echo '</ol>' . "\n";
if (get_previous_comments_link() || get_next_comments_link()) {
echo '<aside class="comments_nav">';
if (get_previous_comments_link()) {
echo '<span class="comments_nav_prev cmsmasters_theme_icon_comments_nav_prev">';
previous_comments_link(esc_attr__('Older Comments', 'hotel-lux'));
echo '</span>';
}
if (get_next_comments_link()) {
echo '<span class="comments_nav_next cmsmasters_theme_icon_comments_nav_next">';
next_comments_link(esc_attr__('Newer Comments', 'hotel-lux'));
echo '</span>';
}
echo '</aside>';
}
echo '</aside>';
}
if (!comments_open() && get_comments_number() && post_type_supports(get_post_type(), 'comments')) {
echo '<h5 class="no-comments cmsmasters_comments_closed">' . esc_html__('Comments are closed.', 'hotel-lux') . '</h5>';
}
$form_fields = array(
'author' => '<p class="comment-form-author">' . "\n" .
'<input type="text" id="author" name="author" value="' . esc_attr($commenter['comment_author']) . '" size="35"' . ((isset($aria_req)) ? $aria_req : '') . ' placeholder="' . esc_attr__('Your name', 'hotel-lux') . (($req) ? ' *' : '') . '" />' . "\n" .
'</p>' . "\n",
'email' => '<p class="comment-form-email">' . "\n" .
'<input type="text" id="email" name="email" value="' . esc_attr($commenter['comment_author_email']) . '" size="35"' . ((isset($aria_req)) ? $aria_req : '') . ' placeholder="' . esc_attr__('Your email', 'hotel-lux') . (($req) ? ' *' : '') . '" />' . "\n" .
'</p>' . "\n"
);
if (get_option('show_comments_cookies_opt_in') == '1') {
$form_fields['cookies'] = '<p class="comment-form-cookies-consent">' . "\n" .
'<input type="checkbox" id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" value="yes"' . (empty($commenter['comment_author_email']) ? '' : ' checked="checked"') . ' />' . "\n" .
'<label for="wp-comment-cookies-consent">' . esc_html__('Save my name, email, and website in this browser for the next time I comment.', 'hotel-lux') . '</label>' . "\n" .
'</p>' . "\n";
}
comment_form(array(
'fields' => apply_filters('comment_form_default_fields', $form_fields),
'comment_field' => '<p class="comment-form-comment">' .
'<label for="comment">' . esc_html__('Comment', 'hotel-lux') . '</label>' .
'<textarea name="comment" id="comment" cols="67" rows="2"></textarea>' .
'</p>',
'must_log_in' => '<p class="must-log-in">' .
esc_html__('You must be', 'hotel-lux') .
' <a href="' . esc_url(wp_login_url(apply_filters('the_permalink', get_permalink()))) . '">'
. esc_html__('logged in', 'hotel-lux') .
'</a> '
. esc_html__('to post a comment', 'hotel-lux') .
'.</p>' . "\n",
'logged_in_as' => '<p class="logged-in-as">' .
esc_html__('Logged in as', 'hotel-lux') .
' <a href="' . esc_url(admin_url('profile.php')) . '">' .
$user_identity .
'</a>. ' .
'<a class="all" href="' . esc_url(wp_logout_url(apply_filters('the_permalink', get_permalink()))) . '" title="' . esc_attr__('Log out of this account', 'hotel-lux') . '">' .
esc_html__('Log out?', 'hotel-lux') .
'</a>' .
'</p>' . "\n",
'comment_notes_before' => '<p class="comment-notes">' .
esc_html__('Your email address will not be published.', 'hotel-lux') .
'</p>' . "\n",
'comment_notes_after' => '',
'id_form' => 'commentform',
'id_submit' => 'submit',
'title_reply' => esc_html__('Leave a Reply', 'hotel-lux'),
'title_reply_to' => esc_html__('Leave your comment to', 'hotel-lux'),
'cancel_reply_link' => esc_html__('Cancel Reply', 'hotel-lux'),
'label_submit' => esc_html__('Add Comment', 'hotel-lux')
));