<?php 
if($_SESSION['nivel'] == 1){
 ?>
  <table width="100%" height="477" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
    <form id="frmCadCliente" name="frmCadCliente" method="post" action="miolo.php?miolo=clientes&acao=insert">
    <tr class="linha-topo">
      <td height="28" colspan="3" align="left" valign="middle" class="titulos-internos">CADASTRO DE CLIENTES</td>
    </tr>
    <tr>
      <td width="198" height="25" align="right" valign="middle"><span class="padrao">Nome da Empresa: </span></td>
      <td width="21" align="right" valign="middle">&nbsp;</td>
      <td width="481" height="25" align="left" valign="middle"><input name="empresa" type="text" id="empresa" size="50" /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">CEP:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="cep" type="text" id="cep" size="25" /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">Logradouro:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="logradouro" type="text" id="logradouro" size="50" /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">N&uacute;mero:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="numero" type="text" id="numero" size="50" /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">Complemento:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="complemento" type="text" id="complemento" size="50" /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">Bairro:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="bairro" type="text" id="bairro" size="25" /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">Cidade:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="cidade" type="text" id="cidade" size="25" /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">Estado:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="uf" type="text" id="uf" size="2" /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">Telefone:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="telefone" type="text" id="telefone" size="25" class="phone"/></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">Telefone:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="telefone01" type="text" id="telefone01" size="25" class="phone" /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">Telefone:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="telefone02" type="text" id="telefone02" size="25" class="phone" /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">Telefone:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="telefone03" type="text" id="telefone03" size="25" class="phone" /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">E-mail principal:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="email" type="text" id="email" size="25" /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">E-mail alternativo:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="email01" type="text" id="email01" size="25" /></td>
    </tr>
    <!-- <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">E-mail 02:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="email02" type="text" id="email02" size="25" /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">E-mail 03:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="email03" type="text" id="email03" size="25" /></td>
    </tr> -->
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">Segmento:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="segmento" type="text" id="segmento" size="25" /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">Qtd. de Funcion&aacute;rios: </span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="qtfunc" type="text" id="qtfunc" size="25" /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">Login:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="login" type="text" id="login" size="25"  /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">Senha:</span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="senha" type="password" id="senha" size="25" /></td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle"><span class="padrao">Confirma Senha: </span></td>
      <td height="25" align="right" valign="middle">&nbsp;</td>
      <td height="25" align="left" valign="middle"><input name="confirma" type="password" id="confirma" size="25" /></td>
    </tr>
    <tr>
      <td height="24" colspan="3" align="center" valign="middle"><input name="gravar" type="submit" id="gravar" value="Gravar" />
        <input name="limpar" type="reset" id="limpar" value="Limpar" /></td>
      </tr>
  </form></table>
<?php 
}
?>