non c'entra nulla con la tua domanda... ma piuttosto che usare 4 if di seguito, potresti usare uno switch:

Codice PHP:
while(mysql_fetch_assoc($res)){ 
  switch(
$durata) {
    case 
'riposo':
      echo 
"Il giocatore riposa. </br>"
    
break;

    
//etc etc