Support Incident Tracker GIT4.x
kb_rss.php File Reference

Go to the source code of this file.

Variables

 $c = cleanvar($_GET['c'])
 $salt = md5($CONFIG['db_password'])
 $usql = "SELECT id FROM `{$dbUsers}` WHERE MD5(CONCAT(`username`, '{$salt}')) = '$c' LIMIT 1"
 $uresult = mysql_query($usql)
else $lang = $CONFIG['default_i18n']
 $sql = "SELECT * FROM `{$dbKBArticles}` ORDER BY docid DESC LIMIT 20"
 $result = mysql_query($sql)
if(mysql_error())
trigger_error(mysql_error() 
E_USER_WARNING
 $count = 0
 $pubdate = $now
 $items = array()
while($kbarticle=mysql_fetch_object($result)) $feed = new Feed()
$feed title = "{$CONFIG['application_shortname']} {$strKnowledgeBase}: {$strArticlesPublishedRecently}"
$feed feedurl = "{$CONFIG['application_uriprefix']}{$CONFIG['application_webpath']}kb.php?mode=RECENT"
$feed description = " ({$strActionNeeded})"
$feed pubdate = $pubdate
$feed items = $items

Variable Documentation

$c = cleanvar($_GET['c'])

Definition at line 20 of file kb_rss.php.

$count = 0

Definition at line 48 of file kb_rss.php.

while ($kbarticle=mysql_fetch_object($result)) $feed = new Feed()

Definition at line 66 of file kb_rss.php.

$items = array()

Definition at line 51 of file kb_rss.php.

else $lang = $CONFIG['default_i18n']

Definition at line 41 of file kb_rss.php.

$pubdate = $now

Definition at line 49 of file kb_rss.php.

$result = mysql_query($sql)

Definition at line 45 of file kb_rss.php.

$salt = md5($CONFIG['db_password'])

Definition at line 21 of file kb_rss.php.

$sql = "SELECT * FROM `{$dbKBArticles}` ORDER BY docid DESC LIMIT 20"

Definition at line 44 of file kb_rss.php.

$uresult = mysql_query($usql)

Definition at line 24 of file kb_rss.php.

$usql = "SELECT id FROM `{$dbUsers}` WHERE MD5(CONCAT(`username`, '{$salt}')) = '$c' LIMIT 1"

Definition at line 22 of file kb_rss.php.

$feed description = " ({$strActionNeeded})"

Definition at line 69 of file kb_rss.php.

if (mysql_error()) trigger_error(mysql_error() E_USER_WARNING

Definition at line 46 of file kb_rss.php.

$feed feedurl = "{$CONFIG['application_uriprefix']}{$CONFIG['application_webpath']}kb.php?mode=RECENT"

Definition at line 68 of file kb_rss.php.

$feed items = $items

Definition at line 71 of file kb_rss.php.

$feed pubdate = $pubdate

Definition at line 70 of file kb_rss.php.

$feed title = "{$CONFIG['application_shortname']} {$strKnowledgeBase}: {$strArticlesPublishedRecently}"

Definition at line 67 of file kb_rss.php.