0) $_GET['page'] = $CategoriesArray[1]; else $_GET['page'] = 1; $sortelement = $CategoriesArray[2]; $sortbyelement = $CategoriesArray[3]; $sortbyfilter = $CategoriesArray[4]; for($i=1;$i<=$NumberSlashes;$i++) { $FolderPath .= "../"; } /* --------------------------------------- STAR RATING COLOR ---------------------------------- */ $StarCond = "`CID`='$config[CID]'"; $StarDetails = $DB->listgeneral('sc_customise',$StarCond); $StarColor = $StarDetails[0][StarColor]; /* -------------------------------------------------------------------------------------------- */ /*---------------Data pull for general setting-------------------*/ $Stringselectvalue = "`Symbol_left`,`Symbol_right`,`weight_unit`,`Display_product_price`,`Default_tax_zone`,`default_category_layout`,`Thumbnail_image_width`"; $GeneralSettingArray = array('CID' => $config[CID],'CMD'=>'generalSetting'); $GeneralSetting = generalsetting($GeneralSettingArray); /*---------------Data pull for mian catagory-------------------*/ $brand_innerspace = $GeneralSetting[webpage_innerspace]; if($brand_innerspace == 'plus') { $tplpath = str_replace(' ','+',$CategoriesArray[0]); }else { $tplpath = $CategoriesArray[0]; } $category_url = $GeneralSetting[webpage_url]; $SearchManufacturerid = "`permalink`='$tplpath'"; $SelectManufacturerid = $DB->detailsgeneral('sc_manufacturer',$SearchManufacturerid); $page_url = $_SERVER[HTTP_HOST].$_SERVER[REQUEST_URI]; $referer = $_SERVER['HTTP_REFERER']; $referer = base64_encode($referer); $machineIP = $_SERVER[REMOTE_ADDR]; $manufacturer_id = $SelectManufacturerid[manufacturer_id]; $cartobj = new cartmanipulation(); $_GET['page'] = 1; if(isset($_REQUEST[current_currency])) $_SESSION[current_currency] = $_REQUEST[current_currency]; $HeaderImageArray = array('CID' => $config[CID],'page_id'=>$manufacturer_id,'page_type'=>'MANUFACTURER'); $HeaderImage = takeheaderimage($HeaderImageArray); /*echo '
';
print_r($HeaderImageArray);*/


$Default_tax_zone=$GeneralSetting[Default_tax_zone];
$TaxZoneArray = array('CID' => $config[CID],'Default_tax_zone'=>$Default_tax_zone);
$TaxZoneName = taxzonedetails($TaxZoneArray);

/*---------------Data pull from store settings------------------*/
$Stringselectvalue ="`No_of_thumbnail_to_display_per_page`,`Show_details_in_thumbnail_product`,`Thumbnail_display_style`,`Sale_price_font_color`,`ImageBorderWidth`,`image_border_color`,`No_of_thumbnail_to_display_per_row`,`pt_Show_details_in_thumbnail_product`,`image_outer_border_color`,`ImageOuterBorderWidth`,`Picture_zoom`,`quickviewonoff`,`image_outer_border_color_hover`,`LinkStyle`";
$StoreSettingsParamArray = array('CID' => $config[CID],'CMD'=>'StoreSettings','Stringselectvalue'=>$Stringselectvalue);
$StoreSettings = storesettingslist($StoreSettingsParamArray);
/*---------------Data pull from store settings------------------*/
/*----------------Thumbnail display options-------------------------------*/
$ThumbnailOptions = $StoreSettings[Show_details_in_thumbnail_product];
$ThumbnailOptions = substr($ThumbnailOptions,0,-1);
$OptionArray = explode('|',$ThumbnailOptions);

$pt_ThumbnailOptions = $StoreSettings[pt_Show_details_in_thumbnail_product];
$pt_ThumbnailOptions = substr($pt_ThumbnailOptions,0,-1);
$pt_OptionArray = explode('|',$pt_ThumbnailOptions);
/*----------------Thumbnail display options-------------------------------*/

/*---------------Data pull for manufacturer -------------------*/
$p = new Pagerf;
$Pagenationupdatecondition = "`CID` ='$config[CID]'";
$Pagenationpanelexist = $DB->detailsgeneral('sc_customise',$Pagenationupdatecondition);
$needpage = $Pagenationpanelexist['need_pagenation'];

$start = $p->findStart($limit);
if($needpage !='None')
{
	if(!empty($_REQUEST[sortelement])){
		$limit = $_REQUEST[sortelement];
	}
	elseif($sortelement){
		$limit = $sortelement;
	}
	else
		$limit = $StoreSettings[No_of_thumbnail_to_display_per_page];
}
else{
    $limit = 'All';
}	
	
