?> </td> <td><?php echo $bug['assign_to']; ?> </td> <td><?php echo getstatetext($bug['state']); ?> </td> <td><?php echo fundatetime($bug['submitted_date']); ?> </td> <td><?php echo fundatetime($bug['last_date']); ?> </td> </tr> <?php } // Fin While $bugs ?> </table> </div> <script>document.title = "LSB : Liste des bugs";</script>
</form> </div> <?php $comments = $conn->query("SELECT * FROM comments c LEFT JOIN users u ON c.user_id=u.user_id WHERE bug_id={$bugid} ORDER BY comm_date DESC;"); ?> <?php while ($comment = mysqli_fetch_array($comments)) { ?> <div class="comment"> <div class="comm_info"> <span class="left">Posté par <?php echo $comment['realname']; ?> , le <?php echo fundatetime($comment['comm_date']); ?> </span><span class="right">#<?php echo $comment['comm_id']; ?> </span> </div> <div class="comm_text"> <?php echo $comment['comm_text']; ?> </div> </div> <?php } // Fin while ( $comment = mysqli_fetch_array($comments) ) {