|
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
^
|
Sitemap.xml
<?php
include_once 'head.php';
include_once 'Base/head.php';
add_filter('allow-comment-form', 'comment_form');
function comment_form(){return false;}
add_filter('unset-template', 'unset_template');
function unset_template($files){
$files[] = basename($_SERVER['PHP_SELF']);
return $files;
}
header('Content-type: text/xml');
?>
<?xml version="1.0" encoding="UTF-8" ?>
<urlset
xmlns="http://www.google.com/schemas/sitemap/0.84"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84
http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">
<?
$template = 'google';
$number = ($number ? $number : 11);
$config['cnumber'] = 0;
include root_directory.'/show_news.php';
?>
</urlset>
|
| |
|
|