<?php
  /**
   * Copyright 2011 Zazavi - http://www.zazavi.com
   * Zazavi is free software released under the terms of the GNU General Public License.
   * You should have received a copy of the license.  If not, see <http://www.gnu.org/licenses/>.
   */
  
  if (!defined("_VALID_PHP"))
      die('Direct access to this location is not allowed.');
?>
<div class="commentWrap" id="wrapper_<?php echo $row['id'];?>">
  <div class="img-holder"> <img src="http://www.gravatar.com/avatar/<?php echo md5(strtolower(trim($row['email'])));?>?s=65" alt="<?php echo $row['username'];?>" class="avatar" /> 
  <a class="reply-link" href="#reply" onclick="updateOptions(<?php echo $row['id'];?>);" id="doreplay-<?php echo $row['id'];?>"><?php echo MOD_CM_REPLY2;?></a>
  </div>
  <div class="comment-body">
    <div class="com-box">
      <div class="desc">
        <h4>
		<?php if($com->show_username):?>
		  <?php if($com->show_www):?>
            <a href="<?php echo $row['www'];?>" target="_blank"><?php echo $row['username'];?></a>
          <?php else:?>
            <?php echo $row['username'];?>
          <?php endif;?>
        <?php endif;?> 
		<?php if ($com->show_email) echo $row['email'];?>
        </h4>
        <small>(<?php echo $row['cdate'];?>)</small></div>
      <p><?php echo cleanOut($row['body']);?></p>
      </div>
  </div>
</div>