[* $dataref = $param[0]; $site_url = $param[1]; $recarr = $param[2]; $status = $dataref->{status}; $escmode = 0; *] [+ $dataref->{HEADER} +] [+ $dataref->{leftNavNetwork} +] [* $statuscombo = ''; if($status eq 'A') { $statuscombo = ''; } elsif($status eq 'R') { $statuscombo = ''; } else { $statuscombo = ''; } $statuscombo = ''; *]
 
[+ $dataref->{title}+]
 
[+ $statuscombo +]  
 
[* $html = ''; $count = 0; foreach $ha (@$recarr) { $url_region = ''; $biz_type = ''; $tot_cnt = $ha->{CNT}; if($ha->{URL_REGION} eq 'IN') { $url_region = 'IN' ;#'India'; } elsif($ha->{URL_REGION} eq 'CN') { $url_region = 'CN' ;#'China'; } elsif($ha->{URL_REGION} eq 'ROW') { $url_region = 'ROW' ;#'Rest Of the World'; } elsif($ha->{URL_REGION} eq 'NA') { $url_region = ''; } if($ha->{URL_BIZ_TYPE} eq 'M') { $biz_type = 'M' ;#'Manufacturer'; } elsif($ha->{URL_BIZ_TYPE} eq 'T') { $biz_type = 'T' ;#'Trader'; } elsif($ha->{URL_BIZ_TYPE} eq 'S') { $biz_type = 'S' ;#'Service Provider'; } $count++; if($status) { if($ha->{STATUS} eq 'A') { $html .= ' '.$ha->{RN}.' '.$ha->{URL}.' '.$url_region.' '.$biz_type.' '.$ha->{EMAIL}.' '.$ha->{ADDR}.' '.$ha->{CITY}.' '.$ha->{PHONE}.' '.$ha->{COMP_PRO}.' '.$ha->{PRD_NAME}.' - '.$ha->{PRD_DESC}.' - '.$ha->{PRD_IMG}.' '; } elsif($ha->{STATUS} eq 'R') { $html .= ' '.$ha->{RN}.' '.$ha->{URL}.' '.$ha->{REJECT_REASON}.' '; } } else { if($ha->{STATUS} eq 'A') { $html .= ' '.$ha->{RN}.' '.$ha->{URL}.' '.$url_region.' '.$biz_type.'   '; } elsif($ha->{STATUS} eq 'R') { $html .= ' '.$ha->{RN}.' '.$ha->{URL}.' '.$url_region.'   '.$ha->{REJECT_REASON}.' '; } } } *] [* if($html ne '') { $exthtml = ''; if($status eq 'A') { $exthtml = 'Country B T Email Addr City Ph CP Prd
N - D - I
'; } elsif($status eq 'R') { $exthtml = 'Reject Reason'; } else { $exthtml = 'Country B TReject Reason'; } *] [* $My_full_cnt = $tot_cnt; $tot_cnt=int($tot_cnt*.1)+1 if($dataref->{search_opt} eq 'opt2'); $My_tot_cnt = $tot_cnt; if ($dataref->{page_id} > 0 && $dataref->{page_id} % 10 ==1) { $cnt=($dataref->{page_id} - ($dataref->{page_id} % 10))+1; $tot_cnt=($My_tot_cnt - ($dataref->{page_id}-1)*100) } elsif ($dataref->{page_id} > 10 && $dataref->{page_id} % 10 > 1) { $cnt=($dataref->{page_id} - ($dataref->{page_id} % 10))+1; $tot_cnt=($My_tot_cnt - ($cnt-1)*100) } else { $cnt=1; } if($tot_cnt > 10) { *] [* } *] [+ $exthtml +] [+ $html +]
S. No. URL
[* } else { *] Record Not Found. [* } *]
 
 
 
[+ $dataref->{FOOTER} +]