\n $href\n" . " $freq\n" . " $priority\n\n"; echo "
"; $sql="SELECT id,title_el AS title,caption,template FROM content_categories WHERE LENGTH(id)=3 AND active=1 AND (mainmenu=1 OR bottommenu=1)"; $res=Find_Data2($sql); for($i=0; $i\n $href\n" . " $freq\n" . " $priority\n\n"; echo "
"; } } $sql="SELECT id,title_el AS title,caption FROM news WHERE active=1"; $res=Find_Data2($sql); for ($i=0; $i\n $href\n" . " $freq\n" . " $priority\n\n"; echo "
"; } } /* $pf = fopen ($file, "w"); if (!$pf) { // echo "cannot create $file\n"; return; } */ echo" "; $scanned = array(); Scan ($url); echo "\n"; // fclose ($pf); ?>