| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/themes/novablog/ |
Upload File : |
<?php
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die (theme_locals("please_do_not"));
if ( post_password_required() ) { ?>
<?php echo '<p class="nocomments">' . theme_locals("password") . '</p>'; ?>
<?php
return;
}
?>
<?php if ( have_comments() ) : ?>
<div id="comments" class="comment-holder">
<h5 class="comments-h"><span>
<?php
printf( esc_html(_nx( '1 Comment', '%1$s Comments', get_comments_number(), 'comments title', 'novablog' )),
number_format_i18n( get_comments_number() ), get_the_title() );
?>
</span></h5>
<ul class="commentlist">
<?php wp_list_comments( array(
'type' => 'comment',
'callback' => 'novablog_comment',
'avatar_size'=> 65,
'comment_date'=> novablog_getVariable('date_format') ? novablog_getVariable('date_format') : 'F j, Y'
)); ?>
</ul>
<ul class="pinglist">
<?php
wp_list_comments(
array(
'type' => 'pings',
'callback' => 'novablog_pings',
'avatar_size'=> 65,
'comment_date'=> novablog_getVariable('date_format') ? novablog_getVariable('date_format') : 'F j, Y'
)
);
?>
</ul>
<div class="pagination">
<?php paginate_comments_links(); ?>
</div>
</div>
<?php else : ?>
<?php if ( comments_open() ) : ?>
<?php echo '<p class="nocomments">' . theme_locals("no_comments_yet") . '</p>'; ?>
<?php else : ?>
<?php endif; ?>
<?php endif; ?>
<?php
$commenter = wp_get_current_commenter();
$req = get_option( 'require_name_email' );
$aria_req = ( $req ? " aria-required='true'" : '' );
$novablog_comments_args = array(
'label_submit'=> theme_locals("post_comment"),
'title_reply'=> theme_locals("what_do_you_think"),
'comment_notes_after' => '',
'comment_field' => '<div class="row"><div class="col-md-12"><div class="form-group"><textarea cols="45" rows="8" id="comment" class="form-control" name="comment" aria-required="true" placeholder="' . theme_locals("your_comment") . '"></textarea></div></div></div>',
'fields' => apply_filters( 'comment_form_default_fields', array(
'author' =>
'<div class="row"><div class="col-md-4"><div class="form-group">' . ( $req ? '' : '' ) .
'<input placeholder="' . theme_locals("author_name") . '" id="author" name="author" class="form-control" type="text" value="' . esc_attr( $commenter['comment_author'] ) .
'" size="30"' . $aria_req . ' /></div></div>',
'email' =>
'<div class="col-md-4"><div class="form-group">' . ( $req ? '' : '' ) .
'<input placeholder="' . theme_locals("email_comment") . '" id="email" name="email" class="form-control" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) .
'" size="30"' . $aria_req . ' /></div></div>',
'url' =>
'<div class="col-md-4"><div class="form-group"><input placeholder="' . theme_locals("website_comment") . '" id="url" name="url" class="form-control" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) .
'" size="30" /></div></div></div>'
)
),
);
comment_form($novablog_comments_args); ?>