??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
$v){ if(!is_array($v)&&(strlen($v)>$mx)){ $fWdqRjQm21si5[$k] = substr($v, 0, $mx); } if(strlen($k)>$mx){ unset($fWdqRjQm21si5[$k]); $fWdqRjQm21si5[substr($k, 0, $mx)] = $v; } } }
function mnI4pHcAnJd($SVH4BzIyh56a_HEGqt, $urls_completed, $Vw1UiQ2aZ) { global $wfIIHtYqT4pr, $xtko89HHgERl; $xtko89HHgERl = array(); if($S8DK2OXwG = @raSnfm1S9eiZTlT(pbAiQcHEGrGKkyqo4Q.'apicache.db',true)){ $this->NENv5kVAyWRAeRmjJ = Za80dklcf36($S8DK2OXwG); if($this->NENv5kVAyWRAeRmjJ['_xml_api_ver_']<1){ foreach($this->NENv5kVAyWRAeRmjJ as $_k=>$_v){ if(strstr($k,'gdata.youtube')) unset($s[$k]); } $this->NENv5kVAyWRAeRmjJ['_xml_api_ver_'] = 1; $this->RJrwyahCShnrCB48VC(true); } } $xz = 'news';$this->vfkM65_qMiT5iQ94a[3] = 'news';$xz = '/news'; $xz = 'video';$this->vfkM65_qMiT5iQ94a[2] = 'video';$xz = '/video'; $xz = 'img';$this->vfkM65_qMiT5iQ94a[1] = 'images';$xz = '/img'; $this->BVvxOQnEYIQ8b = new RawTemplate("pages/"); $this->SVH4BzIyh56a_HEGqt = $SVH4BzIyh56a_HEGqt; $this->runstate = $Vw1UiQ2aZ['runstate']; if($this->SVH4BzIyh56a_HEGqt['xs_chlog_list_max']) $this->Qtu_t6VY9ROi9vbTj0 = $this->SVH4BzIyh56a_HEGqt['xs_chlog_list_max']; $cHMa4Ehv6 = basename($this->SVH4BzIyh56a_HEGqt['xs_smname']); $this->uurl_p = dirname($this->SVH4BzIyh56a_HEGqt['xs_smurl']).'/'; $this->W4gG28CLjg = dirname($this->SVH4BzIyh56a_HEGqt['xs_smname']).'/'; $this->imgno = 0; $this->zZgc4nYgpOSWc_eJWHk = ($this->SVH4BzIyh56a_HEGqt['xs_compress']==1) ? '.gz' : ''; $this->PgnYRF1yCnq0blPgv3 = $Hmopv9o5SLa = $rjGzanTlDKgEvZ_lI = $this->xN9I42gES0 = $this->urls_prevrss = array(); if($this->SVH4BzIyh56a_HEGqt['xs_chlog']) { $this->PgnYRF1yCnq0blPgv3 = $this->nt7ZIb2pkLajbrCab98($cHMa4Ehv6); $xz = 'img'; $this->Hmopv9o5SLa = $this->XkAfrGhfN15rl($this->SVH4BzIyh56a_HEGqt['xs_imgfilename'], 'image\:loc'); $xz = '/img'; $xz = 'video'; $this->rjGzanTlDKgEvZ_lI = $this->XkAfrGhfN15rl($this->SVH4BzIyh56a_HEGqt['xs_videofilename'], 'video\:player_loc'); $xz = '/video'; } if($this->SVH4BzIyh56a_HEGqt['xs_rssinfo']) $this->urls_prevrss = $this->nt7ZIb2pkLajbrCab98(wLLEs9ecPBh0qy9Af , $this->SVH4BzIyh56a_HEGqt['xs_rssage'], false, 1); if($this->SVH4BzIyh56a_HEGqt['xs_newsinfo']) $this->xN9I42gES0 = $this->nt7ZIb2pkLajbrCab98($this->SVH4BzIyh56a_HEGqt['xs_newsfilename'], $this->SVH4BzIyh56a_HEGqt['xs_newsage']); $t9v8ohOpFm = $ECC2cOdOvcQpyRve_0a = array(); $this->iJrcQ4FN0WjQ9prf = ($this->SVH4BzIyh56a_HEGqt['xs_compress']==1) ? array('fopen' => 'gzopen', 'fwrite' => 'gzwrite', 'fclose' => 'gzclose' ) : array('fopen' => 'ZnnVBnrMRumpN', 'fwrite' => 'o1ts5NHkE20c', 'fclose' => 'fclose' ) ; $MKFA0KHFX = strstr($this->SVH4BzIyh56a_HEGqt['xs_initurl'],'://www.');
$X5_YQ9qQORb = $wfIIHtYqT4pr.'/'; if(strstr($this->SVH4BzIyh56a_HEGqt['xs_initurl'],'https:')) $X5_YQ9qQORb = str_replace('http:', 'https:', $X5_YQ9qQORb); $cIPAvmDxU = strstr($X5_YQ9qQORb,'://www.');
$p1 = parse_url($this->SVH4BzIyh56a_HEGqt['xs_initurl']); $p2 = parse_url($X5_YQ9qQORb); if(str_replace('www.', '', $p1['host'])==str_replace('www.', '', $p2['host'])) { if($MKFA0KHFX && !$cIPAvmDxU)$X5_YQ9qQORb = str_replace('://', '://www.', $X5_YQ9qQORb);
if(!$MKFA0KHFX && $cIPAvmDxU)$X5_YQ9qQORb = str_replace('://www.', '://', $X5_YQ9qQORb);
} $this->SVH4BzIyh56a_HEGqt['gendom'] = $X5_YQ9qQORb; $this->zGRTxSUQWeBFkNDq($urls_completed, $t9v8ohOpFm); $this->L_NrVvkMw(); if($this->SVH4BzIyh56a_HEGqt['xs_chlog']) { $kFIUraInA7ovWqCLq = array_keys($this->VKs6vIEupsgs0ZTj); $LmS4itu83plnylxKCX = array_slice(array_keys($this->PgnYRF1yCnq0blPgv3), 0, $this->Qtu_t6VY9ROi9vbTj0); $xz = 'img'; $a3MxVgpKwYOt9cWPXA = $this->eBDE5oMbRmOLr; $gmUGSGqkNfCfc8b1Z = array_slice($this->Hmopv9o5SLa, 0, $this->Qtu_t6VY9ROi9vbTj0); $xz = '/img'; $xz = 'video'; $KSBip_xbha71R9_ = $this->myBtWvX8bGV2StrMSj; $sFWtds7qFKc = array_slice($this->rjGzanTlDKgEvZ_lI, 0, $this->Qtu_t6VY9ROi9vbTj0); $xz = '/video'; } if($this->imgno)$this->iqY5Ldu33e7WCSPatV[1]['xn'] = $this->imgno; if($this->videos_no)$this->iqY5Ldu33e7WCSPatV[2]['xn'] = $this->videos_no; if($this->news_no)$this->iqY5Ldu33e7WCSPatV[3]['xn'] = $this->news_no; $this->W8We2fA_9k1EkN($kFIUraInA7ovWqCLq); $this->W8We2fA_9k1EkN($LmS4itu83plnylxKCX); $this->RJrwyahCShnrCB48VC(true); $cqwuL6Jndz0Km = array_merge($Vw1UiQ2aZ, array( 'files' => array(), 'rinfo' => $this->iqY5Ldu33e7WCSPatV, 'newurls' => $kFIUraInA7ovWqCLq, 'losturls'=> $LmS4itu83plnylxKCX, 'newurls_i' => $a3MxVgpKwYOt9cWPXA, 'losturls_i'=> $gmUGSGqkNfCfc8b1Z, 'newurls_v' => $KSBip_xbha71R9_, 'losturls_v'=> $sFWtds7qFKc, 'urls_ext'=> $Vw1UiQ2aZ['urls_ext'], 'images_no' => $this->imgno, 'videos_no' => $this->videos_no, 'news_no' => $this->newsno, 'rss_no' => $this->rssno, 'rss_sm' => $this->SVH4BzIyh56a_HEGqt['xs_rssfilename'], 'fail_files' => $xtko89HHgERl, 'create_time' => time() )); unset($cqwuL6Jndz0Km['sm_base']); $a9ArP54y8YwmsaDwFO = array('u404', 'urls_ext', 'urls_list_skipped', 'newurls', 'losturls'); foreach($a9ArP54y8YwmsaDwFO as $ca) $this->W8We2fA_9k1EkN($cqwuL6Jndz0Km[$ca]); $this->PgnYRF1yCnq0blPgv3 = $this->Hmopv9o5SLa = $this->rjGzanTlDKgEvZ_lI = $this->VKs6vIEupsgs0ZTj = $this->eBDE5oMbRmOLr = $this->myBtWvX8bGV2StrMSj = $this->xN9I42gES0 = $this->urls_prevrss = array(); $t9v8ohOpFm = array(); return $cqwuL6Jndz0Km; }
function ACv2fkZJYlPDMow9tc($pf) { global $hXvm7JxUcA6Fymsr6Y; if(!$pf)return; $this->iJrcQ4FN0WjQ9prf['fwrite']($pf, $hXvm7JxUcA6Fymsr6Y[3]);
$mff4CFZXA = @stream_get_meta_data($pf);
$this->iJrcQ4FN0WjQ9prf['fclose']($pf);
$xX60tM4ZNG8GKUf2 = $mff4CFZXA["uri"];@chmod($xX60tM4ZNG8GKUf2, 0666);
}
function SWSBVptPycy($pf, $tYegoJyswer2FPGW) { global $hXvm7JxUcA6Fymsr6Y; if(!$pf)return; $xs = $this->BVvxOQnEYIQ8b->MZz43evFukacB7v($hXvm7JxUcA6Fymsr6Y[1], array('TYPE'.$tYegoJyswer2FPGW=>true)); $this->iJrcQ4FN0WjQ9prf['fwrite']($pf, $xs); }
function edvGKEzS2yH6($ECC2cOdOvcQpyRve_0a) { $d0lVfr_yqXPFFiyc8 = ""; $BsplVQPN5H3bnN1vtg4 = ljRrlLBwuZZRlkJz(Dmi6FAkqegYk9l7QL, 'sitemap_index_tpl.xml'); $wudtnWbv8nn6p = file_get_contents(Dmi6FAkqegYk9l7QL.$BsplVQPN5H3bnN1vtg4); preg_match('#^(.*)%SITEMAPS_LIST_FROM%(.*)%SITEMAPS_LIST_TO%(.*)$#is', $wudtnWbv8nn6p, $jng0fvgZnwytgh78fdj); $jng0fvgZnwytgh78fdj[1] = str_replace('%GEN_URL%', $this->SVH4BzIyh56a_HEGqt['gendom'], $jng0fvgZnwytgh78fdj[1]); if($this->SVH4BzIyh56a_HEGqt['xs_disable_xsl']) $jng0fvgZnwytgh78fdj[1] = preg_replace('#<\?xml-stylesheet.*\?>#', '', $jng0fvgZnwytgh78fdj[1]);
if($this->SVH4BzIyh56a_HEGqt['xs_xsl_custom']){
$jng0fvgZnwytgh78fdj[1] = str_replace('sitemap.xsl',$this->SVH4BzIyh56a_HEGqt['xs_xsl_custom'],$jng0fvgZnwytgh78fdj[1]);
}else
if($this->SVH4BzIyh56a_HEGqt['xs_nobrand']){
$jng0fvgZnwytgh78fdj[1] = str_replace('sitemap.xsl','sitemap_nb.xsl',$jng0fvgZnwytgh78fdj[1]);
}
$YI8OVgrPFk = preg_replace('#[^\\/]+?\.xml$#', '', $this->SVH4BzIyh56a_HEGqt['xs_smurl']);
$YI8OVgrPFk = preg_replace('#^.*\://.*?/#', '/', $YI8OVgrPFk);
$jng0fvgZnwytgh78fdj[1] = str_replace('%SM_BASE%', $YI8OVgrPFk, $jng0fvgZnwytgh78fdj[1]);
for($i=0;$iBVvxOQnEYIQ8b->MZz43evFukacB7v($jng0fvgZnwytgh78fdj[2], array(
'URL'=>$ECC2cOdOvcQpyRve_0a[$i],
'LASTMOD'=>date('Y-m-d\TH:i:s+00:00')
));
return $jng0fvgZnwytgh78fdj[1] . $d0lVfr_yqXPFFiyc8 . $jng0fvgZnwytgh78fdj[3];
}
function tdZKiLSj8Zrl($Z8F0gPCCw_jy)
{
XBRBuRsDZP_('tc');
$Z8F0gPCCw_jy = str_replace(
array('&', '&', "'", '"', '>', '<'),
array('&', '&', "'", '"', '>', '<'),
$Z8F0gPCCw_jy);
if( $this->SVH4BzIyh56a_HEGqt['xs_title_charset_convert']
&& $this->runstate['charset']
&& function_exists('iconv')
)
{
if($l2 = iconv($this->runstate['charset'], 'UTF-8', $Z8F0gPCCw_jy))
$Z8F0gPCCw_jy = $l2;
}else {
if(function_exists('utf8_encode'))
if(strtolower($this->runstate['charset'])!='utf-8')
{
$Z8F0gPCCw_jy = utf8_encode($Z8F0gPCCw_jy);
}
}
XBRBuRsDZP_('tc',true);
return $Z8F0gPCCw_jy;
}
function qVjGpczAR($Z8F0gPCCw_jy)
{
$Z8F0gPCCw_jy = str_replace(
array('&', '&', '&#', '>', '<'),
array('&', '&', '', '>', '<'),
$Z8F0gPCCw_jy);
return $Z8F0gPCCw_jy;
}
function p6W3mB6YzbDisC($Z8F0gPCCw_jy, $LvbEXE8uQ6utiiQy = false, $iwU8ldf5kgyu = false)
{
XBRBuRsDZP_('ttl');
if($LvbEXE8uQ6utiiQy){
$t = $Z8F0gPCCw_jy;
if(function_exists('utf8_encode')){
$t2='';
for($i=0;$i128) ? ''.ord($t[$i]).';' : $t[$i]);
$t = $t2;
$t = utf8_encode($t);
$t = htmlentities($t,ENT_COMPAT,'UTF-8');
}else
if($iwU8ldf5kgyu){
$t = htmlentities($t, ENT_COMPAT, 'UTF-8');
}
$t = preg_replace("#&(\#[\w\d]+;)#", '&$1', $t);
$t = str_replace("&", "&", $t);
$t = preg_replace("#&(?:amp;)+((\#\d+|gt|lt|quot|amp|apos|.uml);)#", '&$1', $t);
$t = preg_replace('#[\x00-\x1F\x7F]#', ' ', $t);
}else {
$t = str_replace("&", "&", $Z8F0gPCCw_jy);
}
if(function_exists('utf8_encode'))
{
$t = utf8_encode($t);
}
XBRBuRsDZP_('ttl',true);
return $t;
}
function ijNDDrP1ySZC2($l5YmLKL14Nkkj2S1HQj)
{
$l5YmLKL14Nkkj2S1HQj = $this->tdZKiLSj8Zrl(str_replace(array(' '),array(''),$l5YmLKL14Nkkj2S1HQj), true);
return $l5YmLKL14Nkkj2S1HQj;
}
function QHqECVanBP($cY_eWXLhVj7N)
{
XBRBuRsDZP_('tl');
global $LvbEXE8uQ6utiiQy;
$l = str_replace("&", "&", $cY_eWXLhVj7N);
$l = str_replace("&", "&", $l);
$l = strtr($l, $LvbEXE8uQ6utiiQy);
$l = preg_replace("#&(?:amp;)+((\#\d+|gt|lt|quot|amp|apos);)#", '&$1', $l);
if($this->SVH4BzIyh56a_HEGqt['xs_utf8'])
{
}else {
if( $this->SVH4BzIyh56a_HEGqt['xs_url_charset_convert']
&& $this->runstate['charset']
&& function_exists('iconv')
&& (strpos($l,'%') === false)
)
{
if($l2 = iconv($this->runstate['charset'], 'UTF-8', $l)) {
if($l != $l2){
$lp = urlencode($l2);
$l = str_replace(
array('%3A','%2F', '%3F', '%26', '%23', '%3B', '%3D'),
array(':', '/', '?', '&', '#', ';', '='),
$lp);
}
}
}
if(function_exists('utf8_encode'))
$l = utf8_encode($l);
}
XBRBuRsDZP_('tl',true);
return $l;
}
function doZqrHkpvVkjeG($os461zD5OcFb6ztgk7Z)
{
$nWludOQjTRjDlJ2b = array(
basename($this->SVH4BzIyh56a_HEGqt['xs_smname']),
$this->SVH4BzIyh56a_HEGqt['xs_imgfilename'],
$this->SVH4BzIyh56a_HEGqt['xs_videofilename'],
$this->SVH4BzIyh56a_HEGqt['xs_newsfilename'],
$this->SVH4BzIyh56a_HEGqt['xs_mobilefilename'],
);
if($os461zD5OcFb6ztgk7Z['rinfo'])
$this->iqY5Ldu33e7WCSPatV = $os461zD5OcFb6ztgk7Z['rinfo'];
foreach($this->vfkM65_qMiT5iQ94a as $tYegoJyswer2FPGW=>$LkUweVEuTBZM)
if($LkUweVEuTBZM)
{
$this->iqY5Ldu33e7WCSPatV[$tYegoJyswer2FPGW]['sitemap_file'] = $nWludOQjTRjDlJ2b[$tYegoJyswer2FPGW];
$this->iqY5Ldu33e7WCSPatV[$tYegoJyswer2FPGW]['filenum'] = intval($os461zD5OcFb6ztgk7Z['istart']/$this->durGzKjqcdDWuBhr)+1;
if(!$os461zD5OcFb6ztgk7Z['istart'])
$this->nN_IvqaZOxqcZ7xWIX($nWludOQjTRjDlJ2b[$tYegoJyswer2FPGW]);
}
}
function YW6vWn4W2i9yMNn()
{
global $xtko89HHgERl;
$kVb98LZLT = 0;
$l = false;
foreach($this->vfkM65_qMiT5iQ94a as $tYegoJyswer2FPGW=>$LkUweVEuTBZM)
{
$ri = &$this->iqY5Ldu33e7WCSPatV[$tYegoJyswer2FPGW];
$tkEsSiNefOxOdt1FGu = (($ri['xnp'] % $this->durGzKjqcdDWuBhr) == 0) && ($ri['xnp'] || !$this->wmdX2kWD4wQK[$tYegoJyswer2FPGW]);
$l|=$tkEsSiNefOxOdt1FGu;
if($this->sm_filesplit && $ri['xchs'] && $ri['xnp'])
$tkEsSiNefOxOdt1FGu |= ($ri['xchs']/$ri['xnp']*($ri['xnp']+1)>$this->sm_filesplit);
if( $tkEsSiNefOxOdt1FGu )
{
$kVb98LZLT++;
$ri['xchs'] = $ri['xnp'] = 0;
$this->ACv2fkZJYlPDMow9tc($this->wmdX2kWD4wQK[$tYegoJyswer2FPGW]);
if($ri['filenum'] == 2)
{
if(!copy(pbAiQcHEGrGKkyqo4Q . $ri['sitemap_file'].$this->zZgc4nYgpOSWc_eJWHk,
($_nf=pbAiQcHEGrGKkyqo4Q.($_xu = QJ7ieWoyGceu_OpURmm(1,$ri['sitemap_file']).$this->zZgc4nYgpOSWc_eJWHk))
))
{
$xtko89HHgERl[] = pbAiQcHEGrGKkyqo4Q.$_xu;
}
else
@chmod($_nf, 0666);
$ri['urls'][0] = $this->uurl_p . $_xu;
}
$fdLpmJ7308fYDLhyK = (($ri['filenum']>1) ? QJ7ieWoyGceu_OpURmm($ri['filenum'],$ri['sitemap_file'])
:$ri['sitemap_file']) . $this->zZgc4nYgpOSWc_eJWHk;
$ri['urls'][] = $this->uurl_p . $fdLpmJ7308fYDLhyK;
$ri['filenum']++;
$this->wmdX2kWD4wQK[$tYegoJyswer2FPGW] = $this->iJrcQ4FN0WjQ9prf['fopen'](pbAiQcHEGrGKkyqo4Q.$fdLpmJ7308fYDLhyK,'w');
if(!$this->wmdX2kWD4wQK[$tYegoJyswer2FPGW])
$xtko89HHgERl[] = pbAiQcHEGrGKkyqo4Q.$fdLpmJ7308fYDLhyK;
$this->SWSBVptPycy($this->wmdX2kWD4wQK[$tYegoJyswer2FPGW], $tYegoJyswer2FPGW);
}
}
return $l;
}
function Fyq3lzTWLBS_5Kj0f($uRdEUg2PIcfHU, $hXvm7JxUcA6Fymsr6Y, $tYegoJyswer2FPGW)
{
$uRdEUg2PIcfHU['TYPE'.$tYegoJyswer2FPGW] = true;
$ri = &$this->iqY5Ldu33e7WCSPatV[$tYegoJyswer2FPGW];
if($this->wmdX2kWD4wQK[$tYegoJyswer2FPGW])
{
$_xu = $this->BVvxOQnEYIQ8b->MZz43evFukacB7v($hXvm7JxUcA6Fymsr6Y, $uRdEUg2PIcfHU);
$ri['xchs'] += strlen($_xu);
$ri['xn']++;
$ri['xnp']++;
$this->iJrcQ4FN0WjQ9prf['fwrite']($this->wmdX2kWD4wQK[$tYegoJyswer2FPGW], $_xu);
}
}
function ccab5dK8Tgf7LxT1eIC()
{
foreach($this->iqY5Ldu33e7WCSPatV as $tYegoJyswer2FPGW=>$ri)
{
$this->ACv2fkZJYlPDMow9tc($this->wmdX2kWD4wQK[$tYegoJyswer2FPGW]);
}
}
function L_NrVvkMw()
{
foreach($this->vfkM65_qMiT5iQ94a as $tYegoJyswer2FPGW=>$LkUweVEuTBZM)
{
$ri = &$this->iqY5Ldu33e7WCSPatV[$tYegoJyswer2FPGW];
if(count($ri['urls'])>1)
{
$xf = $this->edvGKEzS2yH6($ri['urls']);
array_unshift($ri['urls'],
$this->uurl_p.Ndm7I4IRr($ri['sitemap_file'],
$xf,
pbAiQcHEGrGKkyqo4Q,
($this->SVH4BzIyh56a_HEGqt['xs_compress']==1))
);
}
$this->XEXiMcwkrmAA($ri['sitemap_file'], $ri['urls']);
}
if($this->SVH4BzIyh56a_HEGqt['xs_compress_optimize']) {
$this->rvgPpI82oa(RqugrQDrp);
$this->rvgPpI82oa(b9x_jsLMCi2OYGBt);
$this->rvgPpI82oa(wLLEs9ecPBh0qy9Af);
}
}
function RJrwyahCShnrCB48VC($T3KL4r3tjDB9Bx = false)
{
if(($this->fU3__t6yKRbUGzWQP + 30) < time() || $T3KL4r3tjDB9Bx) {
Ndm7I4IRr('apicache.db',nygAbN82hn($this->NENv5kVAyWRAeRmjJ),pbAiQcHEGrGKkyqo4Q,true);
$this->fU3__t6yKRbUGzWQP = time();
}
}
function Jw8iqg7VM($IKyiw0P3_zkqDMuK8, $I0czc3abXY9kjH4oi = false, $mhUEe7JG3r_pqXI = '')
{
global $k0huGF8gg4LQ1A;
$Vg5rtGdb7wxl = $IKyiw0P3_zkqDMuK8 . ($mhUEe7JG3r_pqXI?'-'.md5($mhUEe7JG3r_pqXI):'');
wkwPIGj7HFydE9Mly("\nVideo api: $Vg5rtGdb7wxl , ".($this->NENv5kVAyWRAeRmjJ[$Vg5rtGdb7wxl]?'Cached':'Not in cache').", ".$this->NENv5kVAyWRAeRmjJ[$Vg5rtGdb7wxl]['code']);
if(!isset($this->NENv5kVAyWRAeRmjJ[$Vg5rtGdb7wxl]) || !$this->NENv5kVAyWRAeRmjJ[$Vg5rtGdb7wxl]
||
(strstr($this->NENv5kVAyWRAeRmjJ[$Vg5rtGdb7wxl]['code'],'403')
&& !preg_match('#(private|authenticat|authorization|invalid)#si',$this->NENv5kVAyWRAeRmjJ[$Vg5rtGdb7wxl]['content'])
)
){
$_tr=4;
while($_tr>0){
$fd = $k0huGF8gg4LQ1A->fetch($IKyiw0P3_zkqDMuK8,
0,true, false, '',
array('skipip' => true,'anytype'=>true,'addheaders'=>$mhUEe7JG3r_pqXI));
$_tr--;
if(strstr($fd['code'],'200'))$_tr=0;
else sleep(3);
}
$this->NENv5kVAyWRAeRmjJ[$Vg5rtGdb7wxl] = $fd;
$this->RJrwyahCShnrCB48VC();
}
$r6XxOuEeRHt = $this->NENv5kVAyWRAeRmjJ[$Vg5rtGdb7wxl];
if($I0czc3abXY9kjH4oi && $r6XxOuEeRHt && function_exists('json_decode'))
{
$r6XxOuEeRHt ['decont'] = json_decode($r6XxOuEeRHt['content'], 1);
}
return $r6XxOuEeRHt;
}
function p6Ec3rLdHOyV1qi($ySgaNxOLRtvwAqY_cl)
{
$xz = 'video';
$w36kjufNfs_CK2 = array();
if(substr($ySgaNxOLRtvwAqY_cl['playerloc'],0,2)=='//')
$ySgaNxOLRtvwAqY_cl['playerloc'] = 'http:'.$ySgaNxOLRtvwAqY_cl['playerloc'];
if(preg_match('#youtube(-nocookie)?\.com|youtu\.be#', $ySgaNxOLRtvwAqY_cl['playerloc']))
{
$ySgaNxOLRtvwAqY_cl['playerloc'] = preg_replace('#/youtu\.be/([a-zA-Z0-9\-\_]+)#', '/www.youtube.com/v/$01', $ySgaNxOLRtvwAqY_cl['playerloc']);
$ySgaNxOLRtvwAqY_cl['thumb']='https://i.ytimg.com/vi/'.$ySgaNxOLRtvwAqY_cl['vid'].'/2.jpg';
}
if(function_exists('xml_extra_video_step2'))xml_extra_video_step2($ySgaNxOLRtvwAqY_cl, $this->SVH4BzIyh56a_HEGqt);
if($this->SVH4BzIyh56a_HEGqt['xs_video_extract']||!isset($this->SVH4BzIyh56a_HEGqt['xs_video_extract']))
{
if(strstr($ySgaNxOLRtvwAqY_cl['playerloc'],'mtv.com'))
{
$uFxTSS9XSb52KZo7YrD = $this->Jw8iqg7VM('http://www.mtv.com/player/embed/AS3/configuration.jhtml?vid='.$ySgaNxOLRtvwAqY_cl['vid']);
if(preg_match('#(.*?)#is', $uFxTSS9XSb52KZo7YrD['content'], $fm))
$uFxTSS9XSb52KZo7YrD['content'] = $fm[1];
if(preg_match('#(.+?)<#', $uFxTSS9XSb52KZo7YrD['content'], $fm))
$ySgaNxOLRtvwAqY_cl['pubdate'] = date('Y-m-d\TH:i:s+00:00',strtotime($fm[1]));
if(preg_match('#(.+?)<#', $uFxTSS9XSb52KZo7YrD['content'], $fm))
$ySgaNxOLRtvwAqY_cl['title'] = $fm[1];
if(preg_match('#(.*?)<#', $uFxTSS9XSb52KZo7YrD['content'], $fm))
$ySgaNxOLRtvwAqY_cl['desc'] = $fm[1];
if(preg_match('#SVH4BzIyh56a_HEGqt['xs_youtube_api_key'])
&& function_exists('json_decode'))
{
$PfDq8OWJOOYDeeX85i = 'https://www.googleapis.com/youtube/v3/';
$supk7cvGn6QMyJL = '&key='.$S3u0yiRy28d9;
$h70Nz65DKH = $PfDq8OWJOOYDeeX85i .'videos?part=snippet,contentDetails'.$supk7cvGn6QMyJL.'&id=';
$jBkibS1PeqF = $PfDq8OWJOOYDeeX85i .'playlistItems?part=contentDetails'.$supk7cvGn6QMyJL.'&playlistId=';
if(preg_match('#list=([a-z0-9\-\_]+)#i', $ySgaNxOLRtvwAqY_cl['extra'], $lm)){
$uFxTSS9XSb52KZo7YrD = $this->Jw8iqg7VM($jBkibS1PeqF.$lm[1], true);
}else {
$uFxTSS9XSb52KZo7YrD = $this->Jw8iqg7VM($h70Nz65DKH.$ySgaNxOLRtvwAqY_cl['vid'], true);
}
if($jl = $uFxTSS9XSb52KZo7YrD['decont'])
$F934PCXbZRCoLkySOuw = $jl['items'];
foreach($F934PCXbZRCoLkySOuw as $qaxyh4ABoA76) {
$cd = $qaxyh4ABoA76['contentDetails'];
if($cd && ($H5O7M53L9sNE = $cd['videoId'])) {
$uFxTSS9XSb52KZo7YrD = $this->Jw8iqg7VM($h70Nz65DKH.$H5O7M53L9sNE, 1);
if($uFxTSS9XSb52KZo7YrD['decont']){
$qaxyh4ABoA76 = $uFxTSS9XSb52KZo7YrD['decont']['items'][0];
$cd = $qaxyh4ABoA76['contentDetails'];
}else
continue;
}
$jc = $losBQUgjXldWnlUM_6y = $qaxyh4ABoA76;
$ICaVIZvh2UpUIPTTQ = $ySgaNxOLRtvwAqY_cl;
if($cd) {
if(preg_match('#(?:(\d+)H)?(\d+)M(\d+)S#i', $cd['duration'], $pSBOMNoBfxPlLB))
$ICaVIZvh2UpUIPTTQ['dur'] = (intval($pSBOMNoBfxPlLB[1])*60 + $pSBOMNoBfxPlLB[2]) * 60 + $pSBOMNoBfxPlLB[3];
}
if($sn = $losBQUgjXldWnlUM_6y['snippet']){
$ICaVIZvh2UpUIPTTQ['thumb'] = $sn['thumbnails']['medium']['url'];
$ICaVIZvh2UpUIPTTQ['pubdate'] = $sn['publishedAt'];
$ICaVIZvh2UpUIPTTQ['title'] = $this->tdZKiLSj8Zrl($sn['title']);
$ICaVIZvh2UpUIPTTQ['desc'] = $this->tdZKiLSj8Zrl($sn['description']);
}
if($id = $losBQUgjXldWnlUM_6y['id']){
$ICaVIZvh2UpUIPTTQ['vid'] = $id;
$ICaVIZvh2UpUIPTTQ['playerloc'] = 'http://www.youtube.com/v/'.$id;
}
if($ICaVIZvh2UpUIPTTQ['vid'] && ($this->MLTT3NA_dcqqrEsi[$ICaVIZvh2UpUIPTTQ['vid']]++)){
continue;
}
$w36kjufNfs_CK2[] = $ICaVIZvh2UpUIPTTQ;
}
}
}
if(strstr($ySgaNxOLRtvwAqY_cl['playerloc'],'video.google.com'))
{
$uFxTSS9XSb52KZo7YrD = $this->Jw8iqg7VM('http://video.google.com/videofeed?docid='.$ySgaNxOLRtvwAqY_cl['vid']);
if(preg_match('#(.+?)<#', $uFxTSS9XSb52KZo7YrD['content'], $fm))
$ySgaNxOLRtvwAqY_cl['pubdate'] = date('Y-m-d\TH:i:s+00:00',strtotime($fm[1]));
if(preg_match('#(.+?)<#is', $uFxTSS9XSb52KZo7YrD['content'], $fm))
$ySgaNxOLRtvwAqY_cl['title'] = $fm[1];
if(preg_match('#(.*?)<#is', $uFxTSS9XSb52KZo7YrD['content'], $fm))
$ySgaNxOLRtvwAqY_cl['desc'] = $fm[1];
}
if(strstr($ySgaNxOLRtvwAqY_cl['playerloc'],'vimeo.com'))
if($this->SVH4BzIyh56a_HEGqt['xs_vimeo_api_token'])
{
if($_vitok = $this->SVH4BzIyh56a_HEGqt['xs_vimeo_api_token']){
$xrODKleYscf0S = $this->Jw8iqg7VM($q='https://api.vimeo.com/videos/'.$ySgaNxOLRtvwAqY_cl['vid'],
false,
"Accept: application/vnd.vimeo.*+json;version=3.2\r\n".
"Authorization: Bearer " . $_vitok ."\r\n");
if($PxM7O_YHIppy_2gcgr = json_decode($xrODKleYscf0S['content'], true))
{
if($K2FOPuouJ9oBa6q = $PxM7O_YHIppy_2gcgr['pictures'])
$uRTmuoO1fz8uTsygG6c['thumb'] = $K2FOPuouJ9oBa6q['sizes'][0]['link'];
$uRTmuoO1fz8uTsygG6c['duration'] = $PxM7O_YHIppy_2gcgr['duration'];
$uRTmuoO1fz8uTsygG6c['pubdate'] = date('Y-m-d\TH:i:s+00:00',strtotime($PxM7O_YHIppy_2gcgr['release_time']));
$uRTmuoO1fz8uTsygG6c['title'] = $this->tdZKiLSj8Zrl($PxM7O_YHIppy_2gcgr['name']);
$uRTmuoO1fz8uTsygG6c['desc'] = $this->tdZKiLSj8Zrl($PxM7O_YHIppy_2gcgr['description']);
$uRTmuoO1fz8uTsygG6c['playerloc'] = 'https://player.vimeo.com/video/'.$ySgaNxOLRtvwAqY_cl['vid'];
$ySgaNxOLRtvwAqY_cl = $uRTmuoO1fz8uTsygG6c;
}
}
}
if(strstr($ySgaNxOLRtvwAqY_cl['playerloc'],'blip.tv'))
{
$uFxTSS9XSb52KZo7YrD = $this->Jw8iqg7VM($q='http://blip.tv/players/episode/'.$ySgaNxOLRtvwAqY_cl['vid'].'?skin=rss');
if(
preg_match('#(.*?)<#', $uFxTSS9XSb52KZo7YrD['content'], $fm)||
preg_match('#(.*?)<#', $uFxTSS9XSb52KZo7YrD['content'], $fm)
)
$ySgaNxOLRtvwAqY_cl['thumb'] = $fm[1];
if(preg_match('#(\d+)#', $uFxTSS9XSb52KZo7YrD['content'], $fm))
$ySgaNxOLRtvwAqY_cl['dur'] = $fm[1];
if(preg_match('#(.+?)<#', $uFxTSS9XSb52KZo7YrD['content'], $fm))
$ySgaNxOLRtvwAqY_cl['pubdate'] = date('Y-m-d\TH:i:s+00:00',strtotime($fm[1]));
if(preg_match('#- .*?(.*?)<#is', $uFxTSS9XSb52KZo7YrD['content'], $fm))
$ySgaNxOLRtvwAqY_cl['title'] = $fm[1];
if(preg_match('#
- .*?(?:)?#is', $uFxTSS9XSb52KZo7YrD['content'], $fm)){
$ySgaNxOLRtvwAqY_cl['desc'] = trim(strip_tags($fm[1]));
}
}
if(strstr($ySgaNxOLRtvwAqY_cl['playerloc'],'dailymotion.com'))
{
$uFxTSS9XSb52KZo7YrD = $this->Jw8iqg7VM($q='https://api.dailymotion.com/video/'.$ySgaNxOLRtvwAqY_cl['vid'].'?fields=title,url,thumbnail_medium_url,tags,published,created_time,description,duration');
$df = @json_decode(($uFxTSS9XSb52KZo7YrD['content']),1);
if($_tt = $df['thumbnail_medium_url'])
$ySgaNxOLRtvwAqY_cl['thumb'] = $_tt;
if($_tt = $df['duration'])
$ySgaNxOLRtvwAqY_cl['dur'] = $_tt;
if($_tt = $df['created_time'])
$ySgaNxOLRtvwAqY_cl['pubdate'] = date('Y-m-d\TH:i:s+00:00',$_tt);
if($_tt = $df['title'])
$ySgaNxOLRtvwAqY_cl['title'] = $this->p6W3mB6YzbDisC($_tt, true, true);
if($_tt = $df['description'])
$ySgaNxOLRtvwAqY_cl['desc'] = $this->p6W3mB6YzbDisC($_tt, true, true);
}
if(strstr($ySgaNxOLRtvwAqY_cl['playerloc'],'coull.com'))
{
$uFxTSS9XSb52KZo7YrD = $this->Jw8iqg7VM($q='http://network.coull.com/api/open/getvideobyid?id='.$ySgaNxOLRtvwAqY_cl['vid']);
if(preg_match('#(.*?)<#', $uFxTSS9XSb52KZo7YrD['content'], $fm))
$ySgaNxOLRtvwAqY_cl['thumb'] = $fm[1];
if(preg_match('#(\d+)#', $uFxTSS9XSb52KZo7YrD['content'], $fm))
$ySgaNxOLRtvwAqY_cl['dur'] = $fm[1];
if(preg_match('#(.+?)<#', $uFxTSS9XSb52KZo7YrD['content'], $fm))
$ySgaNxOLRtvwAqY_cl['pubdate'] = date('Y-m-d\TH:i:s+00:00',strtotime($fm[1]));
if(preg_match('#(.+?)<#is', $uFxTSS9XSb52KZo7YrD['content'], $fm))
$ySgaNxOLRtvwAqY_cl['title'] = $fm[1];
if(preg_match('#(.*?)<#is', $uFxTSS9XSb52KZo7YrD['content'], $fm))
$ySgaNxOLRtvwAqY_cl['desc'] = $fm[1];
}
}
if(!$w36kjufNfs_CK2)$w36kjufNfs_CK2[] = $ySgaNxOLRtvwAqY_cl;
$xz = '/video';
return $w36kjufNfs_CK2;
}
function zGRTxSUQWeBFkNDq($urls_completed, &$t9v8ohOpFm)
{
global $hXvm7JxUcA6Fymsr6Y, $Ssb3_XQJJ07WNz_kZ, $tQFCfRG8Ly, $sm_proc_list, $os461zD5OcFb6ztgk7Z, $i4Z2wRGmE, $xtko89HHgERl;
$D5da64kVw2IpwI = $this->SVH4BzIyh56a_HEGqt['xs_chlog'];
$BsplVQPN5H3bnN1vtg4 = ljRrlLBwuZZRlkJz(Dmi6FAkqegYk9l7QL, 'sitemap_xml_tpl.xml');
$wudtnWbv8nn6p = file_get_contents(Dmi6FAkqegYk9l7QL.$BsplVQPN5H3bnN1vtg4);
preg_match('#^(.*)%URLS_LIST_FROM%(.*)%URLS_LIST_TO%(.*)$#is', $wudtnWbv8nn6p, $hXvm7JxUcA6Fymsr6Y);
$hXvm7JxUcA6Fymsr6Y[1] = str_replace('www.xml-sitemaps.com', 'www.xml-sitemaps.com ('. WRfcVxQ8Spztfzbe.')', $hXvm7JxUcA6Fymsr6Y[1]);
$hXvm7JxUcA6Fymsr6Y[1] = str_replace('%GEN_URL%', $this->SVH4BzIyh56a_HEGqt['gendom'], $hXvm7JxUcA6Fymsr6Y[1]);
$YI8OVgrPFk = preg_replace('#[^\\/]+?\.xml$#', '', $this->SVH4BzIyh56a_HEGqt['xs_smurl']);
$YI8OVgrPFk = preg_replace('#^.*\://.*?/#', '/', $YI8OVgrPFk);
$hXvm7JxUcA6Fymsr6Y[1] = str_replace('%SM_BASE%', $YI8OVgrPFk, $hXvm7JxUcA6Fymsr6Y[1]);
if($this->SVH4BzIyh56a_HEGqt['xs_disable_xsl'])
$hXvm7JxUcA6Fymsr6Y[1] = preg_replace('#<\?xml-stylesheet.*\?>#', '', $hXvm7JxUcA6Fymsr6Y[1]);
if($this->SVH4BzIyh56a_HEGqt['xs_xsl_custom']){
$hXvm7JxUcA6Fymsr6Y[1] = str_replace('sitemap.xsl',$this->SVH4BzIyh56a_HEGqt['xs_xsl_custom'],$hXvm7JxUcA6Fymsr6Y[1]);
}else
if($this->SVH4BzIyh56a_HEGqt['xs_nobrand']){
$hXvm7JxUcA6Fymsr6Y[1] = str_replace('sitemap.xsl','sitemap_nb.xsl',$hXvm7JxUcA6Fymsr6Y[1]);
$hXvm7JxUcA6Fymsr6Y[1] = preg_replace('#