PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/photostockmall.online/wp-content/themes/stocky/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/photostockmall.online/wp-content/themes/stocky/comments.php

<?php // Do not delete these lines
	if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
		die ('Please do not load this page directly. Thanks!');

	if (!empty($post->post_password)) { // if there's a password
		if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
			?>

			<p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments', 'stocky') ?>.</p>

			<?php
			return;
		}
	}
?>

<?php if ( have_comments() ) : //if comments open and there are comments to show, display this ?>

	<?php if ( ! empty($comments_by_type['comment']) ) : ?>

		<?php if ('download' == get_post_type() ) { ?>
		<div id="stocky_reviews">
		<?php } ?>
		<div class="box_title comments_title">
			<h3 id="comments">
				<?php comments_number();?>
			</h3>
		</div>
		<div id="comments_wrap">
			<ul class="commentlist"><!-- display comments -->
				<?php wp_list_comments('callback=custom_comment&type=comment'); //'custom_comment' are edited in [functions.php] ?>
			</ul>
		</div>
		<?php if ('download' == get_post_type() ) { ?>
		</div>
		<?php } ?>

        <div class="navigation comment-nav">
	        <div class="nav-prev"><?php previous_comments_link() ?></div>
    	    <div class="nav-next"><?php next_comments_link() ?></div>
    	    <div class="clear"></div>
        </div>

	<?php endif; ?>

	<?php if ( ! empty($comments_by_type['pings']) ) : ?>
		<h3 id="pings"><?php _e('Trackbacks', 'stocky') ?></h3>
		<div id="comments_wrap">
			<ul class="pinglist"><!-- display trackbacks -->
				<?php wp_list_comments('callback=custom_pings&type=pings'); ?>
			</ul>
		</div>

		<div class="navigation comment-nav">
			<div class="nav-prev"><?php previous_comments_link() ?></div>
			<div class="nav-next"><?php next_comments_link() ?></div>
			<div class="clear"></div>
		</div>

	<?php endif; ?>

<?php else : ?>

	<?php if ('open' == $post->comment_status) :
		// Display something if there are no comments yet?
	else : ?>

		<?php if ('download' != get_post_type() ) { ?>
		<h5 id="comments_closed"><?php _e("Comments are closed.", "stocky"); ?></h5>
		<?php } ?>

	<?php endif; ?>

<?php endif; ?>

<?php comment_form(); ?>