<?php 
			   $requete = mysql_query("SELECT * FROM " . FORUM_THREADS_TABLE . " ORDER BY id DESC LIMIT 0,05");
			   while($sql = mysql_fetch_array($requete))
			   {
			  
			  $titre = stripslashes($sql['titre']);
			  $id_topics  = $sql['id'];
			  $forum_id = $sql['forum_id'];

			  ?>

		<div class="topics_content">
		    					<div class="icone"><img src="themes/Storka/images/arrow-f.png" alt="arrow"/></div>
					<div class="s_topics">
								<div class="topics_title"><a href="index.php?file=Forum&amp;page=viewtopic&amp;forum_id=<?php echo $forum_id; ?>&amp;thread_id=<?php echo $id_topics; ?>"><?php echo $titre = (strlen($titre) > 30) ? substr($titre,0,30) . '...' : $titre; ?></a></div>
							</div>
						  </div>
			  <?php }
			  ?>
				
				