"; unlink($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . "tmp" . DIRECTORY_SEPARATOR . basename(str_replace(".pdf",".xxx",str_replace('+',' ',urldecode($_GET['apdfname']))))); if (4 == 4) { header('Content-Type: application/pdf'); header('Cache-Control: public, must-revalidate, max-age=0'); // HTTP/1.1 header('Pragma: public'); header('Expires: Sat, 26 Jul 1997 05:00:00 GMT'); // Date in the past header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); header('Content-Length: ' . strlen(file_get_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . "tmp" . DIRECTORY_SEPARATOR . basename(str_replace('+',' ',urldecode($_GET['apdfname'])))))); header("Content-Disposition: inline; filename=input.pdf"); echo file_get_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . "tmp" . DIRECTORY_SEPARATOR . basename(str_replace('+',' ',urldecode($_GET['apdfname'])))); unlink($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . "tmp" . DIRECTORY_SEPARATOR . basename(str_replace('+',' ',urldecode($_GET['apdfname'])))); exit; } else { echo $hsofar; $thingtoattendto=$_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . "tmp" . DIRECTORY_SEPARATOR . basename(str_replace('+',' ',urldecode($_GET['apdfname']))); register_shutdown_function('shutdown'); //sleep(45); //unlink($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . "tmp" . DIRECTORY_SEPARATOR . basename(str_replace('+',' ',urldecode($_GET['apdfname'])))); shutdown() and exit; } } if (isset($_POST['apdflist']) && isset($_POST['apdfname'])) { file_put_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . "tmp" . DIRECTORY_SEPARATOR . basename(str_replace(".pdf",".xxx",str_replace('+',' ',urldecode($_POST['apdfname'])))), str_replace(",","\n" . $_SERVER['DOCUMENT_ROOT'], $_SERVER['DOCUMENT_ROOT'] . str_replace('+',' ',urldecode($_POST['apdflist'])))); exec($convprefix . 'convert @' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . "tmp" . DIRECTORY_SEPARATOR . basename(str_replace(".pdf",".xxx",str_replace('+',' ',urldecode($_POST['apdfname'])))) . ' ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . "tmp" . DIRECTORY_SEPARATOR . basename(str_replace('+',' ',urldecode($_POST['apdfname'])))); $hsofar=""; $thingtoattendto=$_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . "tmp" . DIRECTORY_SEPARATOR . basename(str_replace('+',' ',urldecode($_POST['apdfname']))); register_shutdown_function('shutdown'); //sleep(45); //unlink($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . "tmp" . DIRECTORY_SEPARATOR . basename(str_replace('+',' ',urldecode($_POST['apdfname'])))); shutdown() and exit; } } if (isset($_POST['ajaxurl']) && isset($_POST['ajaxid'])) { echo "" . $_POST['ajaxid'] . '

' . str_replace($_SERVER['DOCUMENT_ROOT'],'',shell_exec('file "' . $_SERVER['DOCUMENT_ROOT'] . str_replace('+',' ',urldecode($_POST['ajaxurl'])) . '"')) . "

