Esempio n. 1
0
function get_sitemap_file()
{
    global $sitemapstr;
    $sitemapstr .= get_file_start();
    get_cats_urls();
    $sitemapstr .= "<local_delivery_cost>0</local_delivery_cost>";
    get_prods_urls();
    finish_file();
}
Esempio n. 2
0
            }
            $tpl->set_ar_out($r, 2);
        }
        $tpl->out(3);
    }
} else {
    $cid = $menu->get(1) ? escape($menu->get(1), 'integer') : 0;
    $erg = db_query("SELECT cat,name FROM prefix_gallery_cats WHERE recht >= {$_SESSION['authright']} AND id = " . $cid);
    $cname = 'Gallery';
    if (db_num_rows($erg) > 0) {
        $row = db_fetch_assoc($erg);
        $array = get_cats_array($row['cat'], '');
        $cname = $row['name'];
        if (!empty($array)) {
            $titelzw = get_cats_title($array);
            $namezw = get_cats_urls($array);
        } else {
            $titelzw = '';
            $namezw = '';
        }
        $cattitle = ':: ' . $titelzw . $row['name'];
        $catname = '<b> &raquo; </b>' . $namezw . $row['name'];
    } else {
        $cattitle = '';
        $catname = '';
    }
    $title = $allgAr['title'] . ' :: Gallery ' . $cattitle;
    $hmenu = '<a class="smalfont" href="?gallery">Gallery</a>' . $catname;
    $design = new design($title, $hmenu);
    $design->header();
    $tpl = new tpl('gallery');
Esempio n. 3
0
function get_sitemap_file()
{
    global $sitemapstr, $isFinish;
    $sitemapstr .= get_file_start();
    $sitemapstr .= get_mainpage_url();
    get_cats_urls();
    get_prods_urls();
    if (!$isFinish) {
        finish_file();
    }
}