<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>jQuery adapter - CKEditor Sample</title>
	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
	<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
	<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
	<script type="text/javascript" src="ckeditor/adapters/jquery.js"></script>
	<script src="ckeditor/samples/sample.js" type="text/javascript"></script>
	<link href="ckeditor/samples/sample.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript">
	//<![CDATA[

$(function()
{
	var config = {
		toolbar:
		[

['-']

		]
	};

	// Initialize the editor.
	// Callback function can be passed and executed after full instance creation.
	$('.jquery_ckeditor').ckeditor(config);
});

	//]]>
	</script>
</head>
<body>

<form method="post" action="
<?php
echo'adm_secoes.php?lg='.$lg.'&opcao=altera&flag=gravar">

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

'; ?>

<div>

<div style="float: right; margin-right: 20px;">
<input type="submit" value="SALVAR"  style="margin-left: 10px; margin-top: 10px;"/>
</div>

<textarea cols="50" rows="2" class="jquery_ckeditor" name="nome_secao">
<?php echo''.$valor["nome_secao"].''; ?>
</textarea>

<br/>

<?php

echo'
Ordem
<br/>
<input type="text" name="id_secao" value="'.$valor["id_secao"].'" size="3">
<br/>

Tipo de Conte&uacute;do
<br/>
<select name="cont_secao">
<option selected value="'.$valor["cont_secao"].'">
'.$valor["cont_secao"].'
</option>
<option value="pg">
PG
</option>
<option value="mod">
MOD
</option>
</select>
<br/>';

?>

    
</div>
</form>

</body>
</html>


