channel->title; $maintitle = htmlspecialchars($maintitle); if($googlefilter==true){ $filt="http://google.com/gwt/x?u="; }else{ $filt=""; } echo "$maintitle - $sitetitle"; echo ""; echo "
XtGem Forum catalog
"; echo "
"; //title bellow echo "$maintitle - $sitetitle"; echo "
"; foreach ($xml->channel->item as $item) { if(!$count){ $count=1; }else{ $count=$count+1; } if($count>$howmany){}else{ $title="{$item->title}"; $title=htmlspecialchars($title); if(!$title){}else{ $link="{$item->link}"; $link=htmlspecialchars($link); if($googlefilter==true){$link=urlencode($link);} $description="{$item->description}"; $description=htmlspecialchars($description); echo "
"; //title of a news echo "$title"; echo "
"; //news description echo "$description"; //link to that page echo " - (link)"; echo "
"; } } } //home link echo "
"; echo "$sitetitle"; echo "
"; //script by miladin from http://x3m.us :) //check out http://x3m.in forum for for more wapmaster scripts tips tricks... //change it freely :) echo "
"; echo ""; ?>