$s->addItem($loc, $lastmod, DEPARTMENT_CHANGEFREQ, DEPARTMENT_PRIORITY); } } #======================== OTHER LINKS ===================== #Contact Form $s->addItem($libFunc->m_safeUrl(SITE_URL . "index.php?action=contactus"), '', OTHER_CHANGEFREQ, "0.9"); #Search $s->addItem($libFunc->m_safeUrl(SITE_URL . "ecom/index.php?action=ecom.search"), '', OTHER_CHANGEFREQ, OTHER_PRIORITY); #Registration Form $s->addItem($libFunc->m_safeUrl(SITE_URL . "user/index.php?action=user.signupForm"), '', OTHER_CHANGEFREQ, OTHER_PRIORITY); #accessibility Page $s->addItem($libFunc->m_safeUrl(SITE_URL . "index.php?action=cms&mode=accessibility"), '', OTHER_CHANGEFREQ, OTHER_PRIORITY); #Dynamic Sitemap $s->addItem($libFunc->m_safeUrl(SITE_URL . "index.php?action=sitemap"), '', SITEMAP_CHANGEFREQ, OTHER_PRIORITY); #T&C $s->addItem($libFunc->m_safeUrl(SITE_URL . "index.php?action=cms&mode=conditions"), '', OTHER_CHANGEFREQ, OTHER_PRIORITY); #Privacy $s->addItem($libFunc->m_safeUrl(SITE_URL . "index.php?action=cms&mode=privacy"), '', OTHER_CHANGEFREQ, OTHER_PRIORITY); // output sitemap if (isset($_GET['target'])) { // generate Google sitemap if (($target = $_GET['target']) == 'google') { echo $s->generateGoogleSitemap(); } else { if ($target == 'yahoo') { echo $s->generateYahooSitemap(); } } #elseif } #if