Login   Register  
PHP Classes
elePHPant
Icontem

File: templates/cliente_index.htm

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Eric Sakamoto  >  Formularios  >  templates/cliente_index.htm  >  Download  
File: templates/cliente_index.htm
Role: Auxiliary data
Content type: text/plain
Description: example
Class: Formularios
Manipulate database table records using Web forms
Author: By
Last change:
Date: 2006-08-22 11:23
Size: 1,233 bytes
 

Contents

Class file image Download
<form action="{#action#}lista" method="post" name="listagem" id="listagem">
<table width="650"  border="0" cellspacing="0" cellpadding="0">
<tr>
  <td><h3>Lista Clientes </h3></td>
  <td valign="top">&nbsp;</td>
</tr>
<tr>
  <td width="20%"><a href="index.php?id=formulario_cliente">[ Novo ]</a></td>
  <td width="80%" valign="top"><!--{$alfabeto}--></td>
</tr>
</table>
</form>
<table cellpadding="0" cellspacing="0"  border="0" width="650">
<tr>
  <td>Cliente Nome </td>
  <td>Telefone</td>
  <td width="331">Opção</td>
</tr>
{section  name=i loop=$linha_lista}
<tr>
<td width="197">{$linha_lista[i].cli_nome}</td>
<td width="260">{$linha_lista[i].cli_tel}</td>
<td><a href="index.php?id=formulario_cliente&amp;acao=altera&amp;cli_id={$linha_lista[i].cli_id}" title="Alterar">[ Alterar ]</a><a href="index.php?id=formulario_cliente&amp;acao=exclui&amp;cli_id={$linha_lista[i].cli_id}" title="Excluir">[ Excluir ]</a>
</td>
</tr>
{sectionelse}
<tr><td colspan="3" align="center">Nada Encontrado</td></tr>
{/section}
<tr><td colspan="3" align="center">{$pagina}</td></tr>
<tr><td colspan="3" align="center"><input type="button" name="Button" value="Voltar" onclick="history.go(-1)"></td></tr>
</table>