GetVar('pid')); if($ProductID == '' || !is_numeric($ProductID)) { header("Location: products.html"); exit(); } ?> Our Products - Groovy Linen
GetVar('cid')) != '') { $FirstCategoryID = trim($Request->GetVar('cid')); $CategoryObj = new Categories($FirstCategoryID); $FirstCategoryName = $CategoryObj->GetCategoryName(); } $MainCategoryList = array(); $FirstCategory = array(); $TempCategory = array(); $ItemArray = array(); $MainCategoryList = $ICategoriesObj->GetMainCategoriesList('Y','',''); #echo "
".print_r($MainCategoryList,"/n")."
"; if(count($MainCategoryList) > 0) { $TempCategory = $MainCategoryList; $CategoryString .= '
    '; if($FirstCategoryID == '') { $FirstCategory = array_shift($TempCategory); $FirstCategoryID = $FirstCategory['id']; $FirstCategoryName = $FirstCategory['name']; } foreach($MainCategoryList as $MainInfo) { $CategoryID = $MainInfo['id']; $CategoryName = $MainInfo['name']; $CategoryLink = $ISettings->GetSetting('base-url').'products.html?cid='.$CategoryID; $DivClass = ''; if($FirstCategoryID == $CategoryID) { $DivClass = 'cat-selected'; } $CategoryString .= '
  • '; } $CategoryString .= '
'; } ############################ ITEM LIST STARTS ############################ $ItemObj = new Item($ProductID); $ItemName = $ItemObj->GetName(); $ItemCode = $ItemObj->GetCode(); $ItemShortDesc = $ItemObj->GetShortDescription(); $ItemLongDesc = $ItemObj->GetLongDescription(); $ItemImage = $ItemObj->GetImage(); $ItemPrice = $ItemObj->GetActualPrice(); $Description = $ItemLongDesc?$ItemLongDesc:$ItemShortDesc; $ImagePath = $ISettings->GetSetting('media-path').'large/'.$ItemImage; ############################ ITEM LIST ENDS ############################## #echo $ItemString; ?>

Price : GetSetting('currency').$ItemPrice; ?>

>