'."\n";
$sitemap = mysql_query('SELECT * FROM games_6630 WHERE typ=1 ORDER BY tytul ASC') or die ('Blad w pytaniu');
while ($games = mysql_fetch_assoc($sitemap)){
$tytul = eregi_replace("\&|\.|\,|\'|\(|\)|\!|\#|\%|\@|\[|\]|\"|\'|\?|\;|\:", '', $games['tytul']);
$tytul = eregi_replace(" \- |\_|\+", "-", $tytul);
$tytul = str_replace(' ','-',$tytul);
$tytul = substr($tytul, 0, 35);
$adres='http://'.$tytul.'.'.$sub.'game/'.$games['id'].'/';
echo ''.$games['tytul'].' > '.$games['theme'].'
'."\n";
}
echo '
'."\n";
$sitemap = mysql_query('SELECT * FROM themes_6630 WHERE typ=1 ORDER BY tytul ASC') or die ('Blad w pytaniu');
while ($themes = mysql_fetch_assoc($sitemap)){
$tytul = eregi_replace("\&|\.|\,|\'|\(|\)|\!|\#|\%|\@|\[|\]|\"|\'|\?|\;|\:", '', $themes['tytul']);
$tytul = eregi_replace(" \- |\_|\+", "-", $tytul);
$tytul = str_replace(' ','-',$tytul);
$tytul = substr($tytul, 0, 35);
$adres='http://'.$tytul.'.'.$sub.'theme/'.$themes['id'].'/';
echo ''.$themes['tytul'].' > '.$themes['theme'].'
'."\n";
}
echo '
'."\n";
$sitemap = mysql_query('SELECT * FROM wm ORDER BY title ASC') or die ('Blad w pytaniu');
while ($themes = mysql_fetch_assoc($sitemap)){
$tytul = eregi_replace("\&|\.|\,|\'|\(|\)|\!|\#|\%|\@|\[|\]|\"|\'|\?|\;|\:", '', $themes['title']);
$tytul = eregi_replace(" \- |\_|\+", "-", $tytul);
$tytul = str_replace(' ','-',$tytul);
$tytul = substr($tytul, 0, 35);
$adres='http://'.$tytul.'.'.$sub.'winmobile/theme_'.$themes['id'].'/';
echo ''.$themes['title'].' > '.$themes['download'].'
'."\n";
}
echo '