[* $HEADER = $param[0]; $FOOTER = $param[1]; $USERDETAILS_GL = $param[2]; $RESULT = $param[3]; $BREADCRUM = $param[4]; $BUSINESS_TYPE = $param[5]; $TOTAL_PRODUCT_OFFER = $param[6]; $PROD_PCITEM_GLUSR = $param[7]; $RELATEDCATALOGS1 = $param[8]; $GLUSR_PRODUCT = $param[9]; $URL = $param[10]; $IP_ADDRESS = $param[11]; $PID = $param[12]; $PAGENUMBER = $param[13]; $WITHOUT_IMAGE_DESC_PRODUCT_OFFER = $param[14]; $EXTENDED_PROFILE = $param[15]; $PRODUCTID = $param[16]; $pro_deatil_page_name = $param[20]; $TIME_TRACK = $param[21]; $PGTIME = $param[22]; $PAGECOUNT = $param[23]; $PGFLAG = $param[24]; $escmode = 0; $logo = ''; $logo = qq~
~ if($RESULT->{'GLUSR_USR_COMP_LOGO_IMG'}); $RESULT->{'GLUSR_USR_COMPANYNAME'} =~ s/'/'/isg if($RESULT->{'GLUSR_USR_COMPANYNAME'}); *] [+$HEADER+]
Home » Sellers[+$BREADCRUM+]
[+$logo+]

[+$RESULT->{'GLUSR_USR_COMPANYNAME'}+]

