12d11
< $gtw="";
42,58d40
<
< if ($gshto != '' && strlen($_GET['data']) < 10) {
< $gtw="\n
< //alert(decodeURIComponent(decodeURIComponent(('' + location.hash))));
< if (document.URL.split('#')[0].indexOf('?') != -1 && decodeURIComponent(decodeURIComponent(('' + location.hash + 'x'))).indexOf('[') == 1) {
< var jformoh='
';
< var iiareflds=0, areflds=(document.URL.split('#')[0] + decodeURIComponent(decodeURIComponent((',' + location.hash.substring(1))))).replace('#','&').replace('?','&').split('=');
< for (var iiareflds=1; iiareflds','');
< }
< //alert(jformoh);
< setTimeout(function() {
< document.body.innerHTML+=jformoh;
< document.getElementById('gjformsubis').click(); }, 7000);
< }
< ";
< }
703,706d684
< if ($gtw != '') {
< echo $gtw . "\n if (typeof sethash == \"function\") { sethash(encodeURIComponent(\"" . $shto . "\")); } " . "\n";
< $gtw="";
< } else {
708d685
< }
724,727d700
< if ($gtw != '') {
< echo $gtw . "\n if (typeof sethash == \"function\") { sethash(encodeURIComponent(\"" . $gshto . "\")); } " . "\n";
< $gtw="";
< } else {
729d701
< }
747c719
< var data=null;
---
>
751,763d722
< //if (document.URL.indexOf('relayed=') != -1) {
< // alert(document.URL);
< //}
< if (document.URL.indexOf('data=#') != -1) {
< documentURL=document.URL.replace('data=#', 'data=');
< } else if (document.URL.indexOf('#data=') != -1) {
< documentURL=document.URL.replace('#data=', '&data=');
< } else if (document.URL.indexOf('&data=%2C#') != -1) {
< documentURL=document.URL.replace('&data=%2C#', '&data=%2C');
< //if (document.URL.indexOf('relayed=') != -1) {
< // alert('yay:' + document.URL);
< //}
< } else {
767d725
< }
843d800
< " . $gtw . "
854a812
> //alert(gformoh);
1546,1551c1504
< if (lhpassed == '') {
< if ("" != "") {
< lhpassed=' ';
< }
< }
< if (lhpassed == '' && (window.top || isusdams.trim() != '')) {
---
> if (window.top || isusdams.trim() != '') {
1555,1557c1508
< } else if ((8 == 8 || ('' + document.referrer).indexOf('/GeoChart') == -1) && document.URL.indexOf('relayed=') != -1) {
< isusdams='';
< } else if (window.top !== window.self && top.document.URL.split('#')[0].indexOf('shade=') != -1 && ((top.document.URL.split('#')[0] + '&title=').split('title=')[1] + ' ').substring(2).substring(0,1) == ';') {
---
> } else if (window.top !== window.self && top.document.URL.split('#')[0].indexOf('shade=') != -1 && ((top.document.URL.split('#')[0] + '&title=').split('title=')[1] + ' ').substring(2).substring(0,1) == ';') {
2433,2434c2384,2385
< echo $gtw . ' var wert="data=google.visualization.arrayToDataTable([ ' . urldecode(urldecode(urldecode(urldecode($GETlabel)))) . urldecode(urldecode(urldecode(urldecode($GETvalue)))) . ']"; ' . "\n";
< echo " if (!parent.document.getElementById('data') && lhpassed != '') { wert=wert.replace(/\]$/g,'') + decodeURIComponent(lhpassed.split('data=')[1]).replace(/\~/g,\"'\").replace(/\'\'\'\'/g,\"''\").replace(/\,1\]/g,']').replace(/\|/g,','); } else { wert+=parent.document.getElementById('data').value.replace(/\~/g,\"'\").replace(/\'\'\'\'/g,\"''\"); } " . "\n";
---
> echo ' var wert="data=google.visualization.arrayToDataTable([ ' . urldecode(urldecode(urldecode(urldecode($GETlabel)))) . urldecode(urldecode(urldecode(urldecode($GETvalue)))) . ']"; ' . "\n";
> echo " wert+=parent.document.getElementById('data').value.replace(/\~/g,\"'\").replace(/\'\'\'\'/g,\"''\"); " . "\n";
3111,3112c3062,3063
< $xxx='';
< if (isset($_POST['relayed'])) { $xxx='x'; }
---
>
>
3175,3180c3126
< if (lhpassed == '') {
< if ('' != '" . $xxx . "') {
< lhpassed=' ';
< }
< }
< if (lhpassed == '' && (window.top || isusdams.trim() != '')) {
---
> if (window.top || isusdams.trim() != '') {
3184,3186c3130
< } else if ((8 == 8 || ('' + document.referrer).indexOf('/GeoChart') == -1) && document.URL.indexOf('relayed=') != -1) {
< isusdams='';
< } else if (window.top !== window.self && top.document.URL.indexOf('shade=') != -1 && ((top.document.URL + '&title=').split('title=')[1] + ' ').substring(2).substring(0,1) == ';') {
---
> } else if (window.top !== window.self && top.document.URL.indexOf('shade=') != -1 && ((top.document.URL + '&title=').split('title=')[1] + ' ').substring(2).substring(0,1) == ';') {
3673d3616
< " . $gtw . "
3692c3635
< gzform.append('nojwinyes', 'Q');
---
> gzform.append('nojwinyes' 'Q');