<?php if (!defined('APP_PATH')) exit;?><html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
  <script type="text/javascript" src="http://127.0.0.5/magic/Data/Public/js/jquery.js"></script>
  <style type="text/css">
	#note{width:300px;height:280px;margin-top:-10px;background:url(../images/text-box.png) ;border:none;line-height:2;font-size:14px;outline:none;resize:none;}
  </style>
 </head>
 <body>
  <textarea id="note" onchange="javascript:$.post('?r=index-index-note',{content:this.value})"><?php echo $note['content'];?></textarea>
  <script>parent.$("#update").html("[<?php echo $note['update'];?>]")</script>
 </body>
</html>