[* $address = ''; if(defined($RESULT->{'GLUSR_USR_ADD1'})) { $address = $RESULT->{'GLUSR_USR_ADD1'}; } if(defined($RESULT->{'GLUSR_USR_ADD2'})) { if($address ne '') { $address = $address.','.$RESULT->{'GLUSR_USR_ADD2'}; } else { $address = $address->{'GLUSR_USR_ADD2'}; } } $zipcode = $RESULT->{'GLUSR_USR_ZIP'} || ''; $city = $RESULT->{'GLUSR_USR_CITY'} || ''; $state = $RESULT->{'GLUSR_USR_STATE'} || ''; if($city ne '' and $state ne '' and ($zipcode =~ /\d+/)) { $city .= qq~, $state-$zipcode~; } elsif($state eq '' and $city ne '' and ($zipcode =~ /\d+/)) { $city .= qq~-$zipcode~; } $country = $RESULT->{'GL_COUNTRY_DISPLAYNAME'} || ''; $add_city_count = qq~$address~; $add_city_count.=qq~
$city~ if($city ne ''); $add_city_count.=qq~, $country~ if($country ne ''); $add_city_count =~ s/,,/,/isg; $add_city_count =~ s/, /,/isg; $add_city_count =~ s/,/, /isg; $add_city_count =~ s/-,/,/isg; $add_city_count =~ s/, $//isg; $add_city_count =~ s/^,//isg; $add_city_count =~ s/^ ,//isg; $add_city_count =~ s/'/'/isg; *] [+$add_city_count+]
[* $phdisplay = ''; $phdisplay1 = ''; $phone = ''; if(defined($RESULT->{'GLUSR_USR_PH_COUNTRY'})) { if($RESULT->{'GLUSR_USR_PH_COUNTRY'}=~/\(\+*(.*?)\)/i) { $phone = qq~$RESULT->{'GLUSR_USR_PH_COUNTRY'}~; } else { $phone = qq~+($RESULT->{'GLUSR_USR_PH_COUNTRY'})~; } } $mobile = $RESULT->{'GLUSR_USR_PH_MOBILE'} || ''; if($phone ne '') { $mobile = $phone.'-'.$mobile; } $mobile1 = $mobile; $mobile1 =~ s/[^0-9]//g; if(defined($RESULT->{'GLUSR_USR_PH_AREA'})) { $areaPhone = ''; if(defined($RESULT->{'GLUSR_USR_PH_AREA'})) { if($RESULT->{'GLUSR_USR_PH_AREA'}=~/\((.*?)\)/i) { $areaPhone = qq~$RESULT->{'GLUSR_USR_PH_AREA'}~; } else { $areaPhone = qq~($RESULT->{'GLUSR_USR_PH_AREA'})~; } } if($phone ne '') { $phone = $phone.'-'.$areaPhone; } else { $phone = $areaPhone; } } if(defined($RESULT->{'GLUSR_USR_PH_NUMBER'})) { @phlist = split(/\s*\/+\s*/, $RESULT->{'GLUSR_USR_PH_NUMBER'}); @phfinal = (); foreach my $ph (@phlist) { if($phone ne '') { push(@phfinal, $phone.'-'.$ph); } else { push(@phfinal, $ph); } } $phdisplay = $phfinal[0]; $phdisplay1 = $phfinal[0]; $phdisplay1 =~ s/[^0-9]//g; } $url = $URL.'contact.html'; $enq_link = ''; $enq_link1 = ''; if($phdisplay ne '' || $mobile ne '') { if($RESULT->{'GLUSR_USR_PH_MOBILE'}) { $enq_link = qq~ Send Enquiry~; } else { $enq_link1 = qq~ Send Enquiry~; } *] [* } *]

PRODUCTS & SERVICES

[* $data = ''; @pageExist = (); $counter = $PAGENUMBER * 6; $arr_image = ''; $flag = 0; $count = 0; $id = 0; $j = 0; foreach my $p(@$TOTAL_PRODUCT_OFFER) { $productname = lc($p->{'NAME'}); $productname =~ s/[^0-9a-zA-Z]/ /g; $productname =~ s/^\s+//g; $productname =~ s/\s+$//g; $productname =~ s/\s+/ /g; $productname =~ s/\s+/-/g; if($j != 0 && ($j % 5 == 0 || $j == (scalar(@$TOTAL_PRODUCT_OFFER) - 1))) { $data .= qq~
~; } else { $data .= qq~
~; } $thumbImage = $p->{'IMAGE'} || ''; if($thumbImage =~ /add-image.gif/ig or $thumbImage =~ /pcat-gifs/ig) { $thumbImage = ''; } if(lc $p->{'DESCRIPTION'} ne lc $p->{'NAME'}) { $smalldesc = $p->{'DESCRIPTION'}; $smalldesc =~ s/^ //isg; $smalldesc =~ s/ $//isg; $smalldesc=~ s/
/\n/isg; $smalldesc=~ s/
/\n/isg; $smalldesc=~ s/\?*//isg; $smalldesc =~ s/<(.*?)>//isg; $smalldesc =~s/(.*?)\<(.*?)$/$1/img; if(length($p->{'DESCRIPTION'}) >= 250) { if(scalar(grep(/$p->{'DATAID'}/, @$PRODUCTID)) > 0 && $productname ne 'profile' && $productname ne 'contact' && !($productname =~ /^product(\d*)#?(.*?)/)) { $url = $URL.$productname.'.html'; if($thumbImage ne '') { if($count > 9) { $p->{'NAME'} =~ s/'/\\'/isg; $arr_image = qq~$arr_image,'$p->{'NAME'}'~; $data .= qq~
~; $id++; } else { $data .= qq~
$p->{'NAME'}
~; } $data .= qq~

$p->{'NAME'}

~; $smalldesc1 = substr($smalldesc,0,250); $len = rindex($smalldesc1,' '); $smalldesc = substr($smalldesc1,0,$len); $smalldesc .= ' ...'; $smalldesc =~ s/\r?\n/
/g; $smalldesc =~ s/ +/ /g; $data .= qq~

$smalldesc

~; $data .= qq~read more
~; } else { $data .= qq~

$p->{'NAME'}

~; $smalldesc1 = substr($smalldesc,0,250); $len = rindex($smalldesc1,' '); $smalldesc = substr($smalldesc1,0,$len); $smalldesc .= ' ...'; $smalldesc =~ s/\r?\n/
/g; $smalldesc =~ s/ +/ /g; $data .= qq~

$smalldesc

~; $data .= qq~read more
~; } } else { if($thumbImage ne '') { if(scalar(grep(/$productname/, @$pro_deatil_page_name)) > 0) { $url = $URL.$productname.'.html#'.$p->{'DATAID'}; if($count > 9) { $p->{'NAME'} =~ s/'/\\'/isg; $arr_image = qq~$arr_image,'$p->{'NAME'}'~; $data .= qq~
~; $id++; } else { $data .= qq~
$p->{'NAME'}
~; } $data .= qq~

$p->{'NAME'}

~; $smalldesc1 = substr($smalldesc,0,250); $len = rindex($smalldesc1,' '); $smalldesc = substr($smalldesc1,0,$len); $smalldesc .= ' ...'; $smalldesc =~ s/\r?\n/
/g; $smalldesc =~ s/ +/ /g; $data .= qq~

$smalldesc

~; $data .= qq~read more~; } else { if($count > 9) { $p->{'NAME'} =~ s/'/\\'/isg; $arr_image = qq~$arr_image,'$p->{'NAME'}'~; $data .= qq~
~; $id++; } else { $data .= qq~
$p->{'NAME'}
~; } $data .= qq~

$p->{'NAME'}

~; $smalldesc =~ s/\r?\n/
/g; $smalldesc =~ s/ +/ /g; $data .= qq~

$smalldesc

~; } $data .= qq~
~; } else { if(scalar(grep(/$productname/, @$pro_deatil_page_name)) > 0) { $url = $URL.$productname.'.html#'.$p->{'DATAID'}; $data .= qq~

$p->{'NAME'}

~; $smalldesc1 = substr($smalldesc,0,250); $len = rindex($smalldesc1,' '); $smalldesc = substr($smalldesc1,0,$len); $smalldesc .= ' ...'; $smalldesc =~ s/\r?\n/
/g; $smalldesc =~ s/ +/ /g; $data .= qq~

$smalldesc

~; $data .= qq~read more~; } else { $data .= qq~

$p->{'NAME'}

~; $smalldesc =~ s/\r?\n/
/g; $smalldesc =~ s/ +/ /g; $data .= qq~

$smalldesc

~; } $data .= qq~
~; } } } else { if($thumbImage ne '') { if($count > 9) { $p->{'NAME'} =~ s/'/\\'/isg; $arr_image = qq~$arr_image,'$p->{'NAME'}'~; $data .= qq~
~; $id++; } else { $data .= qq~
$p->{'NAME'}
~; } $data .= qq~

$p->{'NAME'}

~; $smalldesc =~ s/\r?\n/
/g; $smalldesc =~ s/ +/ /g; $data .= qq~

$smalldesc

~; } else { $data .= qq~

$p->{'NAME'}

~; $smalldesc =~ s/\r?\n/
/g; $smalldesc =~ s/ +/ /g; $data .= qq~

$smalldesc

~; } } } else { if($thumbImage ne '') { if($count > 9) { $p->{'NAME'} =~ s/'/\\'/isg; $arr_image = qq~$arr_image,'$p->{'NAME'}'~; $data .= qq~
~; $id++; } else { $data .= qq~
$p->{'NAME'}
~; } $data .= qq~

$p->{'NAME'}

~; } else { $data .= qq~

$p->{'NAME'}

~; } } $data .= qq~
 