if($_REQUEST[sortbyelement])
{
	$sortbyelement = $_REQUEST[sortbyelement];
}
if($limit!='All')
{
	$query_str = $limit.'/'.$sortbyelement;
	$start = $p->findStart($limit);
}

$p->query_str="manufacturer_id=$manufacturer_id";
/*---------------Data pull from product-----------------------*/
$ProductParameterArray = array('CID' => $config[CID],'manufacturer_id'=>$manufacturer_id,'CMD'=>'ListCOUNTProduct','sortbyelement'=>$sortbyelement,'Filter'=>$_REQUEST[searchfilters]);
$ProductUnderCatagory = listproductcount($ProductParameterArray);
/*---------------Data pull from product-----------------------*/

$ProductPagenationArray = array('CID' => $config[CID],'manufacturer_id'=>$manufacturer_id,'CMD'=>'ListProductWpagenation','start'=>$start,'limit'=>$limit,'sortbyelement'=>$sortbyelement,'DisplayOptionArray'=>$OptionArray,'Default_tax_zone'=>$GeneralSetting[Default_tax_zone],'currency'=>$_SESSION[current_currency],'Filter'=>$_REQUEST[searchfilters]);

$ProductsArrayTotal = listallproductwrtmanufacturer($ProductPagenationArray);

/* ----------------------------  Product Details Previous / Next sec start -------------------------------------- */
	if(is_array($ProductsArrayTotal))
	{
		 foreach($ProductsArrayTotal as $hk=>$hv)
		 {
		   $PrevNextSessionArray[] = $hv[tplproductpath];
		 }
		 if(is_array($_SESSION['PrevNextSessionArray']) && count($_SESSION['PrevNextSessionArray'])>0)
			 {
			   $_SESSION['PrevNextSessionArray'] = array();
			  }
		$_SESSION['PrevNextSessionArray'] = $PrevNextSessionArray;
    }
/* ----------------------------  Product Details Previous / Next sec end -------------------------------------- */


$count = $ProductUnderCatagory[0][totalproduct];
    $numberofelementtoshow = $limit+$start;
    $start1 = $start+1;
    if($numberofelementtoshow>$count){
        $numberofelementtoshow=$count;
    }
    $shownoofproduct = "Showing $count items";
    if($limit!='All')
    {
    $pages = $p->findPages($count, $limit);
    }else{
    $limit=$count;
    $shownoofproduct = "All items";
    }
    
	$page1 = "";

						$newpageList = $p->pageList($_GET['page'], $pages);

		$page1 .= $newpageList;

		$page1 .="
