gfdg nhffd

"; //exit; //} else { $furl=((isset($_SERVER['HTTPS']) ? "https" : "http") . "://" . $_SERVER[HTTP_HOST] . $_SERVER[REQUEST_URI]); $dpath=str_replace("$#$","//", explode("/",str_replace("//","$#$",$furl))[0] ) . "/"; $frest=explode(((isset($_SERVER['HTTPS']) ? "https" : "http") . "://" . $_SERVER[HTTP_HOST] . "/"), ((isset($_SERVER['HTTPS']) ? "https" : "http") . "://" . $_SERVER[HTTP_HOST] . $_SERVER[REQUEST_URI]) )[1]; $sincebefore=""; $prefix=""; $notprefix=""; for ($i=0; $i<(-1 + sizeof(explode("/",$frest))); $i++) { $notprefix=explode($frest,$furl)[0]; $prefix.="../"; } if ($prefix == "") $notprefix=""; $first=true; $outputto=""; $outputsofar=""; $outputpdf=null; $top=1; $title=""; $wastitle=""; $istitle=""; $cpn=1; $emailto=""; if (isset($_GET['emailto'])) { $emailto=urldecode($_GET['emailto']); } else if (isset($_POST['emailto'])) { $emailto=urldecode($_POST['emailto']); } $jscr=" var emailclicked=false; var emailtois='" . $emailto . "'; var today=new Date(); var yyyy = today.getFullYear(); function ol() { var dprefix='0', mprefix='0', i, months=['','January','February','March','April','May','June','July','August','September','October','November','December']; for (i=1; i<=12; i++) { document.getElementById('smonthb').innerHTML+=''; document.getElementById('smonths').innerHTML+=''; if (i == 9) mprefix=''; } for (i=1; i<=31; i++) { document.getElementById('sdayb').innerHTML+=''; document.getElementById('sdays').innerHTML+=''; if (i == 9) dprefix=''; } for (i=eval('' + yyyy) + 1; i>(eval('' + yyyy) - 100); i--) { document.getElementById('syearb').innerHTML+=''; document.getElementById('syears').innerHTML+=''; } } function dc(sois) { if (sois.value != '') { var paro=null, lastc=sois.id.slice(-1); if (sois.id.indexOf('year') != -1) { paro=document.getElementById(sois.id.replace('s','dm').replace('year','date')); if (paro.value == '') { if (document.getElementById(sois.id.replace('year' + lastc,'month' + lastc)).value == '') { document.getElementById(sois.id.replace('year' + lastc,'month' + lastc)).value='01'; } if (document.getElementById(sois.id.replace('year' + lastc,'day' + lastc)).value == '') { document.getElementById(sois.id.replace('year' + lastc,'day' + lastc)).value='01'; } } paro.value=sois.value + '-' + document.getElementById(sois.id.replace('year' + lastc,'month' + lastc)).value + '-' + document.getElementById(sois.id.replace('year' + lastc,'day' + lastc)).value; } else if (sois.id.indexOf('month') != -1) { paro=document.getElementById(sois.id.replace('s','dm').replace('month','date')); if (paro.value == '') { if (document.getElementById(sois.id.replace('month' + lastc,'day' + lastc)).value == '') { document.getElementById(sois.id.replace('month' + lastc,'day' + lastc)).value='01'; } if (document.getElementById(sois.id.replace('month' + lastc,'year' + lastc)).value == '') { document.getElementById(sois.id.replace('month' + lastc,'year' + lastc)).value='' + yyyy; } } paro.value=document.getElementById(sois.id.replace('month' + lastc,'year' + lastc)).value + '-' + sois.value + '-' + document.getElementById(sois.id.replace('month' + lastc,'day' + lastc)).value; } else if (sois.id.indexOf('day') != -1) { paro=document.getElementById(sois.id.replace('s','dm').replace('day','date')); if (paro.value == '') { if (document.getElementById(sois.id.replace('day' + lastc,'month' + lastc)).value == '') { document.getElementById(sois.id.replace('day' + lastc,'month' + lastc)).value='01'; } if (document.getElementById(sois.id.replace('day' + lastc,'year' + lastc)).value == '') { document.getElementById(sois.id.replace('day' + lastc,'year' + lastc)).value='' + yyyy; } } paro.value=document.getElementById(sois.id.replace('day' + lastc,'year' + lastc)).value + '-' + document.getElementById(sois.id.replace('day' + lastc,'month' + lastc)).value + '-' + sois.value; } } } function checkthings() { if (document.getElementById('dpath').value.toLowerCase().indexOf('rjmprogramming.com.au') != -1 && (document.getElementById('dfilespec').value + '~').indexOf('GETME~') == -1) { alert('Sorry, no can do.'); return false; } if (emailclicked) { if (emailtois == '' || document.getElementById('emailto').value.indexOf('@') != -1) { emailtois=document.getElementById('emailto').value; } var pem=prompt('Please enter email address to email report to', emailtois); if (pem == null) return false; if (pem.indexOf('@') != -1) { document.getElementById('emailto').value=pem; } else { return false; } } return true; } window.onload=ol; "; function qt($ptop) { global $outputto, $outputsofar, $outputpdf, $top, $cpn; if ($outputpdf->PageNo() != $cpn) { $top=1; $cpn=$outputpdf->PageNo(); } return $top; } function ourhtmltopdf($hwhat) { global $outputto, $outputsofar, $outputpdf, $top, $istitle, $wastitle, $emailto; if (strpos($hwhat, ">") !== false) { if (strpos($hwhat, "AddPage(); //$outputpdf->SetFont('Arial','B',16); $candidates=explode(">",$hwhat); for ($ii=1; $iiCell(40,qt($top),explode("<",$candidates[$ii])[0]); $top+=(1 * sizeof(explode("\n", explode("<",$candidates[$ii])[0]))); $outputsofar.=explode("<",$candidates[$ii])[0]; } else if (strpos($candidates[-1 + $ii], "