<? session_start();
   include("controlador.php");    
   if(isset($_POST["cadastro_usuario"]) and $_POST["cadastro_usuario"]=='usuario'){
      include 'processInsereUsuario.php';
   }
   if(isset($_POST["altUsuario"]) and $_POST["altUsuario"]=='usuario'){
      include 'processUpdateUsuario.php';
   }   
   if(isset($_POST["cadastro_produto"]) and $_POST["cadastro_produto"]=='produto'){
      include 'processInsereProduto.php';
   }   
         

   include 'cabecalho.php';      
?>
    <tr>    
      <td>
	    <table>
            <tr>
              <td class="left_block" valign="top">
                <table border="0" align="left">
                  <tr>
                     <td  style="margin-left: 0px">
                       <div>
                       <? include 'menu.php'; ?>
                       </div>
                     </td>
                  </tr>
                </table>
              </td>            
              <td id="centercolumn">
	              <br />
	               <table align="center" cellpadding="0" cellspacing="0" border="0">
	                <tr> 
	                  <td class="cc_block_content">
						   <div id="msg">  	
						   	   <?=$msg; ?>
						   </div>	                  
					  </td>
	                </tr>
	              </table>
	              <br />  
            </td>
          </tr>
        </table>
      </td>
   </tr>        
  <? include 'rodape.php' ?>