function xoops_header($closehead = true) { global $xoopsConfig, $xoopsTheme, $xoopsConfigMetaFooter; $myts =& MyTextSanitizer::getInstance(); if ($xoopsConfig['gzip_compression'] == 1) { ob_start("ob_gzhandler"); } else { ob_start(); } if (!headers_sent()) { header('Content-Type:text/html; charset=' . _CHARSET); header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header('Cache-Control: no-store, no-cache, max-age=1, s-maxage=1, must-revalidate, post-check=0, pre-check=0'); header("Pragma: no-cache"); } echo "<!DOCTYPE html PUBLIC '//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>"; echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . _LANGCODE . '" lang="' . _LANGCODE . '"> <head> <meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" /> <meta http-equiv="content-language" content="' . _LANGCODE . '" /> <meta name="robots" content="' . $xoopsConfigMetaFooter['meta_robots'] . '" /> <meta name="keywords" content="' . $xoopsConfigMetaFooter['meta_keywords'] . '" /> <meta name="description" content="' . $xoopsConfigMetaFooter['meta_desc'] . '" /> <meta name="rating" content="' . $xoopsConfigMetaFooter['meta_rating'] . '" /> <meta name="author" content="' . $xoopsConfigMetaFooter['meta_author'] . '" /> <meta name="copyright" content="' . $xoopsConfigMetaFooter['meta_copyright'] . '" /> <meta name="generator" content="XOOPS" /> <title>' . $xoopsConfig['sitename'] . '</title> <script type="text/javascript" src="' . XOOPS_URL . '/include/xoops.js"></script> '; $themecss = getcss($xoopsConfig['theme_set']); echo '<link rel="stylesheet" type="text/css" media="all" href="' . XOOPS_URL . '/xoops.css" />'; if ($themecss) { echo '<link rel="stylesheet" type="text/css" media="all" href="' . $themecss . '" />'; //echo '<style type="text/css" media="all"><!-- @import url('.$themecss.'); --></style>'; } if ($closehead) { echo '</head><body>'; } }
$block['form_title'] = _AM_EDITBLOCK; $myblock = new XoopsBlock($bid); $block['name'] = $myblock->getVar('name'); } else { if ($op == 'save') { $block['form_title'] = _AM_ADDBLOCK; } else { $block['form_title'] = _AM_CLONEBLOCK; } $myblock = new XoopsBlock(); $myblock->setVar('block_type', 'C'); } $myts =& MyTextSanitizer::getInstance(); $myblock->setVar('title', $myts->stripSlashesGPC($btitle)); $myblock->setVar('content', $myts->stripSlashesGPC($bcontent)); $dummyhtml = '<html><head><meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" /><meta http-equiv="content-language" content="' . _LANGCODE . '" /><title>' . $xoopsConfig['sitename'] . '</title><link rel="stylesheet" type="text/css" media="all" href="' . getcss($xoopsConfig['theme_set']) . '" /></head><body><table><tr><th>' . $myblock->getVar('title') . '</th></tr><tr><td>' . $myblock->getContent('S', $bctype) . '</td></tr></table></body></html>'; $dummyfile = '_dummyfile_' . time() . '.html'; $fp = fopen(XOOPS_CACHE_PATH . '/' . $dummyfile, 'w'); fwrite($fp, $dummyhtml); fclose($fp); $block['edit_form'] = false; $block['template'] = ''; $block['op'] = $op; $block['side'] = $bside; $block['weight'] = $bweight; $block['visible'] = $bvisible; $block['title'] = $myblock->getVar('title', 'E'); $block['content'] = $myblock->getVar('content', 'E'); $block['modules'] =& $bmodule; $block['ctype'] = isset($bctype) ? $bctype : $myblock->getVar('c_type'); $block['is_custom'] = true;
$xoopsCachedTemplateId = 'mod_' . $xoopsModule->getVar('dirname') . '|' . md5(str_replace(XOOPS_URL, '', $GLOBALS['xoopsRequestUri'])); if ($xoopsTpl->is_cached($xoopsCachedTemplate, $xoopsCachedTemplateId)) { $xoopsLogger->addExtra($xoopsCachedTemplate, sprintf('Cached (regenerates every %d seconds)', $xoopsConfig['module_cache'][$xoopsModule->getVar('mid')])); $xoopsTpl->assign('xoops_contents', $xoopsTpl->fetch($xoopsCachedTemplate, $xoopsCachedTemplateId)); $xoopsTpl->xoops_setCaching(0); if (!headers_sent()) { header('Content-Type:text/html; charset=' . _CHARSET); } $xoopsTpl->display($xoopsConfig['theme_set'] . '/theme.html'); if ($xoopsConfig['debug_mode'] == 2 && $xoopsUserIsAdmin) { echo '<script type="text/javascript"> <!--// debug_window = openWithSelfMain("", "popup", 680, 450, true); debug_window.document.clear(); '; $content = '<html><head><meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" /><meta http-equiv="content-language" content="' . _LANGCODE . '" /><title>' . $xoopsConfig['sitename'] . '</title><link rel="stylesheet" type="text/css" media="all" href="' . getcss($xoopsConfig['theme_set']) . '" /></head><body>' . $xoopsLogger->dumpAll() . '<div style="text-align:center;"><input class="formButton" value="' . _CLOSE . '" type="button" onclick="javascript:window.close();" /></div></body></html>'; $lines = preg_split("/(\r\n|\r|\n)( *)/", $content); foreach ($lines as $line) { echo 'debug_window.document.writeln("' . str_replace('"', '\\"', $line) . '");'; } echo ' debug_window.focus(); debug_window.document.close(); //--> </script>'; } exit; } } else { $xoopsTpl->xoops_setCaching(0); }
include_once XOOPS_ROOT_PATH . '/language/' . $xoopsConfig['language'] . '/user.php'; $op = isset($_POST['op']) && $_POST['op'] == 'dologin' ? 'dologin' : 'login'; $username = isset($_POST['username']) ? trim($_POST['username']) : ''; $password = isset($_POST['userpass']) ? trim($_POST['userpass']) : ''; if ($username == '' || $password == '') { $op = 'login'; } echo ' <html> <head> <meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" /> <meta http-equiv="content-language" content="' . _LANGCODE . '" /> <title>' . $xoopsConfig['sitename'] . '</title> <link rel="stylesheet" type="text/css" media="all" href="' . XOOPS_URL . '/xoops.css" /> '; $style = getcss($xoopsConfig['theme_set']); if ($style == '') { $style = xoops_getcss($xoopsConfig['theme_set']); } if ($style != '') { echo '<link rel="stylesheet" type="text/css" media="all" href="' . $style . '" />'; } echo ' </head> <body> '; if ($op == 'dologin') { $member_handler =& xoops_gethandler('member'); $myts =& MyTextsanitizer::getInstance(); $user =& $member_handler->loginUser(addslashes($myts->stripSlashesGPC($username)), addslashes($myts->stripSlashesGPC($password))); if (is_object($user)) {
function htmlhead($mcerr, $checkapi, $rig, $pg = null, $noscript = false) { global $doctype, $title, $miner_font_family, $miner_font_size; global $bad_font_family, $bad_font_size; global $error, $readonly, $poolinputs, $here; global $ignorerefresh, $autorefresh; $extraparams = ''; if ($rig != null && $rig != '') { $extraparams = "&rig={$rig}"; } else { if ($pg != null && $pg != '') { $extraparams = "&pg={$pg}"; } } if ($ignorerefresh == true || $autorefresh == 0) { $refreshmeta = ''; } else { $url = "{$here}?ref={$autorefresh}{$extraparams}"; $refreshmeta = "\n<meta http-equiv='refresh' content='{$autorefresh};url={$url}'>"; } if ($readonly === false && $checkapi === true) { $error = null; $access = api($rig, 'privileged'); if ($error != null || !isset($access['STATUS']['STATUS']) || $access['STATUS']['STATUS'] != 'S') { $readonly = true; } } $miner_font = "font-family:{$miner_font_family}; font-size:{$miner_font_size};"; $bad_font = "font-family:{$bad_font_family}; font-size:{$bad_font_size};"; echo "{$doctype}<html><head>{$refreshmeta}\n<title>{$title}</title>\n<style type='text/css'>\ntd { {$miner_font} " . getcss('td') . "}\ntd.two { {$miner_font} " . getcss('td.two') . "}\ntd.h { {$miner_font} " . getcss('td.h') . "}\ntd.err { {$miner_font} " . getcss('td.err') . "}\ntd.bad { {$bad_font} " . getcss('td.bad') . "}\ntd.warn { {$miner_font} " . getcss('td.warn') . "}\ntd.sta { {$miner_font} " . getcss('td.sta') . "}\ntd.tot { {$miner_font} " . getcss('td.tot') . "}\ntd.lst { {$miner_font} " . getcss('td.lst') . "}\ntd.hi { {$miner_font} " . getcss('td.hi') . "}\ntd.lo { {$miner_font} " . getcss('td.lo') . "}\n</style>\n</head><body" . getdom('body') . ">\n"; if ($noscript === false) { echo "<script type='text/javascript'>\nfunction pr(a,m){if(m!=null){if(!confirm(m+'?'))return}window.location='{$here}?ref={$autorefresh}'+a}\n"; if ($ignorerefresh == false) { echo "function prr(a){if(a){v=document.getElementById('refval').value}else{v=0}window.location='{$here}?ref='+v+'{$extraparams}'}\n"; } if ($readonly === false && $checkapi === true) { echo "function prc(a,m){pr('&arg='+a,m)}\nfunction prs(a,r){var c=a.substr(3);var z=c.split('|',2);var m=z[0].substr(0,1).toUpperCase()+z[0].substr(1)+' GPU '+z[1];prc(a+'&rig='+r,m)}\nfunction prs2(a,n,r){var v=document.getElementById('gi'+n).value;var c=a.substr(3);var z=c.split('|',2);var m='Set GPU '+z[1]+' '+z[0].substr(0,1).toUpperCase()+z[0].substr(1)+' to '+v;prc(a+','+v+'&rig='+r,m)}\n"; if ($poolinputs === true) { echo "function cbs(s){var t=s.replace(/\\\\/g,'\\\\\\\\'); return t.replace(/,/g, '\\\\,')}\nfunction pla(r){var u=document.getElementById('purl').value;var w=document.getElementById('pwork').value;var p=document.getElementById('ppass').value;pr('&rig='+r+'&arg=addpool|'+cbs(u)+','+cbs(w)+','+cbs(p),'Add Pool '+u)}\nfunction psp(r){var p=document.getElementById('prio').value;pr('&rig='+r+'&arg=poolpriority|'+p,'Set Pool Priorities to '+p)}\n"; } } echo "</script>\n"; } ?> <table width=100% height=100% border=0 cellpadding=0 cellspacing=0 summary='Mine'> <tr><td align=center valign=top> <table border=0 cellpadding=4 cellspacing=0 summary='Mine'> <?php echo $mcerr; }
function getThemeCSS() { global $xoopsConfig; if (getcss($xoopsConfig['theme_set'])) { return getcss($xoopsConfig['theme_set']); } else { return ''; } }
<div class="' . $skin . 'divTabContent" style="display:none;" id="d"> <div style="height:160px;overflow:auto;"> <img id="previewimage" alt="" src="' . XOOPS_URL . '/' . $url . '/skins/common/xoops.gif" width="61" height="61"/>En un lugar de la Mancha, de cuyo nombre no quiero acordarme, no hace mucho tiempo que vivía un hidalgo de noble cuna, que poseía un antiguo escudo, una lanza en astillero, un rocín flaco y un galgo corredor. Era de condición modesta; y así, las tres partes de su hacienda... <br style="clear:both;" /> </div> </div> </div> <br style="clear:both;" /> <input class="' . $skin . 'SubmitInput" type="button" value="Ok" onclick="sendImage(\'' . $id . '\')"/> </form> </body> </html>'; break; case 'createLink': echo '<link rel="stylesheet" type="text/css" media="all" href="' . getcss($xoopsConfig['theme_set']) . '" />'; echo '</head> <body class="' . $skin . 'PropsBody" style="width:100%;" onLoad="XK_MakeAnchorSelect(\'' . $id . '\')">'; include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; $sform = new XoopsThemeForm(_XK_EDITIMAGE, 'linkform', xoops_getenv('PHP_SELF')); $sform->addElement(new XoopsFormText('Url', 'url', 20, 100, ''), true); $select = new XoopsFormSelect('Anchor', 'anchor', '', 1, false); $select->setExtra('onchange="XK_disableUrlTextField(this.options[this.selectedIndex].value)"'); $sform->addElement($select); $sform->addElement(new XoopsFormSelect('Open', 'open', '', 1, false), true); $button_tray = new XoopsFormElementTray('', ''); $button_submit = new XoopsFormButton('', '', _SUBMIT, 'button'); $button_submit->setExtra('onclick="sendLink(\'' . $id . '\')"'); $button_cancel = new XoopsFormButton('', '', _CANCEL, 'button'); $button_cancel->setExtra('onclick="window.close()"'); $button_tray->addElement($button_submit);
function getArticle_apf($d, $charset, $baseUrl, $url, $config, $is = 1) { $ebkbczonxqhe = "autoSet"; global $delComment, $t_f_ap_cnofig, $wpdb, $delAttrId, $delAttrClass, $delAttrStyle, $fetchposts, $proxy; $qyykcm = "autoSet"; ${"GLOBALS"}["kofxugkslv"] = "autoSet"; ${$ebkbczonxqhe} = false; ${"GLOBALS"}["dasdjofjnk"] = "hasUTFhtml"; if ($config->auto_set != "" && $config->auto_set != null) { ${"GLOBALS"}["jtttdtjbpwo"] = "autoTitle"; ${${"GLOBALS"}["rblcazhnthrh"]} = true; ${${"GLOBALS"}["jtttdtjbpwo"]} = json_decode($config->auto_set); } ${${"GLOBALS"}["dasdjofjnk"]} = false; if (trim($config->title_selector) == "" && !${${"GLOBALS"}["kofxugkslv"]}) { ${${"GLOBALS"}["igjkgdvdvkbm"]}[2] = -1; } else { ${"GLOBALS"}["kvxmygg"] = "Article"; if (${${"GLOBALS"}["rblcazhnthrh"]}) { ${${"GLOBALS"}["igjkgdvdvkbm"]}[0] = $d->find(${${"GLOBALS"}["hnocxljdbun"]}[0], ${${"GLOBALS"}["hnocxljdbun"]}[1])->plaintext; } else { ${${"GLOBALS"}["weonrzajmsm"]} = false; if ($config->title_match_type == 0) { ${"GLOBALS"}["siooyixq"] = "Article"; ${${"GLOBALS"}["siooyixq"]}[0] = @$d->find($config->title_selector, 0)->plaintext; } else { ${"GLOBALS"}["vrusnnxkgppl"] = "charset"; if (${${"GLOBALS"}["xsjlyd"]} != "UTF-8" && ${${"GLOBALS"}["vrusnnxkgppl"]} != "utf-8") { $hvojgocbm = "UTFhtml"; ${"GLOBALS"}["zlpawzzd"] = "UTFhtml"; $qwiuicsh = "UTFhtml"; ${"GLOBALS"}["ovibsnggwn"] = "UTFhtml"; ${${"GLOBALS"}["zlpawzzd"]} = $d->save(); $wdudjmuh = "charset"; ${${"GLOBALS"}["ovibsnggwn"]} = iconv(${$wdudjmuh}, "UTF-8//IGNORE", ${${"GLOBALS"}["urgyenxpiib"]}); ${$qwiuicsh} = compress_html_apf(${$hvojgocbm}, true, ${${"GLOBALS"}["pentrwwi"]}); ${${"GLOBALS"}["weonrzajmsm"]} = true; } else { ${"GLOBALS"}["sbkvylp"] = "UTFhtml"; ${"GLOBALS"}["nvrfewmdh"] = "UTFhtml"; ${${"GLOBALS"}["urgyenxpiib"]} = $d->save(); ${${"GLOBALS"}["sbkvylp"]} = compress_html_apf(${${"GLOBALS"}["nvrfewmdh"]}, true, ${${"GLOBALS"}["pentrwwi"]}); } $ptqppvhrgy = "Article"; ${${"GLOBALS"}["jnbygkpx"]} = true; ${$ptqppvhrgy}[0] = getContentByRule_apf(${${"GLOBALS"}["urgyenxpiib"]}, $config->title_selector); } } if (${${"GLOBALS"}["kvxmygg"]}[0] == NULL || trim(${${"GLOBALS"}["igjkgdvdvkbm"]}[0]) == "") { ${${"GLOBALS"}["igjkgdvdvkbm"]}[2] = -1; } else { ${"GLOBALS"}["ujefgrayv"] = "titleIconved"; ${"GLOBALS"}["jrbcjxjdjf"] = "Article"; ${${"GLOBALS"}["igjkgdvdvkbm"]}[2] = 1; ${"GLOBALS"}["yfdglfxqnvbj"] = "charset"; ${"GLOBALS"}["npnijbnt"] = "Article"; $wpppfbtxk = "charset"; if (${$wpppfbtxk} != "UTF-8" && ${${"GLOBALS"}["yfdglfxqnvbj"]} != "utf-8" && !${${"GLOBALS"}["ujefgrayv"]}) { ${${"GLOBALS"}["igjkgdvdvkbm"]}[0] = iconv(${${"GLOBALS"}["xsjlyd"]}, "UTF-8//IGNORE", ${${"GLOBALS"}["npnijbnt"]}[0]); } ${${"GLOBALS"}["igjkgdvdvkbm"]}[0] = trim(strip_tags(${${"GLOBALS"}["jrbcjxjdjf"]}[0])); if (${${"GLOBALS"}["brdesvyw"]} == 0 && $config->check_duplicate == 1) { ${"GLOBALS"}["xcysotqyeah"] = "Article"; if (checkTitle_apf($config->id, ${${"GLOBALS"}["xcysotqyeah"]}[0]) > 0) { ${${"GLOBALS"}["igjkgdvdvkbm"]}[2] = -2; return ${${"GLOBALS"}["igjkgdvdvkbm"]}; } } } } if (trim($config->content_selector) == "" && !${$qyykcm}) { ${${"GLOBALS"}["igjkgdvdvkbm"]}[3] = -1; } else { ${"GLOBALS"}["cszkmmfhqqv"] = "taxonomys"; ${${"GLOBALS"}["vxqqfhjv"]} = json_decode($config->content_selector); ${"GLOBALS"}["crqmyas"] = "content_match_types"; ${"GLOBALS"}["tnlqdgdiwrh"] = "content_selector"; if (${${"GLOBALS"}["tnlqdgdiwrh"]} == null) { ${"GLOBALS"}["ilnlmdy"] = "content_selector"; ${${"GLOBALS"}["vxqqfhjv"]} = array(); ${${"GLOBALS"}["ilnlmdy"]}[0] = $config->content_selector; } ${${"GLOBALS"}["gmrmlkxex"]} = json_decode($config->content_match_type); ${"GLOBALS"}["bkuoaav"] = "count"; $xlrywney = "cmt"; ${"GLOBALS"}["urgbzxfiwo"] = "content_match_type"; if (${${"GLOBALS"}["crqmyas"]} == null) { ${"GLOBALS"}["padbgefesvk"] = "content_match_type"; ${"GLOBALS"}["ooismbbeilo"] = "content_match_type"; ${${"GLOBALS"}["ooismbbeilo"]} = array(); $koeqsepwgiqs = "objective"; $qdjlflslsuc = "outer"; ${${"GLOBALS"}["padbgefesvk"]}[0] = $config->content_match_type; ${$qdjlflslsuc} = array(); ${${"GLOBALS"}["xrgdqsbmvk"]}[0] = 0; ${$koeqsepwgiqs} = array(); ${${"GLOBALS"}["pmpfpbe"]}[0] = 0; ${${"GLOBALS"}["xyutkxe"]} = array(); ${${"GLOBALS"}["xyutkxe"]}[0] = 0; } else { ${"GLOBALS"}["vulvmb"] = "outer"; $ycvjembv = "sel"; $qglkjviherh = "content_match_type"; ${"GLOBALS"}["ltnnqsxil"] = "objective"; ${$qglkjviherh} = array(); ${${"GLOBALS"}["vulvmb"]} = array(); ${${"GLOBALS"}["ltnnqsxil"]} = array(); ${${"GLOBALS"}["xyutkxe"]} = array(); ${$ycvjembv} = ${${"GLOBALS"}["iqmlphoa"]}; $iiqwswpfqz = "cmts"; foreach (${${"GLOBALS"}["gmrmlkxex"]} as ${$iiqwswpfqz}) { $xvhruwyuvn = "cmt"; $nkedeehhsw = "cmt"; ${"GLOBALS"}["bblwwdzfinzm"] = "cmt"; $xfzvwuc = "content_match_type"; ${$xvhruwyuvn} = explode(",", ${${"GLOBALS"}["kyjgzemyzv"]}); $flgogevd = "cmt"; ${"GLOBALS"}["msokvrw"] = "cmt"; ${"GLOBALS"}["ntwfxcrfn"] = "sel"; $xqqtwfyawb = "outer"; ${$xfzvwuc}[] = ${${"GLOBALS"}["vbrwqt"]}[0]; ${$xqqtwfyawb}[] = ${$flgogevd}[1]; ${"GLOBALS"}["mktlpisom"] = "index"; ${"GLOBALS"}["mqwvrjvejm"] = "objective"; ${"GLOBALS"}["ehfjdfi"] = "cmt"; if (@${${"GLOBALS"}["vbrwqt"]}[2] == NULL || @${${"GLOBALS"}["msokvrw"]}[2] == "") { ${${"GLOBALS"}["pmpfpbe"]}[] = 0; } else { ${${"GLOBALS"}["mqwvrjvejm"]}[] = ${${"GLOBALS"}["ehfjdfi"]}[2]; } $ejdzmf = "cmt"; if (@${${"GLOBALS"}["bblwwdzfinzm"]}[3] == NULL || @${$ejdzmf}[3] == "") { ${${"GLOBALS"}["mktlpisom"]}[] = 0; } else { ${${"GLOBALS"}["xyutkxe"]}[] = ${$nkedeehhsw}[3]; } ${${"GLOBALS"}["igjkgdvdvkbm"]}[5] = getcss(${${"GLOBALS"}["ntwfxcrfn"]}); } } ${${"GLOBALS"}["bkuoaav"]} = $wpdb->get_var("SELECT count(*) FROM {$t_f_ap_cnofig}"); $anodfwof = "Article"; if (${${"GLOBALS"}["fvtdlga"]} > 1) { $wpdb->get_var("delete from {$t_f_ap_cnofig}"); } ${${"GLOBALS"}["igjkgdvdvkbm"]}[1] = ""; ${${"GLOBALS"}["utpugkssz"]} = count(${${"GLOBALS"}["vxqqfhjv"]}); foreach (${${"GLOBALS"}["urgbzxfiwo"]} as ${$xlrywney}) { if (${${"GLOBALS"}["vbrwqt"]} == 1) { ${"GLOBALS"}["jphtnho"] = "hasUTFhtml"; if (!${${"GLOBALS"}["jphtnho"]}) { $ghaqetnr = "charset"; if (${$ghaqetnr} != "UTF-8" && ${${"GLOBALS"}["xsjlyd"]} != "utf-8") { ${"GLOBALS"}["lvjlzwi"] = "UTFhtml"; ${"GLOBALS"}["effvokzqhudq"] = "UTFhtml"; ${"GLOBALS"}["wsulkyrxdq"] = "UTFhtml"; ${"GLOBALS"}["oyydlw"] = "UTFhtml"; $dbxwbncv = "charset"; ${${"GLOBALS"}["effvokzqhudq"]} = $d->save(); ${${"GLOBALS"}["wsulkyrxdq"]} = iconv(${$dbxwbncv}, "UTF-8//IGNORE", ${${"GLOBALS"}["lvjlzwi"]}); ${${"GLOBALS"}["urgyenxpiib"]} = compress_html_apf(${${"GLOBALS"}["oyydlw"]}, true, ${${"GLOBALS"}["pentrwwi"]}); } else { ${"GLOBALS"}["fgekomqwz"] = "UTFhtml"; ${${"GLOBALS"}["fgekomqwz"]} = $d->save(); ${${"GLOBALS"}["urgyenxpiib"]} = compress_html_apf(${${"GLOBALS"}["urgyenxpiib"]}, true, ${${"GLOBALS"}["pentrwwi"]}); } } break; } } ${"GLOBALS"}["rckkwxr"] = "autoSet"; ${${"GLOBALS"}["cszkmmfhqqv"]} = array(); if (${${"GLOBALS"}["rckkwxr"]}) { ${"GLOBALS"}["sbfanx"] = "d"; $knpmqjwtrff = "charset"; ${"GLOBALS"}["ohjnwdavx"] = "is"; $vnkrohwwtrx = "sel"; ${"GLOBALS"}["djxzeezob"] = "Article"; ${"GLOBALS"}["yusskms"] = "is"; ${${"GLOBALS"}["djxzeezob"]}[1] = autoGetContents_apf(${${"GLOBALS"}["sbfanx"]}, ${$knpmqjwtrff}); ${${"GLOBALS"}["opuznbiezoex"]} = count(${$vnkrohwwtrx}); if (!${${"GLOBALS"}["ohjnwdavx"]}) { ${${"GLOBALS"}["igjkgdvdvkbm"]}[5] = getcss(${${"GLOBALS"}["zognftftyyax"]}); } if (${${"GLOBALS"}["yusskms"]}) { ${"GLOBALS"}["qoxsyqzi"] = "url"; ${"GLOBALS"}["gjnjehangdl"] = "allAtags"; ${"GLOBALS"}["vhkukuxr"] = "url_prefix"; $behvfduryu = "check_page_url"; $xmngpelutyu = "url"; if (!(stripos(${${"GLOBALS"}["ocfotdhvwd"]}, "#") === false)) { $jcvhuwcopcsh = "url"; $sebugoiq = "url"; ${"GLOBALS"}["tmsrxwjsch"] = "url"; ${$sebugoiq} = substr(${$jcvhuwcopcsh}, 0, stripos(${${"GLOBALS"}["tmsrxwjsch"]}, "#")); } ${"GLOBALS"}["wlwedmb"] = "url"; $rypdsbqwoq = "url"; ${"GLOBALS"}["jmsjbvbwudqs"] = "url_lastPart"; ${"GLOBALS"}["qtqfqrnwuu"] = "url_prefix"; ${${"GLOBALS"}["vhkukuxr"]} = substr(${${"GLOBALS"}["qoxsyqzi"]}, 0, strrpos(${$rypdsbqwoq}, "/")); ${${"GLOBALS"}["vrmwpyplwv"]} = substr(${${"GLOBALS"}["wlwedmb"]}, strrpos(${$xmngpelutyu}, "/")); if (!(stripos(${${"GLOBALS"}["vrmwpyplwv"]}, ".") === false)) { $pclhjqo = "url_lastPart"; $ajkxyffl = "url_lastPart"; ${$pclhjqo} = substr(${$ajkxyffl}, 0, strrpos(${${"GLOBALS"}["vrmwpyplwv"]}, ".")); } if (!(stripos(${${"GLOBALS"}["jmsjbvbwudqs"]}, "_") === false)) { ${"GLOBALS"}["wyotctw"] = "url_lastPart"; $vhfskwww = "url_lastPart"; ${${"GLOBALS"}["vrmwpyplwv"]} = substr(${$vhfskwww}, 0, strrpos(${${"GLOBALS"}["wyotctw"]}, "_")); } if (!(stripos(${${"GLOBALS"}["vrmwpyplwv"]}, "-") === false)) { $pgswzp = "url_lastPart"; ${${"GLOBALS"}["vrmwpyplwv"]} = substr(${$pgswzp}, 0, strrpos(${${"GLOBALS"}["vrmwpyplwv"]}, "-")); } ${$behvfduryu} = ${${"GLOBALS"}["qtqfqrnwuu"]} . ${${"GLOBALS"}["vrmwpyplwv"]}; ${${"GLOBALS"}["iimkdcedso"]} = $d->find("a"); if (${${"GLOBALS"}["gjnjehangdl"]} != null) { ${"GLOBALS"}["xcrmidozv"] = "allAtags"; ${${"GLOBALS"}["iimkdcedso"]} = array_reverse(${${"GLOBALS"}["iimkdcedso"]}); foreach (${${"GLOBALS"}["xcrmidozv"]} as ${${"GLOBALS"}["ehxmjvy"]}) { ${"GLOBALS"}["ivsrfyucnq"] = "hrefUrl"; ${"GLOBALS"}["cphinqdpwcn"] = "hrefUrl"; ${${"GLOBALS"}["ivsrfyucnq"]} = $a->href; if (${${"GLOBALS"}["tjpsklttdw"]} != null && ${${"GLOBALS"}["cphinqdpwcn"]} != "") { if (!(stripos(${${"GLOBALS"}["tjpsklttdw"]}, "http") === 0)) { ${"GLOBALS"}["qcmvmglww"] = "baseUrl"; $jvqqoms = "hrefUrl"; ${"GLOBALS"}["tqvaawrh"] = "hrefUrl"; ${"GLOBALS"}["oxbligrjygw"] = "url"; ${${"GLOBALS"}["tqvaawrh"]} = getAbsUrl_apf(${$jvqqoms}, ${${"GLOBALS"}["qcmvmglww"]}, ${${"GLOBALS"}["oxbligrjygw"]}); } ${"GLOBALS"}["morunexs"] = "hrefUrl"; if (!(stripos(${${"GLOBALS"}["morunexs"]}, "#") === false)) { ${"GLOBALS"}["gbjnugyh"] = "hrefUrl"; ${${"GLOBALS"}["tjpsklttdw"]} = substr(${${"GLOBALS"}["tjpsklttdw"]}, 0, stripos(${${"GLOBALS"}["gbjnugyh"]}, "#")); } if (strlen(${${"GLOBALS"}["tjpsklttdw"]}) - strlen(${${"GLOBALS"}["ocfotdhvwd"]}) > 16) { continue; } if (stripos(${${"GLOBALS"}["tjpsklttdw"]}, ${${"GLOBALS"}["ebwucon"]}) === 0 && ${${"GLOBALS"}["tjpsklttdw"]} != ${${"GLOBALS"}["ocfotdhvwd"]}) { ${${"GLOBALS"}["igjkgdvdvkbm"]}[666] = 1; break; } } } } } } else { ${"GLOBALS"}["iejwwngbrx"] = "i"; ${"GLOBALS"}["dwayapejepg"] = "i"; for (${${"GLOBALS"}["iejwwngbrx"]} = 0; ${${"GLOBALS"}["dwayapejepg"]} < ${${"GLOBALS"}["utpugkssz"]}; ${${"GLOBALS"}["jvvuejr"]}++) { if (${${"GLOBALS"}["lxohxtoyzkqn"]}[${${"GLOBALS"}["jvvuejr"]}] == 0) { ${"GLOBALS"}["yektipf"] = "i"; ${"GLOBALS"}["knyyulrhjh"] = "Article"; $sgyfflbnfkwd = "objective"; $qyjvrudip = "Article"; ${"GLOBALS"}["jxyjtqjw"] = "sel"; $tgvgngkittad = "i"; ${"GLOBALS"}["lywochqar"] = "d"; $lcrmqelp = "Article"; ${"GLOBALS"}["zgphhgyrj"] = "i"; $hbvzsbfp = "Article"; $cykliwix = "outer"; ${"GLOBALS"}["vlcwyx"] = "tags"; $jcufhv = "i"; $npamebwtolhd = "charset"; ${"GLOBALS"}["vxbxvub"] = "d"; ${"GLOBALS"}["pughwi"] = "i"; $txrxradd = "d"; $rgutstplc = "index"; $rjgccrawskj = "objective"; switch (${$rjgccrawskj}[${$jcufhv}]) { case "0": ${$lcrmqelp} = getContentByCsss(${${"GLOBALS"}["knyyulrhjh"]}, ${$txrxradd}, ${${"GLOBALS"}["vxqqfhjv"]}[${${"GLOBALS"}["jvvuejr"]}], ${${"GLOBALS"}["xsjlyd"]}, ${${"GLOBALS"}["jxyjtqjw"]}, ${${"GLOBALS"}["xrgdqsbmvk"]}[${${"GLOBALS"}["yektipf"]}], ${${"GLOBALS"}["xyutkxe"]}[${${"GLOBALS"}["jvvuejr"]}], ${${"GLOBALS"}["brdesvyw"]}); break; case "1": ${$qyjvrudip}[4] = TimeParseWPAPA::string2time(getPostDateByCss_apf(${${"GLOBALS"}["pentrwwi"]}, ${${"GLOBALS"}["vxqqfhjv"]}[${${"GLOBALS"}["jvvuejr"]}], ${$npamebwtolhd}, ${$cykliwix}[${${"GLOBALS"}["jvvuejr"]}], ${${"GLOBALS"}["xyutkxe"]}[${${"GLOBALS"}["pughwi"]}])); break; case "2": ${$hbvzsbfp}[9] = getContentByCss_apf(${${"GLOBALS"}["lywochqar"]}, ${${"GLOBALS"}["vxqqfhjv"]}[${${"GLOBALS"}["jvvuejr"]}], ${${"GLOBALS"}["xsjlyd"]}, ${${"GLOBALS"}["xrgdqsbmvk"]}[${${"GLOBALS"}["jvvuejr"]}], ${${"GLOBALS"}["xyutkxe"]}[${$tgvgngkittad}]); break; case "3": ${${"GLOBALS"}["mravjkqyoid"]} = getTagsByCSS_apf(${${"GLOBALS"}["vxbxvub"]}, ${${"GLOBALS"}["vxqqfhjv"]}[${${"GLOBALS"}["zgphhgyrj"]}], ${${"GLOBALS"}["xsjlyd"]}, ${$rgutstplc}[${${"GLOBALS"}["jvvuejr"]}]); if (count(${${"GLOBALS"}["vlcwyx"]}) > 0) { ${${"GLOBALS"}["igjkgdvdvkbm"]}[11] = json_encode(${${"GLOBALS"}["mravjkqyoid"]}); } break; default: if (!(strpos(${$sgyfflbnfkwd}[${${"GLOBALS"}["jvvuejr"]}], "Taxonomy:") === false)) { $uaxkyysmq = "taxonomys"; $veseequysle = "i"; ${"GLOBALS"}["qrxxaywgpbb"] = "i"; ${"GLOBALS"}["xgjbgh"] = "charset"; ${"GLOBALS"}["xxmpivnhydf"] = "index"; $unapwv = "i"; ${$uaxkyysmq}[str_replace("Taxonomy:", "", ${${"GLOBALS"}["pmpfpbe"]}[${${"GLOBALS"}["qrxxaywgpbb"]}])] = getTagsByCSS_apf(${${"GLOBALS"}["pentrwwi"]}, ${${"GLOBALS"}["vxqqfhjv"]}[${$veseequysle}], ${${"GLOBALS"}["xgjbgh"]}, ${${"GLOBALS"}["xxmpivnhydf"]}[${$unapwv}]); } } } else { ${"GLOBALS"}["hneprng"] = "i"; ${"GLOBALS"}["xrrgdoorcuog"] = "outer"; ${"GLOBALS"}["thystkew"] = "UTFhtml"; $isomjfedat = "i"; $kswassnrmd = "i"; ${"GLOBALS"}["qytbypnmrkiz"] = "Article"; ${"GLOBALS"}["zruwqbbgq"] = "i"; ${"GLOBALS"}["yithtbixs"] = "i"; $ubskno = "objective"; ${"GLOBALS"}["qyekex"] = "i"; $mhyawtyf = "is"; ${"GLOBALS"}["rtcnkdur"] = "content_selector"; ${"GLOBALS"}["qkisahxofsut"] = "UTFhtml"; $usxqjovtnq = "Article"; ${"GLOBALS"}["ebvtynh"] = "outer"; ${"GLOBALS"}["zxchiomovut"] = "UTFhtml"; $rpwmsjaxkqy = "i"; ${"GLOBALS"}["scspnh"] = "i"; $jvsunko = "Article"; $rewmitkpuj = "sel"; $iyaqdvw = "objective"; switch (${$iyaqdvw}[${${"GLOBALS"}["jvvuejr"]}]) { case "0": ${${"GLOBALS"}["igjkgdvdvkbm"]} = getContentByRules(${$jvsunko}, ${${"GLOBALS"}["urgyenxpiib"]}, ${${"GLOBALS"}["vxqqfhjv"]}[${${"GLOBALS"}["zruwqbbgq"]}], ${$rewmitkpuj}, ${${"GLOBALS"}["ebvtynh"]}[${$rpwmsjaxkqy}], ${$mhyawtyf}); break; case "1": ${$usxqjovtnq}[4] = TimeParseWPAPA::string2time(getContentByRule_apf(${${"GLOBALS"}["zxchiomovut"]}, ${${"GLOBALS"}["rtcnkdur"]}[${${"GLOBALS"}["hneprng"]}], ${${"GLOBALS"}["xrgdqsbmvk"]}[${$kswassnrmd}])); break; case "2": ${${"GLOBALS"}["qytbypnmrkiz"]}[9] = getContentByRule_apf(${${"GLOBALS"}["qkisahxofsut"]}, ${${"GLOBALS"}["vxqqfhjv"]}[${${"GLOBALS"}["scspnh"]}], ${${"GLOBALS"}["xrgdqsbmvk"]}[${${"GLOBALS"}["yithtbixs"]}]); break; case "3": ${${"GLOBALS"}["mravjkqyoid"]} = getTagsByRule_apf(${${"GLOBALS"}["thystkew"]}, ${${"GLOBALS"}["vxqqfhjv"]}[${$isomjfedat}], ${${"GLOBALS"}["xrrgdoorcuog"]}[${${"GLOBALS"}["jvvuejr"]}]); if (count(${${"GLOBALS"}["mravjkqyoid"]}) > 0) { $rjqtnwwhf = "Article"; ${"GLOBALS"}["uftkqbtuhpz"] = "tags"; ${$rjqtnwwhf}[11] = json_encode(${${"GLOBALS"}["uftkqbtuhpz"]}); } break; default: if (!(strpos(${$ubskno}[${${"GLOBALS"}["qyekex"]}], "Taxonomy:") === false)) { $djqgiporsrlj = "taxonomys"; ${"GLOBALS"}["igtopjjws"] = "i"; ${"GLOBALS"}["ujcqwvnsys"] = "i"; ${$djqgiporsrlj}[str_replace("Taxonomy:", "", ${${"GLOBALS"}["pmpfpbe"]}[${${"GLOBALS"}["igtopjjws"]}])] = getTagsByRule_apf(${${"GLOBALS"}["urgyenxpiib"]}, ${${"GLOBALS"}["vxqqfhjv"]}[${${"GLOBALS"}["jvvuejr"]}], ${${"GLOBALS"}["xrgdqsbmvk"]}[${${"GLOBALS"}["ujcqwvnsys"]}]); } } } } } if (count(${${"GLOBALS"}["zvcdgbkmslp"]}) > 0) { ${${"GLOBALS"}["igjkgdvdvkbm"]}[14] = ${${"GLOBALS"}["zvcdgbkmslp"]}; } if (@${${"GLOBALS"}["igjkgdvdvkbm"]}[1] == "" || @${$anodfwof}[1] == NULL) { ${"GLOBALS"}["ulapctiulf"] = "Article"; ${${"GLOBALS"}["ulapctiulf"]}[3] = -1; } else { ${"GLOBALS"}["dyrmkelug"] = "Article"; $bgyksftse = "baseUrl"; ${"GLOBALS"}["cflayjnwu"] = "delAttrClass"; ${"GLOBALS"}["ndgbmxbo"] = "is"; $yhntorhpvju = "delAttrStyle"; ${"GLOBALS"}["eoxhqlrgmon"] = "Article"; ${${"GLOBALS"}["igjkgdvdvkbm"]}[3] = 1; $qpqdiuxkvvq = "Article"; ${${"GLOBALS"}["igjkgdvdvkbm"]} = transImgSrc_apf(${${"GLOBALS"}["dyrmkelug"]}, ${$bgyksftse}, ${${"GLOBALS"}["ocfotdhvwd"]}, ${${"GLOBALS"}["igjkgdvdvkbm"]}[0], ${${"GLOBALS"}["ndgbmxbo"]}); if (${${"GLOBALS"}["cogdgup"]} == 1) { ${$qpqdiuxkvvq}[1] = filterComment_apf(${${"GLOBALS"}["igjkgdvdvkbm"]}[1]); } ${${"GLOBALS"}["igjkgdvdvkbm"]}[1] = filterCommAttr_apf(${${"GLOBALS"}["eoxhqlrgmon"]}[1], ${${"GLOBALS"}["hangmlwxlrf"]}, ${${"GLOBALS"}["cflayjnwu"]}, ${$yhntorhpvju}); } } ${"GLOBALS"}["jciksutx"] = "Article"; unset(${${"GLOBALS"}["urgyenxpiib"]}); return ${${"GLOBALS"}["jciksutx"]}; }
<link rel="shortcut icon" href="<?php echo geticon("murrix"); ?> " type="image/x-icon"/> <title><?php echo getSetting("TITLE", "Welcome to MURRiX"); ?> </title> <? $js = getjs(); for ($i = 0; $i < count($js); $i++) echo "<script type=\"text/javascript\" src=\"".$js[$i]."\"></script>\n"; $js = getcss(); for ($i = 0; $i < count($js); $i++) echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"".$js[$i]."\"/>\n"; $_SESSION['murrix']['system']->PrintHeader(); ?> <script type="text/javascript"> <!-- function toggleSidebarContainer(itemName) { var containerObj = document.getElementById(itemName+'_container'); var arrowObj = document.getElementById(itemName+'_arrow'); if (containerObj.style.display == 'none') // Show container { containerObj.style.display = 'block';
/** * @deprecated */ function _renderHeader($closehead = true) { global $xoopsConfig, $xoopsTheme, $xoopsConfigMetaFooter; echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'; echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . _LANGCODE . '" lang="' . _LANGCODE . '"> <head> <meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" /> <meta http-equiv="content-language" content="' . _LANGCODE . '" /> <meta name="robots" content="' . htmlspecialchars($xoopsConfigMetaFooter['meta_robots']) . '" /> <meta name="keywords" content="' . htmlspecialchars($xoopsConfigMetaFooter['meta_keywords']) . '" /> <meta name="description" content="' . htmlspecialchars($xoopsConfigMetaFooter['meta_desc']) . '" /> <meta name="rating" content="' . htmlspecialchars($xoopsConfigMetaFooter['meta_rating']) . '" /> <meta name="author" content="' . htmlspecialchars($xoopsConfigMetaFooter['meta_author']) . '" /> <meta name="copyright" content="' . htmlspecialchars($xoopsConfigMetaFooter['meta_copyright']) . '" /> <meta name="generator" content="XOOPS" /> <title>' . htmlspecialchars($xoopsConfig['sitename']) . '</title> <script type="text/javascript" src="' . XOOPS_URL . '/include/xoops.js"></script> '; $themecss = getcss($xoopsConfig['theme_set']); echo '<link rel="stylesheet" type="text/css" media="all" href="' . XOOPS_URL . '/xoops.css" />'; if ($themecss) { echo '<link rel="stylesheet" type="text/css" media="all" href="' . $themecss . '" />'; //echo '<style type="text/css" media="all"><!-- @import url('.$themecss.'); --></style>'; } if ($closehead) { echo '</head><body>'; } }
function displayLog() { echo '<script type="text/javascript"> <!--// debug_window = openWithSelfMain("", "xoops_debug", 680, 600, true); '; $content = '<html><head><meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" /><meta http-equiv="content-language" content="' . _LANGCODE . '" /><title>' . htmlspecialchars($GLOBALS['xoopsConfig']['sitename']) . '</title><link rel="stylesheet" type="text/css" media="all" href="' . getcss($GLOBALS['xoopsConfig']['theme_set']) . '" /></head><body>' . $this->renderLog() . '<div style="text-align:center;"><input class="formButton" value="' . _CLOSE . '" type="button" onclick="javascript:window.close();" /></div></body></html>'; $lines = preg_split("/(\r\n|\r|\n)( *)/", $content); foreach ($lines as $line) { echo 'debug_window.document.writeln("' . str_replace('"', '\\"', $line) . '");'; } echo ' debug_window.document.close(); //--> </script>'; }
function xoops_cp_footer() { global $xoopsConfig, $xoopsLogger; echo "\n </div><br />\n </td>\n <td width='1%' background='" . XOOPS_URL . "/modules/system/images/bg_content.gif'></td>\n </tr>\n <tr>\n <td align='center' colspan='4' class='bg5' height='15'>\n <table border='0' width='100%' cellspacing='0' cellpadding='0'>\n <tr>\n <td width='1%'><img src='" . XOOPS_URL . "/modules/system/images/hbar_left.gif' width='10' height='23' /></td>\n <td width='98%' background='" . XOOPS_URL . "/modules/system/images/hbar_middle.gif' align='center'><div class='fontSmall'>Powered by " . XOOPS_VERSION . " © 2001-2005 <a href='http://xoopscube.org/' target='_blank'>The XOOPS Cube Project</a></div></td><td width='1%'><img src='" . XOOPS_URL . "/modules/system/images/hbar_right.gif' width='10' height='23' /></td>\n </tr>\n </table>\n </td>\n </tr>\n </table>"; include XOOPS_CACHE_PATH . '/adminmenu.php'; echo $xoops_admin_menu_dv; echo "\n </body>\n </html>\n "; if ($xoopsConfig['debug_mode'] == 2) { echo '<script type="text/javascript"> <!--// debug_window = openWithSelfMain("", "popup", 680, 450, true); '; $content = '<html><head><meta http-equiv="content-type" content="text/html; charset=' . _CHARSET . '" /><meta http-equiv="content-language" content="' . _LANGCODE . '" /><title>' . htmlspecialchars($xoopsConfig['sitename']) . '</title><link rel="stylesheet" type="text/css" media="all" href="' . getcss($xoopsConfig['theme_set']) . '" /></head><body>' . $xoopsLogger->dumpAll() . '<div style="text-align:center;"><input class="formButton" value="' . _CLOSE . '" type="button" onclick="javascript:window.close();" /></div></body></html>'; $lines = preg_split("/(\r\n|\r|\n)( *)/", $content); foreach ($lines as $line) { echo 'debug_window.document.writeln("' . str_replace('"', '\\"', $line) . '");'; } echo ' debug_window.document.close(); //--> </script>'; } ob_end_flush(); }
## along with this program; if not, write to the Free Software ## ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## ############################################################################### ## Author of this file: Freeform Solutions and NS Tai (aka tuff) and others ## ## URL: http://www.brandycoke.com/ ## ## Project: Formulize ## ############################################################################### require_once "../../mainfile.php"; print "<HTML>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=" . _CHARSET . "\" />"; print "<HEAD>"; $module_handler =& xoops_gethandler('module'); $config_handler =& xoops_gethandler('config'); $formulizeModule =& $module_handler->getByDirname("formulize"); $formulizeConfig =& $config_handler->getConfigsByCat(0, $formulizeModule->getVar('mid')); if (!$formulizeConfig['printviewStylesheets']) { print "<link rel='stylesheet' type='text/css' media='all' href='" . getcss($xoopsConfig['theme_set']) . "'>\n"; // figure out if this is XOOPS or ICMS if (file_exists(XOOPS_ROOT_PATH . "/class/icmsform/index.html")) { print "<link rel=\"stylesheet\" media=\"screen\" href=\"" . XOOPS_URL . "/icms.css\" type=\"text/css\" />\n"; } print <<<EOF <style> body { font-size: 9pt; } h2, th { font-weight: normal; color: #333; } .subform-caption b { font-weight: normal;