<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo SYS_CHARSET ?>">
<title>edit contents</title>
<link href="<?php echo SYS_ADMIN_STYLE_PATH ?>style/common.css" rel="stylesheet" type="text/css">
<script language="javascript" src="<?php echo SYS_ADMIN_STYLE_PATH ?>js/validate.js"></script>
<script language="javascript" src="<?php echo SYS_ADMIN_STYLE_PATH ?>js/common.js"></script>
<script type="text/javascript" src="<?php echo DIR_INSTALL ?>plugins/kindeditor/kindeditor.js"></script>
<script language="javascript">
    KindEditor.eifrEditorData = new Array();
    KindEditor.eifrEditorData[0] = {editorObj:new Object(), fieldName:'content'}
    KindEditor.ready(function(K) {
        KindEditor.eifrEditorData[0].editorObj = K.create('textarea[name="content_html"]', {
            resizeType : 1,
            allowImageUpload : true,
            allowFileManager : false
        });
        
    });

</script>
</head>

<body>
<table class="nav_table" cellpadding="0" cellspacing="0">	
	<tr>
		<td class="nav_td"><?php echo $layout['eifrtf_menu_nav'] ?></td>
	</tr>	
</table>

<table class="toolbar_table" cellpadding="0" cellspacing="0">
    <tr>
        <td class="toolbar_td"><?php echo $layout['eifrtf_toolbar'] ?></td>
    </tr>
</table>


<table cellpadding="0" cellspacing="0" class="edit_tb">
  
  <form name="editForm" method="post" action=""> 	
  	<input type="hidden" name="selectid" id="selectValue" value="<?php echo $layout['eifrtf_selectid'] ?>">
	<input type="hidden" name="selectValue" id="selectValue" value="<?php echo $layout['eifrtf_selectid'] ?>">
    <input type="hidden" name="field"  value="<?php echo $layout['eifrtf_field'] ?>">
    <input type="hidden" name="content"  value="">
    </tr>
    <tr> 
      <td>
        <textarea id="content_html" name="content_html" rows="10" cols="80" style="width: 100%; height: 300px"><?php echo $layout['eifrtf_content']?></textarea>
	  </td>
    </tr>
  </form>
</table>

</body>
</html>

