'; $htbit='
'; $ht=$htbit; $stbit=" html, body { height: 100%; margin: 0; } .meter { margin-top:0.95%; " . " " . " height: 5px; " . " " . " position: relative; " . " " . " background: #f3efe6; " . " " . " overflow: hidden; " . " " . " } " . " " . " " . " " . " .meter span { " . " " . " display: block; " . " " . " height: 100%; " . " " . " } " . " " . " " . " " . " .progress { " . " " . " background-color: #e4c465; " . " " . " animation: progressBar " . ($iwow + $duris) . "s ease-in-out infinite; " . " " . " animation-fill-mode:both; " . " " . " } " . " " . " " . " " . " @keyframes progressBar { " . " " . " 0% { width: 0; } " . " " . " 100% { width: 100%; } " . " " . "} "; $stylebit=''; $jsis=" var ial=1; " . " " . " var alcont='" . explode(';',$incsv)[0] . "'; " . " " . " var alconta=alcont.split(','); " . " " . " var jal=pbarit(" . $jal . '); ' . " " . " ourcsvs=('" . $allin . "').split(':'); " . " "; $jsis.=" " . " function animateit() { if (moretowait > 0) { setTimeout(animateit, Math.round(eval(1000 * moretowait))); moretowait=0; return ''; } if (ial < jal) { if (document.getElementById('icursl')) { document.getElementById('icursl').src=alconta[ial]; } document.getElementById('xbody').style.background=sqit('url(' . alconta[ial] . ')',ial); document.getElementById('xbody').style.backgroundRepeat='no-repeat'; document.getElementById('xbody').style.backgroundPosition='center'; document.getElementById('xbody').style.backgroundSize='contain'; } else { ial=0; if (fromarg != toarg) { location.href=document.URL; } else { window.location.reload(); } firstsqit(); if (document.getElementById('icursl')) { document.getElementById('icursl').src=alconta[ial]; } document.getElementById('xbody').style.background=sqit('url(' . alconta[ial] . ')',ial); document.getElementById('xbody').style.backgroundRepeat='no-repeat'; document.getElementById('xbody').style.backgroundPosition='center'; document.getElementById('xbody').style.backgroundSize='contain'; } ial++; setTimeout(animateit,12000); } "; $scriptbit=$jsis; return $stylebit; } echo " " . explode(' 0',explode(' 1',explode(' 2',explode(' 3',explode(' 4',explode(' 5',explode(' 6',explode(' 7',explode(' 8',explode(' 9',explode(' //',$ftitle)[0])[0])[0])[0])[0])[0])[0])[0])[0])[0])[0] . "" . expanded($passeddata) . " var jaltanima=[], jjal=0, jduris=" . $jduris . ", ftitle='" . $ftitle . "', moretowait=0, pbar=''; var redsq=String.fromCodePoint(0x1F7E5); var whitesq=String.fromCodePoint(0x2B1C); var lastclk='', lastdclk=''; var displaymode=" . $displaymode . "; var ourcsvs=['']; var gopac='" . $gopac . "'; var defdur=" . $defdur . "; var defdurt=eval(1000 * defdur); var bus=''; // 'x' var notuntil=false; var fromarg='&rand', toarg='&rand', documentURL=document.URL; 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','video/mp4']; 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','.mp4']; " . $scriptbit . " function ourtitleit(inimgu, innow, inmax) { return ourcsvs[1].split(',')[innow] + ' ' + ourcsvs[2].split(',')[innow] + ' ' + ourcsvs[3].split(',')[innow] + ' ' + ourcsvs[4].split(',')[innow] + ' ' + ourcsvs[5].split(',')[innow]; } function mn(whatu) { if (whatu.split('#')[0].trim() != '') { if (whatu.split('#')[0].trim().replace(/0/g,'').replace(/1/g,'').replace(/2/g,'').replace(/3/g,'').replace(/4/g,'').replace(/5/g,'').replace(/6/g,'').replace(/7/g,'').replace(/8/g,'').replace(/9/g,'') == '') { return '//www.rjmprogramming.com.au/ITblog/?p=' + whatu.split('#')[0] + ''; } } return whatu.replace('http:','https:'); } function emailit(invl, tov, subjid) { var anchor = document.createElement('a'); anchor.href = 'mailto:' + tov + '?subject=' + encodeURIComponent(subjid) + '&body=' + encodeURIComponent(invl.replace('&dnar','&rand')); anchor.style.display='none'; anchor.innerHTML='Email'; anchor.target='_top'; anchor.click(); return invl; } function smsit(invl, tov) { if (eval('' + tov.trim().length) == 1) { displaymode=eval('' + tov.trim()); } else { var anchor = document.createElement('a'); anchor.href = 'sms:' + tov + '&body=' + encodeURIComponent(invl.replace('&dnar','&rand')); anchor.style.display='none'; anchor.innerHTML='SMS'; anchor.target='_top'; anchor.click(); } return invl; } function outwo(inchk) { for (var iut=0; iut'; } return 'application/'; } else if (xtypes[iut].indexOf('image/') != -1) { if (displaymode == 3) { if (document.getElementById('nonimagemedia').innerHTML.indexOf(mn(inchk)) == -1) { document.getElementById('nonimagemedia').style.width='' + screen.width + 'px'; document.getElementById('nonimagemedia').style.height='' + eval(0.78 * screen.height) + 'px'; document.getElementById('nonimagemedia').innerHTML=''; // contain } } else { document.getElementById('nonimagemedia').innerHTML=''; } return ''; } else if (xtypes[iut].indexOf('video/') != -1) { if (document.getElementById('nonimagemedia').innerHTML.indexOf(mn(inchk)) == -1) { document.getElementById('nonimagemedia').innerHTML=''; } return 'video/'; } else if (xtypes[iut].indexOf('audio/') != -1) { if (document.getElementById('nonimagemedia').innerHTML.indexOf(mn(inchk)) == -1) { document.getElementById('nonimagemedia').innerHTML=''; } return 'audio/'; } } } if (displaymode != 0) { //alert('3:' + mn(inchk)); if (document.getElementById('nonimagemedia').innerHTML.indexOf(mn(inchk)) == -1) { document.getElementById('nonimagemedia').innerHTML=''; } } else { document.getElementById('nonimagemedia').innerHTML=''; } return ''; } function unred(invx) { if (displaymode == 1) { invx=invx.replace(' Tutorial ', ' Tutorial ... Cut to the Chase '); } else if (displaymode == 2) { invx=invx.replace(' Tutorial ', ' Tutorial ... Blog Posting '); } else if (displaymode == 3) { invx=invx.replace(' Tutorial ', ' Tutorial ... Image Object Fit '); } else if (displaymode == 0) { invx=invx.replace(' Tutorial ', ' Tutorial ... Background Tutorial Picture '); } return invx.replace(redsq, \"\" + redsq + \"\"); } function ask() { var wasdis='' + displaymode; notuntil=true; var rans=prompt('Enter display mode (which is currently ' + displaymode + ') ... 0 is for Background Image, 1 is for Cut to the Chase, 2 is for Blog Posting, 3 is for Image Object Fit mode of display. Or share to an email address or SMS number you enter here.', ''); notuntil=false; if (rans != null) { if (eval('' + rans.trim().length) == 1) { displaymode=rans.trim(); if (('' + displaymode) == '0') { document.getElementById('nonimagemedia').innerHTML=''; } if (documentURL.indexOf('&displaymode=' + displaymode) == -1) { if (documentURL.indexOf('&displaymode=') != -1) { //alert('' + wasdis + ' ... ' + documentURL); location.href=documentURL.replace('&displaymode=' + wasdis, '&displaymode=' + displaymode); } else if (documentURL.indexOf('&iwow=') != -1) { location.href=documentURL.replace('&iwow=', '&displaymode=' + displaymode + '&iwow='); } } } else { if (rans == null) { return ''; } else if (rans.indexOf('@') != -1) { var plusc=''; if (('' + displaymode) == '1') { plusc=' ... Cut to the Chase '; } else if (('' + displaymode) == '2') { plusc=' ... Blog Posting '; } else if (('' + displaymode) == '3') { plusc=' ... Image Object Fit '; } else if (('' + displaymode) == '0') { plusc=' ... Background Tutorial Picture '; } if (rans.trim() != rans) { return emailit(documentURL, rans.trim(), 'Show images of " . explode(' 0',explode(' 1',explode(' 2',explode(' 3',explode(' 4',explode(' 5',explode(' 6',explode(' 7',explode(' 8',explode(' 9',explode(' //',$ftitle)[0])[0])[0])[0])[0])[0])[0])[0])[0])[0])[0] . " thread' + plusc); } else { return emailit(documentURL, rans.trim(), 'Show images of " . explode(' 0',explode(' 1',explode(' 2',explode(' 3',explode(' 4',explode(' 5',explode(' 6',explode(' 7',explode(' 8',explode(' 9',explode(' //',$ftitle)[0])[0])[0])[0])[0])[0])[0])[0])[0])[0])[0] . " thread' + plusc); } } else if (rans.trim() != '' && rans.trim().replace(/0/g,'').replace(/1/g,'').replace(/2/g,'').replace(/3/g,'').replace(/4/g,'').replace(/5/g,'').replace(/6/g,'').replace(/7/g,'').replace(/8/g,'').replace(/9/g,'') == '') { if (rans.trim() != rans) { return smsit(documentURL, rans.trim()); } else { return smsit(documentURL, rans.trim()); } } } } } function pbarit(hwm) { for (var iuy=0; iuy= 2 && lastclk != words[eval(-2 + words.length)] && words[eval(-2 + words.length)].trim() != '') { lastclk=words[eval(-2 + words.length)]; if (lastclk.replace(/0/g,'').replace(/1/g,'').replace(/2/g,'').replace(/3/g,'').replace(/4/g,'').replace(/5/g,'').replace(/6/g,'').replace(/7/g,'').replace(/8/g,'').replace(/9/g,'') == '') { upref='//www.rjmprogramming.com.au/ITblog/?p='; } window.open(upref + words[eval(-2 + words.length)].replace('http:','').replace('https:','') + '#content', '_blank', 'top=15,left=15,height=500,width=500'); } } } function titleanalyze() { var upref=''; var usuf=''; if (document.getElementById('xbody').title != '') { // right click var words=document.getElementById('xbody').title.split(' '); if (eval('' + words.length) >= 2 && lastdclk != words[eval(-1 + words.length)] && words[eval(-1 + words.length)].trim() != '') { lastdclk=words[eval(-1 + words.length)]; if (lastdclk.replace(/0/g,'').replace(/1/g,'').replace(/2/g,'').replace(/3/g,'').replace(/4/g,'').replace(/5/g,'').replace(/6/g,'').replace(/7/g,'').replace(/8/g,'').replace(/9/g,'') == '') { upref='//www.rjmprogramming.com.au/ITblog/?p='; usuf='#content'; } window.open(upref + words[eval(-1 + words.length)].replace('http:','').replace('https:','') + usuf, '_blank', 'top=15,left=15,height=500,width=500'); } } } function firstsqit() { var idea=-4, theial=0; if (ftitle != '') { var words=ftitle.trim().split(' '); if (eval('' + words.length) >= 4) { //alert(words[eval(-4 + words.length)] + ' in ' + ftitle); if (words[eval(idea + words.length)] == 'Tutorial') { idea++; } var alldur=eval('' + words[eval(idea + words.length)]); if (alldur > defdur) { moretowait=eval(-defdur + alldur); } } pbarit(jjal); document.body.title='' + ftitle; document.title= document.body.title.split(' //')[0].split(' 0')[0].split(' 1')[0].split(' 2')[0].split(' 3')[0].split(' 4')[0].split(' 5')[0].split(' 6')[0].split(' 7')[0].split(' 8')[0].split(' 9')[0] + ' ' + pbar; document.getElementById('tmeter').innerHTML='' + unred(document.title) + '' + bus + '
'; //ftitle=''; } switch (displaymode) { case 0: break; case 1: outwo(ourcsvs[-displaymode + ourcsvs.length].split(',')[theial]); // Cut to the Chase break; case 2: outwo(ourcsvs[-displaymode + ourcsvs.length].split(',')[theial]); // Blog Posting break; case 3: outwo(ourcsvs[-displaymode + ourcsvs.length].split(',')[theial]); // Image Object Fit break; case 4: // double default duration defdur*=2; defdurt=eval(1000 * defdur); displaymode=-4; break; case 5: // halve default duration defdur/=2; defdurt=eval(1000 * defdur); displaymode=-5; break; default: break; } } function justdur(chw) { if (!notuntil) { if (('' + chw) == '4') { defdur*=2; defdurt=eval(1000 * defdur); //displaymode=-4; } if (('' + chw) == '5') { defdur/=2; defdurt=eval(1000 * defdur); //displaymode=-5; } } } function sqit(inu, theial) { var idea=-4, words=[], alldur=0, opac=''; switch (displaymode) { case 0: outwo(inu.replace('url(','').replace(')','')); // default background image break; case 1: opac='linear-gradient(rgba(255,255,255,0.6),rgba(255,255,255,0.6)),'; outwo(ourcsvs[-displaymode + ourcsvs.length].split(',')[theial]); // Cut to the Chase break; case 2: opac='linear-gradient(rgba(255,255,255,0.6),rgba(255,255,255,0.6)),'; outwo(ourcsvs[-displaymode + ourcsvs.length].split(',')[theial]); // Blog Posting break; case 3: opac='linear-gradient(rgba(255,255,255,0.9),rgba(255,255,255,0.9)),'; outwo(ourcsvs[-displaymode + ourcsvs.length].split(',')[theial]); // Image Object Fit break; case 4: // double default duration defdur*=2; defdurt=eval(1000 * defdur); displaymode=-4; break; case 5: // halve default duration defdur/=2; defdurt=eval(1000 * defdur); displaymode=-5; break; default: break; } if (eval('' + ourcsvs.length) > 1) { // altanimtitlea[innow] + ' ' + altanimdura[innow] + ' ' + altanima[innow] + ' ' + altanimpida[innow] + ' ' + altanimcttca[innow]; document.body.title='' + ourtitleit(inu.split('(')[1].split(')')[0], ial, jal); words=document.getElementById('xbody').title.trim().split(' '); if (eval('' + words.length) >= 4) { if (words[eval(idea + words.length)] == 'Tutorial') { idea++; } alldur=eval('' + words[eval(idea + words.length)]); if (alldur > defdur) { moretowait=eval(-defdur + alldur); } } document.title= document.body.title.split(' //')[0].split(' 0')[0].split(' 1')[0].split(' 2')[0].split(' 3')[0].split(' 4')[0].split(' 5')[0].split(' 6')[0].split(' 7')[0].split(' 8')[0].split(' 9')[0] + ' ' + pbar; document.getElementById('tmeter').innerHTML='' + unred(document.title) + '' + bus + '
'; } else { if (window.parent) { if (typeof parent.titleit == 'function') { document.body.title='' + parent.titleit(inu.split('(')[1].split(')')[0], ial, jal); words=document.getElementById('xbody').title.trim().split(' '); if (eval('' + words.length) >= 4) { if (words[eval(idea + words.length)] == 'Tutorial') { idea++; } alldur=eval('' + words[eval(idea + words.length)]); if (alldur > defdur) { moretowait=eval(-defdur + alldur); } } document.title= document.body.title.split(' //')[0].split(' 0')[0].split(' 1')[0].split(' 2')[0].split(' 3')[0].split(' 4')[0].split(' 5')[0].split(' 6')[0].split(' 7')[0].split(' 8')[0].split(' 9')[0] + ' ' + pbar; document.getElementById('tmeter').innerHTML='' + unred(document.title) + '' + bus + '
'; } } if (window.opener) { if (typeof window.opener.titleit == 'function') { document.body.title='' + window.opener.titleit(inu.split('(')[1].split(')')[0], ial, jal); words=document.getElementById('xbody').title.trim().split(' '); if (eval('' + words.length) >= 4) { if (words[eval(idea + words.length)] == 'Tutorial') { idea++; } alldur=eval('' + words[eval(idea + words.length)]); if (alldur > defdur) { moretowait=eval(-defdur + alldur); } } document.title= document.body.title.split(' //')[0].split(' 0')[0].split(' 1')[0].split(' 2')[0].split(' 3')[0].split(' 4')[0].split(' 5')[0].split(' 6')[0].split(' 7')[0].split(' 8')[0].split(' 9')[0] + ' ' + pbar; document.getElementById('tmeter').innerHTML='' + unred(document.title) + '' + bus + '
'; } } } //bus+='x'; pbar=pbar.replace(whitesq, redsq); return opac + \"url('\" + inu.split('(')[1].split(')')[0] + \"')\"; // no-repeat contain } function jexpand(incsv) { ourcsvs=incsv.split(';') var outcsv=incsv.split(';')[0]; if (incsv == '') { return outcsv; } jaltanima=incsv.split(';')[0].split(','); jjal=pbarit(jaltanima.length); if (('' + jduris) == '0' || ('' + jduris) == '') { jduris=eval(" . $defdur . " * jjal); } var htbit='
'; htbit='
'; var stbit=\"\"; var jsis=\" var ial=1; \" + String.fromCharCode(10) + \" var alcont='\" + incsv + \"'; \" + String.fromCharCode(10) + \" var alconta=alcont.split(','); \" + String.fromCharCode(10) + \" var jal=\" + jjal + '; ' + String.fromCharCode(10); jsis+=String.fromCharCode(10) + \" function animateit() { if (moretowait > 0) { setTimeout(animateit, Math.round(eval(1000 * moretowait))); moretowait=0; return ''; } if (ial < jal) { if (document.getElementById('icursl')) { document.getElementById('icursl').src=alconta[ial]; } document.getElementById('xbody').style.background=sqit('url(' + alconta[ial] + ')',ial); document.getElementById('xbody').style.backgroundRepeat='no-repeat'; document.getElementById('xbody').style.backgroundPosition='center'; document.getElementById('xbody').style.backgroundSize='contain'; } else { ial=0; if (fromarg != toarg) { location.href=document.URL; } else { window.location.reload(); } firstsqit(); if (document.getElementById('icursl')) { document.getElementById('icursl').src=alconta[ial]; } document.getElementById('xbody').style.background=sqit('url(' + alconta[ial] + ')',ial); document.getElementById('xbody').style.backgroundRepeat='no-repeat'; document.getElementById('xbody').style.backgroundPosition='center'; document.getElementById('xbody').style.backgroundSize='contain'; } ial++; setTimeout(animateit,defdurt); } \"; return stbit + ' ' + jsis + ' setTimeout(animateit,defdurt); ' + '' + String.fromCharCode(10) + htbit; } function hashit() { if (('' + location.hash).replace(/^undefined/g,'').replace(/^null/g,'').replace(/^#/g,'') != '') { document.getElementById('xbody').style.width='' + screen.width + 'px'; document.getElementById('xbody').style.height='' + screen.height + 'px'; document.write(jexpand(decodeURIComponent(('' + location.hash).replace(/^undefined/g,'').replace(/^null/g,'').replace(/^#/g,'')))); var theusual=false; if (window.parent) { if (typeof parent.titleit == 'function') { theusual=true; } } if (window.opener) { if (typeof window.opener.titleit == 'function') { theusual=true; } } if (!theusual && eval('' + ourcsvs.length) > 3) { toarg='&dnar'; if (document.URL.indexOf(toarg) == -1) { documentURL=document.URL.replace(fromarg, toarg); if (ourcsvs[eval(-1 + ourcsvs.length)].indexOf('/ITblog') == -1 && ourcsvs[eval(-1 + ourcsvs.length)].replace(/0/g,'').replace(/1/g,'').replace(/2/g,'').replace(/3/g,'').replace(/4/g,'').replace(/5/g,'').replace(/6/g,'').replace(/7/g,'').replace(/8/g,'').replace(/9/g,'') == '') { window.open('//www.rjmprogramming.com.au/ITblog/?p=' + ourcsvs[eval(-1 + ourcsvs.length)].split(',')[0].replace('http:','').replace('https:','').split('#')[0] + '#content','_blank','top=' + eval(-700 + screen.height) + ',left=' + eval(-700 + screen.width) + ',width=700,height=700'); } else if (ourcsvs[eval(-1 + ourcsvs.length)].indexOf('/ITblog') == -1) { window.open(ourcsvs[eval(-1 + ourcsvs.length)].split(',')[0].replace('http:','').replace('https:','').split('#')[0] + '','_blank','top=' + eval(-700 + screen.height) + ',left=' + eval(-700 + screen.width) + ',width=700,height=700'); } else { window.open(ourcsvs[eval(-1 + ourcsvs.length)].split(',')[0].replace('http:','').replace('https:','').split('#')[0] + '#content','_blank','top=' + eval(-700 + screen.height) + ',left=' + eval(-700 + screen.width) + ',width=700,height=700'); } } } } } document.oncontextmenu=titleanalyze; document.onclick=analyzetitle; document.ondblclick=titleanalyze; hashit(); " . $ht . "
"; ?>