| Server IP : 62.173.141.34 / Your IP : 216.73.217.113 Web Server : Apache/2.4.63 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 System : Linux server7.msonline.ru 5.15.0-179-generic #189-Ubuntu SMP Tue May 5 18:20:56 UTC 2026 x86_64 User : izihss ( 1005) 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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec,proc_open,popen MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/izihss/web/izihss.ru/public_html/wp-content/themes/tempera/ |
Upload File : |
<?php
/**
* The template for displaying Comments.
*
* The area of the page that contains both current comments
* and the comment form. The actual display of comments is
* handled by a callback to tempera_comment which is
* located in the includes/theme-comments.php file.
*
* @package Cryout Creations
* @subpackage tempera
* @since tempera 0.5
*/
$temperas = tempera_get_theme_options();
$tempera_comclass = '';
if ( (!comments_open()) && (get_comments_number()<1) &&
( ($temperas['tempera_comclosed']=="Hide everywhere") ||
(is_page() && $temperas['tempera_comclosed']=="Hide in pages") ||
(is_single() && $temperas['tempera_comclosed']=="Hide in posts")
) ) {
$tempera_comclass="hideme";
};
?> <div id="comments" class="<?php echo $tempera_comclass ?>"> <?php
if ( have_comments() ) {
if ( post_password_required() ) { ?>
<p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'tempera' ); ?></p>
</div><!-- #comments --> <?php
/* Stop the rest of comments.php from being processed,
* but don't kill the script entirely -- we still have
* to fully load the template.
*/
return;
}
cryout_before_comments_hook(); ?>
<ol class="commentlist">
<?php cryout_comments_hook(); ?>
</ol>
<?php cryout_after_comments_hook();
} else {
// or, if we don't have comments:
cryout_nocomments_hook();
} // end have_comments()
if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) { ?>
<p class="nocomments<?php if (is_page()) echo "2"; ?>"><?php _e("Comments are closed","tempera");?></p> <?php
}
comment_form(); ?>
</div><!-- #comments -->