<form method="post">
<input type="hidden" name="action" value="baidumap">
<table width="100%" class="grid">
	<tr><th>百度Sitemap -- 搜索引擎版（XML）</th></tr>
	<tr><td>生成方式： <label><input type="radio" name="mode" value="update"{?if 0<$mapset['baidumap'].pages?} checked{?/if?}> 增量更新</label>&nbsp;&nbsp;<label><input type="radio" name="mode" value="new"{?if 0==$mapset['baidumap'].pages?} checked{?/if?}> 全新生成</label>&nbsp;&nbsp;<span class="gray">增量更新只生成新发布文章的XML，全新生成降覆盖以前生成的XML</span></td></tr>
	<tr><td>提取URL： <label><input type="checkbox" name="pcagent" value="1"{?if 1==$mapset['baidumap'].pcagent?} checked{?/if?}> PC版</label>&nbsp;&nbsp;<label><input type="checkbox" name="mobileagent" value="1"{?if 1==$mapset['baidumap'].mobileagent?} checked{?/if?}> 手机版</label>&nbsp;&nbsp;<span class="gray">至少选择一种</span></td></tr>
	<tr><td>每页文章：<input class="text" type="text" name="items" value="{?if $mapset['baidumap'].items==''?}5000{?else?}{?$mapset['baidumap'].items?}{?/if?}" size="10">&nbsp;<span class="gray">一个XML文件提取的文章数，包括手机版URL和PC版URL</span></td></tr>
	<tr><td>文件目录：<input class="text" type="text" name="filepath" value="{?if $mapset['baidumap'].filepath==''?}/sitemap/{?else?}{?$mapset['baidumap'].filepath?}{?/if?}" size="30"></td></tr>
	<tr><td class="gray">“/”开头“/”结尾，相对于网站根目录的文件目录<br>模版文件：{?$Saxue.saxue_theme_path?}/maps/baidu_sitemap.html<br><span class="blue">数据地址：{?$saxue_url?}{?if $mapset['baidumap'].filepath==''?}/sitemap/{?else?}{?$mapset['baidumap'].filepath?}{?/if?}index.xml</span><br><span class="green">调用接口：{?$saxue_admin_url?}/maps.php?action=baidumap&robot=1&apipass={?$apipass?}&mode=update&pcagent=1{?if 1==$mapset['baidumap'].mobileagent?}&mobileagent=1{?/if?}&items={?if $mapset['baidumap'].items==''?}5000{?else?}{?$mapset['baidumap'].items?}{?/if?}&filepath={?if $mapset['baidumap'].filepath==''?}/sitemap/{?else?}{?$mapset['baidumap'].filepath?}{?/if?}</span></td></tr>
	<tr><td><input type="submit" class="button" value=" 开始生成 "></td></tr>
</table>
</form>
<br><br>
<form method="post">
<input type="hidden" name="action" value="baiducse">
<table width="100%" class="grid">
	<tr><th>百度Sitemap -- 站内搜索版（XML）</th></tr>
	<tr><td>生成方式： <label><input type="radio" name="mode" value="update"{?if 0<$mapset['baiducse'].pages?} checked{?/if?}> 增量更新</label>&nbsp;&nbsp;<label><input type="radio" name="mode" value="new"{?if 0==$mapset['baiducse'].pages?} checked{?/if?}> 全新生成</label>&nbsp;&nbsp;<span class="gray">增量更新只生成新发布文章的XML，全新生成降覆盖以前生成的XML</span></td></tr>
	<tr><td>每页文章：<input class="text" type="text" name="items" value="{?if $mapset['baiducse'].items==''?}2000{?else?}{?$mapset['baiducse'].items?}{?/if?}" size="10"></td></tr>
	<tr><td>文件目录：<input class="text" type="text" name="filepath" value="{?if $mapset['baiducse'].filepath==''?}/baiducse/{?else?}{?$mapset['baiducse'].filepath?}{?/if?}" size="30"></td></tr>
	<tr><td class="gray">“/”开头“/”结尾，相对于网站根目录的文件目录<br>模版文件：{?$Saxue.saxue_theme_path?}/maps/baidu_cse.html<br><span class="blue">数据地址：{?$saxue_url?}{?if $mapset['baiducse'].filepath==''?}/baiducse/{?else?}{?$mapset['baiducse'].filepath?}{?/if?}index.xml</span><br><span class="green">调用接口：{?$saxue_admin_url?}/maps.php?action=baiducse&robot=1&apipass={?$apipass?}&mode=update&items={?if $mapset['baiducse'].items==''?}2000{?else?}{?$mapset['baiducse'].items?}{?/if?}&filepath={?if $mapset['baiducse'].filepath==''?}/baiducse/{?else?}{?$mapset['baiducse'].filepath?}{?/if?}</span></td></tr>
	<tr><td><input type="submit" class="button" value=" 开始生成 "></td></tr>
