class ykrJrN8JjPG
{
var $Hqm42kdaBr = 'Mobile XML Sitemap';
var $mXVOQkdQzwnNzlTzU = '';
var $S_eI6d2eaz8 = 'xs_makemob';
var $DTssgzJKG9 = 'xs_mobilefilename';
var $u3Aj3kpP8f7NX = '';
var $q2PfaTx_3ig = '', $YlnYTfdc4 = '', $VRIU8Yff7QG = false,
$JRevVhPXx6ik = array(), $iXkV1DXrsnU = array(), $xZqlshGDcY = '', $C79HmoYonnik = 0;
function ykrJrN8JjPG($iXkV1DXrsnU)
{
$this->VRIU8Yff7QG = $iXkV1DXrsnU[$this->S_eI6d2eaz8];
$blUx9Th8GWx0bsSC = $iXkV1DXrsnU['xs_compress'] ? '.gz' : '';
$this->q2PfaTx_3ig = preg_replace('#[^\\/]+?\.xml$#', $iXkV1DXrsnU[$this->DTssgzJKG9], $iXkV1DXrsnU['xs_smname']).$blUx9Th8GWx0bsSC;
$this->YlnYTfdc4 = preg_replace('#[^\\/]+?\.xml$#', $iXkV1DXrsnU[$this->DTssgzJKG9], $iXkV1DXrsnU['xs_smurl']).$blUx9Th8GWx0bsSC;
}
function vG7J6UyVuJmr7C4U52()
{
if(
$this->VRIU8Yff7QG &&
!is_writable($this->q2PfaTx_3ig) && !is_writable(dirname($this->q2PfaTx_3ig))
)
return '<br>Sitemap file is not writable: <b>'.$this->q2PfaTx_3ig.'</b>';
}
function IkN8UDC3Sq4($iXkV1DXrsnU, $JRevVhPXx6ik, $xZqlshGDcY)
{
global $aCerQRayOa7vjcFtDKJ;
if(!$this->VRIU8Yff7QG) return;
$this->JRevVhPXx6ik = $JRevVhPXx6ik;
$this->iXkV1DXrsnU = $iXkV1DXrsnU;
$this->xZqlshGDcY = $xZqlshGDcY;
$RKwdWhsAFuDrxw3i6 = implode('', file(Jdp4o0I89UFO.'sitemap_mob_tpl.xml'));
preg_match('#^(.*)%URLS_LIST_FROM%(.*)%URLS_LIST_TO%(.*)$#is', $RKwdWhsAFuDrxw3i6, $this->u3Aj3kpP8f7NX);
$this->u3Aj3kpP8f7NX[1] = str_replace('%GEN_URL%', $aCerQRayOa7vjcFtDKJ.'/', $this->u3Aj3kpP8f7NX[1]);
$this->pf = $this->JRevVhPXx6ik['fopen']($this->q2PfaTx_3ig.$this->blUx9Th8GWx0bsSC, 'w');
$rc = str_replace('%INIT_URL%', $iXkV1DXrsnU['xs_initurl'], $this->u3Aj3kpP8f7NX[1]);
$this->JRevVhPXx6ik['fwrite']($this->pf, $rc);
}
function B0bZK2_9KnR8WXXzmsf($cCqeu6KEd4LFk)
{
if(!$this->VRIU8Yff7QG) return;
if($this->C79HmoYonnik>=50000)return;
$this->C79HmoYonnik++;
$this->JRevVhPXx6ik['fwrite']($this->pf, $this->xZqlshGDcY->NncQLfQqsOrhLw_lKS($this->u3Aj3kpP8f7NX[2], $cCqeu6KEd4LFk));
}
function jKfsD0XVw81EIu2rj()
{
if(!$this->VRIU8Yff7QG) return;
$this->JRevVhPXx6ik['fwrite']($this->pf, $this->u3Aj3kpP8f7NX[3]);
$this->JRevVhPXx6ik['fclose']($this->pf);
}
}
global $sm_proc_list, $grab_parameters;
$sm_proc_list[] = new ykrJrN8JjPG($grab_parameters);
class ykrJrN8JjPG
{
var $Hqm42kdaBr = 'Mobile XML Sitemap';
var $mXVOQkdQzwnNzlTzU = '';
var $S_eI6d2eaz8 = 'xs_makemob';
var $DTssgzJKG9 = 'xs_mobilefilename';
var
var $q2PfaTx_3ig = '', $YlnYTfdc4 = '', $VRIU8Yff7QG = false,
$JRevVhPXx6ik = array(), $iXkV1DXrsnU = array(), $xZqlshGDcY = '', $C79HmoYonnik = 0;
function ykrJrN8JjPG($iXkV1DXrsnU)
{
$this->VRIU8Yff7QG = $iXkV1DXrsnU[$this->S_eI6d2eaz8];
$blUx9Th8GWx0bsSC = $iXkV1DXrsnU['xs_compress'] ? '.gz' : '';
$this->q2PfaTx_3ig = preg_replace('#[^\\/]+?\.xml$#', $iXkV1DXrsnU[$this->DTssgzJKG9], $iXkV1DXrsnU['xs_smname']).$blUx9Th8GWx0bsSC;
$this->YlnYTfdc4 = preg_replace('#[^\\/]+?\.xml$#', $iXkV1DXrsnU[$this->DTssgzJKG9], $iXkV1DXrsnU['xs_smurl']).$blUx9Th8GWx0bsSC;
}
function vG7J6UyVuJmr7C4U52()
{
if(
$this->VRIU8Yff7QG &&
!is_writable($this->q2PfaTx_3ig) && !is_writable(dirname($this->q2PfaTx_3ig))
)
return '<br>Sitemap file is not writable: <b>'.$this->q2PfaTx_3ig.'</b>';
}
function IkN8UDC3Sq4($iXkV1DXrsnU, $JRevVhPXx6ik, $xZqlshGDcY)
{
global $aCerQRayOa7vjcFtDKJ;
if(!$this->VRIU8Yff7QG) return;
$this->JRevVhPXx6ik = $JRevVhPXx6ik;
$this->iXkV1DXrsnU = $iXkV1DXrsnU;
$this->xZqlshGDcY = $xZqlshGDcY;
$RKwdWhsAFuDrxw3i6 = implode('', file(Jdp4o0I89UFO.'sitemap_mob_tplxml'));
preg_match('#^(.*)%URLS_LIST_FROM%(.*)%URLS_LIST_TO%(.*)$#is', $RKwdWhsAFuDrxw3i6, $this->u3Aj3kpP8f7NX);
$this->u3Aj3kpP8f7NX[1] = str_replace('%GEN_URL%', $aCerQRayOa7vjcFtDKJ.'/', $this->u3Aj3kpP8f7NX[1]);
$this->pf = $this->JRevVhPXx6ik['fopen']($this->q2PfaTx_3ig.$this->blUx9Th8GWx0bsSC, 'w');
$rc = str_replace('%INIT_URL%', $iXkV1DXrsnU['xs_initurl'], $this->u3Aj3kpP8f7NX[1]);
$this->JRevVhPXx6ik['fwrite']($this->pf, $rc);
}
function B0bZK2_9KnR8WXXzmsf($cCqeu6KEd4LFk)
{
if(!$this->VRIU8Yff7QG) return;
if($this->C79HmoYonnik>=50000)return;
$this->C79HmoYonnik++;
$this->JRevVhPXx6ik['fwrite']($this->pf, $this->xZqlshGDcY->NncQLfQqsOrhLw_lKS($this->u3Aj3kpP8f7NX[2], $cCqeu6KEd4LFk));
}
function jKfsD0XVw81EIu2rj()
{
if(!$this->VRIU8Yff7QG) return;
$this->JRevVhPXx6ik['fwrite']($this->pf, $this->u3Aj3kpP8f7NX[3]);
$this->JRevVhPXx6ik['fclose']($this->pf);
}
}
global $sm_proc_list, $grab_parameters;
$sm_proc_list[] = new ykrJrN8JjPG($grab_parameters);
© 2023 Quttera Ltd. All rights reserved.