24 lines
1.0 KiB
HTML
Executable File
24 lines
1.0 KiB
HTML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
|
<url>
|
|
<loc>https://{$smarty.server.SERVER_NAME}</loc>
|
|
<lastmod>{$data}T08:42:45+00:00</lastmod>
|
|
<priority>1.00</priority>
|
|
</url>
|
|
{* Товары *}
|
|
{section name=customer loop=$tovar} {if $tovar[customer].id}
|
|
<url>
|
|
<loc>https://{$smarty.server.SERVER_NAME}/tovar_show/{$tovar[customer].id}</loc>
|
|
<lastmod>{$data}T08:42:45+00:00</lastmod>
|
|
<priority>1.00</priority>
|
|
</url>
|
|
{/if} {/section}
|
|
{* категории товаров *}
|
|
{section name=customer loop=$tovar_category} {if $tovar_category[customer].id}
|
|
<url>
|
|
<loc>https://{$smarty.server.SERVER_NAME}/tovar_cat/{$tovar_category[customer].id}</loc>
|
|
<lastmod>{$data}T08:42:45+00:00</lastmod>
|
|
<priority>1.00</priority>
|
|
</url>
|
|
{/if} {/section}
|
|
</urlset> |