echo msg('reg_botao'); ?> " /> </td></TR> </table> <BR><BR> <?php /** * Listar dados cadastrados de registros */ echo '<table width="100%" class="tabela01" cellspacing="0" cellpadding="3" border=1>'; echo '<TR><TH>' . msg('register_unit') . '</TH><TH>' . msg('number') . '</TH><TH>' . msg('data') . '</TH>'; echo '<TH>' . msg('acao'); echo '</TR>'; $regs = $register->dados_lista($protocol, 'P'); for ($r = 0; $r < count($regs); $r++) { $line = $regs[$r]; echo '<TR>'; echo '<TD>' . $line['ru_name']; echo '<TD>' . $line['csru_number']; echo '<TD>' . $line['csru_data']; echo '<TD align="center">'; $onclick = 'onclick="remove_register(' . $line['id_csru'] . ')" '; echo '<img src="img/icone_remove.png" ' . $onclick . '>'; } ?> </table> <script> function remove_register(id) {