<!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>Novo Item</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:
		[

['Source'],

['Undo','Redo'],

['Find','RemoveFormat'],

['Format','Font','FontSize'],

['TextColor','BGColor'],

['Bold','Italic','Underline'],

['Link','Unlink','Anchor'],

['Image'],


		]
	};

	// 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' lg='.$lg.''; ?>&pg=itens&opcao=novoitem">

<input type="text" name="id_item" size="5">

<textarea cols="30" rows="1" class="jquery_ckeditor" name="item"> 
</textarea>

<textarea cols="30" rows="1" class="jquery_ckeditor" name="detalhes"> 
</textarea>


<?php

echo'
<INPUT TYPE="hidden" name="lista" value="';


$sql = "select * from itens where cod_item = '$cat'";
$resulta = mysql_query ($sql);
while ( $valor = mysql_fetch_array($resulta) )
     {
        if($resulta == TRUE)
        {
echo''.$valor["cod_item"].'">';
        }
     } 

?>











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

</div>
</form>





<!--

['Source','-','Save','NewPage','Preview','-','Templates'],

['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print','SpellChecker','Scayt'],

['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],

['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],

'/',

['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],

['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],

['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],['BidiLtr','BidiRtl'],

['Link','Unlink','Anchor'],

['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],'/',

['Styles','Format','Font','FontSize'],['TextColor','BGColor'],

['Maximize','ShowBlocks','-','About']]

-->





</body>
</html>















