12c12 < $forty="50"; // 70 --- > $forty="65"; // 70 22c22 < $extbit='*.[tjpmwag][xpnopaid][etgvf34]*'; --- > $extbit='*.txt'; 27c27 < $extbit='*.[tjpmwag][xpnopaid][etgvf34]*'; --- > $extbit='*.txt'; 30c30 < $resis=str_replace($_SERVER['DOCUMENT_ROOT'],'',shell_exec('ls -lhgo ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $offdr . $extbit)); --- > $resis=str_replace($_SERVER['DOCUMENT_ROOT'],'',shell_exec('ls -clt ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $offdr . $extbit)); 64c64 < var fsub='fsub', wo=null, divelem=null, gtao=null; --- > var fsub='fsub', wo=null; 91,157c91 < < function wbt(tao) { < //alert(tao.value); < if (tao) { < if (!divelem) { < gtao=tao; < //document.getElementById('helpout').style.backgroundColor='yellow'; < //document.getElementById('dcont').style.backgroundColor='yellow'; < if (tao.value.trim() != '') { < divelem = document.getElementById('djc'); < gtao=tao; < var recto = tao.getBoundingClientRect(); < if (divelem) { // thanks to ideas off http://stackoverflow.com/questions/12266320/copy-div-content-to-textarea-or-text-with-the-same-font-family-style < divelem.style.display='block'; //'flex'; < //divelem.style.alignItems='flex-end'; < divelem.style.overflowY='scroll'; < //divelem.style.flexFlow='column nowrap'; < divelem.style.flexDirection='column-reverse'; < divelem.style.fontFamily = 'Courier-New'; //window.getComputedStyle(tao,null).fontFamily || tao.style.fontFamily || tao.currentStyle.getCurrentProperty('font-family'); < divelem.style.fontSize = window.getComputedStyle(tao,null).fontSize || tao.style.fontSize || tao.currentStyle.getCurrentProperty('font-size'); < divelem.style.border = window.getComputedStyle(tao,null).border || tao.style.border || tao.currentStyle.getCurrentProperty('border'); < divelem.style.padding = window.getComputedStyle(tao,null).padding || tao.style.padding || tao.currentStyle.getCurrentProperty('padding'); < divelem.style.margin = window.getComputedStyle(tao,null).margin || tao.style.margin || tao.currentStyle.getCurrentProperty('margin'); < divelem.style.overflow = window.getComputedStyle(tao,null).overflow || tao.style.overflow || tao.currentStyle.getCurrentProperty('overflow'); < divelem.style.position='absolute'; < divelem.style.left='' + recto.left + 'px'; < divelem.style.width='' + eval(-20 + recto.width) + 'px'; < divelem.style.height='' + recto.height + 'px'; < divelem.style.top='' + eval(-4 + recto.top) + 'px'; < //alert('' + recto.top + ' ' + recto.height + ' ' + ' ... ' + 'eval(-4 + recto.top + recto.height)=' + eval(-4 + recto.top + recto.height)); < //divelem.style.bottom='' + eval(-4 + recto.top + recto.height) + 'px'; < divelem.style.zIndex='999'; < //divelem.scrollTop=divelem.scrollHeight; < //setTimeout(function(){ divelem.scrollTop=divelem.scrollHeight; }, 4000); < tao.style.color='transparent'; < //var contis=massage(tao.value); < //alert(contis); < //while (contis.indexOf(String.fromCharCode(10)) != -1) { < // contis=contis.replace(String.fromCharCode(10), '
'); < //} < //alert(contis); < //divelem.innerHTML=contis; < } < } < var taovalue=tao.value.replace(/\/g,'>'); < while (taovalue.indexOf(String.fromCharCode(10)) != -1) { < taovalue=taovalue.replace(String.fromCharCode(10),'
'); < } < document.getElementById('djc').innerHTML='
' + massage(taovalue) + '
'; < var sps=document.getElementsByTagName('span'); < for (var isps=0; isps 164c98 < document.getElementById('midtd').innerHTML=\"\"; --- > document.getElementById('midtd').innerHTML=\"\"; 169c103 < document.getElementById('jc').title=\"" . str_replace("\n","\" + String.fromCharCode(10) + \"",str_replace($_SERVER['DOCUMENT_ROOT'],'',$resis)) . "\"; --- > document.getElementById('tres').title=\"" . str_replace("\n","\" + String.fromCharCode(10) + \"",str_replace($_SERVER['DOCUMENT_ROOT'],'',$resis)) . "\"; 176,235d109 < wbt(document.getElementById('jc')); < } < < function rez(ota) { < if (divelem && ota == gtao) { // thanks to ideas off http://stackoverflow.com/questions/12266320/copy-div-content-to-textarea-or-text-with-the-same-font-family-style < //alert(1); < var recto = gtao.getBoundingClientRect(); < var jrecto = document.getElementById('jcont').getBoundingClientRect(); < var drecto = document.getElementById('dcont').getBoundingClientRect(); < //alert(12); < //alert(31); < if (eval('' + recto.width) > eval('' + drecto.width)) { < //alert(31); < document.getElementById('dcont').style.width='' + eval(30 + eval('' + recto.width)) + 'px'; < } < if (eval('' + recto.height) > eval('' + drecto.height)) { < //alert(31); < document.getElementById('dcont').style.height='' + eval(30 + eval('' + recto.height)) + 'px'; < } < if (eval('' + recto.width) > eval('' + jrecto.width)) { < //alert(41); < document.getElementById('jcont').style.width='' + eval(20 + eval('' + recto.width)) + 'px'; < } < if (eval('' + recto.height) > eval('' + jrecto.height)) { < //alert(41); < document.getElementById('jcont').style.height='' + eval(20 + eval('' + recto.height)) + 'px'; < } < divelem.style.left='' + recto.left + 'px'; < //alert(41); < divelem.style.width='' + eval(-20 + recto.width) + 'px'; < //alert(51); < divelem.style.height='' + recto.height + 'px'; < //alert(61); < //divelem.style.top='' + eval(-4 + recto.top) + 'px'; < //divelem.style.bottom='' + eval(-4 + recto.top + recto.height) + 'px'; < divelem.style.zIndex='999'; < divelem.sty.e.whitespace='pre'; < //alert(71); < gtao.style.color='transparent'; < //alert(81); < } < } < < < function massage(tv) { < var tscnt=0, itv=0, ihis='', uids=[]; < var tlls=tv.split('
'); < for (itv=eval(-1 + tlls.length); itv>=0; itv--) { < if (tlls[itv].indexOf(' /') != -1) { < uids=tlls[itv].split(' /'); < ihis=tlls[itv].replace(tlls[itv].split(' /')[0] + ' ',''); < if (eval('' + uids.length) == 3) { < tv=tv.replace(tlls[itv].split(' /')[0] + ' ' + ihis, tlls[itv].split(' /')[0] + ' ' + ihis.split('%20-')[0].split(' -')[0] + ''); < } else { < tv=tv.replace(tlls[itv].split(' /')[0] + ' ' + ihis, tlls[itv].split(' /')[0] + ' ' + ihis.split('%20-')[0].split(' -')[0] + ''); < } < } < } < setInterval(function(){ var onerect=document.getElementById('djc').getBoundingClientRect(), tworect=document.getElementById('jc').getBoundingClientRect(); if (Math.abs(eval(eval(('' + onerect.height) - eval('' + tworect.height)))) > 20) { document.getElementById('djc').style.height='' + tworect.height + 'px'; document.getElementById('djc').style.width='' + eval(-20 + tworect.width) + 'px'; } }, 6000); < return tv; 243c117 <
--- > 255,256c129,130 < $extbit='*.[tjpmwag][xpnopaid][etgvf34]*'; < $resis=str_replace($_SERVER['DOCUMENT_ROOT'],'',shell_exec('ls -lhgo ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $offdr . $extbit)); --- > $extbit='*.txt'; > $resis=str_replace($_SERVER['DOCUMENT_ROOT'],'',shell_exec('ls -clt ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $offdr . $extbit)); 262,263c136,137 < $extbit='*.[tjpmwag][xpnopaid][etgvf34]*'; < $resis=str_replace($_SERVER['DOCUMENT_ROOT'],'',shell_exec('ls -lhgo ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $offdr . $extbit)); --- > $extbit='*.txt'; > $resis=str_replace($_SERVER['DOCUMENT_ROOT'],'',shell_exec('ls -clt ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $offdr . $extbit)); 275c149 < var fsub='fsub', divelem=null, gtao=null; --- > var fsub='fsub'; 286,353d159 < function wbt(tao) { < //alert(tao.value); < if (tao) { < if (!divelem) { < gtao=tao; < //document.getElementById('helpout').style.backgroundColor='yellow'; < //document.getElementById('dcont').style.backgroundColor='yellow'; < if (tao.value.trim() != '') { < divelem = document.getElementById('djc'); < gtao=tao; < var recto = tao.getBoundingClientRect(); < if (divelem) { // thanks to ideas off http://stackoverflow.com/questions/12266320/copy-div-content-to-textarea-or-text-with-the-same-font-family-style < divelem.style.display='block'; //'flex'; < //divelem.style.alignItems='flex-end'; < divelem.style.overflowY='scroll'; < //divelem.style.flexFlow='column nowrap'; < divelem.style.flexDirection='column-reverse'; < divelem.style.fontFamily = 'Courier-New'; //window.getComputedStyle(tao,null).fontFamily || tao.style.fontFamily || tao.currentStyle.getCurrentProperty('font-family'); < divelem.style.fontSize = window.getComputedStyle(tao,null).fontSize || tao.style.fontSize || tao.currentStyle.getCurrentProperty('font-size'); < divelem.style.border = window.getComputedStyle(tao,null).border || tao.style.border || tao.currentStyle.getCurrentProperty('border'); < divelem.style.padding = window.getComputedStyle(tao,null).padding || tao.style.padding || tao.currentStyle.getCurrentProperty('padding'); < divelem.style.margin = window.getComputedStyle(tao,null).margin || tao.style.margin || tao.currentStyle.getCurrentProperty('margin'); < divelem.style.overflow = window.getComputedStyle(tao,null).overflow || tao.style.overflow || tao.currentStyle.getCurrentProperty('overflow'); < divelem.style.position='absolute'; < divelem.style.left='' + recto.left + 'px'; < divelem.style.width='' + eval(-20 + recto.width) + 'px'; < divelem.style.height='' + recto.height + 'px'; < divelem.style.top='' + eval(-4 + recto.top) + 'px'; < //alert('' + recto.top + ' ' + recto.height + ' ' + ' ... ' + 'eval(-4 + recto.top + recto.height)=' + eval(-4 + recto.top + recto.height)); < //divelem.style.bottom='' + eval(-4 + recto.top + recto.height) + 'px'; < divelem.style.zIndex='999'; < divelem.style.whiteSpace='pre'; < //divelem.scrollTop=divelem.scrollHeight; < //setTimeout(function(){ divelem.scrollTop=divelem.scrollHeight; }, 4000); < tao.style.color='transparent'; < //var contis=massage(tao.value); < //alert(contis); < //while (contis.indexOf(String.fromCharCode(10)) != -1) { < // contis=contis.replace(String.fromCharCode(10), '
'); < //} < //alert(contis); < //divelem.innerHTML=contis; < } < } < var taovalue=tao.value.replace(/\/g,'>'); < while (taovalue.indexOf(String.fromCharCode(10)) != -1) { < taovalue=taovalue.replace(String.fromCharCode(10),'
'); < } < document.getElementById('djc').innerHTML='
' + massage(taovalue) + '
'; < var sps=document.getElementsByTagName('span'); < for (var isps=0; isps document.getElementById('tres').title=\"" . str_replace("\n","\" + String.fromCharCode(10) + \"",str_replace($_SERVER['DOCUMENT_ROOT'],'',$resis)) . "\"; 390,449d195 < wbt(document.getElementById('jc')); < } < < function rez(ota) { < if (divelem && ota == gtao) { // thanks to ideas off http://stackoverflow.com/questions/12266320/copy-div-content-to-textarea-or-text-with-the-same-font-family-style < //alert(1); < var recto = gtao.getBoundingClientRect(); < var jrecto = document.getElementById('jcont').getBoundingClientRect(); < var drecto = document.getElementById('dcont').getBoundingClientRect(); < //alert(12); < //alert(31); < if (eval('' + recto.width) > eval('' + drecto.width)) { < //alert(31); < document.getElementById('dcont').style.width='' + eval(30 + eval('' + recto.width)) + 'px'; < } < if (eval('' + recto.height) > eval('' + drecto.height)) { < //alert(31); < document.getElementById('dcont').style.height='' + eval(30 + eval('' + recto.height)) + 'px'; < } < if (eval('' + recto.width) > eval('' + jrecto.width)) { < //alert(41); < document.getElementById('jcont').style.width='' + eval(20 + eval('' + recto.width)) + 'px'; < } < if (eval('' + recto.height) > eval('' + jrecto.height)) { < //alert(41); < document.getElementById('jcont').style.height='' + eval(20 + eval('' + recto.height)) + 'px'; < } < divelem.style.left='' + recto.left + 'px'; < //alert(41); < divelem.style.width='' + eval(-20 + recto.width) + 'px'; < //alert(51); < divelem.style.height='' + recto.height + 'px'; < //alert(61); < //divelem.style.top='' + eval(-4 + recto.top) + 'px'; < //divelem.style.bottom='' + eval(-4 + recto.top + recto.height) + 'px'; < divelem.style.zIndex='999'; < divelem.style.whiteSpace='pre'; < //alert(71); < gtao.style.color='transparent'; < //alert(81); < } < } < < < function massage(tv) { < var tscnt=0, itv=0, ihis='', uids=[]; < var tlls=tv.split('
'); < for (itv=eval(-1 + tlls.length); itv>=0; itv--) { < if (tlls[itv].indexOf(' /') != -1) { < uids=tlls[itv].split(' /'); < ihis=tlls[itv].replace(tlls[itv].split(' /')[0] + ' ',''); < if (eval('' + uids.length) == 3) { < tv=tv.replace(tlls[itv].split(' /')[0] + ' ' + ihis, tlls[itv].split(' /')[0] + ' ' + ihis.split('%20-')[0].split(' -')[0] + ''); < } else { < tv=tv.replace(tlls[itv].split(' /')[0] + ' ' + ihis, tlls[itv].split(' /')[0] + ' ' + ihis.split('%20-')[0].split(' -')[0] + ''); < } < } < } < setInterval(function(){ var onerect=document.getElementById('djc').getBoundingClientRect(), tworect=document.getElementById('jc').getBoundingClientRect(); if (Math.abs(eval(eval(('' + onerect.height) - eval('' + tworect.height)))) > 20) { document.getElementById('djc').style.height='' + tworect.height + 'px'; document.getElementById('djc').style.width='' + eval(-20 + tworect.width) + 'px'; } }, 6000); < return tv; 457c203 <
--- >