<form method="post" action="

<?php
echo'adm_materias.php?usr='.$usr.'&sec='.$sec.'&opcao=altera&flag=gravar">

<INPUT TYPE="hidden" name="cod" value="'.$valor["cod_materia"].'">

<INPUT TYPE="hidden" name="id" value="'.$valor["id"].'">
<INPUT TYPE="hidden" name="nome" value="'.$valor["nome"].'">
<INPUT TYPE="hidden" name="titulo_onoff" value="'.$valor["titulo_onoff"].'">
<INPUT TYPE="hidden" name="pagina" value="'.$valor["pagina"].'">
<INPUT TYPE="hidden" name="secao" value="'.$valor["secao"].'">
<INPUT TYPE="hidden" name="titulo" value="'.$valor["titulo"].'">

<INPUT TYPE="hidden" name="cont2" value="'.$valor["cont2"].'">

<INPUT type="hidden" name="estagio" value="'.$valor["estagio"].'">
<INPUT type="hidden" name="pchave" value="'.$valor["pchave"].'">

<INPUT type="hidden" name="link_retorno" value="'.$valor["link_auto"].'">
<INPUT type="hidden" name="link_alter" value="'.$valor["link_alter"].'">
<INPUT type="hidden" name="url_alter" value="'.$valor["url_alter"].'">










';
?>








    <div>


      <textarea cols="80" rows="10" id="cont1" name="cont1"> 

<?php 

echo'
'.$valor["cont1"].'
';
?>

      </textarea>

      <script type="text/javascript">
        CKEDITOR.replace( 'cont1' );
      </script>

<br/>

<div id="mat_info">
Upload:
<br/>
<a href="javascript:setor1()">
<img border="0" src="images/botao_arquivos.gif" width="28" height="28">
</a>
</div>




<div style="float: right; margin-right: 20px;">
&nbsp;<br/>
<input type="submit" value="SALVAR"/>
</div>

<br/><br/><br/>
      
    </div>
  </form>

