Location: PHPKode > projects > chillyCMS > chillyCMS/modules/rssfeed/rss.php
<?php
defined('DOIT') or die('Restricted access');

$modsettings=explode(",",$modsettings);

echo "<a class='rsslink' href='".URL."/modules/rssfeed/feed.php?id=$thismod->id";

//show only a specific category
if ($modsettings[0]==0 && intval($modsettings[1])>0) {
	echo "&amp;category=$modsettings[1]";
}
echo "'>".
"<img alt='RSS' src='".URL."/modules/rssfeed/rss.png' title='";
if ($modsettings[0]==0 && intval($modsettings[1])>0) {
	$this->query("select name from site_content where id=".intval($modsettings[1])." limit 1");
	$category = $this->db->getdata();
	echo $mod_rss["lbl_subsrfor"]." \"".$category["name"]."\"";
} else {
	echo $mod_rss["lbl_subscribe"];
}
echo "' /></a>";
?>
Return current item: chillyCMS