0 && strlen($_SERVER['QUERY_STRING']) == 0) { file_put_contents("aaaaahuh.huh", "?WebView=justmenuWebView" . $suffix); return "?WebView=justmenuWebView" . $suffix; } } //file_put_contents("aaaahuh.huh", "?" . $_SERVER['QUERY_STRING'] . $suffix); } return $suffix; } function butsel_buttons() { global $butsel, $butsel_buttons, $butsel_selects; if ($butsel_buttons != "") { if (!file_exists("butsel.buttons")) file_put_contents("butsel.buttons", $butsel_buttons); return $butsel_buttons; } else if (file_exists("butsel.buttons")) { $butsel_buttons = @file_get_contents("butsel.buttons"); return $butsel_buttons; } else { $tabdata = explode("tbody", $butsel); if (sizeof($tabdata) > 2) { $trdata = explode(" 2) { $prenamedata = explode('"', $tdata[1]); $namedata = explode('.php', $prenamedata[0]); $dnamedata = explode('/', $namedata[0]); if (str_replace(" ", "", $butsel_buttons) == "") { if (preg_match("/(android|avantgo|blackberry|bolt|boost|cricket|docomo|fone|hiptop|mini|mobi|palm|phone|pie|tablet|up\.browser|up\.link|webos|wos)/i", $_SERVER["HTTP_USER_AGENT"])) { $butsel_buttons .= '
'; } else { $butsel_buttons .= ''; file_put_contents("butsel.buttons", $butsel_buttons); } return $butsel_buttons; } function butsel_selects() { global $butsel, $butsel_buttons, $butsel_selects; if ($butsel_selects != "") { if (!file_exists("butsel.selects")) file_put_contents("butsel.selects", $butsel_selects); return $butsel_selects; } else if (file_exists("butsel.selects")) { $butsel_selects = @file_get_contents("butsel.selects"); return $butsel_selects; } else { $tabdata = explode("tbody", $butsel); if (sizeof($tabdata) > 2) { $trdata = explode(" 2) { $prenamedata = explode('"', $tdata[1]); $namedata = explode('.php', $prenamedata[0]); $dnamedata = explode('/', $namedata[0]); if (str_replace(" ", "", $butsel_selects) == "") $butsel_selects .= ''; file_put_contents("butsel.selects", $butsel_selects); } return $butsel_selects; } if (isset($_GET['clear'])) { if (file_exists("but.sel")) unlink("but.sel"); if (file_exists("butsel.buttons")) unlink("butsel.buttons"); if (file_exists("butsel.selects")) unlink("butsel.selects"); } if (file_exists("but.sel")) { $butsel = file_get_contents("but.sel"); } else { $butsel = @file_get_contents("http://www.rjmprogramming.com.au/wordpress/?p=11696"); file_put_contents("but.sel", $butsel); } getsuffix(""); $preabits=" function lotlater() { var ij=0; var asis=parent.document.getElementsByTagName('a'); if (asis[0] != null) { for (ij=0; ij " . $preabits . " function checkdn() { var xx=''; if (document.URL.indexOf('justmenu') != -1) { var xp=(document.URL + '" . getsuffix(" ") . "').split('?'); var xxp=''; if (xp.length > 1) { xxp='?' + xp[1]; } if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { " . $abits . " if (xxp != '') { xx=document.getElementById('butsel_buttons').innerHTML; xx=xx.replace(/.php/g, '.php' + xxp); document.getElementById('butsel_buttons').innerHTML=xx; } document.getElementById('butsel_buttons').style.display='block'; var pifx=parent.document.getElementById('iagc'); if (pifx == null) { parent.document.body.style.paddingTop='70px'; } else { parent.document.body.style.paddingTop='0px'; } parent.document.body.style.background='-webkit-linear-gradient(top, #FFFF00, #00FFFF)'; parent.document.body.style.background='-moz-linear-gradient(top, #FFFF00, #00FFFF)'; } else { if (xxp != '') { xx=document.getElementById('butsel_selects').innerHTML; xx=xx.replace(/.php/g, '.php' + xxp); document.getElementById('butsel_selects').innerHTML=xx; } document.getElementById('butsel_selects').style.display='block'; } var pif=parent.document.getElementById('iagc'); if (pif != null) { pif.style.width='600px'; pif.style.height='200px'; parent.document.body.style.paddingTop='20px'; parent.document.body.style.background='-webkit-linear-gradient(top, #FFFF00, #00FFFF)'; parent.document.body.style.background='-moz-linear-gradient(top, #FFFF00, #00FFFF)'; } } document.body.style.background='-moz-linear-gradient(top, #FFFF00, #00FFFF)';document.body.style.background='-webkit-linear-gradient(top, #FFFF00, #00FFFF)'; } \n" . butsel_buttons() . "\n"; $bidea.=butsel_selects() . "\n"; if (!file_exists("justmenu.html")) file_put_contents("justmenu.html", $bidea); echo "\n" . butsel_buttons() . "\n"; echo butsel_selects() . "\n"; ?>