".LANG_PAGE." $_GET[page] ".LANG_OF." ".ceil($count/$limit)."
"; /*---------------Data pull for mian catagory-------------------*/ /*---------------Data pull from store settings------------------*/ $Stringselectvalue ="`manufacturer_description`,`manufacturer_image`,`manufacturer_name`,`manufacturer_description_bot`"; $manufacturerdetailsArray = array('CID' => $config[CID],'manufacturer_id'=>$manufacturer_id,'CMD'=>'manufacturerdetails','Stringselectvalue'=>$Stringselectvalue); $manufacturerdetails = manufacturerdetails($manufacturerdetailsArray); $manufacturerdetails[manufacturer_description] = base64_decode($manufacturerdetails[manufacturer_description]); /*---------------Data pull from store settings------------------*/ /*-------------------------- Take Popular Brand ------------------------------------*/ $Stringselectvalue ="`manufacturer_id`,`manufacturer_name`"; $PopularBrandArray=array('CID'=>$config[CID],'CMD'=>'popularbrand','Stringselectvalue'=>$Stringselectvalue); $PopularBrandList=popularbrandlist($PopularBrandArray); /*---------------------------- End of Popular Brand ------------------------------*/ /*----------------------------- Details cart ----------------------------------------*/ $cartid= $cartobj->CartId; $totaladdtocart = 0; $cartListArray=array('CID'=>$config[CID],'CMD'=>'ListCart','user_cart_id'=>$cartid,'currency'=>$_SESSION[current_currency]); $allproductincartd = listcart($cartListArray); if(is_array($allproductincartd) && count($allproductincartd)>0){ $allproductincart = $allproductincartd; $totaladdtocart = sizeof($allproductincartd); } /*----------------------------------Rating Array Details-------------*/ $RatingValue=array('1'=>'1','2'=>'2','3'=>'3','4'=>'4','5'=>'5'); /*-------------------------------------------------------------------------------------------------*/ $imagebasepath = $Protocol.$HOST; /*---------------footer menu details------------------*/ $StringSelectValue = "`menu_type`,`link_name`,`pagetarget`,`menu_name`"; $FooterMenuSelect = array('CID' => $config[CID],'CMD'=>'FooterMenuSelect','StringSelectValue'=>$StringSelectValue); $FooterMenu = selectfootermenu($FooterMenuSelect); $FooterMenuArray = $FooterMenu; /*---------------footer menu details------------------*/ $SelectedCode = $ClientDetailsInfo[teplatename]; $ButtonTextDetails = "`template_name`='$SelectedCode' && `panel`='buy_button_text'"; $BuyButtonTextDetails = $DB->detailsgeneral('template_customise_color_option',$ButtonTextDetails); if(is_array($BuyButtonTextDetails) && count($BuyButtonTextDetails)) { $buy_button_text = $BuyButtonTextDetails[colorvalue]; } $VDButtonTextDetails = "`template_name`='$SelectedCode' && `panel`='full_view_button_text'"; $ViewButtonTextDetails = $DB->detailsgeneral('template_customise_color_option',$VDButtonTextDetails); if(is_array($ViewButtonTextDetails) && count($ViewButtonTextDetails)) { $full_view_button_text = $ViewButtonTextDetails[colorvalue]; } $soft_view_button_textDetails = "`template_name`='$SelectedCode' && `panel`='soft_view_button_text'"; $QVButtonTextDetails = $DB->detailsgeneral('template_customise_color_option',$soft_view_button_textDetails); if(is_array($QVButtonTextDetails) && count($QVButtonTextDetails)) { $soft_view_button_text = $QVButtonTextDetails[colorvalue]; } $ItemId= $CatagoryId; $Querycat = "select *,count(Product_id) as totalproduct from sc_product as sp,sc_product_category as spc where sp.CID='$config[CID]' && sp.manufacturer_id='$manufacturer_id' && sp.Main_category=spc.Product_catagory_id && sp.Show_product='Y' && ((sp.display_start_date='0000-00-00 00:00:00' && sp.display_end_date='0000-00-00 00:00:00') || (sp.display_start_date='0000-00-00 00:00:00' && sp.display_end_date>=curdate()) || (sp.display_start_date<=curdate() && sp.display_end_date='0000-00-00 00:00:00') || (sp.display_start_date<=curdate() && sp.display_end_date>=curdate())) && (sp.product_visibility='Catalogue/search' || sp.product_visibility='Catalogue') GROUP BY sp.`Main_category`"; $Categories = $DB->joinlistgeneral($Querycat); if(is_array($Categories) && count($Categories)>0) { foreach($Categories as $k=>$v) { if($v[totalproduct]>0) { $CategoriesArr[] = array('catname'=>$v[Group_name],'catid'=>$v[Product_catagory_id],'totalproduct'=>$v[totalproduct]); } } } //print '
';
//print_r($CategoriesArr);
?>



<?=stripslashes($SelectManufacturerid[meta_title_manufacturer_seo])?>























