Aqui el codigo y esque a lo mucho tengo 3 meses aprendiendo todo esto de la programacion!
Código PHP:
Ver original<?php if ($totalRows_ConPublications > 0) { // Show if recordset not empty ?>
<?php do { ?>
<!----------- Publications ----------->
<div class="sections-publications">
<div class="publications-img-profile"> <img src="Topics/images/G_Profile.png" width="192" height="192" /> </div>
<div class="publications-content">
<div class="publications-profile-title"> Nombre del usuario <a class="publications-time">Publicado hace 7 min</a> </div>
<div class="publications"> <?php echo $row_ConPublications['G_Publications']; ?>
<div class="publications-actions">
<div class="publications-mark-content"> Me gusta </div>
<div class="publications-mark-content"> No me gusta </div>
<div class="publications-mark-content"> <a href="Topics/modules/includes/comments.php?Publication=<?php echo $row_ConPublications['idPublications']; ?>">Comentar</a> </div>
<div class="publications-mark-content-share"> <img src="Topics/Images/G_Share.png" width="16" height="16" />Compartir </div>
</div>
</div>
</div>
<!----------- end Publications ----------->
<div class="publications-commentbox">
<div class="publications-comment-result"> Ati te <a class="publication-comment-result-select">gusta</a> esto </div>
<!----------- body comment ----------->
<?php if ($row_ConPublications['idPublication'] > 0) { // Show if recordset not empty ?>
<div class="publications-comment-content">
<div class="publications-comment-profile"> <img src="Topics/images/G_Profile.png" width="192" height="192" /> </div>
<div class="publications-comment-body"> <a class="publications-comment-title"> Nombre del que comenta </a> <?php echo $row_ConPublications['G_Comment']; ?>
<div class="publications-comment-statistical"> <a class="publication-comment-result-select"> Me gusta No me Gusta </a> <a class="publications-comment-time">Hace 7 min</a> </div>
</div>
</div>
<?php } ?>
<div class="publications-addcomment">
<div class="publications-comment-profile"> <img src="Topics/images/G_Profile.png" /> </div>
<div class="publications-comment-upload"> <img src="Topics/images/G_Photo.png" width="18" height="18" /> </div>
<form action="<?php echo $editFormAction; ?>" method="post" name="addComment" id="addComment">
<textarea class="publications-comment-textarea" placeholder="Escribe un comentario..." name="G_Comment" cols="" rows=""></textarea>
<input name="idUser" type="hidden" value="<?php echo $_SESSION['MM_User']; ?>" />
<input name="idPublication" type="hidden" value="<?php echo $row_ConPublications['idPublications']; ?>" />
<input name="G_Photo" type="hidden" value="" />
<input name="G_Time" type="hidden" value="" />
<input type="hidden" name="MM_insert" value="addComment" />
</form>
</div>
<!----------- end body Commment ----------->
</div>
<!----------- end Commment ----------->
</div>
<?php } // Show if recordset not empty ?>
<?php
?>