~; $j++; $count++; $flag = 1 if($j == $PGFLAG); if($PAGENUMBER != ($PAGECOUNT - 1) and (!$flag)) { last if($j % 6 == 0); } } if($PAGECOUNT > 1) { for($i = 0; $i < $PAGECOUNT; $i++) { if($i == $PAGENUMBER) { $disp = $i + 1; $pagenation .= qq~
  • $disp
  • ~; } else { if($i == 0) { $disp = $i + 1; $url = $URL.'product.html'; $pagenation .= qq~
  • $disp
  • ~; } else { $disp = $i + 1; $url = $URL.'product'.$i.'.html'; $pagenation .= qq~
  • $disp
  • ~; } } } $pc_item_product.=qq~
      $pagenation
    ~; } $data =~ s/'/'/isg; $data =~ s/
    /
    /isg; *] [+$data+] [+$pc_item_product+]
    [* $arr_image = substr $arr_image, 1 if($arr_image ne ''); *]
    [* if(!$RESULT->{'ADULT_FLAG'}) { *] [* } *]

    [* $data = ''; $data1 = ''; if(scalar(@$RELATEDCATALOGS1) > 0) { $counter = 0; foreach $compDetail (@$RELATEDCATALOGS1) { $counter++; $image = $compDetail->{'IMAGE'} || ''; $compdesc = substr($compDetail->{'DIR_SEARCH_COMPANYSUBCATDESC'}, 0, 150); if(length($compDetail->{'DIR_SEARCH_COMPANYSUBCATDESC'}) > 150) { $compdesc =~ s/^(.*\s).*/$1/s; $compdesc .= '...'; } $compdesc =~ s/br \/>|br>//isg; $compdesc =~ s/br \/>br \/>//isg; my $fcpurl = $compDetail->{'FREESHOWROOM_URL_HT'}; $fcpurl =~ s/http\:\/\///ig; my @fcpurl = split(/\//,$fcpurl); $fcpurl = '/'.$fcpurl[1].'/'; $compname = $compDetail->{'DIR_SEARCH_COMPANY'}; $css = 'fl'; $css = 'fr' if($counter%2 == 0); $data1 .= qq~
    ~; if($image ne '') { $data1 .= qq~
    ~; } else { $data1 .= qq~
    ~; } $data1 .= qq~
    $compdesc
     
    ~; $data1 .= qq~
    ~if($counter==2); } $data1 =~ s/'/'/isg; $data1 =~ s/
    /
    /isg; if($counter > 0) { *]
    RELATED CATALOGS
    [+$data1+]
     
    [* } } *]

    [* if(!$RESULT->{'ADULT_FLAG'}) { *] [* } *]
     
    SEND ENQUIRY
    * Describe your requirements:
    [* if($RESULT->{'ADULT_FLAG'}) { *]
    [* } else { *] [* if($USERDETAILS_GL->{'email'} && $USERDETAILS_GL->{'email'} ne '') { if($USERDETAILS_GL->{'last_name'} eq 'Last Name') { $name = $USERDETAILS_GL->{'first_name'}; } else { if($USERDETAILS_GL->{'Last Name'}) { $name = $USERDETAILS_GL->{'first_name'}.' '.$USERDETAILS_GL->{'Last Name'}; } else { $name = $USERDETAILS_GL->{'first_name'}; } } $contact_data = qq~
    Your Contact Information:
    (It will be tagged with the enquiry)
    $name ($USERDETAILS_GL->{'email'})
    ($USERDETAILS_GL->{'country'})
    Mobile / Cell Phone: ~; if($USERDETAILS_GL->{'mobile'} && $USERDETAILS_GL->{'mobile'} ne '') { $contact_data .= '('.$USERDETAILS_GL->{'ph_country'}.') - '.$USERDETAILS_GL->{'mobile'}; } else { $contact_data .= "------"; } $contact_data .= qq~
    [ Edit Contact ]
    ~; } *]
       
    [+ $contact_data +]
     
    [* if(!$RESULT->{'ADULT_FLAG'}) { *] [* } *]
     
    [* if(!$RESULT->{'ADULT_FLAG'}) { *] [* } *]
     
     
    loading
    sending enquiry
    Thank You
    close

    unable to instantiate your call right now. please try after some time.

    close
    [* if(!$RESULT->{'ADULT_FLAG'}) { *]

    [* } *]

    © Copyright HelloTrade.com
    [* $PGTIME = Time::HiRes::time - $PGTIME; $TIME_TRACK .= qq~~; *] [+$TIME_TRACK+]