Loading ... Please wait ...
0) { if(is_array($CategoriesArr)) { ?>
Filter Products by:
-Category
$pricev) { ?>
 0){ echo '('.$pricev[totalproduct].')';}?>
0) { ?> 0) { //if($_COOKIE["ViewTypeCookie"]=='GV' || $GeneralSetting[default_category_layout]=='gallery_view') if(($_COOKIE["ViewTypeCookie"]=='GV' && $GeneralSetting[default_category_layout]=='gallery_view')||($_COOKIE["ViewTypeCookie"]=='GV' && $GeneralSetting[default_category_layout]=='grid_view')||($_COOKIE["ViewTypeCookie"]=='' && $GeneralSetting[default_category_layout]=='gallery_view')) { ?> 1){?> "; echo ""; echo ""; } ?>
0) { ?>
View as
List View Gallery View List View Gallery View List View Gallery View
 
0) { ?>
$ProductsArray) { $RatingValue = $ProductsArray[product_rating]; ?>
0){ ?>$config[CID],'Product_id'=>$Product_Id); $RelatedProductDetails = relatedproductlistwrtcat($RelatedProductSettingsQueryStr); ?> 0){ ?>
detailsgeneral('sc_product_offers',$offer_cond); $offer_thumbnail_sticky = $offer_ext[thumbnail_sticky]; if(isset($offer_thumbnail_sticky) && $offer_thumbnail_sticky!='') { ?>


RRP:
In Stock
Out of Stock
Email me when product is available 0 && is_array($RelatedProductDetails)) { ?>
View similar products
In Stock
Pre-Order
 
 
 
href="login.html?action=addtowishlist&productid=&fromadd=category" href="addtowishlist.html?action=addtowishlist&productid=&fromadd=category" style="text-decoration:none" class="subcat">Add To Wishlist
0) { $addtocartflag = true; } elseif($ProductsArray[out_of_stock_status] == 'In Stock'){ $addtocartflag = true; }elseif($ProductsArray[out_of_stock_status] == 'Out of Stock' && $ProductsArray[Quantity] > 0){ $addtocartflag = true; }elseif($ProductsArray[out_of_stock_status] == 'Out of Stock' && $ProductsArray[Quantity] <= 0){ $addtocartflag = false; }elseif($ProductsArray[out_of_stock_status] == 'Pre-Order'){ $addtocartflag = true; } if(in_array('addcart',$pt_OptionArray)) { if($ProductsArray[callforprice] == 'N') { if($addtocartflag) { ?>
Add To Cart
 
$ProductsArray) { $RatingValue = $ProductsArray[product_rating]; if($ProductsArray[Pi_thumbnal_image] !=''){ $imgpath = $config[SITE_URL].'productimages/thumbnail/'.$ProductsArray[Pi_thumbnal_image]; $g = getimagesize($imgpath); }else { $imgpath = $config[SITE_URL].'images/photo_not_available.jpg'; $g = getimagesize($imgpath); } ?>
detailsgeneral('sc_product_offers',$offer_cond); $offer_thumbnail_sticky = $offer_ext[thumbnail_sticky]; if(isset($offer_thumbnail_sticky) && $offer_thumbnail_sticky!='') { ?>
0){ ?>$config[CID],'Product_id'=>$Product_Id); $RelatedProductDetails = relatedproductlistwrtcat($RelatedProductSettingsQueryStr); ?> 0){ ?>


RRP:
In Stock
Out of Stock
Email me when product is available 0 && is_array($RelatedProductDetails)) { ?> |  View similar products
In Stock
Pre-Order
0) { $addtocartflag = true; } elseif($ProductsArray[out_of_stock_status] == 'In Stock'){ $addtocartflag = true; }elseif($ProductsArray[out_of_stock_status] == 'Out of Stock' && $ProductsArray[Quantity] > 0){ $addtocartflag = true; }elseif($ProductsArray[out_of_stock_status] == 'Out of Stock' && $ProductsArray[Quantity] <= 0){ $addtocartflag = false; }elseif($ProductsArray[out_of_stock_status] == 'Pre-Order'){ $addtocartflag = true; } if(in_array('addcart',$pt_OptionArray)) { if($ProductsArray[callforprice] == 'N') { if($addtocartflag) { if($ProductsArray[productoptionsarray]) { $OPtionAvailable = 'Y'; $ProductPath = $ProductsArray[newproductdetailspath]; }elseif($ProductsArray[optionprice] == 'Y') { $OPtionAvailable = 'Y'; $ProductPath = $ProductsArray[newproductdetailspath]; }else { $OPtionAvailable = 'N'; } ?>
href="login.html?action=addtowishlist&productid=&fromadd=category" href="addtowishlist.html?action=addtowishlist&productid=&fromadd=category" style="text-decoration:none" class="subcat">
 Add To Wishlist
Add To Cart View Details
 
Show more products
 

Ooops ! No product found in this brand.

$config[CID],'CMD'=>'VIEWPRODUCTS','LIMIT'=>$limit,'PAGE'=>$recentpage); $RelatedProductDetails=viewproducts($ViewProArray); $TotalRecentproductr = $RelatedProductDetails[0][numberofproducts]; $NextPage = $recentpage+$limit; //$NextPagevolume = $NextPage+$limit; if($NextPage >= $TotalRecentproductr) { $NextPage = 0; } //echo $NextPage; if($recentpage == 0) { $PreviousPage = 0; $PreviousPage11 = floor($TotalRecentproductr/$limit); for($i=1;$i<$PreviousPage11; $i++) { $PreviousPage = $PreviousPage+$limit; } } ?>
  
 
Showing - of Results 
 
$limit){ ?>
$rVal){ ?>
detailsgeneral('sc_product_offers',$offer_cond); $offer_thumbnail_sticky = $offer_ext[thumbnail_sticky]; if(isset($offer_thumbnail_sticky) && $offer_thumbnail_sticky!='') { ?>


RRP:
'; $RatingValue = $rVal[product_rating]; if($RatingValue>0) { display_decimal_star_small($RatingValue,$StarColor); if(count($rVal[Review])>1) { $text = ' Reviews'; }else { $text = ' Review'; } echo '
('.$countReviews = count($rVal[Review]).$text.')'; ?> '; for($g=1; $g<=5; $g++) { echo ''; } echo '
Write a review'; } ?>
0) { $addtocartflag = true; }elseif($rVal[out_of_stock_status] == 'In Stock'){ $addtocartflag = true; }elseif($rVal[out_of_stock_status] == 'Out of Stock' && $rVal[Quantity] > 0){ $addtocartflag = true; }elseif($rVal[out_of_stock_status] == 'Out of Stock' && $rVal[Quantity] <= 0){ $addtocartflag = false; }elseif($rVal[out_of_stock_status] == 'Pre-Order'){ $addtocartflag = true; } if(in_array('addcart',$OptionArray)) { if($rVal[callforprice] == 'N') { if($addtocartflag) { ?>
Add To Cart
$limit){ ?>