Subversion Repositories wpShopGermany4

Rev

Rev 8195 | Rev 8199 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8195 Rev 8198
Line 7... Line 7...
7
    $page_url = \get_permalink(\get_the_ID());
7
    $page_url = \get_permalink(\get_the_ID());
8
    $page_url .= ((strpos($page_url, '?') === false)?'?':'&');
8
    $page_url .= ((strpos($page_url, '?') === false)?'?':'&');
9
 
9
 
10
    if (isset($_REQUEST['show'])) {
10
    if (isset($_REQUEST['show'])) {
11
 
11
 
12
        $oProductgroup = productgroup::getInstance(intval($_REQUEST['show']));
12
        $oProductgroup = \wpsg_productgroup::getInstance(intval($_REQUEST['show']));
13
        $arProducts = $oProductgroup->findProducts();
13
        $arProducts = $oProductgroup->findProducts();
14
        $view = 'products';
14
        $view = 'products';
15
 
15
 
16
    } else {
16
    } else {
17
 
17
 
18
        $arProductgroups = productgroup::find();
18
        $arProductgroups = \wpsg_productgroup::find();
19
        $view = 'productgroups';
19
        $view = 'productgroups';
20
 
20
 
21
    }
21
    }
22
 
22
 
23
?>
23
?>