"; exit; } $offdr=''; $resis=''; $offdrverbose=''; $fifteen="15"; $forty="50"; // 70 $selbit=''; $more=''; if (isset($_GET['fsub'])) { $fifteen=str_replace('+',' ',urldecode($_GET['fsub'])); } if (isset($_POST['fsub'])) { $fifteen=str_replace('+',' ',urldecode($_POST['fsub'])); } if (isset($_GET['anyway']) || (!isset($_GET['offdr']) && !isset($_POST['offdr']))) { $extbit='*.txt'; if (isset($_GET['extbit'])) { $extbit=str_replace('+',' ',urldecode($_GET['extbit'])); } if (isset($_POST['extbit'])) { $extbit=str_replace('+',' ',urldecode($_POST['extbit'])); } $extbit='*.[tjpmwag][xpnopaid][etgvf34]*'; if (isset($_GET['offdr'])) { $offdr=str_replace('+',' ',urldecode($_GET['offdr'])); $extbit='*.txt'; if (isset($_GET['extbit'])) { $extbit=str_replace('+',' ',urldecode($_GET['extbit'])); } $extbit='*.[tjpmwag][xpnopaid][etgvf34]*'; $more=" document.getElementById('offdr').value='" . $offdr . "'; document.getElementById('offdr').style.width='" . $fifteen . "px'; document.getElementById('fsub').name='fsub'; document.getElementById('fsub').click(); "; } $resis=str_replace($_SERVER['DOCUMENT_ROOT'],'',shell_exec('ls -lhgo ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $offdr . $extbit)); if ($resis == '') { $forty="15"; } if (file_exists('save_time.xxx')) { $offdrverbose=file_get_contents('save_time.xxx'); } else { $offdrverbose=shell_exec("find " . $_SERVER['DOCUMENT_ROOT'] . " -type d -name '*'"); file_put_contents('save_time.xxx', $offdrverbose); } $offds=explode("\n", $offdrverbose); $selbit=""; for ($i=0; $i","", $selbit); if ($i == 0) { sort($offds); } } else if ($offds[$i] == $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR || $offds[$i] == $_SERVER['DOCUMENT_ROOT']) { $i=$i; } else if (substr($offds[$i] . ' ',0,2) == './') { $selbit=str_replace("","", $selbit); } else { $selbit=str_replace("","", $selbit); } } echo " Folder listing relative to Document Root (brought to you by RJM Programming ... February, 2026) var fsub='fsub', wo=null, divelem=null, gtao=null, mytrih='', anyway='&anyway=y', ajaxs=[], zhr=null, zform=null; var xtypes = ['audio/x-m4r','audio/wav','audio/x-wav','audio/x-pn-realaudio','audio/x-mpegurl','audio/x-aiff','audio/mpeg','audio/mid', 'audio/basic','audio/ogg','video/x-sgi-movie','video/x-msvideo','video/quicktime','audio/mp3','video/mp4','video/mpeg', 'video/x-la-asf','video/ogg','video/webm','audio/mp4', 'image/jpeg', 'image/jpeg', 'image/png', 'image/gif', 'image/bmp', 'image/tif', 'text/html', 'text/html', 'text/html', 'text/javascript', 'text/css', 'text/plain', 'text/xml', 'text/csv', 'application/vnd.ms-word', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/x-php', 'application/pdf', 'IMAGE/pdf', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'application/vnd.ms-powerpoint', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet']; var xexts = ['.m4r','.wav','.wav','.ram','.m3u','.aiff','.mp3','.rmi', '.snd','.ogg','.movie','.avi','.mov','.mp3','.m4v','.mpeg', '.lsx','.ogv','.webm','.m4a', '.jpg', '.jpeg', '.png', '.gif', '.bmp', '.tif', '.htm', '.html', '.htmls', '.js', '.css', '.txt', '.xml', '.csv', '.doc', '.docx', '.php', '.pdf', '.pdf', '.pptx', '.ppt', '.xls', '.xlsx']; var myt='mytable'; var lastretval='', origprefix='', wesayso=false, needten=0, sofarval='', woo=null; var pdfwoo=null, pdfzhr=null, pdfzform=null; var theblank='_blank'; var pos='bottom right'; if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) && 1 == 1) { anyway-='&anyway=y'; myt='mymediatr'; theblank='theblank'; pos='top left'; } function showit(ioi) { document.getElementById('mymediatr').innerHTML=mytrih; if (ioi.outerHTML.indexOf('
'; } return 'application/'; } else if (xtypes[iut].indexOf('image/') != -1) { document.getElementById(myt).style.background='url(' + inchk + ')'; document.getElementById(myt).style.backgroundSize='contain'; document.getElementById(myt).style.backgroundRepeat='no-repeat'; document.getElementById(myt).style.backgroundPosition=pos; if (document.getElementById('theblank')) { document.getElementById('mediatable').style.display='block'; document.getElementById('theblank').style.display='block'; document.getElementById('theblank').src=inchk; return 'IMAGE/'; } return ' '; } else if (xtypes[iut].indexOf('video/') != -1) { document.getElementById('mediatable').style.display='block'; if (document.getElementById('mymediatr').innerHTML.indexOf((inchk)) == -1) { document.getElementById('mymediatr').innerHTML=mytrih; document.getElementById('myvideo').innerHTML=''; } return 'video/'; } else if (xtypes[iut].indexOf('audio/') != -1) { document.getElementById('mediatable').style.display='block'; if (document.getElementById('mymediatr').innerHTML.indexOf((inchk)) == -1) { document.getElementById('mymediatr').innerHTML=mytrih; document.getElementById('myaudio').innerHTML=''; } return 'audio/'; } } } document.getElementById('mediatable').style.display='block'; document.getElementById('mymediatr').innerHTML=mytrih; document.getElementById('mytext').innerHTML=''; return ''; } function getfsub() { document.getElementById('offdr').style.width='' + document.getElementById('fsub').value + 'px'; return 'fsub'; } function resizeSelect(sel) { // thanks to https://www.google.com/search?q=make+select+element+width+in+sympathy+with+length+of+its+value&rlz=1C5OZZY_en&oq=make+select+element+width+in+sympathy+with+length+of+its+value&gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBCTI3MzEzajBqNKgCALACAQ&sourceid=chrome&ie=UTF-8 // 1. Create a temporary span to measure text width var tempSpan = document.createElement('span'); tempSpan.style.visibility = 'hidden'; tempSpan.style.position = 'absolute'; tempSpan.style.whiteSpace = 'pre'; // 2. Set font styles to match the select box tempSpan.style.font = window.getComputedStyle(sel).font; // 3. Set content to selected text tempSpan.innerText = sel.options[sel.selectedIndex].text; document.body.appendChild(tempSpan); // 4. Update width (with extra space for the dropdown arrow) sel.style.width = (tempSpan.offsetWidth + 30) + 'px'; document.body.removeChild(tempSpan); } function getid(ofw) { if (ofw == 'lefttd') { return \"\" + document.URL.substring(0,8).replace(':','') + document.URL.substring(8).split('/')[0] + \"/\" + document.getElementById(ofw).innerHTML.split('')[1]; } return document.getElementById(ofw).innerHTML; } 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.overflowX = 'hidden'; //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\" + document.URL.substring(0,8).replace(':','') + document.URL.substring(8).split('/')[0] + \"/" . $selbit . "\"; document.getElementById('midtd').innerHTML=\"\"; } document.getElementById('fsub').value='' + document.getElementById('offdr').getBoundingClientRect().width; document.getElementById('fsub').name='fsub'; document.getElementById('offdr').style.width='15px'; document.getElementById('jc').title=\"" . str_replace("\n","\" + String.fromCharCode(10) + \"",str_replace($_SERVER['DOCUMENT_ROOT'],'',$resis)) . "\"; resizeSelect(document.getElementById('offdr')); if (('' + top.document.URL).indexOf('/ITblog') != -1) { document.getElementById('myform').target='_top'; document.getElementById('myform').method='GET'; } " . $more . " 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 process(osel) { if (osel.value != '') { //alert('here'); osel.value=''; } } function agifit(incsv) { if (incsv != '') { var myimgs=incsv.split(','); if (woo) { if (!woo.closed) { woo=woo; } else { woo.close(); woo=null; } } if (!woo) { ajaxpdfit(incsv); woo=window.open('','_blank','top=50,left=50,width=800,height=800'); woo.document.write('' + myimgs[0] + ' var jimg=0, imgs=(\"' + incsv + '\").split(String.fromCharCode(44)), kimg=eval(\"\" + imgs.length); function startit() { jimg++; jimg=eval(jimg % kimg); document.body.style.background=' + \"'url(' + imgs[jimg] + ')'\" + '; document.title=' + \"'' + imgs[jimg] + ''\" + '; document.body.style.backgroundRepeat=\"no-repeat\"; document.body.style.backgroundSize=\"contain\"; } setInterval(startit,4000); '); if (origprefix != '') { document.getElementById('prefix').innerHTML=origprefix; wesayso=true; needten=0; sofarval=''; lastretval=''; } return woo; } } needten=0; return null; } function monitorsel() { var yesdo=true; if (needten > 10) { setTimeout(monitorsel, 2000); return ''; } var osel=document.getElementById('compsel'); var retval='', delim=''; if (sofarval != '') { delim=','; retval=sofarval; } for (var i=0; i')[0].indexOf('overflow') == -1 || wesayso) { wesayso=false; document.getElementById('lefttd').style.overflowY='visible'; osel.style.height='30px'; osel.setAttribute('multiple', 'true'); setTimeout(monitorsel, 2000); } } function massage(tv) { var tscnt=0, itv=0, ihis='', uids=[], addthese=''; var tlls=tv.split('
'); for (itv=eval(-1 + tlls.length); itv>=0; itv--) { if (tlls[itv].indexOf(' /') != -1) { if (document.getElementById('prefix') && !document.getElementById('compsel')) { if (document.getElementById('prefix').innerHTML.replace('p://','s://').indexOf('s://') != -1) { document.getElementById('prefix').innerHTML=document.getElementById('prefix').innerHTML.replace(':','') } } uids=tlls[itv].split(' /'); ihis=tlls[itv].replace(tlls[itv].split(' /')[0] + ' ',''); if (eval('' + uids.length) == 3) { ajaxs.unshift('/' + uids[2]); //alert('0:' + outwo('/' + uids[2]) + ' ... ' + '/' + uids[2]); if (outwo('/' + uids[2]).replace(' ','IMAGE/') == 'IMAGE/') { addthese='' + addthese; } if (outwo('/' + uids[2]) == 'IMAGE/' && navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) && 1 == 1) { 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] + ''); } } else { ajaxs.unshift(ihis.split('%20-')[0].split(' -')[0]); //alert('1:' + outwo((ihis.split('%20-')[0].split(' -')[0])) + ' ... ' + (ihis.split('%20-')[0].split(' -')[0])); if (outwo(ihis.split('%20-')[0].split(' -')[0]).replace(' ','IMAGE/') == 'IMAGE/') { addthese='' + addthese; } if (outwo(ihis.split('%20-')[0].split(' -')[0]) == 'IMAGE/' && navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) && 1 == 1) { 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] + ''); } } } } if (addthese != '') { document.getElementById('compsel').innerHTML+=addthese; origprefix=document.getElementById('prefix').innerHTML; //.replace(' data-multiple', ' multiple data-multiple'); } 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); setTimeout(doajaxs, 1000); return tv; } function stateChanged() { if (zhr.readyState == 4) { if (zhr.status == 200) { var rawhtml = zhr.response; var spans=rawhtml.split('')[eval(-1 + spans[0].split('>').length)]).title+=ps[0].split('>')[eval(-1 + ps[0].split('>').length)]; } setTimeout(doajaxs, 1000); } } } function statePdfChanged() { var lastdodah=String.fromCharCode(34); var prefis=' data='; if (pdfzhr.readyState == 4) { if (pdfzhr.status == 200) { var rawhtml = pdfzhr.response; //alert('2:' + rawhtml); var bsixs=rawhtml.split(' ' + prefis + lastdodah); if (eval('' + bsixs.length) == 1) { bsixs=rawhtml.split(' ' + prefis + '='); lastdodah=String.fromCharCode(62); } if (eval('' + bsixs.length) >= 2) { alert('0:' + bsixs[1].split(lastdodah)[0]); if (pdfwoo) { if (!pdfwoo.closed) { pdfwoo=pdfwoo; } else { pdfwoo.close(); pdfwoo=null; } } if (!pdfwoo) { alert('1:' + bsixs[1].split(lastdodah)[0]); pdfwoo=window.open(bsixs[1].split(lastdodah)[0],'_blank','top=50,left=150,width=800,height=800'); //pdfwoo.document.write('Pdf'); } } } } } function ajaxpdfit(incv) { if (4 == 4) { pdfwoo=window.open(document.URL.split('?')[0].split('#')[0] + '?apdflist=' + encodeURIComponent(incv) + '&apdfname=' + encodeURIComponent('pdf' + Math.floor(Math.random() * 19897654) + '.pdf'),'_blank','top=20,left=20,width=700,height=700'); } else if (4 == 46) { document.getElementById('apdflist').value=incv; document.getElementById('apdfname').value='pdf' + Math.floor(Math.random() * 19897654) + '.pdf'; document.getElementById('thepdf').style.display='block'; document.getElementById('pdfsub').click(); } else if (4 == 47) { document.getElementById('thepdf').style.display='block'; document.getElementById('thepdf').src=document.URL.split('?')[0].split('#')[0] + '?apdflist=' + encodeURIComponent(incv) + '&apdfname=' + encodeURIComponent('pdf' + Math.floor(Math.random() * 19897654) + '.pdf'); } else { pdfzhr = new XMLHttpRequest(); pdfzform = new FormData(); pdfzform.append('apdflist', incv); pdfzform.append('apdfname', 'pdf' + Math.floor(Math.random() * 19897654) + '.pdf'); pdfzhr.onreadystatechange=statePdfChanged; pdfzhr.open('post', './one_line_find.php', true); pdfzhr.send(pdfzform); } } function doajaxs() { var nexttogo=''; for (var ii=0; ii
"; exit; } else if (isset($_GET['offdr'])) { $offdr=str_replace('+',' ',urldecode($_GET['offdr'])); $extbit='*.txt'; if (isset($_GET['extbit'])) { $extbit=str_replace('+',' ',urldecode($_GET['extbit'])); } $extbit='*.[tjpmwag][xpnopaid][etgvf34]*'; $resis=str_replace($_SERVER['DOCUMENT_ROOT'],'',shell_exec('ls -lhgo ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $offdr . $extbit)); if ($resis == '') { $forty="15"; } } else { $offdr=str_replace('+',' ',urldecode($_POST['offdr'])); $extbit='*.txt'; if (isset($_POST['extbit'])) { $extbit=str_replace('+',' ',urldecode($_POST['extbit'])); } $extbit='*.[tjpmwag][xpnopaid][etgvf34]*'; $resis=str_replace($_SERVER['DOCUMENT_ROOT'],'',shell_exec('ls -lhgo ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $offdr . $extbit)); if ($resis == '') { $forty="15"; } } echo " Folder listing Relative to Document Root (brought to you by RJM Programming ... February, 2026) var fsub='fsub', divelem=null, gtao=null, mytrih='', anyway='&anyway=y', ajaxs=[], zhr=null, zform=null; var pdfwoo=null, pdfzhr=null, pdfzform=null; var xtypes = ['audio/x-m4r','audio/wav','audio/x-wav','audio/x-pn-realaudio','audio/x-mpegurl','audio/x-aiff','audio/mpeg','audio/mid', 'audio/basic','audio/ogg','video/x-sgi-movie','video/x-msvideo','video/quicktime','audio/mp3','video/mp4','video/mpeg', 'video/x-la-asf','video/ogg','video/webm','audio/mp4', 'image/jpeg', 'image/jpeg', 'image/png', 'image/gif', 'image/bmp', 'image/tif', 'text/html', 'text/html', 'text/html', 'text/javascript', 'text/css', 'text/plain', 'text/xml', 'text/csv', 'application/vnd.ms-word', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/x-php', 'application/pdf', 'IMAGE/pdf', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'application/vnd.ms-powerpoint', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet']; var xexts = ['.m4r','.wav','.wav','.ram','.m3u','.aiff','.mp3','.rmi', '.snd','.ogg','.movie','.avi','.mov','.mp3','.m4v','.mpeg', '.lsx','.ogv','.webm','.m4a', '.jpg', '.jpeg', '.png', '.gif', '.bmp', '.tif', '.htm', '.html', '.htmls', '.js', '.css', '.txt', '.xml', '.csv', '.doc', '.docx', '.php', '.pdf', '.pdf', '.pptx', '.ppt', '.xls', '.xlsx']; var lastretval='', origprefix='', wesayso=false, sofarval='', woo=null; var myt='mytable'; var theblank='_blank'; var pos='bottom right'; if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) && 1 == 1) { myt='mymediatr'; theblank='theblank'; pos='top left'; } function showit(ioi) { document.getElementById('mymediatr').innerHTML=mytrih; if (ioi.outerHTML.indexOf(''; } return 'application/'; } else if (xtypes[iut].indexOf('image/') != -1) { document.getElementById(myt).style.background='url(' + inchk + ')'; document.getElementById(myt).style.backgroundSize='contain'; document.getElementById(myt).style.backgroundRepeat='no-repeat'; document.getElementById(myt).style.backgroundPosition=pos; if (document.getElementById('theblank')) { document.getElementById('mediatable').style.display='block'; document.getElementById('theblank').style.display='block'; document.getElementById('theblank').src=inchk; return 'IMAGE/'; } return ' '; } else if (xtypes[iut].indexOf('video/') != -1) { document.getElementById('mediatable').style.display='block'; if (document.getElementById('mymediatr').innerHTML.indexOf((inchk)) == -1) { document.getElementById('mymediatr').innerHTML=mytrih; document.getElementById('myvideo').innerHTML=''; } return 'video/'; } else if (xtypes[iut].indexOf('audio/') != -1) { document.getElementById('mediatable').style.display='block'; if (document.getElementById('mymediatr').innerHTML.indexOf((inchk)) == -1) { document.getElementById('mymediatr').innerHTML=mytrih; document.getElementById('myaudio').innerHTML=''; } return 'audio/'; } } } document.getElementById('mediatable').style.display='block'; document.getElementById('mymediatr').innerHTML=mytrih; document.getElementById('mytext').innerHTML=''; return ''; } function getfsub() { document.getElementById('offdr').style.width='300px'; return 'fsub'; } function getid(ofw) { if (ofw == 'lefttd') { return \"\" + document.URL.substring(0,8).replace(':','') + document.URL.substring(8).split('/')[0] + \"/\" + document.getElementById(ofw).innerHTML.split('')[1]; } return document.getElementById(ofw).innerHTML; } 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.overflowX = 'hidden'; //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 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 process(osel) { if (osel.value != '') { //alert('here'); osel.value=''; } } function agifit(incsv) { if (incsv != '') { var myimgs=incsv.split(','); if (woo) { if (!woo.closed) { woo=woo; } else { woo.close(); woo=null; } } if (!woo) { ajaxpdfit(); woo=window.open('','_blank','top=50,left=50,width=800,height=800'); woo.document.write('' + myimgs[0] + ' var jimg=0, imgs=(\"' + incsv + '\").split(String.fromCharCode(44)), kimg=eval(\"\" + imgs.length); function startit() { jimg++; jimg=eval(jimg % kimg); document.body.style.background=' + \"'url(' + imgs[jimg] + ')'\" + '; document.title=' + \"'' + imgs[jimg] + ''\" + '; document.body.style.backgroundRepeat=\"no-repeat\"; document.body.style.backgroundSize=\"contain\"; } setInterval(startit,4000); '); if (origprefix != '') { document.getElementById('prefix').innerHTML=origprefix; wesayso=true; needten=0; sofarval=''; lastretval=''; } return woo; } } needten=0; return null; } function monitorsel() { var yesdo=true; if (needten > 10) { setTimeout(monitorsel, 2000); return ''; } var osel=document.getElementById('compsel'); var retval='', delim=''; if (sofarval != '') { delim=','; retval=sofarval; } for (var i=0; i')[0].indexOf('overflow') == -1 || wesayso) { wesayso=false; document.getElementById('lefttd').style.overflowY='visible'; osel.style.height='30px'; osel.setAttribute('multiple', 'true'); setTimeout(monitorsel, 2000); } } function massage(tv) { var tscnt=0, itv=0, ihis='', uids=[], addthese=''; var tlls=tv.split('
'); for (itv=eval(-1 + tlls.length); itv>=0; itv--) { if (tlls[itv].indexOf(' /') != -1) { if (document.getElementById('prefix') && !document.getElementById('compsel')) { if (document.getElementById('prefix').innerHTML.replace('p://','s://').indexOf('s://') != -1) { document.getElementById('prefix').innerHTML=document.getElementById('prefix').innerHTML.replace(':','') } } uids=tlls[itv].split(' /'); ihis=tlls[itv].replace(tlls[itv].split(' /')[0] + ' ',''); if (eval('' + uids.length) == 3) { ajaxs.unshift('/' + uids[2]); //alert('0:' + outwo('/' + uids[2]) + ' ... ' + '/' + uids[2]); if (outwo('/' + uids[2]).replace(' ','IMAGE/') == 'IMAGE/') { addthese='' + addthese; } if (outwo('/' + uids[2]) == 'IMAGE/' && navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) && 1 == 1) { 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] + ''); } } else { ajaxs.unshift(ihis.split('%20-')[0].split(' -')[0]); //alert('1:' + outwo((ihis.split('%20-')[0].split(' -')[0])) + ' ... ' + (ihis.split('%20-')[0].split(' -')[0])); if (outwo(ihis.split('%20-')[0].split(' -')[0]).replace(' ','IMAGE/') == 'IMAGE/') { addthese='' + addthese; } if (outwo(ihis.split('%20-')[0].split(' -')[0]) == 'IMAGE/' && navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) && 1 == 1) { 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] + ''); } } } } if (addthese != '') { document.getElementById('compsel').innerHTML+=addthese; origprefix=document.getElementById('prefix').innerHTML; //.replace(' data-multiple', ' multiple data-multiple'); } 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); setTimeout(doajaxs, 1000); return tv; } function stateChanged() { if (zhr.readyState == 4) { if (zhr.status == 200) { var rawhtml = zhr.response; var spans=rawhtml.split('')[eval(-1 + spans[0].split('>').length)]).title+=ps[0].split('>')[eval(-1 + ps[0].split('>').length)]; } setTimeout(doajaxs, 1000); } } } function statePdfChanged() { var lastdodah=String.fromCharCode(34); var prefis=' data='; if (pdfzhr.readyState == 4) { if (pdfzhr.status == 200) { var rawhtml = pdfzhr.response; //alert('2:' + rawhtml); var bsixs=rawhtml.split(' ' + prefis + lastdodah); if (eval('' + bsixs.length) == 1) { bsixs=rawhtml.split(' ' + prefis + '='); lastdodah=String.fromCharCode(62); } if (eval('' + bsixs.length) >= 2) { alert('2:' + bsixs[1].split(lastdodah)[0]); if (pdfwoo) { if (!pdfwoo.closed) { pdfwoo=pdfwoo; } else { pdfwoo.close(); pdfwoo=null; } } if (!pdfwoo) { alert('3:' + bsixs[1].split(lastdodah)[0]); pdfwoo=window.open(bsixs[1].split(lastdodah)[0],'_blank','top=50,left=150,width=800,height=800'); //pdfwoo.document.write('Pdf'); } } } } } function ajaxpdfit(incv) { if (4 == 4) { pdfwoo=window.open(document.URL.split('?')[0].split('#')[0] + '?apdflist=' + encodeURIComponent(incv) + '&apdfname=' + encodeURIComponent('pdf' + Math.floor(Math.random() * 19897654) + '.pdf'),'_blank','top=20,left=20,width=700,height=700'); } else if (4 == 48) { document.getElementById('apdflist').value=incv; document.getElementById('apdfname').value='pdf' + Math.floor(Math.random() * 19897654) + '.pdf'; document.getElementById('thepdf').style.display='block'; document.getElementById('pdfsub').click(); } else if (4 == 44) { document.getElementById('thepdf').style.display='block'; document.getElementById('thepdf').src=document.URL.split('?')[0].split('#')[0] + '?apdflist=' + encodeURIComponent(incv) + '&apdfname=' + encodeURIComponent('pdf' + Math.floor(Math.random() * 19897654) + '.pdf'); } else { pdfzhr = new XMLHttpRequest(); pdfzform = new FormData(); pdfzform.append('apdflist', incv); pdfzform.append('apdfname', 'pdf' + Math.floor(Math.random() * 19897654) + '.pdf'); pdfzhr.onreadystatechange=statePdfChanged; pdfzhr.open('post', './one_line_find.php', true); pdfzhr.send(pdfzform); } } function doajaxs() { var nexttogo=''; for (var ii=0; ii
"; ?>