//An RSS Item //Fri, 04 Apr 2008 20:51:00 GMT //http://ax84.com/bbs // $criteria=" where message_inactive=0"; $orderlimit=" order by message_date DESC limit 0,".DP_RSS_LIMIT.";"; switch(strtolower($mode)) { case 'newthreads.xml': $rssdescription="New Threads"; $criteria=" where message_inactive=0 and parent_id=0 "; $orderlimit=" order by message_date DESC limit 0,".DP_RSS_LIMIT.";"; break; case 'activethreads.xml': $rssdescription="Threads with new messages"; $criteria=" where message_inactive=0 and parent_id=0 "; $orderlimit=" order by thread_date DESC limit 0,".DP_RSS_LIMIT.";"; break; case 'recentposts.xml': $rssdescription="Recent Posts"; $sql2=""; break; default: $rssdescription="Recent Posts"; $sql2=""; break; } if(($lpg=="news") and ($argument!="fullnews=1") )return(""); if(($lpg=="home") or($lpg="projects")) { $forum="news"; }else { $forum=$pg; } if($project) $forum=$project; $output=' AX84 BBS '.$rssdescription." as of ".dp_nicetime().' http://ax84.com '; $output.='Amp Parts and Kits'; $output.='Doberman Music Products, LLC offers a variety of parts and kits'; $output.='http://shop.dobermanamps.com'; $output.=""; $sql= " SELECT * from ".BBS_DB_NAME.".bbs_messages ".$criteria." ".$orderlimit.";"; $result = dp_sql_query($sql); if($result) if ($myrow = dp_sql_fetch_array($result)) { do { if($myrow["parent_id"]!=0) $myrow["message_subject"]="RE: ".$myrow["message_subject"]; $myrow["message_subject"]=$myrow["message_subject"]."(by ".$myrow["message_author"].")"; $output.="\n"; $output.="\n".htmlspecialchars(bbprocess($myrow["message_subject"])).""; $output.="\n".htmlspecialchars(bbprocess($myrow["message_body"])).""; $whichdate=$myrow["message_date"]; if($myrow["thread_date"]>$whichdate) $whichdate=$myrow["thread_date"]; $output.="".strftime("%a, %d %b %Y %H:%M:%S %z",$whichdate).""; //$output .= " (on ".date("m/d/Y @ H:i",$myrow["message_date"]).")
"; $output .= "\n".config("bbs_url")."/dm.php?id=".$myrow["message_id"].""; $output .= "\n
"; } while ($myrow = dp_sql_fetch_array($result)); $output.='
'; return($output); } } function rssfeeder() { $rssid="rssx-".$GLOBALS["pg2"]; if(!$content=dp_cacheread($rssid)) { $output.=rssgather($GLOBALS["pg2"]); dp_cachewrite($rssid,$output); }else { $output=$content; } echo $output; exit; } ?> AX84.com - The Cooperative Tube Guitar Amp Project
Can't find zonehandler: rssfeeder