本文整理汇总了PHP中GetConfig函数的典型用法代码示例。如果您正苦于以下问题:PHP GetConfig函数的具体用法?PHP GetConfig怎么用?PHP GetConfig使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了GetConfig函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: SetPanelSettings
public function SetPanelSettings()
{
$count = 0;
$GLOBALS['SNIPPETS']['HomeFeaturedProducts'] = '';
if (GetConfig('HomeFeaturedProducts') <= 0) {
$this->DontDisplay = true;
return;
}
if(!GetConfig('ShowProductRating')) {
$GLOBALS['HideProductRating'] = "display: none";
}
$GLOBALS['AlternateClass'] = '';
$query = $this->getProductQuery('p.prodfeatured=1', 'RAND()', getConfig('HomeFeaturedProducts'));
$result = $GLOBALS['ISC_CLASS_DB']->Query($query);
while($row = $GLOBALS['ISC_CLASS_DB']->Fetch($result)) {
$this->setProductGlobals($row);
$GLOBALS['SNIPPETS']['HomeFeaturedProducts'] .= $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet("HomeFeaturedProductsItem");
}
if(!$GLOBALS['SNIPPETS']['HomeFeaturedProducts']) {
$this->DontDisplay = true;
}
// Showing the syndication option?
if(GetConfig('RSSFeaturedProducts') != 0 && GetConfig('RSSSyndicationIcons') != 0) {
$GLOBALS['SNIPPETS']['HomeFeaturedProductsFeed'] = $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet("HomeFeaturedProductsFeed");
}
}
示例2: SetPanelSettings
public function SetPanelSettings()
{
// Do we need to show paging, etc?
if ($GLOBALS['ISC_CLASS_PRICE']->GetNumProducts() > GetConfig('CategoryProductsPerPage')) {
// Workout the paging data
$GLOBALS['SNIPPETS']['PagingData'] = "";
$num_pages_either_side_of_current = 5;
$start = max($GLOBALS['ISC_CLASS_PRICE']->GetPage() - $num_pages_either_side_of_current, 1);
$end = min($GLOBALS['ISC_CLASS_PRICE']->GetPage() + $num_pages_either_side_of_current, $GLOBALS['ISC_CLASS_PRICE']->GetNumPages());
for ($page = $start; $page <= $end; $page++) {
if ($page == $GLOBALS['ISC_CLASS_PRICE']->GetPage()) {
$snippet = "PricePagingItemCurrent";
} else {
$snippet = "PricePagingItem";
}
$GLOBALS['PageLink'] = PriceLink($GLOBALS['ISC_CLASS_PRICE']->GetMinPrice(), $GLOBALS['ISC_CLASS_PRICE']->GetMaxPrice(), $GLOBALS['CatId'], $GLOBALS['ISC_CLASS_PRICE']->GetCatPath(), array("page" => $page, "sort" => $GLOBALS['ISC_CLASS_PRICE']->GetSort()));
$GLOBALS['PageNumber'] = $page;
$GLOBALS['SNIPPETS']['PagingData'] .= $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet($snippet);
}
// Parse the paging snippet
if ($GLOBALS['ISC_CLASS_PRICE']->GetPage() > 1) {
// Do we need to output a "Previous" link?
$GLOBALS['PrevLink'] = PriceLink($GLOBALS['ISC_CLASS_PRICE']->GetMinPrice(), $GLOBALS['ISC_CLASS_PRICE']->GetMaxPrice(), $GLOBALS['CatId'], $GLOBALS['ISC_CLASS_PRICE']->GetCatPath(), array("page" => $GLOBALS['ISC_CLASS_PRICE']->GetPage() - 1, "sort" => $GLOBALS['ISC_CLASS_PRICE']->GetSort()));
$GLOBALS['SNIPPETS']['PricePagingPrevious'] = $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet("PricePagingPrevious");
}
if ($GLOBALS['ISC_CLASS_PRICE']->GetPage() < $GLOBALS['ISC_CLASS_PRICE']->GetNumPages()) {
// Do we need to output a "Next" link?
$GLOBALS['NextLink'] = PriceLink($GLOBALS['ISC_CLASS_PRICE']->GetMinPrice(), $GLOBALS['ISC_CLASS_PRICE']->GetMaxPrice(), $GLOBALS['CatId'], $GLOBALS['ISC_CLASS_PRICE']->GetCatPath(), array("page" => $GLOBALS['ISC_CLASS_PRICE']->GetPage() + 1, "sort" => $GLOBALS['ISC_CLASS_PRICE']->GetSort()));
$GLOBALS['SNIPPETS']['PricePagingNext'] = $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet("PricePagingNext");
}
$output = $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet("PricePaging");
$output = $GLOBALS['ISC_CLASS_TEMPLATE']->ParseSnippets($output, $GLOBALS['SNIPPETS']);
$GLOBALS['SNIPPETS']['PricePaging'] = $output;
}
}
示例3: SetPanelSettings
public function SetPanelSettings()
{
$output = "";
$categorySql = $GLOBALS['ISC_CLASS_CATEGORY']->GetCategoryAssociationSQL(false);
$query = $this->getProductQuery($categorySql, 'p.productid DESC', 5);
$result = $GLOBALS['ISC_CLASS_DB']->Query($query);
if($GLOBALS['ISC_CLASS_DB']->CountResult($result) > 0) {
if(!GetConfig('ShowProductRating')) {
$GLOBALS['HideProductRating'] = "display: none";
}
$GLOBALS['AlternateClass'] = '';
while($row = $GLOBALS['ISC_CLASS_DB']->Fetch($result)) {
$this->setProductGlobals($row);
$output .= $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet("SideCategoryNewProducts");
}
// Showing the syndication option?
if(GetConfig('RSSNewProducts') != 0 && GetConfig('RSSCategories') != 0 && GetConfig('RSSSyndicationIcons') != 0) {
$GLOBALS['ISC_LANG']['CategoryNewProductsFeed'] = sprintf(GetLang('CategoryNewProductsFeed'), $GLOBALS['CatName']);
$GLOBALS['SNIPPETS']['SideCategoryNewProductsFeed'] = $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet("SideCategoryNewProductsFeed");
}
}
else {
$GLOBALS['HideSideCategoryNewProductsPanel'] = "none";
$this->DontDisplay = true;
}
$GLOBALS['SNIPPETS']['SideNewProducts'] = $output;
}
示例4: SetPanelSettings
function SetPanelSettings()
{
$count = 0;
$output = "";
$GLOBALS['SNIPPETS']['WishListItems'] = "";
$GLOBALS['HideCompareItems'] = "none";
if (GetConfig('EnableProductReviews') == 0) {
$GLOBALS['HideProductRating'] = "display: none";
}
if (!isset($GLOBALS['WishListItems'])) {
return false;
}
$GLOBALS['AlternateClass'] = '';
foreach ($GLOBALS['WishListItems'] as $row) {
if ($GLOBALS['AlternateClass'] == 'Odd') {
$GLOBALS['AlternateClass'] = 'Even';
} else {
$GLOBALS['AlternateClass'] = 'Odd';
}
$GLOBALS['ProductCartQuantity'] = '';
if (isset($GLOBALS['CartQuantity' . $row['productid']])) {
$GLOBALS['ProductCartQuantity'] = (int) $GLOBALS['CartQuantity' . $row['productid']];
}
$GLOBALS['ItemId'] = (int) $row['wishlistitemid'];
$GLOBALS['ProductId'] = (int) $row['productid'];
$GLOBALS['ProductName'] = isc_html_escape($row['prodname']);
$GLOBALS['ProductLink'] = ProdLink($row['prodname']);
$GLOBALS['ProductRating'] = (int) $row['prodavgrating'];
// Determine the price of this product
$GLOBALS['ProductPrice'] = CalculateProductPrice($row);
$GLOBALS['ProductThumb'] = ImageThumb($row['imagefile'], ProdLink($row['prodname']));
$GLOBALS['SNIPPETS']['WishListItems'] .= $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet("WishListItem");
}
}
示例5: BuildForm
public function BuildForm()
{
if (GetConfig('CurrencyLocation') === 'left') {
$GLOBALS['CurrencyTokenLeft'] = GetConfig('CurrencyToken');
$GLOBALS['CurrencyTokenRight'] = '';
} else {
$GLOBALS['CurrencyTokenLeft'] = '';
$GLOBALS['CurrencyTokenRight'] = GetConfig('CurrencyToken');
}
if (empty($this->rules['cost'])) {
$this->LoadWeightRanges();
}
if (empty($this->rules['cost'])) {
$GLOBALS['POS'] = 0;
$GLOBALS['COST_VAL'] = '';
$GLOBALS['LOWER_VAL'] = '';
$GLOBALS['UPPER_VAL'] = '';
return $this->ParseTemplate('weight_range_row', true);
}
$output = '';
// Sorts the indexes so 0 01 011 0111
ksort($this->rules['cost']);
foreach ($this->rules['cost'] as $id => $cost) {
$GLOBALS['POS'] = $id;
$GLOBALS['COST_VAL'] = FormatPrice($this->rules['cost'][$id], false, false);
$GLOBALS['LOWER_VAL'] = FormatWeight($this->rules['lower'][$id], false);
$GLOBALS['UPPER_VAL'] = FormatWeight($this->rules['upper'][$id], false);
$output .= $this->ParseTemplate('weight_range_row', true);
}
return $output;
}
示例6: SetPanelSettings
function SetPanelSettings()
{
if (GetConfig('RSSNewProducts') == 0) {
$GLOBALS['ShowNewProductsFeed'] = "none";
} else {
$GLOBALS['ISC_LANG']['SyndicateNewProductsIntro'] = sprintf(GetLang('SyndicateNewProductsIntro'), GetConfig('RSSItemsLimit'), $GLOBALS['StoreName']);
$GLOBALS['ISC_LANG']['SyndicateNewProductsRSS'] = sprintf(GetLang('SyndicateNewProductsRSS'), GetConfig('RSSItemsLimit'));
$GLOBALS['ISC_LANG']['SyndicateNewProductsAtom'] = sprintf(GetLang('SyndicateNewProductsAtom'), GetConfig('RSSItemsLimit'));
}
if (GetConfig('RSSPopularProducts') == 0) {
$GLOBALS['ShowPopularProductsFeed'] = "none";
} else {
$GLOBALS['ISC_LANG']['SyndicatePopularProductsIntro'] = sprintf(GetLang('SyndicatePopularProductsIntro'), GetConfig('RSSItemsLimit'), $GLOBALS['StoreName']);
$GLOBALS['ISC_LANG']['SyndicatePopularProductsRSS'] = sprintf(GetLang('SyndicatePopularProductsRSS'), GetConfig('RSSItemsLimit'));
$GLOBALS['ISC_LANG']['SyndicatePopularProductsAtom'] = sprintf(GetLang('SyndicatePopularProductsAtom'), GetConfig('RSSItemsLimit'));
}
if (GetConfig('RSSProductSearches') == 0) {
$GLOBALS['ShowSearchFeed'] = "none";
} else {
$GLOBALS['ISC_LANG']['SyndicateSearchesIntro2'] = sprintf(GetLang('SyndicateSearchesIntro2'), $GLOBALS['StoreName']);
}
if (GetConfig('RSSLatestBlogEntries') == 0) {
$GLOBALS['ShowNewsFeed'] = "none";
} else {
$GLOBALS['ISC_LANG']['SyndicateNewsIntro'] = sprintf(GetLang('SyndicateNewsIntro'), GetConfig('RSSItemsLimit'), $GLOBALS['StoreName']);
$GLOBALS['ISC_LANG']['SyndicateNewsRSS'] = sprintf(GetLang('SyndicateNewsRSS'), GetConfig('RSSItemsLimit'));
$GLOBALS['ISC_LANG']['SyndicateNewsAtom'] = sprintf(GetLang('SyndicateNewsAtom'), GetConfig('RSSItemsLimit'));
}
}
示例7: SetPanelSettings
/**
* Set the settings for this panel.
*/
public function SetPanelSettings()
{
// How many tags do we have?
$query = "\n\t\t\tSELECT COUNT(tagid) AS tagcount\n\t\t\tFROM [|PREFIX|]product_tags\n\t\t";
$tagCount = $GLOBALS['ISC_CLASS_DB']->FetchOne($query);
// How many products does the most popular tag contain?
$query = "\n\t\t\tSELECT MAX(tagcount) AS popularcount, MIN(tagcount) AS leastcount\n\t\t\tFROM [|PREFIX|]product_tags\n\t\t";
$result = $GLOBALS['ISC_CLASS_DB']->Query($query);
$tagCounts = $GLOBALS['ISC_CLASS_DB']->Fetch($result);
// Get a list of all of the tags
$query = "\n\t\t\tSELECT *\n\t\t\tFROM [|PREFIX|]product_tags\n\t\t\tORDER BY tagname ASC\n\t\t";
$min = GetConfig('TagCloudMinSize');
$max = GetConfig('TagCloudMaxSize');
$GLOBALS['SNIPPETS']['TagList'] = '';
$result = $GLOBALS['ISC_CLASS_DB']->Query($query);
while ($tag = $GLOBALS['ISC_CLASS_DB']->Fetch($result)) {
$weight = ceil($tag['tagcount'] / $tagCount * 100);
if ($max > $min) {
$fontSize = $weight / 100 * ($max - $min) + $min;
} else {
$fontSize = (100 - $weight) / 100 * ($max - $min) + $max;
}
$fontSize = (int) $fontSize;
$GLOBALS['FontSize'] = $fontSize . '%';
$GLOBALS['TagName'] = isc_html_escape($tag['tagname']);
$GLOBALS['TagLink'] = TagLink($tag['tagfriendlyname'], $tag['tagid']);
$GLOBALS['TagProductCount'] = sprintf(GetLang('XProductsTaggedWith'), $tag['tagcount'], isc_html_escape($tag['tagname']));
$GLOBALS['SNIPPETS']['TagList'] .= $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet('ProductTagCloudItem');
}
}
示例8: SetPanelSettings
function SetPanelSettings()
{
$output = "";
if (GetConfig('HomeBlogPosts') > 0) {
$query = "select newsid, newstitle from [|PREFIX|]news where newsvisible='1' order by newsid desc";
$query .= $GLOBALS['ISC_CLASS_DB']->AddLimit(0, GetConfig('HomeBlogPosts'));
$result = $GLOBALS['ISC_CLASS_DB']->Query($query);
if ($GLOBALS['ISC_CLASS_DB']->CountResult($result) > 0) {
while ($row = $GLOBALS['ISC_CLASS_DB']->Fetch($result)) {
$GLOBALS['BlogText'] = isc_html_escape($row['newstitle']);
$GLOBALS['BlogLink'] = BlogLink($row['newsid'], $row['newstitle']);
$output .= $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet("RecentBlog");
}
$GLOBALS['SNIPPETS']['RecentBlogs'] = $output;
// Showing the syndication option?
if (GetConfig('RSSLatestBlogEntries') != 0 && GetConfig('RSSSyndicationIcons') != 0) {
$GLOBALS['SNIPPETS']['HomeRecentBlogsFeed'] = $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet("HomeRecentBlogsFeed");
}
} else {
$this->DontDisplay = true;
$GLOBALS['HideHomeRecentBlogsPanel'] = "none";
}
} else {
$this->DontDisplay = true;
$GLOBALS['HideHomeRecentBlogsPanel'] = "none";
}
}
示例9: SetPanelSettings
/**
* Set the panel settings.
*/
public function SetPanelSettings()
{
if(GetConfig('HomeFeaturedProducts') <= 0) {
$this->DontDisplay = true;
return false;
}
$GLOBALS['SNIPPETS']['VendorFeaturedItems'] = '';
if(!getProductReviewsEnabled()) {
$GLOBALS['HideProductRating'] = "display: none";
}
$cVendor = GetClass('ISC_VENDORS');
$vendor = $cVendor->GetVendor();
$query = $this->getProductQuery(
'p.prodvendorid='.(int)$vendor['vendorid'],
'p.prodvendorfeatured DESC, RAND()',
getConfig('HomeFeaturedProducts')
);
$result = $GLOBALS['ISC_CLASS_DB']->Query($query);
$GLOBALS['AlternateClass'] = '';
while($row = $GLOBALS['ISC_CLASS_DB']->Fetch($result)) {
$this->setProductGlobals($row);
$GLOBALS['SNIPPETS']['VendorFeaturedItems'] .= $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet("VendorFeaturedItemsItem");
}
$GLOBALS['VendorProductsLink'] = VendorProductsLink($vendor);
if(!$GLOBALS['SNIPPETS']['VendorFeaturedItems']) {
$this->DontDisplay = true;
}
}
示例10: SendNotification
/**
* Send the order notification email
*/
public function SendNotification()
{
$emails = array();
$this->_message = $this->BuildEmailMessage();
$this->_email = $this->GetValue("emailaddress");
if (empty($this->_email)) {
return;
}
$emails = preg_split('#[,\\s]+#si', $this->_email, -1, PREG_SPLIT_NO_EMPTY);
// Create a new email object through which to send the email
$store_name = GetConfig('StoreName');
require_once ISC_BASE_PATH . "/lib/email.php";
$obj_email = GetEmailClass();
$obj_email->Set('CharSet', GetConfig('CharacterSet'));
$obj_email->From(GetConfig('OrderEmail'), $store_name);
$obj_email->Set("Subject", sprintf(GetLang('NEmailSubjectLine'), $this->GetOrderId(), $store_name, FormatPrice($this->GetOrderTotal(), false, true, false, GetDefaultCurrency())));
$obj_email->AddBody("html", $this->_message);
// Add all recipients
foreach ($emails as $email) {
$obj_email->AddRecipient($email, "", "h");
}
$email_result = $obj_email->Send();
if ($email_result['success']) {
$result = array("outcome" => "success", "message" => sprintf(GetLang('EmailNotificationSentUser'), implode("<br />", $emails)));
} else {
$result = array("outcome" => "fail", "message" => GetLang('NEmailSendingFailed'));
}
return $result;
}
示例11: configAction
function configAction()
{
// When the form is submitted
$form_mess = "";
if (isset($_POST['confName'])) {
$form_mess = $this->updateConfig($_POST, $this->db_v1, $this->view, $this->session);
$this->config_v1 = GetConfig($this->db_v1);
// Check whether the logo file has been transmitted
$adapter = new Zend_File_Transfer_Adapter_Http();
$adapter->setDestination('images/');
$adapter->addValidator('IsImage', false);
if ($adapter->receive()) {
$name = $adapter->getFileName('logo_file');
//récupérer le nom du fichier sans avoir tout le chemin
$name = basename($name);
$this->db_v1->execRequete("UPDATE Config SET logo_file='{$name}'");
}
$config = new Config();
$this->config = $config->fetchAll()->current();
$this->config->putInView($this->view);
$registry = Zend_registry::getInstance();
$registry->set("Config", $this->config);
}
$this->view->config_message = $form_mess;
$this->instantiateConfigVars($this->config_v1, $this->view);
$this->view->setFile("content", "config.xml");
$this->view->setFile("form_config", "form_config.xml");
$form_mess = "";
$this->view->messages = $form_mess;
// N.B: the config values ar eput in the views by the Myreview controller
echo $this->view->render("layout");
}
示例12: _HandleResponse
protected function _HandleResponse($result)
{
$response = explode("\n", $result);
$approved = 'NO';
if (isset($response[0])) {
$approved = $response[0];
}
if ($approved == 'approved') {
$updatedOrder = array('ordpaymentstatus' => 'captured');
$this->UpdateOrders($updatedOrder);
$GLOBALS['ISC_CLASS_LOG']->LogSystemSuccess(array('payment', $this->GetName()), GetLang($this->_languagePrefix . 'Success'));
// The order is valid, hook back into the checkout system's validation process
ob_end_clean();
$token = md5(GetConfig('EncryptionToken') . $_COOKIE['SHOP_ORDER_TOKEN']);
header(sprintf("Location:%s/finishorder.php?o=%s", $GLOBALS['ShopPathSSL'], $token));
die;
} else {
$responseCode = $responseMessage = 'Undefined';
if (isset($response[5])) {
$responseCode = explode("=", $response[5]);
$responseCode = $responseCode[1];
}
if (isset($reponse[4])) {
$responseMessage = explode("=", $response[4]);
$responseMessage = urldecode($responseMessage[1]);
}
$GLOBALS['ISC_CLASS_LOG']->LogSystemError(array('payment', $this->GetName()), sprintf(GetLang($this->_languagePrefix . 'Failure'), $responseCode, $responseMessage));
// Something went wrong, show the error message with the credit card form
$this->SetError(sprintf(GetLang($this->_languagePrefix . "SomethingWentWrong") . "%s : %s", $responseCode, $responseMessage));
return false;
}
}
示例13: SetPanelSettings
public function SetPanelSettings()
{
$GLOBALS['ISC_CLASS_CUSTOMER'] = GetClass('ISC_CUSTOMER');
$customerid = $GLOBALS['ISC_CLASS_CUSTOMER']->GetCustomerId();
if (gzte11(ISC_LARGEPRINT)) {
// Get the number of new messages for this customer
$order_ids = "";
$query = sprintf("select orderid from [|PREFIX|]orders where ordcustid='%d'", $GLOBALS['ISC_CLASS_DB']->Quote($customerid));
$result = $GLOBALS['ISC_CLASS_DB']->Query($query);
while ($row = $GLOBALS['ISC_CLASS_DB']->Fetch($result)) {
$order_ids .= sprintf("%s,", $row['orderid']);
}
$order_ids = rtrim($order_ids, ",");
if ($order_ids != "") {
$query = sprintf("select count(messageid) as num from [|PREFIX|]order_messages where messageorderid in (%s) and messagefrom='admin' and messagestatus='unread'", $GLOBALS['ISC_CLASS_DB']->Quote($order_ids));
$GLOBALS['NumNewMessages'] = $GLOBALS['ISC_CLASS_DB']->FetchOne($query);
} else {
$GLOBALS['NumNewMessages'] = 0;
}
} else {
$GLOBALS['HideMessagesMenu'] = "none";
}
// Do we want to show or hide the return requests menu item?
if (gzte11(ISC_LARGEPRINT) && GetConfig('EnableReturns') == 1) {
$query = sprintf("SELECT returnid FROM [|PREFIX|]returns WHERE retcustomerid='%d'", $GLOBALS['ISC_CLASS_DB']->Quote($customerid));
if (!$GLOBALS['ISC_CLASS_DB']->FetchOne($query)) {
$GLOBALS['HideReturnRequestsMenu'] = "none";
}
} else {
$GLOBALS['HideReturnRequestsMenu'] = 'none';
}
// How many products are in their wish list?
$query = sprintf("select count(wishlistid) as num from [|PREFIX|]wishlists where customerid='%d'", $GLOBALS['ISC_CLASS_DB']->Quote($customerid));
$GLOBALS['NumWishListItems'] = $GLOBALS['ISC_CLASS_DB']->FetchOne($query);
}
示例14: WriteHeader
protected function WriteHeader()
{
$data = "<?xml version=\"1.0\" encoding=\"" . GetConfig("CharacterSet") . "\"?>\n";
$data .= "<" . $this->type_name . "s>\n";
fwrite($this->handle, $data);
}
示例15: SetPanelSettings
public function SetPanelSettings()
{
$output = "";
// If ratings are disabled, hide them
if(!GetConfig('ShowProductRating')) {
$GLOBALS['HideProductRating'] = "display: none";
}
$query = $this->getProductQuery('', 'p.proddateadded DESC', 5);
$result = $GLOBALS['ISC_CLASS_DB']->Query($query);
$GLOBALS['AlternateClass'] = '';
while($row = $GLOBALS['ISC_CLASS_DB']->Fetch($result)) {
$this->setProductGlobals($row);
$output .= $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet("SideNewProducts");
}
// Showing the syndication option?
if(GetConfig('RSSNewProducts') != 0 && GetConfig('RSSSyndicationIcons') != 0) {
$GLOBALS['SNIPPETS']['SideNewProductsFeed'] = $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet("SideNewProductsFeed");
}
if(!$output) {
$this->DontDisplay = true;
return;
}
$GLOBALS['SNIPPETS']['SideNewProducts'] = $output;
}