if($_GET['err']==1)$ERREUR='<div class="centre"><table style="margin-left: auto; margin-right: auto;"><tr><td><font color="#FF0000"><b>Cette technologie est d<>j<EFBFBD> en cours de recherche, vous ne pouvez pas la rajouter dans la file d\'attente</b></font></td></tr></table></div><br />';
elseif($_GET['err']==2)$ERREUR='<div class="centre"><table style="margin-left: auto; margin-right: auto;"><tr><td><font color="#FFCC00"><b>La production <20> la cha<68>ne a <20>t<EFBFBD> arr<72>t<EFBFBD>e</b></font></td></tr></table></div><br />';
if(is_array($fileTec)&&$tec==$i+1){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>';}
elseif(is_array($fileTec)&&ereg(($i+1).',',implode(',',$fileTec).',')){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche dans la file d\'attente';}
elseif($bat==7)$action='Le laboratoire est en cours d\'<27>volution';
if(is_array($fileTec)&&$tec==$i+1){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>';}
elseif(is_array($fileTec)&&ereg(($i+1).',',implode(',',$fileTec).',')){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche dans la file d\'attente';}
elseif($bat==7)$action='Le laboratoire est en cours d\'<27>volution';
if(is_array($fileTec)&&$tec==$i+1){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>';}
elseif(is_array($fileTec)&&ereg(($i+1).',',implode(',',$fileTec).',')){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche dans la file d\'attente';}
elseif($bat==7)$action='Le laboratoire est en cours d\'<27>volution';
if(is_array($fileTec)&&$tec==$i+1){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>';}
elseif(is_array($fileTec)&&ereg(($i+1).',',implode(',',$fileTec).',')){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche dans la file d\'attente';}
elseif($bat==7)$action='Le laboratoire est en cours d\'<27>volution';
if(is_array($fileTec)&&$tec==$i+1){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>';}
elseif(is_array($fileTec)&&ereg(($i+1).',',implode(',',$fileTec).',')){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche dans la file d\'attente';}
elseif($bat==7)$action='Le laboratoire est en cours d\'<27>volution';
if(is_array($fileTec)&&$tec==$i+1){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>';}
elseif(is_array($fileTec)&&ereg(($i+1).',',implode(',',$fileTec).',')){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche dans la file d\'attente';}
elseif($bat==7)$action='Le laboratoire est en cours d\'<27>volution';
if(is_array($fileTec)&&$tec==$i+1){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>';}
elseif(is_array($fileTec)&&ereg(($i+1).',',implode(',',$fileTec).',')){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche dans la file d\'attente';}
elseif($bat==7)$action='Le laboratoire est en cours d\'<27>volution';
if(is_array($fileTec)&&$tec==$i+1){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>';}
elseif(is_array($fileTec)&&ereg(($i+1).',',implode(',',$fileTec).',')){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche dans la file d\'attente';}
elseif($bat==7)$action='Le laboratoire est en cours d\'<27>volution';
if(is_array($fileTec)&&$tec==$i+1){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>';}
elseif(is_array($fileTec)&&ereg(($i+1).',',implode(',',$fileTec).',')){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche dans la file d\'attente';}
elseif($bat==7)$action='Le laboratoire est en cours d\'<27>volution';
if(is_array($fileTec)&&$tec==$i+1){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>';}
elseif(is_array($fileTec)&&ereg(($i+1).',',implode(',',$fileTec).',')){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche dans la file d\'attente';}
elseif($bat==7)$action='Le laboratoire est en cours d\'<27>volution';
if(is_array($fileTec)&&$tec==$i+1){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>';}
elseif(is_array($fileTec)&&ereg(($i+1).',',implode(',',$fileTec).',')){$tr=$fileTemps_t[0]+$fileTemps_t[1]-time();$action='Recherche dans la file d\'attente';}
elseif($bat==7)$action='Le laboratoire est en cours d\'<27>volution';