mysql_query("UPDATE `flottes` SET `mission` = '6', `end_time` = '$tpsDD' WHERE `id_user` = '$id' AND `id` = '$ref';");
}
$template->assign_vars(array('NOM'=>$resultat['nom'],'MISSION'=>txtmission($resultat['mission']),'NOMBRE'=>$resultat['nb_vais'],'DATEDEP'=>dateFR(date('/D d M Y/Hi/',$resultat['start_time'])),'DATEARR'=>dateFR(date('/D d M Y/Hi/',$resultat['start_time']+$resultat['end_time'])),'DATERET'=>dateFR(date('/D d M Y/Hi/',$resultat['start_time']+$resultat['end_time']*2)),'LIEUDEP'=>$resultat['start_galaxie'].':'.$resultat['start_ss'].':'.$resultat['start_position'],'LIEUARR'=>$resultat['end_galaxie'].':'.$resultat['end_ss'].':'.$resultat['end_position'],'RETOUR'=>'<form method="post" action="flotte_detail.php?ref='.$ref.'&act=ret"><input type="submit" value="Forcer le retour" /></form>'));
}
/*FINPageFlotte
*
*/
$result=mysql_query("SELECT * FROM version ORDER BY temps DESC");