"; $select_prefix=""; } $butsel = ""; $butsel_buttons = ""; $butsel_selects = ""; $suffix = ""; function getsuffix($ins) { global $suffix; if ($ins == "") { $ua = strtolower($_SERVER['HTTP_USER_AGENT']); if (strpos($_SERVER['HTTP_X_REQUESTED_WITH'], "rjmprogramming") !== false && strpos($_SERVER['HTTP_X_REQUESTED_WITH'], "com.") !== false && strpos($_SERVER['HTTP_X_REQUESTED_WITH'], ".au") !== false) { $suffix = @file_get_contents("HTTP://www.rjmprogramming.com.au/PHP/webviewemail.php?ask="); } else if ((strpos($_SERVER['HTTP_USER_AGENT'], 'Mobile/') !== false) && (strpos($_SERVER['HTTP_USER_AGENT'], 'Safari/') == false)) { $suffix = @file_get_contents("HTTP://www.rjmprogramming.com.au/PHP/webviewemail.php?ask="); } } else if ($ins == " ") { if (strpos($suffix, "?") === false) { if (strlen($suffix) > 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 bbuts($inb) { global $button_prefix; $outb=$inb; if ($button_prefix != "") $outb=str_replace(">" . $button_prefix . "" . $select_prefix . " 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 str_replace("http:","",bbuts($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 str_replace("http:","",ssels($butsel_selects)); } else if (file_exists("butsel.selects")) { $butsel_selects = @file_get_contents("butsel.selects"); return ssels($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 str_replace("http:","",ssels($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"; if ($dbval != "") { echo butsel_selects() . "\n

Welcome to the 'Make Your Own Charts' Mobile Application

"; } else { echo butsel_selects() . "\n"; } ?>