setOption('devProject','pj0907'); $hierarch->includeHeader( ); $hierarch->includeBlock('undermenu','html'); $bnd = new bundle(); $main_tld = ini::getIni('tmpl/mktg', 'EXTRA', 'BUNDLES_PRO_MAIN_TLD_PRICE'); $show_monthly_price = ini::getIni('tmpl/mktg', 'EXTRA', 'SHOW_MONTHLY_PRICE'); if($buzzo=='buzzo') { $show_monthly_price = 1; } $bundle_list = array('WEBMAILSTARTPRO', 'WEBMAILSTARTPRO_UPS', 'WEBMAILPROFPRO', 'WEBMAILPROFPRO_UPS'); $price_tot=array(); $price_tot_with_vat=array(); if(is_array($bundle_list)) { foreach($bundle_list as $bundle_code) { $use_tld=''; if($bnd->getBundleType($bundle_code)==2) { $use_tld=$main_tld; } $price_tot[$bundle_code] = $bnd->getFullBundlePrice($bundle_code, $use_tld, $_SESSION['LISTNAME']); $price_tot_with_vat[$bundle_code] = StoreUtils::applyVat($price_tot[$bundle_code]); $price_tot[$bundle_code] = number_format($price_tot[$bundle_code], 2, ',', ''); $price_tot_with_vat[$bundle_code] = number_format($price_tot_with_vat[$bundle_code], 2, ',', ''); $bundmonths = $bnd->getBundleMonthsPrice(); if($show_monthly_price && $bundmonths > 0) { $price_tot[$bundle_code] = round($price_tot[$bundle_code] / $bundmonths, 2); $price_tot_with_vat[$bundle_code] = round(str_replace(',','.',$price_tot_with_vat[$bundle_code]) / $bundmonths, 2); } } } ?>

 
 
   
[ ? ]
[ ? ]