27d26 < $none='none'; 30,71d28 < $suffile=''; < < if (isset($_POST['newablzero']) && isset($_POST['infile'])) { < $sg=''; < $infis=str_replace('+',' ',urldecode($_POST['infile'])); < if (file_exists($infis)) { < if (strpos($infis, 'doctest-output') !== false) { < $suffile='/doctest-output' . explode('doctest-output', $infis)[1]; < if (strlen($_POST['newablzero']) > 0) { < //file_put_contents('x1.x1', '' . strlen($_POST['newablzero'])); < $excont=file_get_contents($infis); < //file_put_contents('x11.x11', '' . strlen($excont)); < if (strpos($excont, '') !== false) { < if (strpos($excont, '') !== false) { < $sgs=explode('', $excont); < $sg='' . $sgs[-1 + sizeof($sgs)]; < } < //file_put_contents('x111.x111', '' . strlen($excont)); < $newcont=plusdata(str_replace('+',' ',urldecode($_POST['newablzero']))); < //file_put_contents('x1111.x1111', '' . strlen($newcont)); < if (strpos($excont, $newcont) === false) { < //file_put_contents('x11111.x11111', '' . strlen($newcont)); < $newercont=str_replace($sg, $newcont . $sg, $excont); < //file_put_contents('x111111.x111111', '' . strlen($newercont)); < $outfis=rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('doctestoutput','doctest-output',str_replace('-','',$infis)); < file_put_contents($outfis, $newercont); < //file_put_contents('x1111112.x1111112', '' . strlen($newercont) . ' vs ' . $outfis . ' ' . strlen(file_get_contents($outfis))); < echo ""; < exit; < } < } < } else { < $excont=file_get_contents($infis); < $outfis=rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . str_replace('doctestoutput','doctest-output',str_replace('-','',$infis)); < file_put_contents($outfis, $excont); < echo ""; < exit; < } < } < } < exit; < } 301d257 < $none='inline-block'; 478c434 < var lasturl='', lasttext=null, gzero=null, lastx=0, lasty=0, lastw=0, lasth=0, lastp='', lastwoo=null, lastj=0, lssel='', zerodotsix='0.6', lastiurl='', szero=null, aimg='', lastimgc='', lastsvggeo=null, uselast=false; --- > var lasturl='', lasttext=null, gzero=null, lastx=0, lasty=0, lastw=0, lasth=0, lastp='', lastiurl='', szero=null, aimg='', lastimgc='', lastsvggeo=null, uselast=false; 499,503c455 < if (outig != '') { < document.getElementById('ablnewzero').value=outig; < document.getElementById('mybutsave').style.display='inline-block'; < } < return outig; --- > return outig; 508c460 < --- > 512,515d463 < document.getElementById('myform').action=document.URL.split('?')[0].split('#')[0]; < < cookieAVal('saved_family_tree_', true); < 545,641c493 < animbord(); //document.getElementById('mysub').style.border='3px dotted green'; < setTimeout(function(){ document.getElementById('mysub').click(); }, 2000); < } < } < < function deleteAVal(goodname, aparticularvalue) { < if (window.localStorage && goodname.indexOf('saved_family_tree_') == 0) { < if (('' + localStorage.getItem(goodname)).replace(/^undefined/g,'').replace(/^null/g,'') != '') { < if (aparticularvalue == '') { < localStorage.removeItem(goodname); < } else { < if (aparticularvalue.replace('HTTP','http').toLowerCase() == ('' + localStorage.getItem(goodname)).toLowerCase()) { < localStorage.removeItem(goodname); < } < } < } < } < } < < function setAVal(cName, cVal) { < if (cName.indexOf('saved_family_tree_') == 0) { < if (window.localStorage) { < localStorage.setItem(cName, encodeURIComponent(cVal)); < cookieAVal('saved_family_tree_', true); < return ' '; < } < return ''; < } < return ''; < } < < < function gotothis(inu) { < if (inu.trim() != '') { < if (inu.indexOf('HttP') == 0) { < var toe=null; < if (document.getElementById('sells').innerHTML.indexOf(inu + '\">') != -1) { < toe=prompt('Please enter email address or SMS number to share ' + document.getElementById('sells').innerHTML.split(inu + '\">')[1].split('<')[0].replace('Email or SMS ','') + ' with.', ''); < } else { < toe=prompt('Please enter email address or SMS number to share with.', ''); < } < if (toe == null) { toe=''; } < if (toe.indexOf('@') != -1) { < if (document.getElementById('sells').innerHTML.indexOf(inu + '\">') != -1) { < document.getElementById('myaemailsms').href='mailto:' + toe.trim() + '?subject=' + encodeURIComponent(document.getElementById('sells').innerHTML.split(inu + '\">')[1].split('<')[0].replace('Email or SMS ','')) + '&body=' + encodeURIComponent(inu.replace('HttP','http').split('#')[0].replace(/\-/g,'').replace('doctestoutput','doctest-output')); < document.getElementById('myaemailsms').click(); < } else { < document.getElementById('myaemailsms').href='mailto:' + toe.trim() + '?subject=' + encodeURIComponent('Family Tree') + '&body=' + encodeURIComponent(inu.replace('HttP','http').split('#')[0].replace(/\-/g,'').replace('doctestoutput','doctest-output')); < document.getElementById('myaemailsms').click(); < } < } else if (toe.trim() != '') { < if (toe.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,'') == '') { < document.getElementById('myaemailsms').href='sms:' + toe.trim() + '&body=' + encodeURIComponent(inu.replace('HttP','http').split('#')[0].replace(/\-/g,'').replace('doctestoutput','doctest-output')); < document.getElementById('myaemailsms').click(); < } < } < document.getElementById('sells').value=''; < } else if (inu.indexOf('HTTP') == 0) { < //alert('2:' + inu); < if (inu.indexOf('#saved_family_tree_') != -1) { < //alert('22:' + inu.split('#')[eval(-1 + inu.split('#').length)]); < deleteAVal(inu.split('#')[eval(-1 + inu.split('#').length)], encodeURIComponent(inu.replace('#' + inu.split('#')[eval(-1 + inu.split('#').length)], '').replace('HTTP','http'))); < //alert('222:' + inu.split('#')[eval(-1 + inu.split('#').length)]); < cookieAVal('saved_family_tree_', true); < //alert('2222:' + inu.split('#')[eval(-1 + inu.split('#').length)]); < } < } else { < //woo=window.open(inu, '_blank', 'top=50,left=50,width=800,height=800'); < woo=window.open(inu.replace(/\-/g,'').replace('doctestoutput','doctest-output').replace('http:','').replace('https:',''), '_blank', 'top=50,left=50,width=800,height=800'); < } < } < } < < function rework(what) { < var outw=what; < if (what.toLowerCase().indexOf('doctest output ') != -1 && what.toLowerCase().indexOf('.gv.') != -1) { < outw=what.toLowerCase().split('doctest output ')[1].split('.gv.')[0]; < var outwds=outw.split(' '); < outw=outwds[0].substring(0,1).toUpperCase() + (outwds[0] + ' ').substring(1).toLowerCase().trim(); < for (var io=1; io', '' + '' + '' + ''); --- > document.getElementById('mysub').click(); 644,660d495 < if (lssel != '') { < document.getElementById('ssel').innerHTML=lssel.trim(); < } < } < if (cName.indexOf('saved_family_tree_') == 0) { < if (window.localStorage) { < if (decodeURIComponent(('' + localStorage.getItem(cName)).replace(/^undefined/g,'').replace(/^null/g,'')) != '') { < return decodeURIComponent(localStorage.getItem(cName)); < } < if (decodeURIComponent(('' + sessionStorage.getItem(cName)).replace(/^undefined/g,'').replace(/^null/g,'')) != '') { < return decodeURIComponent(sessionStorage.getItem(cName)); < } < } < return ''; < } < return ''; < } 693d527 < document.getElementById('mysub').style.border='3px dotted green'; 702c536 < em=prompt('Please enter email address to send output ' + document.getElementById('fmt').value + ' URL link to. Default opacity is 0.6 but a hash ( ie. # ) separated alternative opacity value will be analyzed.', ''); --- > em=prompt('Please enter email address to send output ' + document.getElementById('fmt').value + ' URL link to.', ''); 727,734d560 < function animbord() { < var bcolsare=['green','#F0F8FF','#F0FFFF','#F0F0E0','#F0FFF0','#FFFFF0','#FFF0E0','#FFFFE0','#F0FFF0','#FFFFFF','#F0F0F0','#F0F7FF','#FFF8F0','#FFF0F0','#E0FFFF','#FFFFE0']; < document.getElementById('mysub').style.border='3px dotted ' + bcolsare[lastj]; < lastj++; < if (lastj >= eval('' + bcolsare.length)) { lastj=0; } < setTimeout(animbord, 200); < } < 755c581 < lastiurl=\"\"; --- > lastiurl=\"\"; 757c583 < lastiurl=\"\"; --- > lastiurl=\"\"; 762,764c588,590 < if (lastp.indexOf('Regarding ' + svgeo.innerHTML + ' please enter an optional image URL') == -1) { < pres=prompt('Regarding ' + svgeo.innerHTML + ' please enter an optional image URL. Default opacity is 0.6 but a hash ( ie. # ) separated alternative opacity value will be analyzed.', ''); < }'0' --- > if (lastp != 'Regarding ' + svgeo.innerHTML + ' please enter an optional image URL') { > pres=prompt('Regarding ' + svgeo.innerHTML + ' please enter an optional image URL', ''); > } 770,771d595 < if (pres.indexOf('#') == -1) { zerodotsix='0.6'; } else if (pres.indexOf('#') != -1) { zerodotsix=pres.split('#')[1]; pres=pres.split('#')[0].trim(); if ((zerodotsix + 'z').substring(0,1) < '0' || (zerodotsix + 'z').substring(0,1) > '9') { zerodotsix='0.6'; } } < if (pres != '') { 781a606 > //alert(document.getElementById('addimg').value); 783d607 < } 805,808d628 < if (intv.replace(' ','-').replace('_','-').indexOf('-') == -1 && intv.trim() != '') { < intvo.value='a-' + intv; < intv=intvo.value; < } 820,823d639 < if (document.getElementById('addimg').value != '') { < document.getElementById('ablnewzero').value=document.getElementById('addimg').value; < } < document.getElementById('mybutsave').style.display='inline-block'; 881,885c697 < function prechecksvg() { < checksvg(lastwoo); < } < < function checksvg(iiois) { --- > function checksvg(iois) { 887,894d698 < var iois=iiois; < if (lastwoo) { < iois=lastwoo.document.childNodes[0]; //.getSVGDocument(); < console.log('lAstwoo ' + lastwoo); < } else if (('' + iiois.src).toLowerCase().indexOf('.svg') == -1 && lastwoo != null) { < iois=lastwoo.document.childNodes[0]; //.getSVGDocument(); < console.log('lastwoo ' + lastwoo); < } 896d699 < console.log('lastwoo2'); 898,899d700 < console.log('lastwoo3a ' + iois.document); < console.log('lastwoo3 ' + aconto); 902d702 < console.log('lastwoo4 ' + aconto); 904d703 < console.log('lastwoo5 ' + aconto); 910,913d708 < if (iois == lastwoo) { < gs[sd].onclick=function(event){ window.opener.svgit(event.target, ''); }; < gs[sd].ondblclick=function(event){ window.opener.svgit(event.target, 'ask'); }; < } else { 916d710 < } 923,925d716 < if (iois == lastwoo) { < gs[sd].onclick=function(event){ window.opener.svghost(event.target, ''); }; < } else { 927d717 < } 950,951d739 < #ltd { background-color: #f0d0e0; } < #myif { background-color: #d0e0f0; } 960c748 <

Trying out Python GraphViz hosted in PHP " . $plus . " Family Tree  

--- >

Trying out Python GraphViz hosted in PHP " . $plus . " Family Tree  

963c751 <
--- >
965,966c753,754 < <
--- >
> 970,975c758,763 < < < <
<
<

--- > > > >
>
>

977c765 <       --- > 980,981c768 < <
--- >
990c777 < var lasturl='', lasttext=null, gzero=null, lastx=0, lasty=0, lastw=0, lasth=0, lastp='', lastwoo=null, lastj=0, lssel='', zerodotsix='0.6', lastiurl='', szero=null, aimg='', lastimgc='', lastsvggeo=null, uselast=false; --- > var lasturl='', lasttext=null, gzero=null, lastx=0, lasty=0, lastw=0, lasth=0, lastp='', lastiurl='', szero=null, aimg='', lastimgc='', lastsvggeo=null, uselast=false; 1005,1007c792,794 < //if (outgs[iop].split(dlm)[0] != outgs[iop].split(dlm)[0].replace(/\ /g,'+').replace(/\%20/g,'+')) { < // alert('found'); < //} --- > if (outgs[iop].split(dlm)[0] != outgs[iop].split(dlm)[0].replace(/\ /g,'+').replace(/\%20/g,'+')) { > alert('found'); > } 1011,1014d797 < if (outig != '') { < document.getElementById('ablnewzero').value=outig; < document.getElementById('mybutsave').style.display='inline-block'; < } 1024,1027d806 < document.getElementById('myform').action=document.URL.split('?')[0].split('#')[0]; < < cookieAVal('saved_family_tree_', true); < 1057,1058c836 < animbord(); document.getElementById('mysub').style.border='3px dotted green'; < setTimeout(function(){ document.getElementById('mysub').click(); }, 2000); --- > document.getElementById('mysub').click(); 1067,1177d844 < < function deleteAVal(goodname, aparticularvalue) { < if (window.localStorage && goodname.indexOf('saved_family_tree_') == 0) { < if (('' + localStorage.getItem(goodname)).replace(/^undefined/g,'').replace(/^null/g,'') != '') { < if (aparticularvalue == '') { < localStorage.removeItem(goodname); < } else { < if (aparticularvalue.replace('HTTP','http').toLowerCase() == ('' + localStorage.getItem(goodname)).toLowerCase()) { < localStorage.removeItem(goodname); < } < } < } < } < } < < function setAVal(cName, cVal) { < if (cName.indexOf('saved_family_tree_') == 0) { < if (window.localStorage) { < localStorage.setItem(cName, encodeURIComponent(cVal)); < cookieAVal('saved_family_tree_', true); < return ' '; < } < return ''; < } < return ''; < } < < function gotothis(inu) { < if (inu.trim() != '') { < if (inu.indexOf('HttP') == 0) { < var toe=null; < if (document.getElementById('sells').innerHTML.indexOf(inu + '\">') != -1) { < toe=prompt('Please enter email address or SMS number to share ' + document.getElementById('sells').innerHTML.split(inu + '\">')[1].split('<')[0].replace('Email or SMS ','') + ' with.', ''); < } else { < toe=prompt('Please enter email address or SMS number to share with.', ''); < } < if (toe == null) { toe=''; } < if (toe.indexOf('@') != -1) { < if (document.getElementById('sells').innerHTML.indexOf(inu + '\">') != -1) { < document.getElementById('myaemailsms').href='mailto:' + toe.trim() + '?subject=' + encodeURIComponent(document.getElementById('sells').innerHTML.split(inu + '\">')[1].split('<')[0].replace('Email or SMS ','')) + '&body=' + encodeURIComponent(inu.replace('HttP','http').split('#')[0].replace(/\-/g,'').replace('doctestoutput','doctest-output')); < document.getElementById('myaemailsms').click(); < } else { < document.getElementById('myaemailsms').href='mailto:' + toe.trim() + '?subject=' + encodeURIComponent('Family Tree') + '&body=' + encodeURIComponent(inu.replace('HttP','http').split('#')[0].replace(/\-/g,'').replace('doctestoutput','doctest-output')); < document.getElementById('myaemailsms').click(); < } < } else if (toe.trim() != '') { < if (toe.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,'') == '') { < document.getElementById('myaemailsms').href='sms:' + toe.trim() + '&body=' + encodeURIComponent(inu.replace('HttP','http').split('#')[0].replace(/\-/g,'').replace('doctestoutput','doctest-output')); < document.getElementById('myaemailsms').click(); < } < } < document.getElementById('sells').value=''; < } else if (inu.indexOf('HTTP') == 0) { < //alert('2:' + inu); < if (inu.indexOf('#saved_family_tree_') != -1) { < //alert('22:' + inu.split('#')[eval(-1 + inu.split('#').length)]); < deleteAVal(inu.split('#')[eval(-1 + inu.split('#').length)], encodeURIComponent(inu.replace('#' + inu.split('#')[eval(-1 + inu.split('#').length)], '').replace('HTTP','http'))); < //alert('222:' + inu.split('#')[eval(-1 + inu.split('#').length)]); < cookieAVal('saved_family_tree_', true); < //alert('2222:' + inu.split('#')[eval(-1 + inu.split('#').length)]); < } < } else { < //woo=window.open(inu, '_blank', 'top=50,left=50,width=800,height=800'); < woo=window.open(inu.replace(/\-/g,'').replace('doctestoutput','doctest-output').replace('http:','').replace('https:',''), '_blank', 'top=50,left=50,width=800,height=800'); < } < } < } < < function rework(what) { < var outw=what; < if (what.toLowerCase().indexOf('doctest output ') != -1 && what.toLowerCase().indexOf('.gv.') != -1) { < outw=what.toLowerCase().split('doctest output ')[1].split('.gv.')[0]; < var outwds=outw.split(' '); < outw=outwds[0].substring(0,1).toUpperCase() + (outwds[0] + ' ').substring(1).toLowerCase().trim(); < for (var io=1; io', '' + '' + '' + ''); < } < } < if (lssel != '') { < document.getElementById('ssel').innerHTML=lssel.trim(); < } < } < if (cName.indexOf('saved_family_tree_') == 0) { < if (window.localStorage) { < if (decodeURIComponent(('' + localStorage.getItem(cName)).replace(/^undefined/g,'').replace(/^null/g,'')) != '') { < return decodeURIComponent(localStorage.getItem(cName)); < } < if (decodeURIComponent(('' + sessionStorage.getItem(cName)).replace(/^undefined/g,'').replace(/^null/g,'')) != '') { < return decodeURIComponent(sessionStorage.getItem(cName)); < } < } < return ''; < } < return ''; < } 1184d850 < document.getElementById('mysub').style.border='3px dotted green'; 1219,1226d884 < function animbord() { < var bcolsare=['green','#F0F8FF','#F0FFFF','#F0F0E0','#F0FFF0','#FFFFF0','#FFF0E0','#FFFFE0','#F0FFF0','#FFFFFF','#F0F0F0','#F0F7FF','#FFF8F0','#FFF0F0','#E0FFFF','#FFFFE0']; < document.getElementById('mysub').style.border='3px dotted ' + bcolsare[lastj]; < lastj++; < if (lastj >= eval('' + bcolsare.length)) { lastj=0; } < setTimeout(animbord, 200); < } < 1243c901 < lastiurl=\"\"; --- > lastiurl=\"\"; 1245c903 < lastiurl=\"\"; --- > lastiurl=\"\"; 1250,1251c908,909 < if (lastp.indexOf('Regarding ' + svgeo.innerHTML + ' please enter an optional image URL') == -1) { < pres=prompt('Regarding ' + svgeo.innerHTML + ' please enter an optional image URL. Default opacity is 0.6 but a hash ( ie. # ) separated alternative opacity value will be analyzed.', ''); --- > if (lastp != 'Regarding ' + svgeo.innerHTML + ' please enter an optional image URL') { > pres=prompt('Regarding ' + svgeo.innerHTML + ' please enter an optional image URL', ''); 1258,1259d915 < if (pres.indexOf('#') == -1) { zerodotsix='0.6'; } else if (pres.indexOf('#') != -1) { zerodotsix=pres.split('#')[1]; pres=pres.split('#')[0].trim(); if ((zerodotsix + 'z').substring(0,1) < '0' || (zerodotsix + 'z').substring(0,1) > '9') { zerodotsix='0.6'; } } < if (pres != '') { 1271d926 < } 1309,1312d963 < if (intv.replace(' ','-').replace('_','-').indexOf('-') == -1 && intv.trim() != '') { < intvo.value='a-' + intv; < intv=intvo.value; < } 1324,1327d974 < if (document.getElementById('addimg').value != '') { < document.getElementById('ablnewzero').value=document.getElementById('addimg').value; < } < document.getElementById('mybutsave').style.display='inline-block'; 1386,1449c1033 < function prechecksvg() { < checksvg(lastwoo); < } < < function checksvg(iiois) { < var gs=[]; < var iois=iiois; < if (('' + iiois.src).toLowerCase().indexOf('.svg') == -1 && lastwoo != null) { < iois=lastwoo; < //alert(1); < console.log('lastWoo'); < } < if (iois != null) { // check out window.svgDocument < console.log('lastWoo2'); < var aconto = (iois.contentWindow || iois.contentDocument); < console.log('lastWoo3 ' + aconto); < if (aconto != null) { < //alert(1); < console.log('lastWoo4 ' + aconto); < if (aconto.document) { < console.log('lastWoo5 ' + aconto); < aconto = aconto.document; < gs=aconto.getElementsByTagName('g'); < if (eval('' + gs.length) > 0) { < gzero=gs[0]; < for (var sd=0; sd 0) { < szero=gs[0]; < for (var sd=0; sd function checksvg(iois) { 1490,1491d1073 < #ltd { background-color: #f0d0e0; } < #myif { background-color: #d0e0f0; } 1500c1082 <

Trying out Python GraphViz hosted in PHP " . $plus . " Family Tree  

--- >

Trying out Python GraphViz hosted in PHP " . $plus . " Family Tree  

1503c1085 <
--- >
1505,1506c1087,1088 < <
--- >
> 1511,1516c1093,1098 < < < <
<
<

--- > > > >
>
>

1518c1100 <       --- > 1521,1522c1103,1104 < <
--- > >