$tabela .= '<td height="24" style="border-bottom:solid 1px #0071B6; border-right:solid 1px #0071B6; border-left:none;"'; $tabela .= '> ' . trim(substr($arr->nome, 0, 20)) . '</td>' . "\n"; $tabela .= '<td style="border-bottom:solid 1px #0071B6; border-right:solid 1px #0071B6; border-left:none; text-transform:lowercase;"'; $tabela .= '> ' . $arr->email . '</td>' . "\n"; $tabela .= '<td style="border-bottom:solid 1px #0071B6; border-right:solid 1px #0071B6; border-left:none;"'; $tabela .= '>' . $res['nome'] . '</td>' . "\n"; $tabela .= '<td style="border-bottom:solid 1px #0071B6; border-right:solid 1px #0071B6; border-left:none;" align="center"'; $tabela .= '>' . $arr->estado_interesse . '</td>' . "\n"; $tabela .= '<td style="border-bottom:solid 1px #0071B6; border-right:solid 1px #0071B6; border-left:none;"'; $tabela .= '> ' . trim(substr($arr->cidade_interesse, 0, 20)) . '</td>' . "\n"; $tabela .= '<td style="border-bottom:solid 1px #0071B6; text-align:center"> ' . $data[2] . '/' . $data[1] . '/' . $data[0] . ' </td>'; $tabela .= '</tr>' . "\n"; $teste = $cor == '#FFF' ? $cor = '#EAF8FF' : ($cor = '#FFF'); $i++; } $e = $dt->somaListaInteressados2($acao, $id_status, $uf, $cidade, $id_status, $nome, $usuario); if (fmod($e->total, $total_registro) == 0) { $total_pagina = (int) $e->total / $total_registro; } else { $tot = explode('.', $e->total / $total_registro); $total_pagina = (int) $tot[0] + 1; } $tabela .= '<tr>' . "\n"; $tabela .= '<td colspan="' . $colspan . '" height="35" align="center" valign="middle" style=" background-color:#0071B6; color:#FFFFFF;">'; if ($total_pagina == 1) { if ($e->total > 1) { $tabela .= 'Foram encontrados <span style="text-decoration:underline; font-weight:bold">' . $e->total . '</span> registros.<br />' . "\n"; } else { $tabela .= 'Foi encontrado <span style="text-decoration:underline; font-weight:bold">01</span> registro.<br />' . "\n"; } } else {