get( 'show_login_form', 'no' ); $show_categories = $params->get( 'show_categories', 'yes' ); $show_listall = $params->get( 'show_listall', 'yes' ); $show_adminlink = $params->get('show_adminlink', 'yes' ); $show_accountlink = $params->get('show_accountlink', 'yes' ); $useGreyBox_accountlink = $params->get('useGreyBox_accountlink', '0' ); $show_minicart = $params->get( 'show_minicart', 'yes' ); $useGreyBox_cartlink = $params->get( 'useGreyBox_cartlink', '0' ); $show_productsearch = $params->get( 'show_productsearch', 'yes' ); $show_product_parameter_search = $params->get( 'show_product_parameter_search', 'no' ); $menutype = $params->get( 'menutype', "links" ); $class_sfx = $params->get( 'class_sfx', '' ); $pretext = $params->get( 'pretext', '' ); $jscookMenu_style = $params->get( 'jscookMenu_style', 'ThemeOffice' ); $jscookTree_style = $params->get( 'jscookTree_style', 'ThemeXP' ); $jscook_type = $params->get( 'jscook_type', 'menu' ); $menu_orientation = $params->get( 'menu_orientation', 'hbr' ); $_REQUEST['root_label'] = $params->get( 'root_label', 'Shop' ); $class_mainlevel = "mainlevel".$class_sfx; $db = new ps_DB(); // This is "Categories:" by default. Change it in the Module Parameters Form echo $pretext; // update the cart because something could have // changed while running a function $cart = $_SESSION["cart"]; $auth = $_SESSION["auth"]; if( $show_categories == "yes" ) { if ( $menutype == 'links' ) { /* MENUTPYE LINK LIST */ echo $ps_product_category->get_category_tree( $category_id, $class_mainlevel ); } elseif( $menutype == "transmenu" ) { /* TransMenu script to display a DHTML Drop-Down Menu */ include_once( $mod_dir.'/vm_transmenu.php' ); } elseif( $menutype == "dtree" ) { /* dTree script to display structured categories */ include_once( $mod_dir.'/vm_dtree.php' ); } elseif( $menutype == "jscook" ) { /* JSCook Script to display structured categories */ include_once( $mod_dir.'/vm_JSCook.php' ); } elseif( $menutype == "tigratree" ) { /* TigraTree script to display structured categories */ include_once( $mod_dir . '/vm_tigratree.php' ); } } ?> check("admin,storeadmin") && ((!stristr($my->usertype, "admin") ^ PSHOP_ALLOW_FRONTENDADMIN_FOR_NOBACKENDERS == '' ) || stristr($my->usertype, "admin") ) && $show_adminlink == 'yes' ) { ?> is_registered_customer($auth["user_id"]) && $show_accountlink == 'yes') { ?> id) { if( vmIsJoomla(1.5) ) { // Logout URL $action = $mm_action_url . 'index.php?option=com_user&task=logout'; // Logout return URL $uri = JFactory::getURI(); $url = $uri->toString(); $return = base64_encode( $url ); } else { // Logout URL $action = $mm_action_url . 'index.php?option=logout'; // Logout return URL $return = $mm_action_url . 'index.php'; } ?> toString(); $return = base64_encode( $url ); // Lost password $reset = JRoute::_( 'index.php?option=com_user&view=reset' ); // User name reminder (Joomla 1.5 only) $remind_url = JRoute::_( 'index.php?option=com_user&view=remind' ); } else { // Login URL $action = $mm_action_url . 'index.php?option=login'; // Login return URL $return = $sess->url( $mm_action_url . 'index.php?'. $_SERVER['QUERY_STRING'] ); // Lost password url $reset = sefRelToAbs( 'index.php?option=com_registration&task=lostPassword&Itemid='.(int)vmGet($_REQUEST, 'Itemid', 0) ); // Set user name reminder to nothing $remind_url = ''; } ?> query( $q ); if (USE_AS_CATALOGUE != '1' && $show_minicart == 'yes' && !$db->f("published") ) { $_SESSION['vmMiniCart'] = true; ?>

"> _('PHPSHOP_LIST_ALL_PRODUCTS') ?>

" method="get">

"> _('PHPSHOP_ADVANCED_SEARCH') ?>
" title="_('PHPSHOP_PARAMETER_SEARCH') ?>"> _('PHPSHOP_PARAMETER_SEARCH') ?>
"> _('PHPSHOP_ADMIN_MOD'); ?>
"> _('PHPSHOP_ACCOUNT_TITLE') ?>








_('LOST_PASSWORD'); ?>
_('FORGOT_YOUR_USERNAME') ?>
_('NO_ACCOUNT'); ?> _('CREATE_ACCOUNT'); ?>

"> _('PHPSHOP_DOWNLOADS_TITLE') ?>
url($mm_action_url."index.php?page=shop.cart"); $href2 = $sess->url($mm_action_url."index2.php?page=shop.cart"); $text = $VM_LANG->_('PHPSHOP_CART_SHOW'); if( $useGreyBox_cartlink ) { echo vmCommonHTML::getGreyboxPopUpLink( $href2, $text, '', $text, $class_att, 500, 600, $href ); } else { echo vmCommonHTML::hyperlink( $href, $text, '', $text, $class_att ); } ?>