Uname:
Linux webm001.cluster110.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software:
Apache
PHP version:
7.3.33 [ PHP INFO ] PHP os:
Linux
Server Ip:
213.186.33.19
Your Ip:
216.73.216.124
User:
creationoo (224166) | Group:
users (100)
Safe Mode:
OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl
<?php
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not load this page directly. Thanks!');
if ( post_password_required() ) { ?>
<?php _e("This post is password protected. Enter the password to view comments."); ?>
<?php
return;
}
?>
<?php if ( comments_open() ) : ?>
<div id="respond" style=" display:none;">
<!-- <h2><?php /* comment_form_title( 'Leave a Reply', 'Leave a Reply to %s' ); */ ?></h2> -->
<div class="reply-form-desc">
<?php _e("Your email address will not be published."); ?><br/>
<?php _e("Required fields are marked with *"); ?>
</div>
<div class="cancel-comment-reply">
<?php cancel_comment_reply_link(); ?>
</div>
<?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?>
<p style="color: #999;"><?php _e("You must be"); ?> <a style="color: #666; text-decoration: underline; " href="<?php echo wp_login_url( get_permalink() ); ?>"><?php _e("logged in"); ?></a> <?php _e("to post a comment."); ?></p>
<?php else : ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if ( is_user_logged_in() ) : ?>
<p style="color: #999;"><?php _e("Logged in as"); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account"><?php _e("Log out"); ?> »</a></p>
<?php else : ?>
<br/>
<div>
<label for="author"><?php echo get_option(DESIGNARE_SHORTNAME."_comment_name_text"); ?> <?php if ($req) echo "*"; ?></label><br/>
<input type="text" name="author" id="author" value="<?php echo esc_attr($comment_author); ?>" size="70" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> />
</div>
<div>
<label for="email"><?php echo get_option(DESIGNARE_SHORTNAME."_email_text"); ?> <?php if ($req) echo "*"; ?></label><br/>
<input type="text" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="70" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />
</div>
<div>
<label for="url"><?php echo get_option(DESIGNARE_SHORTNAME."_website_text"); ?></label><br/>
<input type="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="70" tabindex="3" />
</div>
<?php endif; ?>
<!--<p>You can use these tags: <code><?php echo allowed_tags(); ?></code></p>-->
<div>
<label for="comment"><?php echo get_option(DESIGNARE_SHORTNAME."_your_comment_text"); ?> *</label><br/>
<textarea name="comment" id="comment" cols="58" rows="10" tabindex="4"></textarea>
</div>
<div id="engodoComments" onclick="
$.post('<?php echo get_option('siteurl'); ?>/wp-comments-post.php', $(this).parents('#commentform').serialize(), function(response){
if (response){
alert('<?php _e('Your comment was successfully sent.'); ?>');
<?php global $post; ?>
reloadComments(<?php echo $post->ID ?>);
} else $(this).parent().find('#submit').click();
});
"><?php echo get_option(DESIGNARE_SHORTNAME."_submit_comment_text"); ?></div>
<div>
<input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" style="display:none;" />
<?php comment_id_fields(); ?>
</div>
<?php do_action('comment_form', $post->ID); ?>
</form>
<?php endif; // If registration required and not logged in ?>
</div>
<?php endif; ?>
<?php if ( have_comments() ) : ?>
<!-- <h2 id="comments"><?php /* comments_number('No Responses', 'One Response', '% Responses' ); */?></h2> -->
<div class="navigation">
<div class="next-posts"><?php previous_comments_link() ?></div>
<div class="prev-posts"><?php next_comments_link() ?></div>
</div>
<ol class="commentlist">
<?php wp_list_comments(array('callback' => 'designaretheme_comment')); ?>
</ol>
<div class="navigation">
<div class="next-posts"><?php previous_comments_link() ?></div>
<div class="prev-posts"><?php next_comments_link() ?></div>
</div>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ( comments_open() ) : ?>
<!-- If comments are open, but there are no comments. -->
<?php else : // comments are closed ?>
<p><?php _e("Comments are closed."); ?></p>
<?php endif; ?>
<?php endif; ?>