[* $dataref = $param[0]; $count = $param[1]; $start = $param[2]; $totalRecords = $param[3]; $pg = $param[4]; $search = $param[5]; $from_date = $param[6]; $to_date = $param[7]; $searchType = $param[8]; $jsontext = $param[9]; $escmode = 0; *]
Add Balance
Transaction History
Search From
-
[* $data = ''; $counter = $start; if(scalar(@{$dataref->{DATAHASH}}) > 0) { foreach $h(@{$dataref->{DATAHASH}}) { $data .= ''; $counter = $counter + 1; } } *] [+$data+]
S. No. Activity Details Activity Date Amount Used (US$) Balance Amount (US$)
'.$counter.' '; if($h->{FLAG} == 1) { $data .= 'Purchased 1 Lead
('.$h->{ETO_OFR_TITLE}.')'; } else { $data .= ''.$h->{TDETAIL}.''; } $usedamount = $h->{CREDITUSED} / 5; $balanceamount = $h->{BALANCE} / 5; $data .= '
'.$h->{TDATE}.' '.$usedamount.' '.$balanceamount.'
[* $data = ''; $end = $start + 20; $searchurl = '/cgi-bin/controller.mp/purchase/'; if($search != 0) { $searchurl = '/cgi-bin/controller.mp/purchase/search/' } elsif($searchType != 0) { $searchurl = '/cgi-bin/controller.mp/purchase/Credit/' if($searchType == 1); $searchurl = '/cgi-bin/controller.mp/purchase/Leads/' if($searchType == 2); } if($start == 1 && $end < $totalRecords) { $pg_next = $pg; $data = ''; } elsif($start > 1 && $end < $totalRecords) { $pg_next = $pg + 1; $pg_prev = $pg - 1; $data = ''; } elsif($end > $totalRecords && $start != 1) { $pg_prev = $pg - 1; $data = ''; } *] [+$data+]
  Next Next
Previous Previous   Next Next
Previous Previous