HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/wp-content/themes/vadimarketv4/comments.php
<?php
	if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
		die ('bu sayfayi direk yuklemeyiniz!');
			if ( post_password_required() ) { ?>
	<p class="nocomments"><?php echo __('Bu yazı şifre korumalıdır. Yazıyı görmek için parolanızı girin.','temavadisi'); ?></p>
<?php return; } ?>

<?php if ( have_comments() ) : ?>
	<div id="comments" class="yazi-yorumlari">
		<h3>
			<?php comments_number( '', __('1 Yorum','temavadisi'), __('% Yorum ','temavadisi') ); ?>
		</h3>
		<ol class="commentlist">
			<?php wp_list_comments('callback=TemaVadisi_comment&end-callback=TemaVadisi_comment_close'); ?>
		</ol>
	</div>

<?php 
	if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : 
?>
	<div class="comment-pagination">
<?php 
	$comargs = array(
	'prev_text' => '&laquo;', 
	'next_text' => '&raquo;',
	'add_fragment' => '#comments'
	);
		paginate_comments_links($comargs); 
?>
	</div>
<?php 
	endif;  
	else : endif; 
?>
<?php if ( comments_open() ) : ?>
	<div id="respond">
		<h3><?php echo __('Yorum yaz','temavadisi'); ?></h3>
		<div class="cancel-comment-reply"><?php cancel_comment_reply_link(); ?></div>
<?php 
	if ( get_option('comment_registration') && !is_user_logged_in() ) : 
?>
	<p><i class="icon-info-circled"></i> <?php echo sprintf(__('Yorum yapabilmek için <a href="%s">buradan</a> üye girişi yapınız.', 'temavadisi'), wp_login_url( get_permalink() )); ?></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><?php echo sprintf(__('Merhaba,  <a href="%1$s">%2$s</a>.', 'temavadisi'), admin_url( 'profile.php' ), $user_identity ); ?> <small> <?php echo sprintf(__('<a href="%s">çıkış &raquo;</a>', 'temavadisi'), wp_logout_url(get_permalink())); ?></small></p>
<?php 
	else : endif; 
?>
<?php 
	if ( is_user_logged_in() ) : 
?>
	<p><textarea name="comment" id="comment" rows="5" placeholder="<?php echo __('Yorumunuzu buraya yazabilirsiniz.','temavadisi'); ?>" tabindex="1"></textarea></p>

	<p><input name="submit" type="submit" tabindex="2" value="<?php echo __('YORUMU GÖNDER','temavadisi'); ?>" /></p>
	<?php else : ?>
<div class="row">
	<p class="col-lg-6 col-sm-12"><input type="text" name="author" id="author" placeholder="<?php echo __('Adınız *','temavadisi'); ?>" tabindex="1" /></p>
	<p class="col-lg-6 col-sm-12"><input type="text" name="email" id="email" placeholder="<?php echo __('Email adresiniz *','temavadisi'); ?>" tabindex="2" /></p>
	<p class="col-lg-12"><textarea name="comment" id="comment" rows="5" placeholder="<?php echo __('Yorumunuzu buraya yazabilirsiniz. *','temavadisi'); ?>" tabindex="3"></textarea></p>
</div>
	<p><input name="submit" type="submit" tabindex="4" value="<?php echo __('YORUMU GÖNDER','temavadisi'); ?>" /></p>
<?php 
	endif;  
		comment_id_fields(); 
			do_action('comment_form', $post->ID); 
?>
</form>
<?php 
	endif; 
?>
	</div>
<?php 
	else : endif; 
?>