if ($feed["options"]["feed_title"]) { echo $feed["options"]["feed_title"]; } else { echo $feed["name"]; } ?>
if ($feed["options"]["feed_link"]) { echo $feed["options"]["feed_link"]; } else { ?> Warning: Use of undefined constant WWW_ROOT - assumed 'WWW_ROOT' (this will throw an Error in a future version of PHP) in /home/bidbyte/diagnostico.bidbyte.tec.br/core/feeds/rss.php on line 4
WWW_ROOTfeeds/ Notice: Undefined variable: feed in /home/bidbyte/diagnostico.bidbyte.tec.br/core/feeds/rss.php on line 4
Notice: Trying to access array offset on value of type null in /home/bidbyte/diagnostico.bidbyte.tec.br/core/feeds/rss.php on line 4
/ } ?>
Notice: Undefined variable: feed in /home/bidbyte/diagnostico.bidbyte.tec.br/core/feeds/rss.php on line 5
Notice: Trying to access array offset on value of type null in /home/bidbyte/diagnostico.bidbyte.tec.br/core/feeds/rss.php on line 5 en-us
$sort = $feed["options"]["sort"] ? $feed["options"]["sort"] : "id DESC";
$limit = $feed["options"]["limit"] ? $feed["options"]["limit"] : "15";
$items = array();
if ($feed["options"]["parser"]) {
$q = sqlquery("SELECT * FROM ".$feed["table"]." ORDER BY $sort");
} else {
$q = sqlquery("SELECT * FROM ".$feed["table"]." ORDER BY $sort LIMIT $limit");
}
while ($item = sqlfetch($q)) {
foreach ($item as $key => $val) {
if (is_array(json_decode($val,true))) {
$item[$key] = BigTree::untranslateArray(json_decode($val,true));
} else {
$item[$key] = $cms->replaceInternalPageLinks($val);
}
}
$items[] = $item;
}
if ($feed["options"]["parser"]) {
$items = call_user_func_array($feed["options"]["parser"], array($items));
$items = array_slice($items, 0, $limit);
}
foreach ($items as $item) {
if ($feed["options"]["link_gen"]) {
$link = $feed["options"]["link_gen"];
foreach ($f as $key => $val) {
$link = str_replace("{".$key."}",$val,$link);
}
} else {
$link = $item[$feed["options"]["link"]];
}
$content = $item[$feed["options"]["description"]];
$limit = $feed["options"]["content_limit"] ? $feed["options"]["content_limit"] : 500;
$blurb = BigTree::trimLength($content,$limit);
?>
Notice: Undefined variable: feed in /home/bidbyte/diagnostico.bidbyte.tec.br/core/feeds/rss.php on line 50
Notice: Trying to access array offset on value of type null in /home/bidbyte/diagnostico.bidbyte.tec.br/core/feeds/rss.php on line 50
Notice: Trying to access array offset on value of type null in /home/bidbyte/diagnostico.bidbyte.tec.br/core/feeds/rss.php on line 50
Notice: Undefined variable: item in /home/bidbyte/diagnostico.bidbyte.tec.br/core/feeds/rss.php on line 50
Notice: Trying to access array offset on value of type null in /home/bidbyte/diagnostico.bidbyte.tec.br/core/feeds/rss.php on line 50
]]>Notice: Undefined variable: blurb in /home/bidbyte/diagnostico.bidbyte.tec.br/core/feeds/rss.php on line 51
if ($blurb != $content) { ?>