ﺗﻌ ﺮ ﻳﺐ ﻣﻠ ﻔ ﺎ ﺕ ﻭ ﻭ ﺭﺩﺑ ﺮ ﻳﺲ
:
ﺍﻟﺪ ﺭﺱﺍﻟﺜ ﺎ ﻟﺚ
-comments.php
$md5=md5($comment-> comment_author_email);
$default=urlencode("$pathtotheme /images/avatar.jpg");
echo "<img src='http://www.gravatar.com/avatar.php?gravatar_id=
$md5&size=50&default=$default' width='50' height='50' alt='commenter' />";
} ?> </div> <divclass="comment_comment">
<?php comment_text();?>
</div> </div> </div> <?php endforeach;
/* end for each comment */
?><?php else:
// this is displayed if there are no comments so far
?> <?php if ('open'==$post->comment_status) :?>
<!-- If comments are open, but there are no comments. -->
<?php else:
// comments are closed
?>
<!-- If comments are closed. -->
<pclass="nocomments">
ا ﻟ ﺘ ﻌ ﻠ ﻴ ﻘﺎ ت ﻣ ﻐ ﻠ ﻘﺔ
.</p> <?php endif ;?>
<?php endif ;?>
<?php if ('open'==$post->comment_status) :?>
<h2>
أ ﺿ ﻒ ﺗ ﻌ ﻠ ﻴ ﻖ
)
ا ﻟ ﺮ ﺟﺎ ء ﻋﺪ مإ ﺳ ﺘ ﺨ ﺪ اما ﻟ ﻠ ﻬ ﺠ ﺔ ا ﻟ ﻌ ﺎ ﻣ ﻴ ﺔ
)</h2> <divclass="comment_form">
<?php if (get_option('comment_registration') && !$user_ID) :?>
<p>
ﻳ ﺠ ﺐ
<ahref ="<?php echo get_option('siteurl');?> /wp-login.php?redirect_to=<?
php echo urlencode(get_permalink ());?>">
ﺗ ﺴ ﺠ ﻴ ﻞ ا ﻟﺪ ﺧ ﻮ ل
</a>
ﻗ ﺒ ﻞ ا ﻟ ﺘ ﻌ ﻠ ﻴ ﻖ
</p><?php else:?>
<formaction="<?php echo get_option('siteurl');?> /wp-comments-post.php"
method="post" id="commentform">
<?php if ($user_ID) :?>
<divclass="comment_form_left">
<p>
دا ﺧﻞ ﺑﺈ ﺳﻢ
<ahref ="<?php echo get_option('siteurl');?> /wp-admin/
profile.php"><?php echo $user_identity;?></a>.<ahref ="<?php echo
get_option('siteurl');?> /wp-login.php?action=logout" title="Log out of this account">
ﺧ ﺮ وج
»</a></p> </div><?php else:?>
<divclass="comment_form_left">
<divclass="comment_form_name_desc comment_form_small_font">
اﻹ ﺳﻢ
)
ﺑﺎ ﻟ ﻌ ﺮ ﺑﻲ
):</div>
Add a Comment