</table>
</form>
<br><br>
<form method="post">
<input type="hidden" name="action" value="baidutag">
<table width="100%" class="grid">
	<tr><th>百度Sitemap -- TAG（XML）</th></tr>
	<tr><td>生成方式： <label><input type="radio" name="mode" value="update"{?if 0<$mapset['baidutag'].pages?} checked{?/if?}> 增量更新</label>&nbsp;&nbsp;<label><input type="radio" name="mode" value="new"{?if 0==$mapset['baidutag'].pages?} checked{?/if?}> 全新生成</label>&nbsp;&nbsp;<span class="gray">增量更新只生成新TAG的XML，全新生成降覆盖以前生成的XML</span></td></tr>
	<tr><td>提取URL： <label><input type="checkbox" name="pcagent" value="1"{?if 1==$mapset['baidutag'].pcagent?} checked{?/if?}> PC版</label>&nbsp;&nbsp;<label><input type="checkbox" name="mobileagent" value="1"{?if 1==$mapset['baidutag'].mobileagent?} checked{?/if?}> 手机版</label>&nbsp;&nbsp;<span class="gray">至少选择一种</span></td></tr>
	<tr><td>每页文章：<input class="text" type="text" name="items" value="{?if $mapset['baidutag'].items==''?}10000{?else?}{?$mapset['baidutag'].items?}{?/if?}" size="10">&nbsp;<span class="gray">一个XML文件提取的TAG数，包括手机版URL和PC版URL</span></td></tr>
	<tr><td>文件目录：<input class="text" type="text" name="filepath" value="{?if $mapset['baidutag'].filepath==''?}/tagmap/{?else?}{?$mapset['baidutag'].filepath?}{?/if?}" size="30"></td></tr>
	<tr><td class="gray">“/”开头“/”结尾，相对于网站根目录的文件目录<br>模版文件：{?$Saxue.saxue_theme_path?}/maps/baidu_tagmap.html<br><span class="blue">数据地址：{?$saxue_url?}{?if $mapset['baidutag'].filepath==''?}/tagmap/{?else?}{?$mapset['baidutag'].filepath?}{?/if?}index.xml</span><br><span class="green">调用接口：{?$saxue_admin_url?}/maps.php?action=baidutag&robot=1&apipass={?$apipass?}&mode=update&items={?if $mapset['baidutag'].items==''?}1000{?else?}{?$mapset['baidutag'].items?}{?/if?}&filepath={?if $mapset['baidutag'].filepath==''?}/tagmap/{?else?}{?$mapset['baidutag'].filepath?}{?/if?}</span></td></tr>
	<tr><td><input type="submit" class="button" value=" 开始生成 "></td></tr>
</table>
</form>
<br><br>
<form method="post">
<input type="hidden" name="action" value="rss">
<table width="100%" class="grid">
	<tr><th>RSS订阅源（XML）</th></tr>
	<tr><td>源文章数：<input class="text" type="text" name="items" value="{?if $mapset['rss'].items==''?}50{?else?}{?$mapset['rss'].items?}{?/if?}" size="10"></td></tr>
	<tr><td>文件目录：<input class="text" type="text" name="filepath" value="{?if $mapset['rss'].filepath==''?}/rss/{?else?}{?$mapset['rss'].filepath?}{?/if?}" size="30"></td></tr>
	<tr><td class="gray">“/”开头“/”结尾，相对于网站根目录的文件目录，修改目录需修改<span class="red">RSS订阅地图</span>模版文件里相关链接URL<br>模版文件：{?$Saxue.saxue_theme_path?}/maps/rss.html<br><span class="green">调用接口：{?$saxue_admin_url?}/maps.php?action=rss&apipass={?$apipass?}&items={?if $mapset['rss'].items==''?}50{?else?}{?$mapset['rss'].items?}{?/if?}&filepath={?if $mapset['rss'].filepath==''?}/rss/{?else?}{?$mapset['rss'].filepath?}{?/if?}</span></td></tr>
	<tr><td><input type="submit" class="button" value=" 开始生成 ">&nbsp;&nbsp;<a href="?action=rss&preview=1" target="_blank">预览</a></td></tr>
</table>
</form>
<br><br>
<form method="post">
<input type="hidden" name="action" value="rssmap">
<table width="100%" class="grid">
	<tr><th>RSS订阅地图（HTML）</th></tr>
	<tr><td>文件位置：<input class="text" type="text" name="filepath" value="{?if $mapset['rssmap'].filepath==''?}/rssmap.html{?else?}{?$mapset['rssmap'].filepath?}{?/if?}" size="30"></td></tr>
	<tr><td class="gray">“/”开头，相对于网站根目录的文件名称和目录，<span class="red">修改位置需修改模版文件里相关链接URL</span><br>模版文件：{?$Saxue.saxue_theme_path?}/maps/rssmap.html</td></tr>
	<tr><td><input type="submit" class="button" value=" 开始生成 ">&nbsp;&nbsp;<a href="?action=rssmap&preview=1" target="_blank">预览</a></td></tr>
</table>
</form>
<br><br>
<form method="post">
<input type="hidden" name="action" value="sitemap">
<table width="100%" class="grid">
	<tr><th>网站地图（HTML）</th></tr>
	<tr><td>文件位置：<input class="text" type="text" name="filepath" value="{?if $mapset['sitemap'].filepath==''?}/sitemap.html{?else?}{?$mapset['sitemap'].filepath?}{?/if?}" size="30"></td></tr>
	<tr><td class="gray">“/”开头，相对于网站根目录的文件名称和目录，<span class="red">修改位置需修改模版文件里相关链接URL</span><br>模版文件：{?$Saxue.saxue_theme_path?}/maps/sitemap.html</td></tr>
	<tr><td><input type="submit" class="button" value=" 开始生成 ">&nbsp;&nbsp;<a href="?action=sitemap&preview=1" target="_blank">预览</a></td></tr>
</table>
</form>