Ejemplo n.º 1
0
		
		<div style="display:none;" id="comment<?php 
    echo $row['id'];
    ?>
" class="commentBox">

			<br/><input type="submit" value="<?php 
    echo $language->lang_echo('SUBMIT');
    ?>
" name="comment" class="button" />
		</div>
		
	</div>
	
	<?php 
    if ($comments->getReplies($row['id'])) {
        ?>
		<?php 
        foreach ($comments->getReplies($row['id']) as $comment) {
            ?>
			
			<div style="display:block; padding:10px; margin-left: 20px; border-bottom:1px solid #d9d9d9; background:#eee;">
			 	<?php 
            $files = new files();
            $file = $files->getFile($comment['profileId']);
            $img = '/includes/modules/general/templates/img/default-user.png';
            if ($file && file_exists($_SERVER['DOCUMENT_ROOT'] . '/userdata/user/' . $file['encName'] . '.' . $file['extension'])) {
                $img = '/userdata/user/' . $file['encName'] . '.' . $file['extension'];
            }
            ?>