[* $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]; $TIME_TRACK = $param[21]; $PGTIME = $param[22]; $PRO_QUERY = $param[25]; $BUYLEAD = $param[26]; $TOTPROCNT = $param[27]; $div = $param[28]; $escmode = 0; $RESULT->{'GLUSR_USR_COMPANYNAME'}=~ s/'/'/isg if($RESULT->{'GLUSR_USR_COMPANYNAME'}); $logo = ''; $logo = qq~
~ if($RESULT->{'GLUSR_USR_COMP_LOGO_IMG'}); *] [+$HEADER+]
Home » Sellers[+$BREADCRUM+]
[+$div+]
[+$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 = $RESULT->{'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~; } *] [* } *]
[* if(scalar(@$TOTAL_PRODUCT_OFFER) < 1) { $abt='abt'; } *] [* if(scalar(@$TOTAL_PRODUCT_OFFER) > 0) { *] [* $data = ''; $know_us = $RESULT->{'GLUSR_USR_COMPANY_DESC_NOHTML'} || ''; $know_us =~ s/^\s+//g; $know_us =~ s/\s+$//g; if($know_us eq '') { $know_us = $RESULT->{'GLUSR_USR_SELLINTEREST'} || ''; } $know_us=~ s/
/
/isg; if($know_us && $know_us ne '') { $total_length = $know_us_length; } $data1 = ''; foreach $h (@$EXTENDED_PROFILE) { $desc = $h->{'GLUSR_EX_PROFILE_DESCRIPTION'} || ''; $desc =~ s/^\s+//g if($desc ne ''); $desc =~ s/\s+$//g if($desc ne ''); $desc =~ s/\s+/ /g if($desc ne ''); $total_length = $total_length + length($h->{'GLUSR_EX_PROFILE_DESCRIPTION_NOHTML'}); $title = uc($h->{'GLUSR_EX_PROFILE_TITLE'}); if(length($desc) > 0 and $desc ne '') { $desc =~ s/\r?\n/
/g; $desc =~s/width=(\"|\')[0-9]*[a-zA-Z]*(\"|\')//sg; $data1 .= qq~

$title

$desc
~; } } if($total_length && $total_length < 700) { if($know_us ne '') { $know_us =~ s/\r?\n/
/g; $know_us=~s/width=(\"|\')[0-9]*[a-zA-Z]*(\"|\')//sg; $data .= qq~
$know_us
~; } if($data1 ne '') { $data .= qq~$data1~; } } elsif($know_us_length && $know_us_length >= 700) { #if($know_us_length && $know_us_length >= 700) #{ $url = $URL.'profile.html'; $know_us = substr($know_us,0,500); $len = rindex($know_us,' '); $know_us = substr($know_us,0,$len); $know_us =~ s/\r?\n/
/g; $know_us =~s/width=(\"|\')[0-9]*[a-zA-Z]*(\"|\')//sg; $data .= qq~
$know_us ...
read more~; #} #else #{ # $url = $URL.'profile.html'; # $know_us =~ s/\r?\n/
/g; # $know_us =~s/width=(\"|\')[0-9]*[a-zA-Z]*(\"|\')//sg; # $data .= qq~
$know_us
read more~; #} } elsif($know_us_length && $know_us_length <700) { if($know_us ne '') { $url = $URL.'profile.html'; $know_us =~ s/\r?\n/
/g; $know_us=~s/width=(\"|\')[0-9]*[a-zA-Z]*(\"|\')//sg; $data .= qq~
$know_us
~; if($total_length >= 700) { $data .= qq~read more~; } } } $data =~ s/'/'/isg; $data =~ s/
/
/isg; *]
[+$data+]
[* $data = ''; if(defined($BUSINESS_TYPE) || defined($RESULT->{'GLUSR_NOOF_EMP_VAL'}) || defined($RESULT->{'GLUSR_USR_YEAR_OF_ESTB'}) || defined($RESULT->{'GLUSR_TURNOVER_VAL'})) { $data .= qq~

BUSINESS INFORMATION

~; $data .= qq~
Established In
$RESULT->{'GLUSR_USR_YEAR_OF_ESTB'}
~ if(defined($RESULT->{'GLUSR_USR_YEAR_OF_ESTB'})); $data .= qq~
Business Type
$BUSINESS_TYPE
~ if(defined($BUSINESS_TYPE)); $data .= qq~
Number of Employees
$RESULT->{'GLUSR_NOOF_EMP_VAL'}
~ if(defined($RESULT->{'GLUSR_NOOF_EMP_VAL'})); $RESULT->{'GLUSR_TURNOVER_VAL'}=~s/(.*?)\((.*?)\)/$1/ig if($RESULT->{'GLUSR_TURNOVER_VAL'}); $data .= qq~
Turnover
$RESULT->{'GLUSR_TURNOVER_VAL'}
~ if(defined($RESULT->{'GLUSR_TURNOVER_VAL'})); } *] [+$data+]
 
[* $data = ''; $pro_name = ''; $img_link = ''; $counter = 0; @displayProduct = (); use HTML::Strip; if(scalar(@$TOTAL_PRODUCT_OFFER) > 0) { foreach $p (@$TOTAL_PRODUCT_OFFER) { $img_link = ''; $thumbImage = $p->{'IMAGE_125'} || ''; if($thumbImage =~ /add-image.gif/ig or $thumbImage =~ /pcat-gifs/ig) { $thumbImage = ''; } $pro_name = $p->{'NAME'}; if($p->{'DESCRIPTION'} ne $p->{'NAME'}) { $productname = lc($p->{'NAME'}); my $hs = HTML::Strip->new(); $productname = $hs->parse( $productname ); $hs->eof; $productname =~ s/\t+/ /g; $productname =~ s/\ \;/ /g; $productname =~ s/\<(.*?)\>//mg; $productname =~ s/[^[:ascii:]]+//sg; $productname =~ s/[[:cntrl:]]//g; $productname =~ s/\s+/ /mg; $productname =~ s/[^0-9a-zA-Z]/ /g; $productname =~ s/^\s+//g; $productname =~ s/\s+$//g; $productname =~ s/\s+/ /g; $productname =~ s/\s+/-/g; next if(scalar(grep(/^$productname$/i,@displayProduct)) > 0); if(length($p->{'DESCRIPTION'}) > 250) { $url = $URL.$productname.'.html'; $pro_name = ''.$p->{'NAME'}.''; if($thumbImage ne '') { $img_link = ''.$p->{'NAME'}.''; } } } $counter++; $data .= qq~

$pro_name

~; if($thumbImage ne '') { if($img_link ne '') { $data .= qq~
$img_link
~; } else { $data .= qq~
$p->{'NAME'}
~; } } if($p->{'DESCRIPTION'} ne $p->{'NAME'}) { push(@displayProduct,$productname); $smalldesc = $p->{'DESCRIPTION'}; $smalldesc =~ s/^ //isg; $smalldesc =~ s/ $//isg; $smalldesc=~ s/
/\n/isg; $smalldesc=~ s/
/\n/isg; $smalldesc=~ s/\n\n/\n/isg; $smalldesc=~ s/\?*//isg; $smalldesc =~ s/<(.*?)>//isg; $smalldesc =~s/(.*?)\<(.*?)$/$1/img; if(length($p->{'DESCRIPTION'}) > 250) { $smalldesc1 = substr($smalldesc,0,125); $len = rindex($smalldesc1,' '); if($len >1) { $smalldesc = substr($smalldesc1,0,$len); } else { $smalldesc = substr($smalldesc1,0,125); } $smalldesc .= ' ...'; $smalldesc =~ s/\r?\n/
/g; $smalldesc =~ s/ +/ /g; if(scalar(grep(/$p->{'DATAID'}/, @$PRODUCTID)) > 0 && $productname ne 'profile' && $productname ne 'contact' && !($productname =~ /^product(\d*)#?(.*?)/)) { $data .= qq~

$smalldesc

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

$smalldesc

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

$smalldesc

~; } } $data .= qq~
~; $data .= qq~
~ if($counter < 4); $data .= qq~
 
~ if($counter == 4); last if($counter == 4); } } $data =~ s/'/'/isg; $data =~ s/
/
/isg; *] [* if(scalar(@$TOTAL_PRODUCT_OFFER) > 0) { if(scalar(@$GLUSR_PRODUCT) > 0) { $count = 0; $p = ''; $otherproduct = ''; foreach $p (@$GLUSR_PRODUCT) { $p1 = lc($p); $p1 =~ s/[^0-9a-zA-Z]/ /g; $p1 =~ s/^\s+//g; $p1 =~ s/\s+$//g; $p1 =~ s/\s+/ /g; $p1 =~ s/\s+/-/g; next if(scalar(grep(/^$p1$/i,@displayProduct)) > 0); $count++; push(@displayProduct,$p1); $otherproduct .= qq~
  • $p
  • ~; last if($count == 5); } if($count) { *]

    OTHER PRODUCTS

      [+$otherproduct+]
    [* } } } *]

    PRODUCTS & SERVICES

    [+$data+] [* $data = ''; if($counter == 0) { if(scalar(@$GLUSR_PRODUCT) > 0) { $p = ''; $count = 0; *]
      [* foreach $p (@$GLUSR_PRODUCT) { $p1 = lc($p); $p1 =~ s/[^0-9a-zA-Z]/ /g; $p1 =~ s/^\s+//g; $p1 =~ s/\s+$//g; $p1 =~ s/\s+/ /g; $p1 =~ s/\s+/-/g; next if(scalar(grep(/^$p1$/i,@displayProduct)) > 0); $count++; push(@displayProduct,$p1); *]
    • [+$p+]
    • [* last if($count == 20); } *]
    [* } } *]
    [* } else { *]
    [* $data = ''; $know_us = $RESULT->{'GLUSR_USR_COMPANY_DESC_NOHTML'} || ''; $know_us =~ s/^\s+//g; $know_us =~ s/\s+$//g; if($know_us eq '') { $know_us = $RESULT->{'GLUSR_USR_SELLINTEREST'} || ''; } $know_us=~ s/
    /
    /isg; if($know_us && $know_us ne '') { $total_length = $know_us_length; } $data1 = ''; foreach $h (@$EXTENDED_PROFILE) { $desc = $h->{'GLUSR_EX_PROFILE_DESCRIPTION'} || ''; $desc =~ s/^\s+//g if($desc ne ''); $desc =~ s/\s+$//g if($desc ne ''); $desc =~ s/\s+/ /g if($desc ne ''); $total_length = $total_length + length($h->{'GLUSR_EX_PROFILE_DESCRIPTION_NOHTML'}); $title = uc($h->{'GLUSR_EX_PROFILE_TITLE'}); if(length($desc) > 0 and $desc ne '') { $desc =~ s/\r?\n/
    /g; $desc =~s/width=(\"|\')[0-9]*[a-zA-Z]*(\"|\')//sg; $data1 .= qq~

    $title

    $desc
    ~; } } if($total_length && $total_length < 700) { if($know_us ne '') { $know_us =~ s/\r?\n/
    /g; $know_us=~s/width=(\"|\')[0-9]*[a-zA-Z]*(\"|\')//sg; $data .= qq~
    $know_us ~; } if($data1 ne '') { $data .= qq~$data1
    ~; } else { $data .=qq~
    ~; } } elsif($know_us_length && $know_us_length >= 700) { #if($know_us_length && $know_us_length >= 700) #{ $url = $URL.'profile.html'; $know_us = substr($know_us,0,500); $len = rindex($know_us,' '); $know_us = substr($know_us,0,$len); $know_us =~ s/\r?\n/
    /g; $know_us =~s/width=(\"|\')[0-9]*[a-zA-Z]*(\"|\')//sg; $data .= qq~
    $know_us ...
    read more
    ~; #} #else #{ # $url = $URL.'profile.html'; # $know_us =~ s/\r?\n/
    /g; # $know_us =~s/width=(\"|\')[0-9]*[a-zA-Z]*(\"|\')//sg; # $data .= qq~
    $know_us
    read more
    ~; #} } elsif($know_us_length && $know_us_length <700) { if($know_us ne '') { $url = $URL.'profile.html'; $know_us =~ s/\r?\n/
    /g; $know_us=~s/width=(\"|\')[0-9]*[a-zA-Z]*(\"|\')//sg; $data .= qq~
    $know_us
    ~; if($total_length >= 700) { $data .= qq~read more~; } $data .=qq~
    ~; } } $data =~ s/'/'/isg; $data =~ s/
    /
    /isg; *] [+$data+]
    [* $data = ''; if(defined($BUSINESS_TYPE) || defined($RESULT->{'GLUSR_NOOF_EMP_VAL'}) || defined($RESULT->{'GLUSR_USR_YEAR_OF_ESTB'}) || defined($RESULT->{'GLUSR_TURNOVER_VAL'})) { $data .= qq~

    BUSINESS INFORMATION

    ~; $data .= qq~
    Established In
    $RESULT->{'GLUSR_USR_YEAR_OF_ESTB'}
    ~ if(defined($RESULT->{'GLUSR_USR_YEAR_OF_ESTB'})); $data .= qq~
    Business Type
    $BUSINESS_TYPE
    ~ if(defined($BUSINESS_TYPE)); $data .= qq~
    Number of Employees
    $RESULT->{'GLUSR_NOOF_EMP_VAL'}
    ~ if(defined($RESULT->{'GLUSR_NOOF_EMP_VAL'})); $RESULT->{'GLUSR_TURNOVER_VAL'}=~s/(.*?)\((.*?)\)/$1/ig if($RESULT->{'GLUSR_TURNOVER_VAL'}); $data .= qq~
    Turnover
    $RESULT->{'GLUSR_TURNOVER_VAL'}
    ~ if(defined($RESULT->{'GLUSR_TURNOVER_VAL'})); } *] [+$data+]
    [* $data = ''; if(scalar(@$GLUSR_PRODUCT) > 0) { $p = ''; $count = 0; *]

    PRODUCTS & SERVICES

      [* foreach $p (@$GLUSR_PRODUCT) { $p1 = lc($p); $p1 =~ s/[^0-9a-zA-Z]/ /g; $p1 =~ s/^\s+//g; $p1 =~ s/\s+$//g; $p1 =~ s/\s+/ /g; $p1 =~ s/\s+/-/g; next if(scalar(grep(/^$p1$/i,@displayProduct)) > 0); $count++; push(@displayProduct,$p1); *]
    • [+$p+]
    • [* last if($count == 20); } *]

    [* } *]
    [* } *]
    [* $btn = ''; if($USERDETAILS_GL->{'email'} && $USERDETAILS_GL->{'email'} ne '') { $msg1 = qq~
    ~; $btn = qq~
    ~; } *]
    [* if($USERDETAILS_GL->{'email'} && $USERDETAILS_GL->{'email'} ne '') { *]
    Send Enquiry
    [* } else { *]
    Send Enquiry
    Your Contact Details
    [* } *]
    [+$msg1+] [* if($btn && $btn ne '') { *] [+$btn+] [* } 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~
    [ Edit Contact ]
    Your Contact Information :  (It will be tagged with the enquiry)
    Name
    $name
    Email
    $USERDETAILS_GL->{'email'}
    Country
    $USERDETAILS_GL->{'country'}
    ~; if($USERDETAILS_GL->{'mobile'} && $USERDETAILS_GL->{'mobile'} ne '') { $contact_data .= '
    Mobile / Cell Phone
    (+'.$USERDETAILS_GL->{'ph_country'}.') - '.$USERDETAILS_GL->{'mobile'}.'
    '; } else { $contact_data .= "------"; } $contact_data .= qq~
    ~; } *]
    [+ $contact_data +]
    [* $data = ''; $data1 = ''; $arr_image=''; $id=0; 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'}; if($counter>3) { $data2 .= qq~
    ×
    ~; if($image ne '') { $arr_image = qq~$arr_image,''~; $data2 .= qq~
    ~; } else { $data2 .= qq~
    ~; } $data2 .= qq~

    $compname

    ~; $data2 .= qq~$compdescview details
    ~; } else { $data1 .= qq~
    ~; if($image ne '') { $arr_image = qq~$arr_image,''~; $data1 .= qq~
    ~; } else { $data1 .= qq~
    ~; } $data1 .= qq~

    $compname

    ~; $data1 .= qq~$compdescview details
    ~; } $id++; } $data1 =~ s/'/'/isg; $data1 =~ s/
    /
    /isg; *]
    RELATED CATALOGS
    [+$data1+]

    [* if($counter > 3) { $data2 =~ s/'/'/isg; $data2 =~ s/
    /
    /isg; *]
    [* if(!$RESULT->{'ADULT_FLAG'}) { *] [* } *]
     
     

    [* if(!$RESULT->{'ADULT_FLAG'}) { *]
    [* } *]
    [* if(scalar(@$BUYLEAD) > 0) { *]

    Related Buyers

    [* foreach $h(@$BUYLEAD) { *]
    [+$h->{title}+] , [+$h->{countryname}+]

    [+$h->{smalldesc}+]...

    [* } *]
    [* } *]
     
     

    sending enquiry
    Thank You

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

    close

    © Copyright HelloTrade.com
    Home | About Us | Partner with us | Disclaimer | Blog | Testimonial | Feedback & Complaint | Help
    [* $PGTIME = Time::HiRes::time - $PGTIME; $TIME_TRACK .= qq~~; $PRO_QUERY = qq~~; *] [+$TIME_TRACK+]
    [+$PRO_QUERY+]