コード例 #1
0
 $tb .= "document.getElementById('retorno').style.width='98%';" . " \n";
 $tb .= '</script>' . " \n";
 /*$tb .= '<img src="images/fazer_outra_busca_1.png" ';	
 		$tb .= 'onmouseover="this.src=\'images/fazer_outra_busca_0.png\'" ';	
 		$tb .= 'onmouseout="this.src=\'images/fazer_outra_busca_1.png\'" ';	
 		$tb .= 'onclick="';	
 		$tb .= "document.getElementById('".$form."').style.display='block'; ";	
 		$tb .= "document.getElementById('pesquisa').style.height='259px'; ";	
 		$tb .= "document.getElementById('retorno').style.display='none'; ";	
 		$tb .= "document.getElementById('retorno').innerHTML=''; ";	
 		$tb .= "document.getElementById('retorno').style.width='70%'; " . " \n";	
 		$tb .= 'RetornaErro(\''.$form.'\', \''.$msg_error.'\', 0); ';	
 		$tb .= '" ';	
 		$tb .= ' style="cursor:pointer; margin-bottom:8px;" /><br />' . " \n";*/
 echo $tb;
 $lista = array($ConveniadoDAO->QTDPaginaAjax(), $padrao, $pagina, 'carrega_pesquisa.php', $form);
 $paginacao = AjaxPaginacao($lista);
 $tb = '';
 $tb .= '<form action="gera_exporta_todos.php" target="_blank" method="post" id="form2" name="form2">';
 $tb .= '<table width="100%" style="color:#333333; margin-left:10px; margin-top:10px;" border="0" cellspacing="0" cellpadding="2">' . " \n";
 $tb .= '<tr class="tr1">' . " \n";
 $tb .= '<td colspan="11" style="height:40px; border:solid 1px #999; border-bottom:none; font-weight:normal">' . $paginacao;
 $tb .= '<br /><input type="submit" name="exp" id="exp1" value=" Exportar Todos " class="button_busca" style="margin:3px;" />';
 $tb .= '</td>' . " \n";
 $tb .= '</tr>' . " \n";
 $tb .= '<tr class="tr1">' . " \n";
 $tb .= '<td class="td1" style="width:40px; text-align:center;">N.º</td>';
 $tb .= '<td class="td1" style="width:90px;">&nbsp;Ordem</td>' . " \n";
 $tb .= '<td class="td1" style="text-align:center; width:70px;">Data</td>' . " \n";
 $tb .= '<td class="td1">&nbsp;CPF / CNPJ</td>' . " \n";
 $tb .= '<td class="td1">&nbsp;Documento de</td>' . " \n";