3,4d2
< // RJM Programming
< // September, 2017
16,103d13
<
< $onc=" window.location=document.URL.split('#')[0].replace('&myh1=y','') + '&myh1=y#myh1'; ";
< $ic="^";
< $itable="#itable";
< if (strpos(("" . $_SERVER['QUERY_STRING']), "myh1=") !== false) {
< $ic="v";
< $itable="&myh1=y#myh1";
< $onc=" window.location=document.URL.split('#')[0].replace('&myh1=y','') + '#itable'; ";
< }
<
< $jsc="
<
< var jsup=1, jsub=1;
< function animqnextone() {
< //alert(document.getElementById('jsup').innerHTML.replace(' ','').replace('g',''));
< jsup=eval(document.getElementById('jsup').innerHTML.replace(' ','').replace('g',''));
< jsub=eval(document.getElementById('jsub').innerHTML.replace(' ','').replace('g',''));
< //alert(jsup + ' ... ' + jsub);
< if (jsup < jsub) {
< jsup++;
< document.getElementById('jsup').innerHTML=jsup;
< window.location='#g' + jsup;
< //alert('#g' + jsup);
< setTimeout(animqnextone,2000);
< } else {
< setTimeout(animqprevone,2000);
< }
< }
< function animqprevone() {
< jsup=eval(document.getElementById('jsup').innerHTML.replace(' ','').replace('g',''));
< jsub=eval(document.getElementById('jsub').innerHTML.replace(' ','').replace('g',''));
< if (jsup > 1) {
< jsup--;
< document.getElementById('jsup').innerHTML=jsup;
< window.location='#g' + jsup;
< //alert('#g' + jsup);
< setTimeout(animqprevone,2000);
< } else {
< setTimeout(animqnextone,2000);
< }
< }
< function animnextone() {
< var wls, wlstwo='';
< if (document.getElementById('ishownext')) {
< if (document.getElementById('ishownext').outerHTML.indexOf(' onclick=') != -1) {
< wls=document.getElementById('ishownext').outerHTML.replace(/&/g,'&').split('window.location=');
< if (wls.length > 1) {
< wlstwo=wls[1].substring(1).split(wls[1].substring(0,1))[0].split('#')[0].replace('&animf=y','').replace('&animb=y','') + '&animf=y" . $itable . "';
< //alert(wlstwo);
< //document.getElementById('ishow').src=wlstwo;
< window.location=wlstwo;
< }
< } else {
< setTimeout(animprevone,8000);
< }
< }
< }
< function animprevone() {
< var wls, wlstwo='';
< if (document.getElementById('ishowprev')) {
< if (document.getElementById('ishowprev').outerHTML.indexOf(' onclick=') != -1) {
< wls=document.getElementById('ishowprev').outerHTML.replace(/&/g,'&').split('window.location=');
< if (wls.length > 1) {
< wlstwo=wls[1].substring(1).split(wls[1].substring(0,1))[0].split('#')[0].replace('&animf=y','').replace('&animb=y','') + '&animb=y" . $itable . "';
< //alert(wlstwo);
< //document.getElementById('ishow').src=wlstwo;
< window.location=wlstwo;
< }
< } else {
< setTimeout(animnextone,8000);
< }
< }
< }
<
< function nounderline() {
< if (document.getElementById('ianim')) document.getElementById('ianim').style.textDecoration='none';
< if (document.getElementById('janim')) document.getElementById('janim').style.textDecoration='none';
< }
<
< if (document.URL.indexOf('&animf=') != -1) {
< setTimeout(nounderline, 300);
< setTimeout(animnextone, 8000);
< } else if (document.URL.indexOf('&animb=') != -1) {
< setTimeout(nounderline, 300);
< setTimeout(animprevone, 8000);
< }
<
< ";
105,110d14
<
< $gthisis=1;
< $gtotis=0;
< $thisis=0;
< $totis=0;
< $numis=0;
112,122d15
< $ofprevinterest="";
< $firstone="";
< $lastone="";
< $secondone="";
< $secondlastone="";
< $prevone="";
< $nextone="";
< $prevtoprevone="";
< $nexttoprevone="";
< $nexttonextone="";
< $prevtonextone="";
124,128d16
<
< $gnumis=0;
< $greportdata="";
< $gofprevinterest="";
<
142,173c30
< if (isset($_GET['ofinterest']) && isset($_GET['ofprevinterest']) && isset($_GET['ofnextinterest'])) {
< $formstuff="
";
< } else if (isset($_GET['ofinterest']) && isset($_GET['ofprevinterest'])) {
< $formstuff="
";
< } else if (isset($_GET['ofinterest']) && isset($_GET['ofnextinterest'])) {
< $formstuff="
";
< } else if (1 == 2 && isset($_GET['ofinterest'])) {
< $formstuff="
";
< } else if ($zipfile != "") {
< $formstuff="
";
< } else {
< $formstuff="
";
< }
---
> ";
193,249d48
<
< if (($asgallery == "" || 1 == 1) && strpos($ourmimetype, "image/") !== false) {
< $totis++;
< if (urldecode($ourfilename) == urldecode($_GET['ofinterest'])) {
< $thisis=$totis;
< }
< if ($firstone == "") {
< $firstone=$ourfilename;
< } else if ($secondone == "") {
< $secondone=$ourfilename;
< }
< if ($lastone != "") $secondlastone=$lastone;
< $lastone=$ourfilename;
< }
<
< if ($asgallery == "" && strpos($ourmimetype, "image/") !== false) {
< if (isset($_GET['ofprevinterest'])) { // new if
< if (urldecode($ourfilename) == urldecode($_GET['ofprevinterest'])) {
< $prevtoprevone=" " . $prevtoprevone . " ";
< $nexttoprevone="";
< } else if (trim($prevtoprevone) == $prevtoprevone && $nexttoprevone == "") {
< $prevtoprevone=$ourfilename;
< } else if ($nexttoprevone == "") {
< $nexttoprevone=$ourfilename;
< $prevtoprevone=trim($prevtoprevone);
< }
< }
< }
<
< if ($asgallery == "" && strpos($ourmimetype, "image/") !== false) {
< if (isset($_GET['ofnextinterest'])) { // new if
< if (urldecode($ourfilename) == urldecode($_GET['ofnextinterest'])) {
< $prevtonextone=" " . $prevtonextone . " ";
< $nexttonextone="";
< } else if (trim($prevtonextone) == $prevtonextone && $nexttonextone == "") {
< $prevtonextone=$ourfilename;
< } else if ($nexttonextone == "") {
< $nexttonextone=$ourfilename;
< $prevtonextone=trim($prevtonextone);
< }
< }
< }
<
<
< if ($asgallery == "" && strpos($ourmimetype, "image/") !== false) {
< if (isset($_GET['ofprevinterest']) || isset($_GET['ofnextinterest'])) { // new if
< if (urldecode($ofinterest) == urldecode($ourfilename)) {
< $prevone=" " . $ourfilename . " ";
< $nextone="";
< } else if (trim($prevone) == $prevone && $nextone == "") {
< $prevone=$ourfilename;
< } else if ($nextone == "") {
< $nextone=$ourfilename;
< $prevone=trim($prevone);
< }
< }
< }
251,256d49
< if (firstone == "") {
< $firstone=$ourfilename;
< } else if ($secondone == "") {
< $secondone=$ourfilename;
< }
< $lastone=$ourfilename;
261c54
< $tabledata="Image Gallery extracted from " . $zipfile . "";
---
> $tabledata="Image Gallery extracted from " . $zipfile . "";
263,276c56,57
< if ($gnumis == 0) {
< $gtotis++;
< $gnumis++; // 🎬
< $greportdata="🎬";
< $gofprevinterest="&ofprevinterest=" . $ourfilename;
< } else {
< $gtotis++;
< $tabledata=str_replace($itable . "','_blank');\" id='g" . $gnumis . "'","&ofnextinterest=" . $ourfilename . $itable . "','_blank');\" id='g" . $gnumis . "'",$tabledata);
< $gnumis++;
< $greportdata="🎬";
< $gofprevinterest="&ofprevinterest=" . $ourfilename;
< }
< $tabledata=str_replace("", "" . $ourfilename . " " . $greportdata . " | ", $tabledata);
< $tabledata=str_replace("", " | ", $tabledata);
---
> $tabledata=str_replace("", "" . $ourfilename . " | ", $tabledata);
> $tabledata=str_replace("", " | ", $tabledata);
280d60
< if (!isset($_GET['ofprevinterest']) && !isset($_GET['ofnextinterest'])) { // new if
289,292d68
< }
<
<
<
298,307c74
< if ($numis == 0) {
< $numis++;
< $reportdata.="Name: " . $ourfilename . "
";
< $ofprevinterest="&ofprevinterest=" . $ourfilename;
< } else {
< $reportdata=str_replace($itable . "','_blank');\" id='" . $numis . "'","&ofnextinterest=" . $ourfilename . $itable . "','_blank');\" id='" . $numis . "'",$reportdata);
< $numis++;
< $reportdata.="Name: " . $ourfilename . "
";
< $ofprevinterest="&ofprevinterest=" . $ourfilename;
< }
---
> $reportdata.="Name: " . $ourfilename . "
";
315,386c82
<
<
<
< if ($asgallery == "") {
< if (isset($_GET['ofnextinterest'])) { // new if
< if ($prevtonextone != "" && $nexttonextone != "") {
< $formstuff=str_replace("display:none;'>><","display:block;' onclick=\" window.location='./ziptest.php?zipfile=" . $zipfile . "&ofinterest=" . urldecode($_GET['ofnextinterest']) . "&ofprevinterest=" . trim($prevtonextone) . "&ofnextinterest=" . $nexttonextone . $itable . "'; \">><",$formstuff);
< } else if ($prevtonextone != "") {
< $formstuff=str_replace("display:none;'>><","display:block;' onclick=\" window.location='./ziptest.php?zipfile=" . $zipfile . "&ofinterest=" . urldecode($_GET['ofnextinterest']) . "&ofprevinterest=" . trim($prevtonextone) . $itable . "'; \">><",$formstuff);
< } else if ($nexttonextone != "") {
< $formstuff=str_replace("display:none;'>><","display:block;' onclick=\" window.location='./ziptest.php?zipfile=" . $zipfile . "&ofinterest=" . urldecode($_GET['ofnextinterest']) . "&ofnextinterest=" . trim($nexttonextone) . $itable . "'; \">><",$formstuff);
< } else {
< $formstuff=str_replace("display:none;'>><","display:block;' onclick=\" window.location='./ziptest.php?zipfile=" . $zipfile . "&ofinterest=" . urldecode($_GET['ofnextinterest']) . $itable . "'; \">><",$formstuff);
< }
< }
< }
<
<
< if ($asgallery == "") {
< if (isset($_GET['ofprevinterest'])) { // new if
< if ($prevtoprevone != "" && $nexttoprevone != "") {
< $formstuff=str_replace("display:none;'><<","display:block;' onclick=\" window.location='./ziptest.php?zipfile=" . $zipfile . "&ofinterest=" . urldecode($_GET['ofprevinterest']) . "&ofprevinterest=" . trim($prevtoprevone) . "&ofnextinterest=" . $nexttoprevone . $itable . "'; \"><<",$formstuff);
< } else if ($prevtoprevone != "") {
< $formstuff=str_replace("display:none;'><<","display:block;' onclick=\" window.location='./ziptest.php?zipfile=" . $zipfile . "&ofinterest=" . urldecode($_GET['ofprevinterest']) . "&ofprevinterest=" . trim($prevtoprevone) . $itable . "'; \"><<",$formstuff);
< } else if ($nexttoprevone != "") {
< $formstuff=str_replace("display:none;'><<","display:block;' onclick=\" window.location='./ziptest.php?zipfile=" . $zipfile . "&ofinterest=" . urldecode($_GET['ofprevinterest']) . "&ofnextinterest=" . trim($nexttoprevone) . $itable . "'; \"><<",$formstuff);
< } else {
< $formstuff=str_replace("display:none;'><<","display:block;' onclick=\" window.location='./ziptest.php?zipfile=" . $zipfile . "&ofinterest=" . urldecode($_GET['ofprevinterest']) . $itable . "'; \"><<",$formstuff);
< }
< }
< }
<
< if ($asgallery == "") {
< if ($firstone != "" && $secondone != "") {
< $formstuff=str_replace("display:none;'><<<","display:block;' onclick=\" window.location='./ziptest.php?zipfile=" . $zipfile . "&ofinterest=" . $firstone . "&ofnextinterest=" . $secondone . $itable . "'; \"><<<",$formstuff);
< } else if ($firstone != "") {
< $formstuff=str_replace("display:none;'><<<","display:block;' onclick=\" window.location='./ziptest.php?zipfile=" . $zipfile . "&ofinterest=" . $firstone . $itable . "'; \"><<<",$formstuff);
< }
< }
<
< if ($asgallery == "") {
< if ($lastone != "" && $secondlastone != "") {
< $formstuff=str_replace("display:none;'>>><","display:block;' onclick=\" window.location='./ziptest.php?zipfile=" . $zipfile . "&ofinterest=" . $lastone . "&ofprevinterest=" . $secondlastone . $itable . "'; \">>><",$formstuff);
< } else if ($lastone != "") {
< $formstuff=str_replace("display:none;'>>><","display:block;' onclick=\" window.location='./ziptest.php?zipfile=" . $zipfile . "&ofinterest=" . $lastone . $itable . "'; \">>><",$formstuff);
< }
< }
<
< if ($asgallery == "" || 1 == 1) {
< if ($totis != 0) {
< $formstuff=str_replace(">","> " . $totis . "",$formstuff);
< }
< if ($thisis != 0) {
< $formstuff=str_replace(">","> " . $thisis . "",$formstuff);
< }
< }
<
< $formstuff=str_replace("<","⬅",$formstuff);
< $formstuff=str_replace(">","➡",$formstuff);
< $formstuff=str_replace(">^<",">⬆<",$formstuff);
< $formstuff=str_replace(">v<",">⬇<",$formstuff);
<
< if ($asgallery == "" || 1 == 1) {
< if ($gtotis != 0) {
< $tabledata=str_replace(">","> " . $gtotis . "",$tabledata);
< }
< if ($gthisis != 0) {
< $tabledata=str_replace(">","> " . $gthisis . "",$tabledata);
< }
< }
<
<
---
>
388c84
< echo str_replace("
" . "Zipfile InformationRJM Programming - September, 2017
" . $formstuff . "
" . "Zipfile InformationRJM Programming - September, 2017
" . $formstuff . "
Zipfile InformationRJM Programming - September, 2017
| " . $formstuff . " | " . $reportdata . " |
" . $jsc . "
" . $jsc . "