Loading include/rss.php +2 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ function dispRssChannelNews() { $str .= '<description>'.htmlspecialchars(strip_tags($news["news_comment"])).'</description>'; $str .= '<pubDate>'.htmlspecialchars(date("r", strtotime($news["news_date"]))).'</pubDate>'; $str .= '<guid>'.htmlspecialchars('http://'.$_SERVER['HTTP_HOST'].'/?html=News#'.$news["news_id"]).'</guid>'; $str .= '<link>'.htmlspecialchars('http://'.$_SERVER['HTTP_HOST'].'/?html=News#'.$news["news_id"]).'</link>'; $str .= '</item>'; } $str .= '</channel>'; Loading @@ -52,6 +53,7 @@ function dispRssChannelVideos() { $str .= '<title>'.htmlspecialchars(strip_tags($video["video_name"])).'</title>'; $str .= '<description>'.htmlspecialchars(strip_tags($video["video_comment"])).'</description>'; $str .= '<pubDate>'.htmlspecialchars(date("r", strtotime($video["video_date"]))).'</pubDate>'; $str .= '<guid>'.htmlspecialchars('http://'.$_SERVER['HTTP_HOST'].'/?video='.$video["video_id"]).'</guid>'; $str .= '<link>'.htmlspecialchars('http://'.$_SERVER['HTTP_HOST'].'/?html=Videos&year_page='.date("Y", strtotime($video["video_date"]))).'</link>'; $str .= '</item>'; } Loading Loading
include/rss.php +2 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ function dispRssChannelNews() { $str .= '<description>'.htmlspecialchars(strip_tags($news["news_comment"])).'</description>'; $str .= '<pubDate>'.htmlspecialchars(date("r", strtotime($news["news_date"]))).'</pubDate>'; $str .= '<guid>'.htmlspecialchars('http://'.$_SERVER['HTTP_HOST'].'/?html=News#'.$news["news_id"]).'</guid>'; $str .= '<link>'.htmlspecialchars('http://'.$_SERVER['HTTP_HOST'].'/?html=News#'.$news["news_id"]).'</link>'; $str .= '</item>'; } $str .= '</channel>'; Loading @@ -52,6 +53,7 @@ function dispRssChannelVideos() { $str .= '<title>'.htmlspecialchars(strip_tags($video["video_name"])).'</title>'; $str .= '<description>'.htmlspecialchars(strip_tags($video["video_comment"])).'</description>'; $str .= '<pubDate>'.htmlspecialchars(date("r", strtotime($video["video_date"]))).'</pubDate>'; $str .= '<guid>'.htmlspecialchars('http://'.$_SERVER['HTTP_HOST'].'/?video='.$video["video_id"]).'</guid>'; $str .= '<link>'.htmlspecialchars('http://'.$_SERVER['HTTP_HOST'].'/?html=Videos&year_page='.date("Y", strtotime($video["video_date"]))).'</link>'; $str .= '</item>'; } Loading