Salut,
voici le code qui me permet de jongler avec plusieurs mis en page :
<?php      if (!isset($page) || $page=='' || $page=="default" ) $mep ="a";
    
    switch ($mep) {
    	case "a":
      echo '<td class="gauche" valign=top height="100%">';
      include('include/'.$_SESSION['langue'].'/frames/gauche.php');
      echo '</td><td class="centre-div">';
      	include('include/'.$_SESSION['langue'].'/frames/centre.php');        echo '</td>';
      echo '<td class="droite-news">';
      include('include/'.$_SESSION['langue'].'/frames/droite.php');
      echo '</td>';        	break;                case "c":        	echo '<td rowspan="2" class="gauche">';
      	include('include/'.$_SESSION['langue'].'/frames/gauche.php');
      	echo '</td><td colspan="2"  width="100%" height="100%" valign=top>';        	echo'<table cellspacing="0" cellpadding="0" valign=top ><tr><td class="titre-rubrique" >';
      	include('include/'.$_SESSION['langue'].'/frames/titre-rubrique.php');           echo '</td></tr><tr><td class="centre-full" valign=top>';             include('include/'.$_SESSION['langue'].'/frames/centre.php');                 echo '</td>';
           echo'</td></tr></table>';
           echo '</td>';             break;
              case "d":        	echo '<td rowspan="2" class="gauche">';
      	include('include/'.$_SESSION['langue'].'/frames/gauche.php');
      	echo '</td><td colspan="2" height="100%" valign=top>';        	echo'<table cellspacing="0" cellpadding="0" valign=top >';
         echo '<tr><td class="centre-full" valign=top>';             include('include/'.$_SESSION['langue'].'/frames/centre.php');                 echo '</td>';
           echo'</td></tr></table>';
           echo '</td>';             break;  
        
        default:
    	echo '<td class="gauche">';
    	include('include/'.$_SESSION['langue'].'/frames/gauche.php');
    	echo '</td><td colspan="2"  class="main-droite" >';      	echo'<table cellspacing="0" cellpadding="0" valign=top ><tr><td class="titre-rubrique" colspan=2>';
    	include('include/'.$_SESSION['langue'].'/frames/titre-rubrique.php');          echo '</td></tr><tr><td class="centre-full" valign=top>';             include('include/'.$_SESSION['langue'].'/frames/centre.php');             echo '</td><td class="droite">';             include('include/'.$_SESSION['langue'].'/frames/droite.php');             echo'</td></tr></table>';
           echo '</td>';      	break;         }  
    ?>  | 
 
Ou est ce que je pourrais insérer:
si $langue=ru alors $mep sera toujours =d
?
svp
Merci