"; $sayrs="  "; if (isset($_POST['lhdiag']) || isset($_GET['lhdiag'])) { $posted="yes"; if (isset($_GET['lfontc'])) { $lfontc=str_replace('+',' ',urldecode($_GET['lfontc'])); } if (isset($_GET['rfontc'])) { $rfontc=str_replace('+',' ',urldecode($_GET['rfontc'])); } if (isset($_POST['lfontc'])) { $lfontc=str_replace('+',' ',urldecode($_POST['lfontc'])); } if (isset($_POST['rfontc'])) { $rfontc=str_replace('+',' ',urldecode($_POST['rfontc'])); } if (isset($_GET['lbc'])) { $lbc=str_replace('+',' ',urldecode($_GET['lbc'])); } if (isset($_GET['rbc'])) { $rbc=str_replace('+',' ',urldecode($_GET['rbc'])); } if (isset($_POST['lbc'])) { $lbc=str_replace('+',' ',urldecode($_POST['lbc'])); } if (isset($_POST['rbc'])) { $rbc=str_replace('+',' ',urldecode($_POST['rbc'])); } if (isset($_GET['lmcss'])) { $lmcss=str_replace('+',' ',urldecode($_GET['lmcss'])); if (trim($lmcss) != "") { $lmcssinit=" title=\"" . $lmcss . "\" "; } } if (isset($_GET['rmcss'])) { $rmcss=str_replace('+',' ',urldecode($_GET['rmcss'])); if (trim($rmcss) != "") { $rmcssinit=" title=\"" . $rmcss . "\" "; } } if (isset($_POST['lmcss'])) { $lmcss=str_replace('+',' ',urldecode($_POST['lmcss'])); if (trim($lmcss) != "") { $lmcssinit=" title=\"" . $lmcss . "\" "; } } if (isset($_POST['rmcss'])) { $rmcss=str_replace('+',' ',urldecode($_POST['rmcss'])); if (trim($rmcss) != "") { $rmcssinit=" title=\"" . $rmcss . "\" "; } } $wper="130"; // 125 $hval="800"; $bs="0.75"; } if (!isset($_POST['lhdiag']) && isset($_GET['lhdiag'])) { if (strtolower(substr(str_replace('+',' ',urldecode($_GET['lhdiag'])),0,7)) == 'cowsay ') { $_POST['lhdiag']=$_GET['lhdiag']; } } if (!isset($_POST['rhdiag']) && isset($_GET['rhdiag'])) { if (strtolower(substr(str_replace('+',' ',urldecode($_GET['rhdiag'])),0,7)) == 'cowsay ') { $_POST['rhdiag']=$_GET['rhdiag']; } } if (substr($_POST['lhdiag'],0,1) == 'C') { $leftfl='C'; } if (substr($_POST['rhdiag'],0,1) == 'C') { $rightfl='C'; $roff=-32; } $sb=" -c \"stegosaurus\" "; $sbtwo=" -t "; $lts='|'; $gts='|'; $clist="beavis, cheese, cow, daemon, dragon, fox, ghostbusters, kitty, meow, miki, milk, octopus, pig, stegosaurus, stimpy, trex, turkey, turtle, tux"; $clistsw="-c"; if (strtoupper(PHP_OS) == "DARWIN") { $lts='<'; $gts='>'; $revstr=""; $revstrr=""; $sb=" -r -g -p "; $sbtwo=" "; $cb="For random greedy paranoid enter -r -g -p"; $clist="actually, alpaca, beavis.zen, blowfish, bong, bud-frogs, bunny, cheese, cower, cupcake, daemon, default, dragon, dragon-and-cow, elephant, elephant-in-snake, eyes, flaming-sheep, fox, ghostbusters, head-in, hellokitty, kiss, kitty, koala, kosh, llama, luke-koala, mech-and-cow, meow, milk, moofasa, moose, mutilated, ren, sheep, skeleton, small, stegosaurus, stimpy, supermilker, surgery, sus, three-eyes, turkey, turtle, tux, udder, vader, vader-koala, www"; $clistsw="-f"; if (isset($_POST['lhdiag']) && isset($_POST['rhdiag']) && (isset($_GET['dosay']) || isset($_POST['dosay']))) { if (strtolower(substr($_POST['lhdiag'],0,6)) == 'cowsay' && strtolower(substr($_POST['rhdiag'],0,6)) == 'cowsay') { $visl=""; $visr=""; if (isset($_POST['dosay'])) { if (strpos(str_replace('+',' ',urldecode($_POST['dosay'])), ',') !== false) { $visl=" -v " . explode(',', str_replace('+',' ',urldecode($_POST['dosay'])))[0] . " "; $visr=" -v " . explode(',', str_replace('+',' ',urldecode($_POST['dosay'])))[1] . " "; } else if (trim(str_replace('+',' ',urldecode($_POST['dosay']))) != '') { $visl=" -v " . explode(',', str_replace('+',' ',urldecode($_POST['dosay'])))[0] . " "; } } if (isset($_GET['dosay'])) { if (strpos(str_replace('+',' ',urldecode($_GET['dosay'])), ',') !== false) { $visl=" -v " . explode(',', str_replace('+',' ',urldecode($_GET['dosay'])))[0] . " "; $visr=" -v " . explode(',', str_replace('+',' ',urldecode($_GET['dosay'])))[1] . " "; } else if (trim(str_replace('+',' ',urldecode($_GET['dosay']))) != '') { $visl=" -v " . explode(',', str_replace('+',' ',urldecode($_GET['dosay'])))[0] . " "; } } if ($visr == '') { $saycmd=" exec('say" . $visl . " \"" . explode('"', str_replace('+',' ',urldecode($_POST['lhdiag'])))[-2 + sizeof(explode('"', str_replace('+',' ',urldecode($_POST['lhdiag']))))] . "\" [[ slnc 8000 ]] " . explode('"', str_replace('+',' ',urldecode($_POST['rhdiag'])))[-2 + sizeof(explode('"', str_replace('+',' ',urldecode($_POST['rhdiag']))))] . "\"'); "; } else { $saycmd=" exec('say" . $visl . " \"" . explode('"', str_replace('+',' ',urldecode($_POST['lhdiag'])))[-2 + sizeof(explode('"', str_replace('+',' ',urldecode($_POST['lhdiag']))))] . "\" ; " . "say" . $visr . " \" [[ slnc 8000 ]] " . explode('"', str_replace('+',' ',urldecode($_POST['rhdiag'])))[-2 + sizeof(explode('"', str_replace('+',' ',urldecode($_POST['rhdiag']))))] . "\"'); "; } } } $sayls.="  "; $sayrs.="  "; } $selohl=""; $oursbtwo=trim($sb) . (trim($sbtwo) == '' ? '' : ' ' . trim($sbtwo)); if (file_exists(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'leftcow.txt')) { $oursbtwo.=' "Left Hand comment"'; if (isset($_POST['lhdiag'])) { if (substr($_POST['lhdiag'],0,1) == 'C') { $leftfl='C'; } $oursbtwo=(strtolower(substr(str_replace('+',' ',urldecode($_POST['lhdiag'])),0,7)) != 'cowsay ' ? $sbtwo . ' "Left Hand comment"' : str_replace('owsay ','',str_replace('+',' ',substr(urldecode($_POST['lhdiag']),1)))); } $selohl=justdoit(file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'leftcowbig.txt'), 'leftcow.txtmaybe'); } else if ($posted == "") { // 'cowsay ' . $sb . $sbtwo $oursbtwo.=' "Left Hand comment"'; if (isset($_POST['lhdiag'])) { if (substr($_POST['lhdiag'],0,1) == 'C') { $leftfl='C'; } $oursbtwo=(strtolower(substr(str_replace('+',' ',urldecode($_POST['lhdiag'])),0,7)) != 'cowsay ' ? $sbtwo . ' "Left Hand comment"' : str_replace('owsay ','',str_replace('+',' ',substr(urldecode($_POST['lhdiag']),1)))); } file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'leftcow.txt', $leftfl . 'owsay ' . $oursbtwo); file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'leftcowbig.txt', ''); $selohl=justdoit(file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'leftcowbig.txt'), 'leftcow.txt'); } else { // 'cowsay ' . $sb . $sbtwo $oursbtwo.=' "Left Hand comment"'; if (isset($_POST['lhdiag'])) { if (substr($_POST['lhdiag'],0,1) == 'C') { $leftfl='C'; } $oursbtwo=(strtolower(substr(str_replace('+',' ',urldecode($_POST['lhdiag'])),0,7)) != 'cowsay ' ? $sbtwo . ' "Left Hand comment"' : str_replace('owsay ','',str_replace('+',' ',substr(urldecode($_POST['lhdiag']),1)))); } file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'leftcow.txt', $leftfl . 'owsay ' . $oursbtwo); file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'leftcowbig.txt', ''); $selohl=justdoit(file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'leftcowbig.txt'), 'leftcow.txtmaybe'); } $selohr=""; $oursbtwo=trim($sb) . (trim($sbtwo) == '' ? '' : ' ' . trim($sbtwo)); if (file_exists(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'rightcow.txt')) { $oursbtwo=str_replace(' "Left Hand comment"','',$oursbtwo) . ' "Right Hand comment"'; if (isset($_POST['rhdiag'])) { if (substr($_POST['rhdiag'],0,1) == 'C') { $rightfl='C'; $roff=-32; } $oursbtwo=(strtolower(substr(str_replace('+',' ',urldecode($_POST['rhdiag'])),0,7)) != 'cowsay ' ? $sbtwo . ' "Right Hand comment"' : str_replace('owsay ','',str_replace('+',' ',substr(urldecode($_POST['rhdiag']),1)))); } $selohr=justdoit(file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'rightcowbig.txt'), 'rightcow.txtmaybe'); } else if ($posted == "") { // 'cowsay ' . $sb . $sbtwo $oursbtwo=str_replace(' "Left Hand comment"','',$oursbtwo) . ' "Right Hand comment"'; if (isset($_POST['rhdiag'])) { if (substr($_POST['rhdiag'],0,1) == 'C') { $rightfl='C'; $roff=-32; } $oursbtwo=(strtolower(substr(str_replace('+',' ',urldecode($_POST['rhdiag'])),0,7)) != 'cowsay ' ? $sbtwo . ' "Right Hand comment"' : str_replace('owsay ','',str_replace('+',' ',substr(urldecode($_POST['rhdiag']),1)))); } file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'rightcow.txt', $rightfl . 'owsay ' . $oursbtwo); file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'rightcowbig.txt', ''); $selohr=justdoit(file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'rightcowbig.txt'), 'rightcow.txt'); } else { // 'cowsay ' . $sb . $sbtwo $oursbtwo=str_replace(' "Left Hand comment"','',$oursbtwo) . ' "Right Hand comment"'; if (isset($_POST['rhdiag'])) { $oursbtwo=(strtolower(substr(str_replace('+',' ',urldecode($_POST['rhdiag'])),0,7)) != 'cowsay ' ? $sbtwo . ' "Right Hand comment"' : str_replace('owsay ','',str_replace('+',' ',substr(urldecode($_POST['rhdiag']),1)))); } file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'rightcow.txt', $rightfl . 'owsay ' . $oursbtwo); file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'rightcowbig.txt', ''); $selohr=justdoit(file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'rightcowbig.txt'), 'rightcow.txtmaybe'); } function sayit($scd) { if (strpos($scd, 'say ') !== false && sizeof(explode('say ', str_replace("exec('say ","",$scd) )) == 1) { exec("say " . explode("');", explode('say ',$scd)[1])[0] . ""); } else { exec("say " . explode("');", explode("exec('say ",$scd)[1])[0] . ""); } } function justdoit($bigsofar, $maybeyes) { global $sb, $sbtwo, $bigsofarl, $bigsofarr, $smallsofarl, $smallsofarr, $oursbtwo, $ipaddr, $leftfl, $rightfl; $sofar=$bigsofar; if (file_exists(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . str_replace('maybe','',$maybeyes))) { $sofar=file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . str_replace('maybe','',$maybeyes)); } $rma = $_SERVER['REMOTE_ADDR']; $ua = strtolower($_SERVER['HTTP_USER_AGENT']); // you can add different browsers with the same way .. if(preg_match('/(chromium)[ \/]([\w.]+)/', $ua)) $rma = '000000'.$rma; elseif(preg_match('/(chrome)[ \/]([\w.]+)/', $ua)) $rma = '00000'.$rma; elseif(preg_match('/(safari)[ \/]([\w.]+)/', $ua)) $rma = '0000'.$rma; elseif(preg_match('/(opera)[ \/]([\w.]+)/', $ua)) $rma = '000'.$rma; elseif(preg_match('/(msie)[ \/]([\w.]+)/', $ua)) $rma = '00'.$rma; elseif(preg_match('/(mozilla)[ \/]([\w.]+)/', $ua)) $rma = '0'.$rma; $ipaddr=str_replace(":", "_", $rma); if ($bigsofar == '') { $sofar=$oursbtwo; //trim($sb) . ' ' . trim($sbtwo); file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . str_replace('maybe','',$maybeyes), '' . $sofar); if (strpos($maybeyes, "left") !== false) { $bigsofarl=""; file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . str_replace('.txt','big.txt',str_replace('maybe','',$maybeyes)), $bigsofarl); } else if (strpos($maybeyes, "right") !== false) { $bigsofarr=""; file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . str_replace('.txt','big.txt',str_replace('maybe','',$maybeyes)), $bigsofarr); } } else if (strpos($bigsofar, 'owsay ' . $oursbtwo) === false) { $sofar.="\n" . $oursbtwo; //trim($sb) . ' ' . trim($sbtwo); file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . str_replace('maybe','',$maybeyes), '' . $sofar); if (strpos($maybeyes, "left") !== false && $leftfl == 'C') { $bigsofar=explode("\n",$bigsofar)[0] . "\n" . "\n"; } else if (strpos($maybeyes, "left") !== false && $leftfl == 'c') { $bigsofar=explode("\n",$bigsofar)[0] . "\n" . "\n"; } else if (strpos($maybeyes, "right") !== false && $rightfl == 'C') { $bigsofar=explode("\n",$bigsofar)[0] . "\n" . "\n"; } else if (strpos($maybeyes, "right") !== false && $rightfl == 'c') { $bigsofar=explode("\n",$bigsofar)[0] . "\n" . "\n"; } file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . str_replace('.txt','big.txt',str_replace('maybe','',$maybeyes)), $bigsofar); if (strpos($maybeyes, "left") !== false) { $bigsofarl=$bigsofar; $recs=explode("\n", $bigsofarl); if (sizeof($recs) > 3) { $smallsofarl=$recs[0] . "\n" . $recs[1] . "\n"; for ($ii=2; $ii') { $smallsofarl.=''; } else if (strpos(strtolower($recs[$ii]), '"left hand comment"') !== false) { $smallsofarl.=$recs[$ii] . "\n"; } else if (strpos($recs[$ii], " data-ip='" . $ipaddr . "'") !== false) { $smallsofarl.=$recs[$ii] . "\n"; } else if (strpos($recs[$ii], '"') !== false) { $lhcis=explode('"', $recs[$ii])[-2 + sizeof($recs)]; if (trim($lhcis) != '') { if (sizeof(explode($lhcis, explode('>',$recs[$ii])[0])) == 3) { if (strpos($smallsofarl, explode('>',explode(' data-ip=', str_replace($lhcis, '?', $recs[$ii]))[0])[0]) === false) { $smallsofarl.=str_replace($lhcis, '?', $recs[$ii]) . "\n"; } } } } } } } else if (strpos($maybeyes, "right") !== false) { $bigsofarr=$bigsofar; $recs=explode("\n", $bigsofarrr); if (sizeof($recs) > 3) { $smallsofarr=$recs[0] . "\n" . $recs[1] . "\n"; for ($ii=2; $ii') { $smallsofarr.=''; } else if (strpos(strtolower($recs[$ii]), '"right hand comment"') !== false) { $smallsofarr.=$recs[$ii] . "\n"; } else if (strpos($recs[$ii], " data-ip='" . $ipaddr . "'") !== false) { $smallsofarr.=$recs[$ii] . "\n"; } else if (strpos($recs[$ii], '"') !== false) { $lhcis=explode('"', $recs[$ii])[-2 + sizeof($recs)]; if (trim($lhcis) != '') { if (sizeof(explode($lhcis, explode('>',$recs[$ii])[0])) == 3) { if (strpos($smallsofarr, explode('>',explode(' data-ip=', str_replace($lhcis, '?', $recs[$ii]))[0])[0]) === false) { $smallsofarr.=str_replace($lhcis, '?', $recs[$ii]) . "\n"; } } } } } } } } else { if (strpos($maybeyes, "left") !== false) { $bigsofarl=$bigsofar; $recs=explode("\n", $bigsofarl); if (sizeof($recs) > 3) { $smallsofarl=$recs[0] . "\n" . $recs[1] . "\n"; for ($ii=2; $ii') { $smallsofarl.=''; } else if (strpos(strtolower($recs[$ii]), '"left hand comment"') !== false) { $smallsofarl.=$recs[$ii] . "\n"; } else if (strpos($recs[$ii], " data-ip='" . $ipaddr . "'") !== false) { $smallsofarl.=$recs[$ii] . "\n"; } else if (strpos($recs[$ii], '"') !== false) { $lhcis=explode('"', $recs[$ii])[-2 + sizeof($recs)]; if (trim($lhcis) != '') { if (sizeof(explode($lhcis, explode('>',$recs[$ii])[0])) == 3) { if (strpos($smallsofarl, explode('>',explode(' data-ip=', str_replace($lhcis, '?', $recs[$ii]))[0])[0]) === false) { $smallsofarl.=str_replace($lhcis, '?', $recs[$ii]) . "\n"; } } } } } } } else if (strpos($maybeyes, "right") !== false) { $bigsofarr=$bigsofar; $recs=explode("\n", $bigsofarrr); if (sizeof($recs) > 3) { $smallsofarr=$recs[0] . "\n" . $recs[1] . "\n"; for ($ii=2; $ii') { $smallsofarr.=''; } else if (strpos(strtolower($recs[$ii]), '"right hand comment"') !== false) { $smallsofarr.=$recs[$ii] . "\n"; } else if (strpos($recs[$ii], " data-ip='" . $ipaddr . "'") !== false) { $smallsofarr.=$recs[$ii] . "\n"; } else if (strpos($recs[$ii], '"') !== false) { $lhcis=explode('"', $recs[$ii])[-2 + sizeof($recs)]; if (trim($lhcis) != '') { if (sizeof(explode($lhcis, explode('>',$recs[$ii])[0])) == 3) { if (strpos($smallsofarr, explode('>',explode(' data-ip=', str_replace($lhcis, '?', $recs[$ii]))[0])[0]) === false) { $smallsofarr.=str_replace($lhcis, '?', $recs[$ii]) . "\n"; } } } } } } } } return $sofar; } function otherwayaround($instuff) { global $revstr, $lts, $gts, $revstrr; $outstuff=$instuff; if (strpos($instuff,$lts) !== false && strpos($instuff,$gts) !== false) { if ($revstr != "") { $revstrr=explode($gts, explode($lts, $instuff)[1])[0]; if (trim($revstrr) != "") { $outstuff=str_replace($lts . $revstrr . $gts, $lts . strrev($revstrr) . $gts, $instuff); } } else { $revstr=explode($gts, explode($lts, $instuff)[1])[0]; if (trim($revstr) != "") { $outstuff=str_replace($lts . $revstr . $gts, $lts . strrev($revstr) . $gts, $instuff); } } } return $instuff; } $lhthingo=(isset($_POST['lhdiag']) ? shell_exec( (strtolower(substr(str_replace('+',' ',urldecode($_POST['lhdiag'])),0,7)) != 'cowsay ' ? '' : 'c' . substr(str_replace("`","'",explode(";",explode("\n",str_replace('+',' ',urldecode($_POST['lhdiag'])))[0])[0]),1) ) ) : (isset($_GET['lhdiag']) ? str_replace('+',' ',urldecode($_GET['lhdiag'])) : " ____________________ " . $lts . " Left Hand comment " . $gts . " -------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || ")); $lhthingo=otherwayaround($lhthingo); $rhthingo=(isset($_POST['rhdiag']) ? shell_exec( (strtolower(substr(str_replace('+',' ',urldecode($_POST['rhdiag'])),0,7)) != 'cowsay ' ? '' : 'c' . substr(str_replace("`","'",explode(";",explode("\n",str_replace('+',' ',urldecode($_POST['rhdiag'])))[0])[0]),1) ) ) : (isset($_GET['rhdiag']) ? str_replace('+',' ',urldecode($_GET['rhdiag'])) : " _____________________ " . $lts . " Right Hand comment " . $gts . " --------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || ")); if ($rightfl == 'C') { $rhthingo=otherwayaround($rhthingo); } //if ($saycmd != "") { sayit($saycmd); } echo " Cow Says Cartoon - RJM Programming - November, 2026 var initl='', changedl=0, extral='', gtl='', syl=''; var initr='', changedr=0, extrar='', gtr='', syr=''; var numtoshow=1, gofroms=['tdleft','tdright']; var wpxs=[], totwidth=0; var homehash='', newget=''; var ises=false, ifrecth=0; function getget() { return '?lhdiag=' + encodeURIComponent(document.getElementById('lhdiag').value) + '&rhdiag=' + encodeURIComponent(document.getElementById('rhdiag').value) + '&lfontc=' + encodeURIComponent(document.getElementById('lfontc').value) + '&rfontc=' + encodeURIComponent(document.getElementById('rfontc').value) + '&lbc=' + encodeURIComponent(document.getElementById('lbc').value) + '&rbc=' + encodeURIComponent(document.getElementById('rbc').value) + extral + extrar + gtr + gtl + syl + syr; } function hashit(hh) { homehash+=hh.replace(/^\?/g,'#'); return true; } function homehashit() { if (window.top != window.self && ('' + top.document.URL).indexOf('/cow_says_insertion.php') != -1) { return top.hashit(getget()); } else if (window.parent != window.self && ('' + parent.document.URL).indexOf('/cow_says_insertion.php') != -1) { return parent.hashit(getget()); } if (homehash != '') { top.location.href='./cow_says_insertion.php' + '?lhdiag=' + encodeURIComponent(document.getElementById('lhdiag').value) + '&rhdiag=' + encodeURIComponent(document.getElementById('rhdiag').value) + '&lfontc=' + encodeURIComponent(document.getElementById('lfontc').value) + '&rfontc=' + encodeURIComponent(document.getElementById('rfontc').value) + '&lbc=' + encodeURIComponent(document.getElementById('lbc').value) + '&rbc=' + encodeURIComponent(document.getElementById('rbc').value) + extral + extrar + gtr + gtl + syl + syr + homehash; return false; } return true; } function emailit() { if (window.top != window.self && ('' + top.document.URL).indexOf('/cow_says_insertion.php') != -1) { return top.emailit(); } else if (window.parent != window.self && ('' + parent.document.URL).indexOf('/cow_says_insertion.php') != -1) { return parent.emailit(); } document.getElementById('es').href='mailto:?subject=Cow%20Says%20Cartoon&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?lhdiag=' + encodeURIComponent(document.getElementById('lhdiag').value) + '&rhdiag=' + encodeURIComponent(document.getElementById('rhdiag').value) + '&lfontc=' + encodeURIComponent(document.getElementById('lfontc').value) + '&rfontc=' + encodeURIComponent(document.getElementById('rfontc').value) + '&lbc=' + encodeURIComponent(document.getElementById('lbc').value) + '&rbc=' + encodeURIComponent(document.getElementById('rbc').value) + extral + extrar + gtr + gtl + syl + syr + homehash); document.getElementById('es').click(); document.getElementById('mysub').click(); return true; } function smsit() { if (window.top != window.self && ('' + top.document.URL).indexOf('/cow_says_insertion.php') != -1) { return top.smsit(); } else if (window.parent != window.self && ('' + parent.document.URL).indexOf('/cow_says_insertion.php') != -1) { return parent.smsit(); } document.getElementById('es').href='sms:&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?lhdiag=' + encodeURIComponent(document.getElementById('lhdiag').value) + '&rhdiag=' + encodeURIComponent(document.getElementById('rhdiag').value) + '&lfontc=' + encodeURIComponent(document.getElementById('lfontc').value) + '&rfontc=' + encodeURIComponent(document.getElementById('rfontc').value) + '&lbc=' + encodeURIComponent(document.getElementById('lbc').value) + '&rbc=' + encodeURIComponent(document.getElementById('rbc').value) + extral + extrar + gtr + gtl + syl + syr + homehash); document.getElementById('es').click(); document.getElementById('mysub').click(); return true; } function checkcp(ocp) { if (ocp.id == 'lbc') { if (initl != ocp.value) { changedl++; if (changedl == 1) { document.getElementById('lmcss').value='text-shadow:-1px 1px 1px ' + ocp.value + ';'; } else if (changedl >= 2) { document.getElementById('lmcss').name='lmcss'; document.getElementById('lmcss').style.display='inline-block'; document.getElementById('lmcss').title=document.getElementById('lmcss').placeholder; document.getElementById('lmcss').ontouchmove=function(event){ alert(event.target.title); }; extrait(document.getElementById('lmcss')); } initl=ocp.value; } } else if (ocp.id == 'rbc') { if (initr != ocp.value) { changedr++; if (changedr == 1) { document.getElementById('rmcss').value='text-shadow:-1px 1px 1px ' + ocp.value + ';'; } else if (changedr >= 2) { document.getElementById('rmcss').name='rmcss'; document.getElementById('rmcss').style.display='inline-block'; document.getElementById('rmcss').title=document.getElementById('rmcss').placeholder; document.getElementById('rmcss').ontouchmove=function(event){ alert(event.target.title); }; extrait(document.getElementById('rmcss')); } initr=ocp.value; } } } function extrait(ocp) { if (ocp.id == 'lmcss') { if (ocp.value.trim() == '') { extral=''; } else if (ocp.id == ('' + ocp.name)) { extral='&lmcss=' + encodeURIComponent(ocp.value); } } else if (ocp.id == 'rmcss') { if (ocp.value.trim() == '') { extrar=''; } else if (ocp.id == ('' + ocp.name)) { extrar='&rmcss=' + encodeURIComponent(ocp.value); } } } function initit() { if (('' + document.getElementById('lmcss').title).indexOf('text-shadow:') != -1) { document.getElementById('lmcss').value=document.getElementById('lmcss').title; document.getElementById('lmcss').style.display='inline-block'; document.getElementById('lmcss').name='lmcss'; document.getElementById('lmcss').title=document.getElementById('lmcss').placeholder; } if (('' + document.getElementById('rmcss').title).indexOf('text-shadow:') != -1) { document.getElementById('rmcss').value=document.getElementById('rmcss').title; document.getElementById('rmcss').name='rmcss'; document.getElementById('rmcss').style.display='inline-block'; document.getElementById('rmcss').title=document.getElementById('rmcss').placeholder; } initl=document.getElementById('lbc').value; initr=document.getElementById('rbc').value; if (window.self != window.parent) { if (document.getElementById('lhdiag').value.indexOf('\"stegosaurus\"') != -1 && '" . $posted . "' == '') { document.getElementById('lhdiag').value=document.getElementById('lhdiag').value.replace('stegosaurus','tux'); } if (document.getElementById('rhdiag').value.indexOf('\"stegosaurus\"') != -1 && '" . $posted . "' == '') { document.getElementById('rhdiag').value=document.getElementById('rhdiag').value.replace('stegosaurus','tux'); } } document.getElementById('languagel').value='" . $langl . "'; document.getElementById('languager').value='" . $langr . "'; if (document.getElementById('languagel').value != '') { window.open('//translate.google.com/#view=home&op=translate&sl=auto&tl=' + document.getElementById('languagel').value + '&text=' + encodeURIComponent( document.getElementById('lhdiag').value.split('\"')[eval(-2 + document.getElementById('lhdiag').value.split('\"').length)] ), '_blank','left=0,top=0,width=600,height=600'); } if (document.getElementById('languager').value != '') { window.open('//translate.google.com/#view=home&op=translate&sl=auto&tl=' + document.getElementById('languager').value + '&text=' + encodeURIComponent( document.getElementById('rhdiag').value.split('\"')[eval(-2 + document.getElementById('rhdiag').value.split('\"').length)] ), '_blank','left=600,top=0,width=600,height=600'); } if ('' != '" . $visl . "') { var lvis='" . trim(str_replace('-v','',$visl)) . "'; if (document.getElementById('svoicecodel').innerHTML.indexOf(' ' + lvis + String.fromCharCode(34)) != -1) { document.getElementById('svoicecodel').value=document.getElementById('svoicecodel').innerHTML.split(' ' + lvis + String.fromCharCode(34))[0].split(String.fromCharCode(34))[eval(-1 + document.getElementById('svoicecodel').innerHTML.split(' ' + lvis + String.fromCharCode(34))[0].split(String.fromCharCode(34)).length)] + ' ' + lvis; } } if ('' != '" . $visr . "') { var rvis='" . trim(str_replace('-v','',$visr)) . "'; if (document.getElementById('svoicecoder').innerHTML.indexOf(' ' + rvis + String.fromCharCode(34)) != -1) { document.getElementById('svoicecoder').value=document.getElementById('svoicecoder').innerHTML.split(' ' + rvis + String.fromCharCode(34))[0].split(String.fromCharCode(34))[eval(-1 + document.getElementById('svoicecoder').innerHTML.split(' ' + rvis + String.fromCharCode(34))[0].split(String.fromCharCode(34)).length)] + ' ' + rvis; } } if (('' + location.hash).indexOf('lhdiag=') != -1) { if (('' + document.referrer).indexOf('/cow_says_insertion.php') != -1) { ises=false; } else { // probably email or SMS with more than 2 cells ises=true; setTimeout(function(){ window.scrollTo(0,0); }, 8000); } var newcalldatas=('' + location.hash).split('lhdiag='); for (var ibn=1; ibn 0) { document.getElementById('dogt').name='dogt'; if (osel.id == 'languagel') { if (osel.value == '') { document.getElementById('dogt').value=osel.value; } else { document.getElementById('dogt').value=osel.value + ',' + document.getElementById('dogt').value; } gtl='&dogt=' + encodeURIComponent(document.getElementById('dogt').value); gtr=''; } else if (osel.id == 'languager') { if (osel.value == '') { document.getElementById('dogt').value=osel.value; } else { document.getElementById('dogt').value+=',' + osel.value; } gtr='&dogt=' + encodeURIComponent(document.getElementById('dogt').value); gtl=''; } } else if (osel.id == 'languager') { gtr=''; } else if (osel.id == 'languagel') { gtl=''; } } function addone() { var rect=null, igo=0; if (window.top != window.self && ('' + top.document.URL).indexOf('/cow_says_insertion.php') != -1) { return top.addone(); } else if (window.parent != window.self && ('' + parent.document.URL).indexOf('/cow_says_insertion.php') != -1) { return parent.addone(); } var retval='Add two more cartoon cells to right ... ' + eval(2 * eval(1 + numtoshow)) + ' cartoon cells in total'; if (numtoshow == 1) { rect=document.body.getBoundingClientRect(); if (gofroms.length > wpxs.length) { ifrecth=eval('' + rect.height); } for (igo=0; igo wpxs.length) { wpxs.push(rect.width); document.getElementById(gofroms[igo]).style.width='' + rect.width + 'px'; totwidth+=eval('' + rect.width); //alert('' + rect.width); } } document.getElementById('toptable').style.width='' + eval(eval(1 + numtoshow) * " . $origwper . ") + '%'; document.getElementById('toprow').innerHTML+=''; newget=''; document.getElementById('td' + numtoshow).scrollIntoView(); numtoshow++; } else { document.getElementById('toptable').style.width='' + eval(eval(1 + numtoshow) * " . $origwper . ") + '%'; document.getElementById('toprow').innerHTML+=''; newget=''; document.getElementById('td' + numtoshow).scrollIntoView(); numtoshow++; } document.getElementById('supadd').title=retval; return retval; //'Add two more cartoon cells to right ... ' + eval(2 * numtoshow) + ' cartoon cells in total'; } function supit() { var rect=null, igo=0; if (window.top != window.self && ('' + top.document.URL).indexOf('/cow_says_insertion.php') != -1) { if (top.document.getElementById('supadd').title != document.getElementById('supadd').title) { document.getElementById('supadd').title=top.document.getElementById('supadd').title; } setTimeout(supit, 5000); } else if (window.parent != window.self && ('' + parent.document.URL).indexOf('/cow_says_insertion.php') != -1) { if (parent.document.getElementById('supadd').title != document.getElementById('supadd').title) { document.getElementById('supadd').title=parent.document.getElementById('supadd').title; } setTimeout(supit, 5000); } } setTimeout(supit, 5000);

Cow Says Cartoon ++

RJM Programming - November, 2026

  " . $sayls . "  " . ($smallsofarl == '' ? $bigsofarl : $smallsofarl) . "

  " . $sayrs . "  " . ($smallsofarr == '' ? $bigsofarr : $smallsofarr) . "

    
"; if ($saycmd != "") { sayit($saycmd); } ?>