layout_scheme_rss=="1") { header("Content-Type: text/xml"); echo ""; ?> "; echo ""; echo "$aus_rss->h_title"; echo "$aus_rss->h_hpurl"; echo "$aus_rss->h_description"; echo "$aus_rss->h_language"; echo ""; echo "$aus_rss->h_title"; echo "$aus_rss->h_img_url"; echo "$aus_rss->h_hpurl"; echo ""; $h_mail=$aus_rss->h_mail; $h_mail=str_replace("@","@",$h_mail); echo "$h_mail"; ############################################## $limit=$aus_rss->numbernews; $get_news=mysql_query("SELECT id,name,mail,topic,msg,date FROM $prefix"."_entries ORDER BY id DESC limit 0,$limit"); while($aus_news=mysql_fetch_object($get_news)) { $topic=$aus_news->topic; $topic=strip_tags($topic); $topic=htmlspecialchars($topic); $msg=$aus_news->msg; $msg=str_replace("
","\n;",$msg); $msg=strip_tags($msg); $msg=htmlspecialchars($msg); $author=$aus_news->mail." (".$aus_news->name.")"; $author=str_replace("@","@",$author); /* $date_year=substr($aus_news->date,0,4); $date_month=substr($aus_news->date,5,2); $date_day=substr($aus_news->date,8,2); $date_hour=substr($aus_news->date,11,2); $date_min=substr($aus_news->date,14,2); $date_sec=substr($aus_news->date,17,2); $date_timestamp=mktime($date_hour,$date_min,$date_sec,$date_month,$date_day,$date_year); $date_1=date("D",$date_timestamp); $date_2=date("d",$date_timestamp); $date_3=date("F",$date_timestamp); $date_4=date("Y",$date_timestamp); $date_5=$date_hour.":".$date_min.":".$date_sec; $date_6="GMT"; $pubdate=$date_1.", ".$date_2." ".$date_3." ".$date_4." ".$date_5." ".$date_6; */ echo ""; if($aus_rss->title=="1"){echo "$topic";} if($aus_rss->description=="1"){echo "$msg";} if($aus_rss->link=="1"){echo "".$url_path."/newsscript.php?rssid=$aus_news->id";} if($aus_rss->author=="1"){echo "$author";} if($aus_rss->comments=="1"){echo "".$url_path."/newsscript.php?comments=ok&newsid=$aus_news->id";} //if($aus_rss->pubdate=="1"){echo "$pubdate";} echo ""; } ############################################## echo "
"; echo ""; } ?>