core_second/functions/functions.administration.php
/**************************************************
 * SET OF FUNCTIONS TO MANAGE ADMINISTRATION PAGE *
 **************************************************/
SET OF FUNCTIONS TO MANAGE ADMINISTRATION PAGE
SET OF FUNCTIONS TO MANAGE ADMINISTRATION PAGE
function select_messages()
{
  echo '<h2>Gestion des messages de contact</h2>';
  echo '<form name="mail" action="index.php?page=administration&manage=mail" method="post">
        <select name="mail_sort">
          <option value="">Type de classement</option>
          <option value="datedesc"> Les plus récents</option>
          <option value="dateasc"> Les plus anciens</option>
          <option value="noanswer">Messages non répondus</option>
          <option value="answer">Messages répondus</option>
          <option value="anonymous">Messages anonymes</option>
          <option value="user">Messages utilisateurs</option>
        </select>
        <input type="submit" value="Rechercher" name="mail_submit"/>
      </form>';
}
function select_messages ( ) { echo '<h2>Gestion des messages de contact</h2>' ; echo '<form name="mail" action="index.php?page=administration&manage=mail" method="post">
        <select name="mail_sort">
          <option value="">Type de classement</option>
          <option value="datedesc"> Les plus récents</option>
          <option value="dateasc"> Les plus anciens</option>
          <option value="noanswer">Messages non répondus</option>
          <option value="answer">Messages répondus</option>
          <option value="anonymous">Messages anonymes</option>
          <option value="user">Messages utilisateurs</option>
        </select>
        <input type="submit" value="Rechercher" name="mail_submit"/>
      </form>' ; }
SET OF FUNCTIONS TO MANAGE ADMINISTRATION PAGE
SET OF FUNCTIONS TO MANAGE ADMINISTRATION PAGE