alert ok funktion

This commit is contained in:
2020-10-30 00:07:38 +06:00
parent 47e4f4ca94
commit a252cd6261
4 changed files with 36 additions and 245 deletions

View File

@ -502,11 +502,8 @@ function getSiteMap($nParent,$nParams,$db,$first,$path)
}
$rСol.='</columns>'."\n";
if($url=='')
{ $url=getHashFromPath($path.$treeid.';'.$fid.';');
}
$result.=' <url>'."\n";
$result.=' <loc>http://'.$_SERVER["SERVER_NAME"].'/shop/'.$url.'.html</loc>'."\n";
$result.=' <loc>http://'.$_SERVER["SERVER_NAME"].$url.'</loc>'."\n";
$result.=' <lastmod>'.$date.'</lastmod>'."\n";
$result.=' <changefreq>daily</changefreq>'."\n";
$result.=' </url>'."\n";