<div id="dialog-form" title="Create new user">
  <p class="validateTips">All form fields are required.</p>
 
  <form>
  <fieldset>
    <label for="name">Titre</label>
    <input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all">
    <label for="email">Date du debut</label>
    <input type="text" name="email" id="email" value="" class="text ui-widget-content ui-corner-all">
    <label for="password">Password</label>
    <input type="password" name="password" id="password" value="" class="text ui-widget-content ui-corner-all">
  </fieldset>
  </form>
</div>
 
 
<div id="users-contain" class="ui-widget">
  <h1>Existing Users:</h1>
  <table id="users" class="ui-widget ui-widget-content">
    <thead>
      <tr class="ui-widget-header ">
        <th>ID</th>
        <th>Titre</th>
        <th>Date du debut</th>
        <th>Date d'expiration</th>
        <th>Texte</th>
      </tr>
    </thead>
    <tbody>
	  <?php foreach ($actualites as $actualite) : ?>
      <tr>
	    <td><?php echo $actualite['id']; ?></td>
        <td><?php echo $actualite['titre']; ?></td>
        <td><?php echo $actualite['date_debut']; ?></td>
        <td><?php echo $actualite['date_exp']; ?></td>
        <td><?php echo  substr($actualite['text'],0,32); ?>...</td>
      </tr>
	 <?php endforeach; ?>
    </tbody>
  </table>
</div>
<button id="create-user">Create new user</button>
 
 
