fix forum sitemap

This commit is contained in:
Aleksei Miheev
2013-01-23 10:45:22 +04:00
parent e15853fcb4
commit 45da7e9e16

View File

@@ -2,7 +2,7 @@
require_once ('Settings.php');
mysql_connect($db_server,$db_user,$db_passwd);
mysql_select_db($db_name);
$query = mysql_query("SELECT t.ID_TOPIC, m.posterTime, m.modifiedTime FROM smf_topics AS t, smf_boards AS b, smf_messages AS m WHERE t.ID_BOARD=b.ID_BOARD AND t.ID_LAST_MSG=m.ID_MSG AND b.ID_BOARD NOT IN (13,14,26,39) limit 10") or die(mysql_error());
$query = mysql_query("SELECT t.ID_TOPIC, m.posterTime, m.modifiedTime FROM smf_topics AS t, smf_boards AS b, smf_messages AS m WHERE t.ID_BOARD=b.ID_BOARD AND t.ID_LAST_MSG=m.ID_MSG AND b.ID_BOARD NOT IN (13,14,26,39)") or die(mysql_error());
echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">