diff --git a/sitemap-board.php b/sitemap-board.php new file mode 100644 index 0000000..9ea1c9e --- /dev/null +++ b/sitemap-board.php @@ -0,0 +1,45 @@ +500 Internal Server ErrorInternal server error. Please, come again later."; + exit; +} + +if (mysql_num_rows($query) == 0) { + header("{$_SERVER['server_protocol']} 404 Not Found"); + exit; +} + +echo ''."\n"; +?> + + $row[1]) ? date(DATE_W3C, $row[2]) : date(DATE_W3C, $row[1]); + $pages = ceil($row[3] / 30); + for (;$pages>=0;$pages--) { +?> + + http://rock.ru/forum/index.php?topic=. + + 0 ? 'daily' : 'hourly'?> + + + diff --git a/sitemap-index.php b/sitemap-index.php new file mode 100644 index 0000000..a9f770d --- /dev/null +++ b/sitemap-index.php @@ -0,0 +1,24 @@ +500 Internal Server ErrorInternal server error. Please, come again later."; + exit; +} + +echo ''."\n"; +?> + + + + http://rock.ru/forum/sitemap-board.php?board= + + +