-'; $minus='-'; $plus='-'; $minus='-'; $yes='n'; $fmt='svg'; $mode='Digraph'; $shape=''; $fsize=''; $bcol='lightblue2'; $bbcol='#aed8e8'; $newt=''; $newablzero='My%20Family%20Tree'; $nondefshapes=str_replace("\n",""," Box Polygon Ellipse Oval Circle Point Egg Triangle Plaintext Plain Diamond Trapezium Parallelogram House Pentagon Hexagon Septagon Octagon Doublecircle Doubleoctagon Tripleoctagon Invtriangle Invtrapezium Invhouse Mdiamond Wsquare Mcircle Rect Rectangle Square Star None Underline Cylinder Note Tab Folder Box3d Component Promoter Cds Terminator Utr Primersite Restrictionsite Fivepoverhang Threepoverhang Noverhang Assembly Signature Insulator Ribosite Rnastab Proteasesite Proteinstab Rpromoter Rarrow Larrow Lpromoter"); $pyprefix=''; $pymidbit=''; $pysuffix=''; function server_remote_addr() { $rma = $_SERVER['REMOTE_ADDR']; return str_replace('.','_',$rma); } if (!isset($_POST['one']) && !isset($_POST['two']) && !isset($_POST['three']) && !isset($_POST['original'])) { $yes='y'; $newabl[1]=''; $newabl[2]=''; $newabl[3]=''; $_POST['one']=$newabl[1]; $_POST['two']=$newabl[2]; $_POST['three']=$newabl[3]; } else { $plus='+'; $minus='-'; } if (isset($_POST['title'])) { $newabl[0]=trim(str_replace('+',' ',urldecode($_POST['title']))); $newablzero=str_replace('+','%20',urlencode($newabl[0])); } else if (!isset($_POST['original'])) { $_POST['title']=$newabl[0]; } if (strpos($newabl[0], 'amily') !== false) { $parts=explode('-',str_replace('_','-',$newabl[0])); $newt=''; for ($iy=0; $iy> " . $prefix . "family_tree.good 2>> " . $prefix . "family_tree.bad \nln -s " . $prefix . "doctest-output" . DIRECTORY_SEPARATOR . $newabl[0] . ".gv.pdf " . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . "doctest-output" . DIRECTORY_SEPARATOR . $newabl[0] . ".gv.pdf \nrm -f " . $prefix . "family_tree_" . $suffix . ".py \nrm -f " . $prefix . "family_tree_" . $suffix . ".ksh \nexit"); file_put_contents($prefix . 'family_tree_' . $suffix . '.ksh', "#!/bin/ksh\n/usr/bin/python3 " . $prefix . "family_tree_" . $suffix . ".py >> " . $prefix . "family_tree.good 2>> " . $prefix . "family_tree.bad \nsleep 5\n\n/usr/bin/python3 " . $prefix . "family_tree_" . $suffix . ".py >> " . $prefix . "family_tree.good 2>> " . $prefix . "family_tree.bad \n\nrm -f " . $prefix . "family_tree_" . $suffix . ".py \nrm -f " . $prefix . "family_tree_" . $suffix . ".ksh \nexit"); //file_put_contents($prefix . 'family_tree0_' . $suffix . '.ksh', "#!/bin/ksh\n/usr/bin/python3 " . $prefix . "family_tree_" . $suffix . ".py >> " . $prefix . "family_tree.good 2>> " . $prefix . "family_tree.bad \nsleep(5)\n\n/usr/bin/python3 " . $prefix . "family_tree_" . $suffix . ".py >> " . $prefix . "family_tree.good 2>> " . $prefix . "family_tree.bad \n\n\nrm -f " . $prefix . "family_tree_" . $suffix . ".py \nrm -f " . $prefix . "family_tree_" . $suffix . ".ksh \nexit"); exec('chmod 777 ' . $prefix . 'family_tree_' . $suffix . '.ksh'); exec('chown root ' . $prefix . 'family_tree_' . $suffix . '.ksh'); exec('chgrp root ' . $prefix . 'family_tree_' . $suffix . '.ksh'); while (file_exists($prefix . 'family_tree_' . $suffix . '.ksh')) { sleep(10); } } else { file_put_contents('/tmp/family_tree.py', $pycont); exec('chmod 777 ' . '/tmp/family_tree.py'); exec('chown rjmprogr ' .'/tmp/family_tree.py'); exec('chgrp rjmprogr ' . '/tmp/family_tree.py'); //if (file_exists('doctest-output' . DIRECTORY_SEPARATOR . $newabl[0] . '.gv.pdf')) { //exec('rm -f ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $newabl[0] . '.gv.pdf'); //exec('rm -f ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $newabl[0] . '.gv'); //unlink('doctest-output' . DIRECTORY_SEPARATOR . $newabl[0] . '.gv.pdf'); //unlink('doctest-output' . DIRECTORY_SEPARATOR . $newabl[0] . '.gv'); //} exec('/usr/bin/python3 /tmp/family_tree.py > family_tree.good 2> family_tree.bad'); sleep(8); //if (file_exists($prefix . 'doctest-output' . DIRECTORY_SEPARATOR . $newabl[0] . '.gv.pdf')) { //exec('ln -s ' . $prefix . 'doctest-output' . DIRECTORY_SEPARATOR . $newabl[0] . '.gv.pdf ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'doctest-output' . DIRECTORY_SEPARATOR . $newabl[0] . '.gv.pdf'); //} } } else { exec('/usr/bin/python3 family_tree.py'); sleep(8); } if (file_exists($prefix . 'doctest-output' . DIRECTORY_SEPARATOR . $newabl[0] . '.gv.' . $fmt)) { exec('chmod 777 ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $newabl[0] . '.gv.' . $fmt); exec('chmod 777 ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $newabl[0] . '.gv'); exec('chown rjmprogr ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $newabl[0] . '.gv.' . $fmt); exec('chown rjmprogr ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $newabl[0] . '.gv'); exec('chgrp rjmprogr ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $newabl[0] . '.gv.' . $fmt); exec('chgrp rjmprogr ' . $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $newabl[0] . '.gv'); echo " Trying out Python GraphViz hosted in PHP - RJM Programming - September, 2024 - Family Tree function ph() { var aplace='';0 // one aplace='" . $abl[1] . "'; //'5th Edition;6th Edition,PWB 1.0|6th Edition;LSX,1 BSD,Mini Unix,Wollongong,Interdata|Interdata;Unix/TS 3.0,PWB 2.0,7th Edition'; document.getElementById('one').placeholder=aplace; // two aplace='" . $abl[2] . "'; //'7th Edition;8th Edition,32V,V7M,Ultrix-11,Xenix,UniPlus+|V7M;Ultrix-11'; document.getElementById('two').placeholder=aplace; // three aplace='" . $abl[3] . "'; //'8th Edition;9th Edition|1 BSD;2 BSD|2 BSD;2.8 BSD|2.8 BSD;Ultrix-11,2.9 BSD|32V;3 BSD|3 BSD;4 BSD|4 BSD;4.1 BSD|4.1 BSD;4.2 BSD|4.2 BSD;4.3 BSD,Ultrix-32|PWB 1.0;PWB 1.2,USG 1.0|PWB 1.2;PWB 2.0|USG 1.0;CB Unix 1,USG 2.0|CB Unix 1;CB Unix 2|CB Unix 2;CB Unix 3|CB Unix 3;Unix/TS++,PDP-11 Sys V|USG 2.0;USG 3.0|USG 3.0;Unix/TS 3.0|PWB 2.0;Unix/TS 3.0|Unix/TS 1.0;Unix/TS 3.0|Unix/TS 3.0;TS 4.0|Unix/TS++;TS 4.0|CB Unix 3;TS 4.0|TS 4.0;System V.0|System V.0;System V.2|System V.2;System V.3'; document.getElementById('three').placeholder=aplace; var asize=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('fsize=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('fsize=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : ''; if (asize != '') { document.getElementById('fsize').value=asize; } else if ('" . $fsize . "' != '') { document.getElementById('fsize').value='" . $fsize . "'; } var ashape=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('shape=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('shape=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : ''; if (ashape != '') { document.getElementById('shape').value=ashape; } else if ('" . $shape . "' != '') { document.getElementById('shape').value='" . $shape . "'; } var acol=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('back=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('back=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : ''; if (acol != '') { if (('' + acol.length) == '6') { document.getElementById('back').value='#' + acol; } else { document.getElementById('back').value='' + acol; } } var amode=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('mode=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('mode=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : ''; if (amode != '') { document.getElementById('mode').value=amode; } var atitle=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('title=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('title=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : ''; if (atitle != '') { document.getElementById('ititle').value=atitle; } var aone=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('one=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('one=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : ''; if (aone != '') { document.getElementById('plus').title='Smaller'; document.getElementById('minus').style.cursor='Pointer'; document.getElementById('minus').style.textDecoration='underline'; document.getElementById('plus').title='Bigger'; document.getElementById('plus').style.cursor='Pointer'; document.getElementById('plus').style.textDecoration='underline'; document.getElementById('plus').innerHTML='+'; while (aone.indexOf(String.fromCharCode(9)) != -1) { aone=aone.replace(String.fromCharCode(9),'+'); } document.getElementById('one').value=aone; document.getElementById('none').value=aone; } var atwo=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('two=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('two=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : ''; if (atwo != '') { while (atwo.indexOf(String.fromCharCode(9)) != -1) { atwo=atwo.replace(String.fromCharCode(9),'+'); } document.getElementById('two').value=atwo; document.getElementById('ntwo').value=atwo; } var athree=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('three=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('three=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : ''; if (athree != '') { while (athree.indexOf(String.fromCharCode(9)) != -1) { athree=athree.replace(String.fromCharCode(9),'+'); } document.getElementById('three').value=athree; document.getElementById('nthree').value=athree; } var afmt=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('fmt=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('fmt=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : 'svg'; if (afmt != '' && document.getElementById('one').value != '') { document.getElementById('fmt').value=afmt; } if (('' + location.hash).indexOf('title=') != -1 && atitle.trim() != '' && aone.trim() != '') { document.getElementById('mysub').click(); } } function phv(tao) { if (tao.value == '') { tao.value=tao.placeholder; } } function various(indi) { var outdi=indi; outdi=outdi.replace(/\|\;/g, encodeURIComponent('|') + ';'); outdi=outdi.replace(/\,\;/g, encodeURIComponent(',') + ';'); outdi=outdi.replace(/\;\;/g, encodeURIComponent(';') + ';'); outdi=outdi.replace(/\|\,/g, encodeURIComponent('|') + ','); outdi=outdi.replace(/\,\,/g, encodeURIComponent(',') + ','); outdi=outdi.replace(/\;\,/g, encodeURIComponent(';') + ','); outdi=outdi.replace(/\|\|/g, encodeURIComponent('|') + '|'); outdi=outdi.replace(/\,\|/g, encodeURIComponent(',') + '|'); outdi=outdi.replace(/\;\|/g, encodeURIComponent(';') + '|'); return outdi; } function contentfix(inid) { document.getElementById('ititle').value=document.getElementById('ititle').value.replace(/\+/g,'-').replace(/\=/g,'-').replace(/\ /g,'-'); //document.getElementById('one').value=document.getElementById('one').value.replace(/\+/g,'`'); //document.getElementById('two').value=document.getElementById('two').value.replace(/\+/g,'`'); //document.getElementById('three').value=document.getElementById('three').value.replace(/\+/g,'`'); document.getElementById('none').value=various(document.getElementById('one').value.replace(/\+/g,String.fromCharCode(9))); document.getElementById('ntwo').value=various(document.getElementById('two').value.replace(/\+/g,String.fromCharCode(9))); document.getElementById('nthree').value=various(document.getElementById('three').value.replace(/\+/g,String.fromCharCode(9))); return inid; } function emailit(inais) { event.stopPropagation(); var em=null; em=prompt('Please enter email address to send output ' + document.getElementById('fmt').value + ' URL link to.', ''); if (em == null) { em=''; } if (em.indexOf('@') != -1) { document.getElementById('ititle').value=document.getElementById('ititle').value.replace(/\+/g,'-').replace(/\=/g,'-').replace(/\ /g,'-'); document.getElementById('none').value=various(document.getElementById('one').value.replace(/\+/g,String.fromCharCode(9))); document.getElementById('ntwo').value=various(document.getElementById('two').value.replace(/\+/g,String.fromCharCode(9))); document.getElementById('nthree').value=various(document.getElementById('three').value.replace(/\+/g,String.fromCharCode(9))); em+='?subject=' + document.getElementById('newablzero').value + '&body=' + encodeURIComponent( (document.URL.split('?')[0].split('#')[0] + '?rand=' + Math.floor(Math.random() * 19897865) + '#title=' + encodeURIComponent(document.getElementById('ititle').value) + '#back=' + encodeURIComponent(document.getElementById('back').value.replace('#','')) + '#fsize=' + encodeURIComponent(document.getElementById('fsize').value) + '#shape=' + encodeURIComponent(document.getElementById('shape').value) + '#mode=' + encodeURIComponent(document.getElementById('mode').value) + '#fmt=' + encodeURIComponent(document.getElementById('fmt').value) + '#one=' + encodeURIComponent(document.getElementById('none').value) + '#two=' + encodeURIComponent(document.getElementById('ntwo').value) + '#three=' + encodeURIComponent(document.getElementById('nthree').value)).replace('#fmt=svg#one=#','#fmt=pdf#one=#') ); document.getElementById('dimap').innerHTML=\"Email\"; document.getElementById('theaemail').click(); } return false; } function naz(intv) { var retval='My%20%Family%20Tree'; var jntv=intv.replace(/\ /g,'-').replace(/\_/g,'-'); var jst=jntv.split('-'); if (jntv.indexOf('amily') != -1) { retval=jst[0].substring(0,1).toUpperCase() + jst[0].substring(1).toLowerCase() + ' '; for (var ij=1; ijSMS\"; if (!document.getElementById('theasms') && document.getElementById('psms')) { document.getElementById('psms').click(); } else { document.getElementById('theasms').click(); } } } return false; } function domore(hm) { var rectis=document.getElementById('myif').getBoundingClientRect(); if (('' + hm) == '1') { document.getElementById('myif').style.width='' + eval(eval('' + rectis.width) * 1.1) + 'px'; document.getElementById('myif').style.height='' + eval(eval('' + rectis.height) * 1.1) + 'px'; } else if (('' + hm) == '-1') { document.getElementById('myif').style.width='' + eval(eval('' + rectis.width) * 0.9) + 'px'; document.getElementById('myif').style.height='' + eval(eval('' + rectis.height) * 0.9) + 'px'; } else if (('' + hm) == '-2') { document.getElementById('myif').style.width='' + eval(eval('' + rectis.width) * 0.8) + 'px'; document.getElementById('myif').style.height='' + eval(eval('' + rectis.height) * 0.8) + 'px'; } else { document.getElementById('myif').style.width='' + eval(eval('' + rectis.width) * 1.2) + 'px'; document.getElementById('myif').style.height='' + eval(eval('' + rectis.height) * 1.2) + 'px'; } } Trying out Python GraphViz hosted in PHP " . $plus . " Family Tree 📧 📟 RJM Programming " . $minus . " September, 2024 Thanks to https://forum.graphviz.org/t/emojis-not-working/1935/2 Title ... SVGPDF Record" . $nondefshapes . " DigraphGraph Family Tree Names ... " . str_replace("\t","+",urldecode($newabl[1])) . " " . str_replace("\t","+",urldecode($newabl[2])) . " " . str_replace("\t","+",urldecode($newabl[3])) . " " . str_replace("\t","+",urldecode($newabl[1])) . " " . str_replace("\t","+",urldecode($newabl[2])) . " " . str_replace("\t","+",urldecode($newabl[3])) . " "; } else { echo " Trying out Python GraphViz hosted in PHP - RJM Programming - September, 2024 - Family Tree function ph() { var aplace=''; // one aplace='" . $abl[0] . "'; //'5th Edition;6th Edition,PWB 1.0|6th Edition;LSX,1 BSD,Mini Unix,Wollongong,Interdata|Interdata;Unix/TS 3.0,PWB 2.0,7th Edition'; document.getElementById('one').placeholder=aplace; // two aplace='" . $abl[1] . "'; //'7th Edition;8th Edition,32V,V7M,Ultrix-11,Xenix,UniPlus+|V7M;Ultrix-11'; document.getElementById('two').placeholder=aplace; // three aplace='" . $abl[2] . "'; //'8th Edition;9th Edition|1 BSD;2 BSD|2 BSD;2.8 BSD|2.8 BSD;Ultrix-11,2.9 BSD|32V;3 BSD|3 BSD;4 BSD|4 BSD;4.1 BSD|4.1 BSD;4.2 BSD|4.2 BSD;4.3 BSD,Ultrix-32|PWB 1.0;PWB 1.2,USG 1.0|PWB 1.2;PWB 2.0|USG 1.0;CB Unix 1,USG 2.0|CB Unix 1;CB Unix 2|CB Unix 2;CB Unix 3|CB Unix 3;Unix/TS++,PDP-11 Sys V|USG 2.0;USG 3.0|USG 3.0;Unix/TS 3.0|PWB 2.0;Unix/TS 3.0|Unix/TS 1.0;Unix/TS 3.0|Unix/TS 3.0;TS 4.0|Unix/TS++;TS 4.0|CB Unix 3;TS 4.0|TS 4.0;System V.0|System V.0;System V.2|System V.2;System V.3'; document.getElementById('three').placeholder=aplace; var asize=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('fsize=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('fsize=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : ''; if (asize != '') { document.getElementById('fsize').value=asize; } else if ('" . $fsize . "' != '') { document.getElementById('fsize').value='" . $fsize . "'; } var ashape=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('shape=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('shape=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : ''; if (ashape != '') { document.getElementById('shape').value=ashape; } else if ('" . $shape . "' != '') { document.getElementById('shape').value='" . $shape . "'; } var acol=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('back=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('back=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : ''; if (acol != '') { if (('' + acol.length) == '6') { document.getElementById('back').value='#' + acol; } else { document.getElementById('back').value='' + acol; } } var amode=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('mode=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('mode=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : ''; if (amode != '') { document.getElementById('mode').value=amode; } var atitle=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('title=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('title=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : ''; if (atitle != '') { document.getElementById('ititle').value=atitle; } var aone=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('one=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('one=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : ''; if (aone != '') { document.getElementById('plus').title='Smaller'; document.getElementById('minus').style.cursor='Pointer'; document.getElementById('minus').style.textDecoration='underline'; document.getElementById('plus').title='Bigger'; document.getElementById('plus').style.cursor='Pointer'; document.getElementById('plus').style.textDecoration='underline'; document.getElementById('plus').innerHTML='+'; while (aone.indexOf(String.fromCharCode(9)) != -1) { aone=aone.replace(String.fromCharCode(9),'+'); } document.getElementById('one').value=aone; document.getElementById('none').value=aone; } var atwo=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('two=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('two=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : ''; if (atwo != '') { while (atwo.indexOf(String.fromCharCode(9)) != -1) { atwo=atwo.replace(String.fromCharCode(9),'+'); } document.getElementById('two').value=atwo; document.getElementById('ntwo').value=atwo; } var athree=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('three=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('three=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : ''; if (athree != '') { while (athree.indexOf(String.fromCharCode(9)) != -1) { athree=athree.replace(String.fromCharCode(9),'+'); } document.getElementById('three').value=athree; document.getElementById('nthree').value=athree; } var afmt=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('fmt=')[1] ? (decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('fmt=')[1].split('&')[0].split('#')[0].split(encodeURIComponent('#'))[0])) : 'svg'; if (afmt != '' && document.getElementById('one').value != '') { document.getElementById('fmt').value=afmt; } if (('' + location.hash).indexOf('title=') != -1 && atitle.trim() != '' && aone.trim() != '') { document.getElementById('mysub').click(); } } function phv(tao) { if (tao.value == '') { tao.value=tao.placeholder; } } function contentfix(inid) { document.getElementById('ititle').value=document.getElementById('ititle').value.replace(/\+/g,'-').replace(/\=/g,'-').replace(/\ /g,'-'); document.getElementById('none').value=various(document.getElementById('one').value.replace(/\+/g,String.fromCharCode(9))); document.getElementById('ntwo').value=various(document.getElementById('two').value.replace(/\+/g,String.fromCharCode(9))); document.getElementById('nthree').value=various(document.getElementById('three').value.replace(/\+/g,String.fromCharCode(9))); return inid; } function various(indi) { var outdi=indi; outdi=outdi.replace(/\|\;/g, encodeURIComponent('|') + ';'); outdi=outdi.replace(/\,\;/g, encodeURIComponent(',') + ';'); outdi=outdi.replace(/\;\;/g, encodeURIComponent(';') + ';'); outdi=outdi.replace(/\|\,/g, encodeURIComponent('|') + ','); outdi=outdi.replace(/\,\,/g, encodeURIComponent(',') + ','); outdi=outdi.replace(/\;\,/g, encodeURIComponent(';') + ','); outdi=outdi.replace(/\|\|/g, encodeURIComponent('|') + '|'); outdi=outdi.replace(/\,\|/g, encodeURIComponent(',') + '|'); outdi=outdi.replace(/\;\|/g, encodeURIComponent(';') + '|'); return outdi; } function emailit(inais) { event.stopPropagation(); var em=null; em=prompt('Please enter email address to send output ' + document.getElementById('fmt').value + ' URL link to.', ''); if (em == null) { em=''; } if (em.indexOf('@') != -1) { document.getElementById('ititle').value=document.getElementById('ititle').value.replace(/\+/g,'-').replace(/\=/g,'-').replace(/\ /g,'-'); document.getElementById('none').value=various(document.getElementById('one').value.replace(/\+/g,String.fromCharCode(9))); document.getElementById('ntwo').value=various(document.getElementById('two').value.replace(/\+/g,String.fromCharCode(9))); document.getElementById('nthree').value=various(document.getElementById('three').value.replace(/\+/g,String.fromCharCode(9))); em+='?subject=' + document.getElementById('newablzero').value + '&body=' + encodeURIComponent( (document.URL.split('?')[0].split('#')[0] + '?rand=' + Math.floor(Math.random() * 19897865) + '#title=' + encodeURIComponent(document.getElementById('ititle').value) + '#back=' + encodeURIComponent(document.getElementById('back').value.replace('#','')) + '#fsize=' + encodeURIComponent(document.getElementById('fsize').value) + '#shape=' + encodeURIComponent(document.getElementById('shape').value) + '#mode=' + encodeURIComponent(document.getElementById('mode').value) + '#fmt=' + encodeURIComponent(document.getElementById('fmt').value) + '#one=' + encodeURIComponent(document.getElementById('none').value) + '#two=' + encodeURIComponent(document.getElementById('ntwo').value) + '#three=' + encodeURIComponent(document.getElementById('nthree').value)).replace('#fmt=svg#one=#','#fmt=pdf#one=#') ); document.getElementById('dimap').innerHTML=\"Email\"; document.getElementById('theaemail').click(); } return false; } function naz(intv) { var retval='My%20%Family%20Tree'; var jntv=intv.replace(/\ /g,'-').replace(/\_/g,'-'); var jst=jntv.split('-'); if (jntv.indexOf('amily') != -1) { retval=jst[0].substring(0,1).toUpperCase() + jst[0].substring(1).toLowerCase() + ' '; for (var ij=1; ijSMS\"; if (!document.getElementById('theasms') && document.getElementById('psms')) { document.getElementById('psms').click(); } else { document.getElementById('theasms').click(); } } } return false; } function domore(hm) { var rectis=document.getElementById('myif').getBoundingClientRect(); if (('' + hm) == '1') { document.getElementById('myif').style.width='' + eval(eval('' + rectis.width) * 1.1) + 'px'; document.getElementById('myif').style.height='' + eval(eval('' + rectis.height) * 1.1) + 'px'; } else if (('' + hm) == '-1') { document.getElementById('myif').style.width='' + eval(eval('' + rectis.width) * 0.9) + 'px'; document.getElementById('myif').style.height='' + eval(eval('' + rectis.height) * 0.9) + 'px'; } else if (('' + hm) == '-2') { document.getElementById('myif').style.width='' + eval(eval('' + rectis.width) * 0.8) + 'px'; document.getElementById('myif').style.height='' + eval(eval('' + rectis.height) * 0.8) + 'px'; } else { document.getElementById('myif').style.width='' + eval(eval('' + rectis.width) * 1.2) + 'px'; document.getElementById('myif').style.height='' + eval(eval('' + rectis.height) * 1.2) + 'px'; } } Trying out Python GraphViz hosted in PHP " . $plus . " Family Tree 📧 📟 RJM Programming " . $minus . " September, 2024 Thanks to https://graphviz.readthedocs.io/en/stable/examples.html Title ... SVGPDF Record" . $nondefshapes . " DigraphGraph Family Tree Names ... " . str_replace("\t","+",urldecode($newabl[1])) . " " . str_replace("\t","+",urldecode($newabl[2])) . " " . str_replace("\t","+",urldecode($newabl[3])) . " " . str_replace("\t","+",urldecode($newabl[1])) . " " . str_replace("\t","+",urldecode($newabl[2])) . " " . str_replace("\t","+",urldecode($newabl[3])) . " "; } ?>
Title ...
Family Tree Names ...