<?
include_once("init.php");
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<title>Sistema de CIS-ERP</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/estilo.css" rel="stylesheet" type="text/css" />
<link href="css/menu.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/validacao.js"></script>
</head>
<body> 
  
  <div id="topo">
  <img src="imagem/logo.gif" align="left" />
  <img src="imagem/bem_vindo.jpg" />
  </div>

<div id="miolo">
<form method="post" action="<?=$url;?>login.php" onSubmit="return valida_login(this);" name="frm">
  	<img src="imagem/login_txt.gif" />
    <br />
    <? if(isset($_GET['erro'])){?>
    <p class="erro">Usuário ou senha incorretos.</p>
    <? } ?>
    <table border="0" align="center">
      <tr>
        <td><img src="imagem/login_login.gif" /></td>
        <td><input type="text" name="usuario" maxlength="50" size="30" /></td>
      </tr>
      <tr>
        <td><img src="imagem/login_senha.gif" /></td>
        <td><input type="password" name="senha" maxlength="50" size="30" /></td>
      </tr>
      <tr>
        <td align="center" colspan="2"><input type="submit" class="login" Value="" /></td>
        </tr>
    </table>
</form>
    <br />
    <br />
    <br />
    <br />
    <img src="imagem/login_foot.gif" />
    <br />
    <br />
    <a href="http://www.cis-erp.com.br" target="_blank" ><img src="imagem/login_logo.gif" /></a>
</div>

</body>
</html>