Edit code: here. | Add this to your website. | Report abuse.
Short URL: http://goo.gl/BWroq
Pasted as PHP by Jonathan on Wednesday, October 19th, 2011 9:22pm ( 7 months ago )
- ------------------------------------------
- echo '<div class="news">';
- echo '<h1 class="titre_news">'.stripslashes($data['titre']).'</h1>';
- echo '<p class="date_news"> écrit le : '. date("d/m/Y à H\hi", $data['timestamp']).'</p>';
- echo '<p>'.stripslashes($data['contenu']).'</p>';
- echo '</div>';
- -----------------------------------------------
- <div class="titreplanning">
- <h2 class="titrenews"><a href="news.php?id=<?php echo $data['id']; ?>"><?php echo stripslashes($data['titre']);?></a></h2>
- <p class="attentiontwitter">écrit le </span>: <?php echo date('d/m/Y à H\hi', $data['timestamp']); ?></p>
- <p> </p>
- </div>