<?php Sessao::temPermissao('gerusuario'); include_once 'app/view/backend/menuusuario.php'; $usuario = new Usuario(Conf::pegCnxPadrao()); $usuario->setIdUsuario(isset($_GET['id']) ? (int) $_GET['id'] : 0); $usuario->setIdPessoaProprietario($_SESSION['idPessoaProprietario']); $usuario->preencheObj(); ?> <div class="main-content"> <div class="breadcrumbs" id="breadcrumbs"> <script type="text/javascript"> try { ace.settings.check('breadcrumbs', 'fixed') } catch (e) { } </script> <ul class="breadcrumb"> <li> <i class="ace-icon fa fa-home home-icon"></i> <a href="sistema.php">Início</a> </li> <li class="active">Permissões do usuário</li> </ul> </div> <div class="page-content"> <div class="page-header"> <!--<h1 style="text-align: center; font-weight: bold">-->
</h1> </div><!-- /.page-header --> <div class="row"> <div class="col-xs-12"> <!-- PAGE CONTENT BEGINS --> <div class="row"> <div class="col-xs-12"><br /> <input type="text" id="txtConsulta" class="input-large" placeholder="Pesquisar anúncio" /> <button type="button" id="btnConsultar" class="btn btn-info btn-sm"> <i class="ace-icon fa fa-search icon-on-right bigger-110"></i><strong>Pesquisar</strong> </button> <?php if (Sessao::temPermissao('anunciocad', false)) { ?> <button type="button" id="btnNovo" name="btnNovo" class="btn btn-success btn-sm"> <i class="ace-icon fa fa-pencil-square-o bigger-110"></i><strong>Novo anúncio</strong> </button> <?php } ?> <div id="registros" style="text-align: right; font-weight: bold; padding: 1% 1% 1% 1%; display: none">0 registro(s) encontrado(s).</div> <table id="tblAnuncio" class="table table-striped table-bordered table-hover" style="display: none"> <thead> <tr> <th>#</th> <th>Código</th>
<label> <input type="radio" id="nao" class="ace" name="temAnuncio" <?php echo !$pTerceiro ? 'checked="checked"' : ''; ?> value="N" /> <span class="lbl"><strong> Não</strong></span> </label> </div> </fieldset> </div> </div> </div> <div id="divButoes"><br /> <?php if (Sessao::temPermissao('imovellista', false)) { ?> <button class="btn btn-info" type="button" id="btnLista" name="btnLista"> <i class="ace-icon fa fa-arrow-left icon-on-right bigger-125"></i> <strong>Imóveis cadastrados</strong> </button> <?php } ?> <button class="btn btn-light" type="button" id="btnNovo" name="btnNovo"> <i class="ace-icon fa fa-pencil-square-o bigger-125"></i> <strong>Novo</strong> </button> <button class="btn btn-success" type="button" id="btnSalvar" name="btnSalvar">
<?php include_once 'app/view/backend/menupadrao.php'; ?> <div class="main-content"> <?php if (Sessao::temPermissao('contaslista')) { ?> <div class="breadcrumbs" id="breadcrumbs"> <script type="text/javascript"> try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){} </script> <ul class="breadcrumb"> <li> <i class="ace-icon fa fa-home home-icon"></i> <a href="sistema.php">Início</a> </li> <li class="active">Contas Bancárias</li> </ul> </div> <div class="page-content"> <div class="page-header"> <!--<h1 style="text-align: center; font-weight: bold">--> <h1> Contas bancárias
<div id="obs" class="tab-pane"> <fieldset> <legend><strong>Observações:</strong></legend> <textarea id="observacao" name="observacao" rows="6" cols="60" ><?php echo $colaborador->getObservacao(); ?> </textarea> </fieldset> </div> </div> </div> <div id="divButoes"><br /> <?php if (Sessao::temPermissao('colaboradorlista', false)) { ?> <button class="btn btn-info" type="button" id="btnLista" name="btnLista"> <i class="ace-icon fa fa-arrow-left icon-on-right bigger-125"></i> <strong>Colaboradores cadastrados</strong> </button> <?php } ?> <!--<button type="button" id="btnNovo" class="button medium blue" name="btnNovo"><strong>Novo</strong></button> --> <button class="btn btn-light" type="button" id="btnNovo" name="btnNovo"> <i class="ace-icon fa fa-pencil-square-o bigger-125"></i> <strong>Novo</strong> </button>
<?php if (Sessao::temPermissao('imovellista')) { ?> <form action="javascript: void(0)" id="frmConImovel" class="formpadrao"> <fieldset><h1 style="text-align: center;"><strong>Imóveis cadastrados</strong></h1><hr /><br /> <p><strong>Consultar imóvel:</strong><br /> <input type="text" id="txtConsulta" name="txtConsulta" size="70" /> <button id="btnConsultar" class="button medium white" name="btnConsultar"><strong>Consultar</strong></button> <button id="btnNovo" class="button medium blue" name="btnNovo"><strong>Novo imóvel</strong></button></p><br /> <div id="dados"> <div id="registros" style="text-align: right;">0 registro(s) encontrado(s).</div> <table id="tblImoveis" class="tabelapadrao ajustar"> <thead> <tr> <th>#</th> <th>Código</th> <th>Categoria</th> <th>Descrição</th> <th>Cadastro</th> <th>Ações</th> </tr> </thead> <tbody> </tbody> </table> </div> <div class="carregando"><img src="images/ajax-loader.gif"><br />carregando...</div> </fieldset> <div id="fundo"> <div id="janela" class="grid_12">
<?php include_once 'app/view/backend/menupadrao.php'; ?> <div class="main-content"> <?php if (Sessao::temPermissao('planocontaslista')) { ?> <div class="breadcrumbs" id="breadcrumbs"> <script type="text/javascript"> try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){} </script> <ul class="breadcrumb"> <li> <i class="ace-icon fa fa-home home-icon"></i> <a href="sistema.php">Início</a> </li> <li class="active">Plano de contas</li> </ul> </div> <div class="page-content"> <div class="page-header"> <!--<h1 style="text-align: center; font-weight: bold">--> <h1> Plano de contas cadastrados
<?php include_once 'app/view/backend/menuusuario.php'; ?> <div class="main-content"> <?php if (Sessao::temPermissao('usuariogrupolista')) { ?> <div class="breadcrumbs" id="breadcrumbs"> <script type="text/javascript"> try { ace.settings.check('breadcrumbs', 'fixed') } catch (e) { } </script> <ul class="breadcrumb"> <li> <i class="ace-icon fa fa-home home-icon"></i> <a href="sistema.php">Início</a> </li> <li class="active">Grupos de usuários</li> </ul> </div> <div class="page-content"> <div class="page-header"> <!--<h1 style="text-align: center; font-weight: bold">--> <h1>
<?php include_once 'app/view/backend/menufinanceiro.php'; ?> <div class="main-content"> <?php if (Sessao::temPermissao('contasbancarias')) { ?> <div class="breadcrumbs" id="breadcrumbs"> <script type="text/javascript"> try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){} </script> <ul class="breadcrumb"> <li> <i class="ace-icon fa fa-home home-icon"></i> <a href="sistema.php">Início</a> </li> <li class="active">Situação das contas bancárias</li> </ul> </div> <div class="page-content"> <div class="page-header"> <!--<h1 style="text-align: center; font-weight: bold">--> <h1> Situação das contas bancárias
if (Sessao::temPermissao('home_icon_sair', true)) { ?> <li> <a href="administracao.php"> <img src="images/sair2.png" title="Sair do sistema" /> <span><strong>Sair</strong></span> </a> </li> <?php } ?> </ul> </section> </div> <?php if (Sessao::temPermissao('home_painel', true)) { ?> <div style="position: relative; float: right; width: 48%;"> <br /> <table class="tabelapadrao"> <thead> <tr> <th colspan="4" style="text-align: center;"><strong>-- Painel de informações --</strong></th> </tr> </thead> <tbody> <tr> <td><strong> - Visitas ao portal hoje</strong></td> <td>0</td> <td><strong></strong></td> <td></td>
<!-- PAGE CONTENT BEGINS --> <div class="row"> <div class="col-xs-12"><br /> <?php echo Utilitarios::exibirMensagem(); ?> <input type="text" id="txtConsulta" class="input-large" placeholder="Pesquisar forma de pagamento" /> <button type="button" id="btnConsultar" class="btn btn-info btn-sm"> <i class="ace-icon fa fa-search icon-on-right bigger-110"></i><strong>Pesquisar</strong> </button> <?php if (Sessao::temPermissao('formapagtocad', false)) { ?> <button type="button" id="btnNovo" name="btnNovo" class="btn btn-success btn-sm"> <i class="ace-icon fa fa-pencil-square-o bigger-110"></i><strong>Nova forma de pagamento</strong> </button> <?php } ?> <div id="registros" style="text-align: right; font-weight: bold; padding: 1% 1% 1% 1%; display: none">0 registro(s) encontrado(s).</div> <table id="tblFormaPagto" class="table table-striped table-bordered table-hover" style="display: none"> <thead> <tr> <th>#</th> <th>Descrição</th> <th>Ações</th>
<a href="sistema.php?action=imoveiscaptacao"> <i class="menu-icon fa fa-caret-right"></i> Diversos </a> <b class="arrow"></b> </li> </ul> </li> <?php } ?> <?php if (Sessao::temPermissao('ferramentas', false)) { ?> <li class=""> <a href="#" class="dropdown-toggle"> <i class="menu-icon fa fa-cogs"></i> <span class="menu-text"> Ferramentas </span> <b class="arrow fa fa-angle-down"></b> </a> <b class="arrow"></b> <ul class="submenu"> <li class=""> <a href="sistema.php?action=imoveiscaptacao"> <i class="menu-icon fa fa-caret-right"></i>
<?php include_once 'app/view/backend/menufinanceiro.php'; ?> <div class="main-content"> <?php if (Sessao::temPermissao('contasaldo')) { ?> <?php $c = new ContaBanco(Conf::pegCnxPadrao()); $contas = $c->getSaldo(); $total = 0; ?> <div class="breadcrumbs" id="breadcrumbs"> <script type="text/javascript"> try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){} </script> <ul class="breadcrumb"> <li> <i class="ace-icon fa fa-home home-icon"></i> <a href="sistema.php">Início</a> </li> <li class="active">Saldo das contas</li> </ul> </div>
</h1> </div><!-- /.page-header --> <div class="row"> <div class="col-xs-12"> <!-- PAGE CONTENT BEGINS --> <div class="row"> <div class="col-xs-12"><br /> <input type="text" id="txtConsulta" class="input-large" placeholder="Pesquisar imóvel" /> <button type="button" id="btnConsultar" class="btn btn-info btn-sm"> <i class="ace-icon fa fa-search icon-on-right bigger-110"></i><strong>Pesquisar</strong> </button> <?php if (Sessao::temPermissao('imovelcad', false)) { ?> <button type="button" id="btnNovo" name="btnNovo" class="btn btn-success btn-sm"> <i class="ace-icon fa fa-pencil-square-o bigger-110"></i><strong>Novo imóvel</strong> </button> <?php } ?> <div id="registros" style="text-align: right; font-weight: bold; padding: 1% 1% 1% 1%; display: none">0 registro(s) encontrado(s).</div> <!--<table id="tblCredenciados" class="table table-striped table-bordered table-hover" style="display: none">--> <table id="tblImoveis" class="table table-striped table-bordered table-hover" style="display: none"> <thead> <tr> <th>#</th>
<div class="col-xs-12"> <!-- PAGE CONTENT BEGINS --> <div class="row"> <div class="col-xs-12"><br /> <?php echo Utilitarios::exibirMensagem(); ?> <input type="text" id="txtConsulta" class="input-large" placeholder="Pesquisar banco" /> <button type="button" id="btnConsultar" class="btn btn-info btn-sm"> <i class="ace-icon fa fa-search icon-on-right bigger-110"></i><strong>Pesquisar</strong> </button> <?php if (Sessao::temPermissao('bancoscad', false)) { ?> <button type="button" id="btnNovo" name="btnNovo" class="btn btn-success btn-sm"> <i class="ace-icon fa fa-pencil-square-o bigger-110"></i><strong>Novo banco</strong> </button> <?php } ?> <div id="registros" style="text-align: right; font-weight: bold; padding: 1% 1% 1% 1%; display: none">0 registro(s) encontrado(s).</div> <table id="tblBancos" class="table table-striped table-bordered table-hover" style="display: none"> <thead> <tr> <th>#</th> <th>Código</th> <th>Banco</th>
</div> <div id="outrasinfo" class="tab-pane"> <fieldset> <legend><strong>Outras informações:</strong></legend> <textarea id="observacao" name="observacao" rows="6" cols="60" ><?php echo $cliente->getObservacao(); ?> </textarea> </fieldset> </div> </div> </div> <div id="divButoes"><br /> <?php if (Sessao::temPermissao('clientelista', false)) { ?> <button class="btn btn-info" type="button" id="btnLista" name="btnLista"> <i class="ace-icon fa fa-arrow-left icon-on-right bigger-125"></i> <strong>Clientes cadastrados</strong> </button> <?php } ?> <button class="btn btn-light" type="button" id="btnNovo" name="btnNovo"> <i class="ace-icon fa fa-pencil-square-o bigger-125"></i> <strong>Novo</strong> </button> <button class="btn btn-success" type="button" id="btnSalvar" name="btnSalvar">
<?php include_once 'app/view/backend/menupadrao.php'; Sessao::eSuperAdm(); ?> <div class="main-content"> <?php if (Sessao::temPermissao('cad_credenciados')) { ?> <div class="breadcrumbs" id="breadcrumbs"> <script type="text/javascript"> try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){} </script> <ul class="breadcrumb"> <li> <i class="ace-icon fa fa-home home-icon"></i> <a href="sistema.php">Início</a> </li> <li class="active">Credenciados</li> </ul> </div> <div class="page-content"> <div class="page-header"> <!--<h1 style="text-align: center; font-weight: bold">--> <h1>
</h1> </div><!-- /.page-header --> <div class="row"> <div class="col-xs-12"> <!-- PAGE CONTENT BEGINS --> <div class="row"> <div class="col-xs-12"><br /> <input type="text" id="txtConsulta" class="input-large" placeholder="Pesquisar cliente" /> <button type="button" id="btnConsultar" class="btn btn-info btn-sm"> <i class="ace-icon fa fa-search icon-on-right bigger-110"></i><strong>Pesquisar</strong> </button> <?php if (Sessao::temPermissao('clientecad', false)) { ?> <button type="button" id="btnNovo" name="btnNovo" class="btn btn-success btn-sm"> <i class="ace-icon fa fa-pencil-square-o bigger-110"></i><strong>Novo cliente</strong> </button> <?php } ?> <div id="registros" style="text-align: right; font-weight: bold; padding: 1% 1% 1% 1%; display: none">0 registro(s) encontrado(s).</div> <table id="tblClientes" class="table table-striped table-bordered table-hover" style="display: none"> <thead> <tr> <th>#</th> <th>Natureza</th>
<?php Sessao::temPermissao('anunciocad'); include_once 'app/view/backend/menupadrao.php'; $anuncio = new Anuncio(Conf::pegCnxPadrao()); $titulo = 'Anunciar'; $temImagens = false; if (isset($_GET['idanuncio'])) { $titulo = 'Editar anuncio'; $anuncio->set_idPessoaProprietario($_SESSION['idPessoaProprietario']); $anuncio->setIdAnuncio($_GET['idanuncio']); $anuncio->preecheObjeto(); $temImagens = sizeof($anuncio->get_imagens()) > 0; } $imovel = new Imovel(Conf::pegCnxPadrao()); $imovel->setIdPessoaProprietario($_SESSION['idPessoaProprietario']); $imovel->setIdImovel($anuncio->getIdImovel()); $imoveis = $imovel->getSemAnuncio(); ?> <div class="main-content"> <div class="breadcrumbs" id="breadcrumbs"> <script type="text/javascript"> try { ace.settings.check('breadcrumbs', 'fixed') } catch (e) { } </script> <ul class="breadcrumb">
</h1> </div><!-- /.page-header --> <div class="row"> <div class="col-xs-12"> <!-- PAGE CONTENT BEGINS --> <div class="row"> <div class="col-xs-12"><br /> <input type="text" id="txtConsulta" class="input-large" placeholder="Pesquisar colaborador" /> <button type="button" id="btnConsultar" class="btn btn-info btn-sm"> <i class="ace-icon fa fa-search icon-on-right bigger-110"></i><strong>Pesquisar</strong> </button> <?php if (Sessao::temPermissao('colaboradorcad', false)) { ?> <button type="button" id="btnNovo" name="btnNovo" class="btn btn-success btn-sm"> <i class="ace-icon fa fa-pencil-square-o bigger-110"></i><strong>Novo colaborador</strong> </button> <?php } ?> <div id="registros" style="text-align: right; font-weight: bold; padding: 1% 1% 1% 1%; display: none">0 registro(s) encontrado(s).</div> <table id="tblColaboradores" class="table table-striped table-bordered table-hover" style="display: none"> <thead> <tr> <th>#</th> <th>CPF</th>
</div> </div> <div id="lblDescricao" class="form-group"> <label for="descricao" class="col-sm-2 control-label no-padding-right" style="font-weight: bold;">Nome do Banco:</label> <div class="col-sm-9"> <input type="text" id="descricao" class="col-xs-10 col-sm-5 obrigatorio" name="descricao" value="<?php echo $banco->getDescricao(); ?> " maxlength="200" title="Nome do banco"/> </div> </div> <hr /> <div id="divButoes"><br /> <?php if (Sessao::temPermissao('bancoslista', false)) { ?> <button class="btn btn-info" type="button" id="btnLista" name="btnLista"> <i class="ace-icon fa fa-arrow-left icon-on-right bigger-125"></i> <strong>Bancos cadastrados</strong> </button> <?php } ?> <button class="btn btn-light" type="button" id="btnNovo" name="btnNovo"> <i class="ace-icon fa fa-pencil-square-o bigger-125"></i> <strong>Novo</strong> </button> <button class="btn btn-success" type="button" id="btnSalvar" name="btnSalvar">
<?php include_once 'app/view/backend/menufinanceiro.php'; ?> <div class="main-content"> <?php if (Sessao::temPermissao('contareceber')) { ?> <div class="breadcrumbs" id="breadcrumbs"> <script type="text/javascript"> try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){} </script> <ul class="breadcrumb"> <li> <i class="ace-icon fa fa-home home-icon"></i> <a href="sistema.php">Início</a> </li> <li class="active">Contas a receber</li> </ul> </div> <div class="page-content"> <div class="page-header"> <!--<h1 style="text-align: center; font-weight: bold">--> <h1> Contas a receber