code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
<?php /** * Description of ClienteBonusService * * @author Magno */ class ClienteBonusService { private $clienteBonusDAO; function __construct() { $this->clienteBonusDAO = new ClienteBonusDAO(); } public function salvar($clienteBonus) { try { return $this->clienteBon...
0a1b2c3d4e5
trunk/leilao/service/ClienteBonusService.class.php
PHP
asf20
2,372
<?php /** * Description of PacoteLanceService * * @author Magno */ class PacoteLanceService { private $pacoteLanceDAO; public function __construct() { $this->pacoteLanceDAO = new PacoteLanceDAO(); } public function salvar($pacoteLance) { try { return $this->pacoteLanceD...
0a1b2c3d4e5
trunk/leilao/service/PacoteLanceService.class.php
PHP
asf20
1,708
<?php /** * Description of VotoService * * @author Magno */ class VotoService { private $votoDAO; function __construct() { $this->votoDAO = new VotoDAO(); } public function salvar($voto) { try { return $this->votoDAO->salvar($voto); }catch(Exception $err) { ...
0a1b2c3d4e5
trunk/leilao/service/VotoService.class.php
PHP
asf20
2,294
<?php /** * Description of RespostaService * * @author Magno */ class RespostaService { private $respostaDAO; function __construct() { $this->respostaDAO = new RespostaDAO(); } public function salvar($resposta) { try { return $this->respostaDAO->salvar($resposta); ...
0a1b2c3d4e5
trunk/leilao/service/RespostaService.class.php
PHP
asf20
2,079
<?php /** * Description of InformacaoService * * @author Magno */ class InformacaoService { private $informacaoDAO; function __construct() { $this->informacaoDAO = new InformacaoDAO(); } public function salvar($informacao) { try { return $this->informacaoDAO->salvar(...
0a1b2c3d4e5
trunk/leilao/service/InformacaoService.class.php
PHP
asf20
2,219
<?php /** * Description of BonusService * * @author Magno */ class BonusService { private $bonusDAO; function __construct() { $this->bonusDAO = new BonusDAO(); } public function salvar($bonus) { try { return $this->bonusDAO->salvar($bonus); }catch(Exception $...
0a1b2c3d4e5
trunk/leilao/service/BonusService.class.php
PHP
asf20
1,844
<?php class AdminService { private $adminDAO; public function __construct() { $this->adminDAO = new AdminDAO(); } public function salvar($admin) { $conexao = Conexao::getConexao(); $conexao->beginTransaction(); try { $admin->setSenha(Seguranca::criptogr...
0a1b2c3d4e5
trunk/leilao/service/AdminService.class.php
PHP
asf20
3,133
<?php /** * Description of PessoaService * * @author Magno */ class PessoaService { private $pessoaDAO; function __construct() { $this->pessoaDAO = new PessoaDAO(); } public function salvar($pessoa) { try { return $this->pessoaDAO->salvar($pessoa); }catch(Exc...
0a1b2c3d4e5
trunk/leilao/service/PessoaService.class.php
PHP
asf20
2,153
<?php /** * Description of CategoriaProdutoService * * @author Magno */ class CategoriaProdutoService { private $categoriaProdutoDAO; public function __construct() { $this->categoriaProdutoDAO = new CategoriaProdutoDAO(); } public function salvar($categoriaProduto) { try { ...
0a1b2c3d4e5
trunk/leilao/service/CategoriaProdutoService.class.php
PHP
asf20
1,772
<?php /** * Description of EstadoService * * @author Magno */ class EstadoService { private $estadoDAO; public function __construct() { $this->estadoDAO = new EstadoDAO(); } public function salvar($estado) { try { return $this->estadoDAO->salvar($estado); }catch...
0a1b2c3d4e5
trunk/leilao/service/EstadoService.class.php
PHP
asf20
1,918
<?php /** * Description of MediaService * * @author Magno */ class MediaService { private $mediaDAO; public function __construct() { $this->mediaDAO = new MediaDAO(); } public function salvar($media) { try { return $this->mediaDAO->salvar($media); }catch(Excepti...
0a1b2c3d4e5
trunk/leilao/service/MediaService.class.php
PHP
asf20
1,522
<?php /** * Description of DepoimentoService * * @author Magno */ class DepoimentoService { private $depoimentoDAO; function __construct() { $this->depoimentoDAO = new DepoimentoDAO(); } public function salvar($depoimento) { try { return $this->depoimentoDAO->salvar(...
0a1b2c3d4e5
trunk/leilao/service/DepoimentoService.class.php
PHP
asf20
2,181
<?php /** * Description of TiposGenericosService * * @author Magno */ class TiposGenericosService { function __construct() { } public static function listarTiposInformacao($incluirSelecione = false){ $tipos = array(); if($incluirSelecione) $tipos[''] = " -- Selecione -- ...
0a1b2c3d4e5
trunk/leilao/service/TiposGenericosService.class.php
PHP
asf20
3,238
<?php /** * Description of CompraService * * @author Magno */ class CompraService { private $compraDAO; function __construct() { $this->compraDAO = new CompraDAO(); } public function salvar($compra) { try { return $this->compraDAO->salvar($compra); }catch(Exc...
0a1b2c3d4e5
trunk/leilao/service/CompraService.class.php
PHP
asf20
2,105
<?php /** * Description of MediaProdutoService * * @author Magno */ class MediaProdutoService { private $mediaProdutoDAO; function __construct() { $this->mediaProdutoDAO = new MediaProdutoDAO(); } public function salvar($mediaProduto) { try { return $this->mediaProdu...
0a1b2c3d4e5
trunk/leilao/service/MediaProdutoService.class.php
PHP
asf20
1,791
<?php /** * Description of StatusService * * @author Magno */ class StatusService { private $statusDAO; public function __construct() { $this->statusDAO = new StatusDAO(); } public function salvar($status) { try { return $this->statusDAO->salvar($status); }catch...
0a1b2c3d4e5
trunk/leilao/service/StatusService.class.php
PHP
asf20
1,539
<?php /** * Description of EmailService * * @author Magno */ class EmailService { function __construct() { } #por fazer public function enviarEmail($destino, $conteudo){ return true; } public static function existeEmailArray($email, $array){ for (...
0a1b2c3d4e5
trunk/leilao/service/EmailService.class.php
PHP
asf20
681
<?php /** * Description of InteresseService * * @author Magno */ class InteresseService { private $interesseDAO; function __construct() { $this->interesseDAO = new InteresseDAO(); } public function listarCategoriaProdutoPorCliente($pagina = 0, $usuarioID = -1) { try { ...
0a1b2c3d4e5
trunk/leilao/service/InteresseService.class.php
PHP
asf20
1,099
<?php /** * Description of CidadeService * * @author Magno */ class CidadeService { private $cidadeDAO; function __construct() { $this->cidadeDAO = new CidadeDAO(); } public function salvar($cidade) { try { return $this->cidadeDAO->salvar($cidade); }catch(Exc...
0a1b2c3d4e5
trunk/leilao/service/CidadeService.class.php
PHP
asf20
2,065
<?php /** * Description of ChatService * * @author Magno */ class ChatService { private $chatDAO; function __construct() { $this->chatDAO = new ChatDAO(); } public function salvar($chat) { try { return $this->chatDAO->salvar($chat); }catch(Exception $err) { ...
0a1b2c3d4e5
trunk/leilao/service/ChatService.class.php
PHP
asf20
2,306
<?php /** * Description of EnderecoService * * @author Magno */ class EnderecoService { private $enderecoDAO; function __construct() { $this->enderecoDAO = new EnderecoDAO(); } public function salvar($endereco) { try { return $this->enderecoDAO->salvar($endereco); ...
0a1b2c3d4e5
trunk/leilao/service/EnderecoService.class.php
PHP
asf20
2,080
<?php /** * Description of CronometroService * * @author Magno */ class CronometroService { private $cronometroDAO; public function __construct() { $this->cronometroDAO = new CronometroDAO(); } public function salvar($cronometro) { try { return $this->cronometroDAO->sal...
0a1b2c3d4e5
trunk/leilao/service/CronometroService.class.php
PHP
asf20
1,624
<?php class UsuarioService { private $usuarioDAO; public function __construct() { $this->usuarioDAO = new UsuarioDAO(); } public function salvar($usuario) { try { $usuario->setSenha(Seguranca::criptografaSenha($usuario->getSenha())); if($usuar...
0a1b2c3d4e5
trunk/leilao/service/UsuarioService.class.php
PHP
asf20
3,147
<?php /** * Description of UploadService * * @author Magno */ class UploadService { function __construct() { } public static function salvarArquivoSimples($nome, $destino = ""){ //NOME TEMPORÁRIO NO SERVIDOR $arquivo_temp = @$_FILES[$nome]["tmp_name"]; //NOME DO ARQUIV...
0a1b2c3d4e5
trunk/leilao/service/UploadService.class.php
PHP
asf20
1,337
{include file="layout/head.tpl"} {include file="layout/menu.tpl"} {literal} <script type="text/javascript" src="include/js/funcoes.js"></script> <script type="text/javascript"> $().ready(function() { $("#btBuscar").click(function(){ carregaTabela(1); ...
0a1b2c3d4e5
trunk/leilao/view/resposta/listar.tpl
Smarty
asf20
1,301
<!-- Add the class 'table' --> <table class="table" cellspacing="0" width="100%"> <thead> <tr> <th scope="col">Descrição da Pergunta</th> <th scope="col">Descrição da Resposta</th> <th scope="col" class="table-actions">Ações</th> </tr> </thead> ...
0a1b2c3d4e5
trunk/leilao/view/resposta/tabela.tpl
Smarty
asf20
1,299
<form action="" method="post" id="tab-stats" class="form"> <fieldset class="grey-bg collapsed"> <legend><a href="#"> Buscar</a></legend> <div> <div class="float-left gutter-right"> {form_input name="descricao" label="Descrição"} ...
0a1b2c3d4e5
trunk/leilao/view/resposta/formBusca.tpl
Smarty
asf20
760
{msg obj=$msg2|default:null type="small"} <!-- Add the class 'table' --> <table class="table" cellspacing="0" width="100%"> <thead> <tr> <th scope="col">Descrição da Resposta</th> <th scope="col" class="table-actions">Ações</th> </tr> </thead> <tbody> ...
0a1b2c3d4e5
trunk/leilao/view/resposta/tabelaSimples.tpl
Smarty
asf20
920
{include file="layout/head.tpl"} {include file="layout/menu.tpl"} {literal} <script type="text/javascript" src="include/js/jquery.validate.min.js"></script> <script type="text/javascript"> $().ready(function() { $("#frmCadResposta").validate({ rules: { descricao: { ...
0a1b2c3d4e5
trunk/leilao/view/resposta/cadastro.tpl
Smarty
asf20
3,423
{literal} <script type="text/javascript"> $().ready(function() { //mascara $("#cepEnd").mask("99999-999",{placeholder:"_"}); }); </script> {/literal} {form_input name="cepEnd" label="Cep" title="ex: 64000-000" required=true extra="onblur=\"getEndereco();\"" value="{$cepEnd...
0a1b2c3d4e5
trunk/leilao/view/endereco/formSimples.tpl
Smarty
asf20
1,111
{include file="layout/head.tpl"} {include file="layout/menu.tpl"} {literal} <script type="text/javascript" src="include/js/funcoes.js"></script> <script type="text/javascript"> $().ready(function() { $("#btBuscar").click(function(){ carregaTabela(1); ...
0a1b2c3d4e5
trunk/leilao/view/pacoteLance/listar.tpl
Smarty
asf20
1,477
{form_input name="quantidade" label="Quantidade" required=true value="{$quantidade|default:''}"} {form_input name="valor" label="Valor" required=true}
0a1b2c3d4e5
trunk/leilao/view/pacoteLance/form.tpl
Smarty
asf20
153
<!-- Add the class 'table' --> <table class="table" cellspacing="0" width="100%"> <thead> <tr> <th scope="col">Email</th> <th scope="col">Login</th> <th scope="col">Imagem</th> <th scope="col">Data de Criação</th> <th scope="col">Situação...
0a1b2c3d4e5
trunk/leilao/view/pacoteLance/tabela.tpl
Smarty
asf20
1,549
{include file="layout/head.tpl"} {include file="layout/menu.tpl"} {literal} <script type="text/javascript" src="include/js/jquery.validate.min.js"></script> <script type="text/javascript"> $().ready(function() { var usuarioID = $("#usuarioID").val(); $("#frmCadPacoteL...
0a1b2c3d4e5
trunk/leilao/view/pacoteLance/cadastro.tpl
Smarty
asf20
3,018
<!DOCTYPE html> <html lang="en"> <head> <title>System error</title> <meta charset="utf-8"> <meta name="robots" content="none"> {literal} <!-- Mobile metas --> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <!-- Global stylesheets --> <l...
0a1b2c3d4e5
trunk/leilao/view/erros/error.tpl
Smarty
asf20
7,243
<!DOCTYPE html> <html lang="en"> <head> <title>Constellation Admin Skin</title> <meta charset="utf-8"> <!-- Mobile metas --> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <!-- Global stylesheets --> <link href="../css/reset.css" rel="st...
0a1b2c3d4e5
trunk/leilao/view/erros/401.tpl
Smarty
asf20
2,173
<!DOCTYPE html> <html lang="en"> <head> <title>Constellation Admin Skin</title> <meta charset="utf-8"> <!-- Mobile metas --> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <!-- Global stylesheets --> <link href="../css/reset.css" rel="st...
0a1b2c3d4e5
trunk/leilao/view/erros/400.tpl
Smarty
asf20
2,168
<!DOCTYPE html> <html lang="en"> <head> <title>System error</title> <meta charset="utf-8"> <meta name="robots" content="none"> <!-- Mobile metas --> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <!-- Global stylesheets --> <link href=...
0a1b2c3d4e5
trunk/leilao/view/erros/sendReport.tpl
Smarty
asf20
2,908
<!DOCTYPE html> <html lang="en"> <head> <title>Constellation Admin Skin</title> <meta charset="utf-8"> <!-- Mobile metas --> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <!-- Global stylesheets --> <link href="../css/reset.css" rel="st...
0a1b2c3d4e5
trunk/leilao/view/erros/500.tpl
Smarty
asf20
2,189
<!DOCTYPE html> <html lang="en"> <head> <title>Constellation Admin Skin</title> <meta charset="utf-8"> <!-- Mobile metas --> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <!-- Global stylesheets --> <link href="../css/reset.css" rel="st...
0a1b2c3d4e5
trunk/leilao/view/erros/403.tpl
Smarty
asf20
2,174
<!DOCTYPE html> <html lang="en"> <head> <title>Constellation Admin Skin</title> <meta charset="utf-8"> <!-- Mobile metas --> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <!-- Global stylesheets --> <link href="../css/reset.css" rel="st...
0a1b2c3d4e5
trunk/leilao/view/erros/503.tpl
Smarty
asf20
2,188
<!DOCTYPE html> <html lang="en"> <head> <title>Constellation Admin Skin</title> <meta charset="utf-8"> <!-- Mobile metas --> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <!-- Global stylesheets --> <link href="../css/reset.css" rel="st...
0a1b2c3d4e5
trunk/leilao/view/erros/404.tpl
Smarty
asf20
2,283
{include file="layout/head.tpl"} {include file="layout/menu.tpl"} {literal} <script type="text/javascript" src="include/js/funcoes.js"></script> <script type="text/javascript"> $().ready(function() { $("#btBuscar").click(function(){ carregaTabela(1); ...
0a1b2c3d4e5
trunk/leilao/view/admin/listar.tpl
Smarty
asf20
1,477
{include file="layout/head.tpl"} {include file="layout/menu.tpl"} {literal} <script type="text/javascript" src="include/js/jquery.validate.min.js"></script> <script type="text/javascript"> $().ready(function() { var usuarioID = $("#usuarioID").val(); $("#frmCadAdmin")...
0a1b2c3d4e5
trunk/leilao/view/admin/cadastro.tpl
Smarty
asf20
2,999
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> {literal} <script type="text/javascript"> $().ready(function() { $("#estadoID").change(function(){ estadoID = $("#estadoID").val(); if(estadoID > 0){ ...
0a1b2c3d4e5
trunk/leilao/view/estado/combo.tpl
Smarty
asf20
764
{form_input name="media" label="Imagem" title="Imagem" type="file"} <label for="media" class="error" style="display: none;">* Forneça um arquivo com a extensão válida</label>
0a1b2c3d4e5
trunk/leilao/view/media/formImagem.tpl
Smarty
asf20
178
{form_input name="media" label="Media" title="Imagem ou Vídeo" type="file"}
0a1b2c3d4e5
trunk/leilao/view/media/formSimples.tpl
Smarty
asf20
76
{include file="layout/head.tpl"} {include file="layout/menu.tpl"} <table class="table" cellspacing="0" width="100%"> <thead> <tr> <!-- This is a special cell for loading statuses - see below for more --> <th class="black-cell"><span class="loading"></span></th> ...
0a1b2c3d4e5
trunk/leilao/view/bonus/listar.tpl
Smarty
asf20
2,178
<!-- Add the class 'table' --> <table class="table" cellspacing="0" width="100%"> <thead> <tr> <th scope="col">Email</th> <th scope="col">Login</th> <th scope="col">Imagem</th> <th scope="col">Data de Criação</th> <th scope="col">Situação...
0a1b2c3d4e5
trunk/leilao/view/bonus/tabela.tpl
Smarty
asf20
1,483
{include file="layout/head.tpl"} {include file="layout/menu.tpl"} {literal} <script type="text/javascript" src="include/js/jquery.validate.min.js"></script> <script type="text/javascript"> $().ready(function() { $("#frmCadBonus").validate({ rules: { descr...
0a1b2c3d4e5
trunk/leilao/view/bonus/cadastro.tpl
Smarty
asf20
1,816
{literal} <script type="text/javascript"> $().ready(function() { //mascara $("#cpf").mask("999.999.999-99",{placeholder:"_"}); $("#dataNascimento").mask("99/99/9999",{placeholder:"_"}); $("#telefone").mask("(99)9999-9999",{placeholder:"_"}); }); </script> {/liter...
0a1b2c3d4e5
trunk/leilao/view/pessoa/formSimples.tpl
Smarty
asf20
1,456
{include file="layout/head.tpl"} {include file="layout/menu.tpl"} {literal} <script type="text/javascript" src="include/js/funcoes.js"></script> <script type="text/javascript"> $().ready(function() { $("#btBuscar").click(function(){ carregaTabela(1); ...
0a1b2c3d4e5
trunk/leilao/view/convite/listar.tpl
Smarty
asf20
1,435
<!-- Add the class 'table' --> <table class="table" cellspacing="0" width="100%"> <thead> <tr> <th scope="col">Cliente Origem</th> <th scope="col">Email Destino</th> <th scope="col">Mensagem</th> <th scope="col">Cliente Destino</th> ...
0a1b2c3d4e5
trunk/leilao/view/convite/tabela.tpl
Smarty
asf20
1,558
<form action="" method="post" id="tab-stats" class="form"> <fieldset class="grey-bg collapsed"> <legend><a href="#"> Buscar</a></legend> <div> <div class="float-left gutter-right"> {form_input name="email" label="Email"} ...
0a1b2c3d4e5
trunk/leilao/view/convite/formBusca.tpl
Smarty
asf20
1,006
{include file="layout/head.tpl"} {include file="layout/menu.tpl"} {literal} <script type="text/javascript" src="include/js/jquery.validate.min.js"></script> <script type="text/javascript" src="include/js/funcoes.js"></script> <script type="text/javascript"> $().ready(function() { $("#frmCadConvite"...
0a1b2c3d4e5
trunk/leilao/view/convite/cadastro.tpl
Smarty
asf20
2,449
{html_options name=cidadeID id=cidadeID options=$cidades|default:array() selected=$cidadeID|default:'' disabled="true"}
0a1b2c3d4e5
trunk/leilao/view/cidade/combo.tpl
Smarty
asf20
119
{if isset($numPaginas) && $numPaginas > 1} <ul class="controls-buttons" style="text-align: center"> {$anterior = $pagina-1} {if $anterior <= 0} {$anterior = 1} {/if} <li> <a class="with-tip" title="Anterior" href="javas...
0a1b2c3d4e5
trunk/leilao/view/include/paginacao.tpl
Smarty
asf20
1,653
{form_input name="email" label="Email" required=true title="ex: mail@mail.com" value="{$email|default:''}"} {form_input name="login" label="Login" required=true value="{$login|default:''}"} {form_input name="senha" label="Senha" required=true type="password"} {form_input name="r_senha" label="Confirmação de Senha" ...
0a1b2c3d4e5
trunk/leilao/view/usuario/formSimples.tpl
Smarty
asf20
352
<!-- Add the class 'table' --> <table class="table" cellspacing="0" width="100%"> <thead> <tr> <th scope="col">Email</th> <th scope="col">Login</th> <th scope="col">Imagem</th> <th scope="col">Data de Criação</th> <th scope="col">Situação...
0a1b2c3d4e5
trunk/leilao/view/usuario/tabela.tpl
Smarty
asf20
1,549
<form action="" method="post" id="tab-stats" class="form"> <fieldset class="grey-bg collapsed"> <legend><a href="#"> Buscar</a></legend> <div> <div class="float-left gutter-right"> {form_input name="email" label="Email"} ...
0a1b2c3d4e5
trunk/leilao/view/usuario/formBusca.tpl
Smarty
asf20
1,138
{include file="layout/head.tpl"} {include file="layout/menu.tpl"} {literal} <script type="text/javascript" src="include/js/funcoes.js"></script> <script type="text/javascript"> $().ready(function() { $("#btBuscar").click(function(){ carregaTabela(1); ...
0a1b2c3d4e5
trunk/leilao/view/cliente/listar.tpl
Smarty
asf20
1,490
<!-- Add the class 'table' --> <table class="table" cellspacing="0" width="100%"> <thead> <tr> <th scope="col">Nome</th> <th scope="col">Email</th> <th scope="col">Login</th> <th scope="col">Número de Lances</th> <th scope="co...
0a1b2c3d4e5
trunk/leilao/view/cliente/tabela.tpl
Smarty
asf20
1,832
{include file="layout/head.tpl"} {include file="layout/menu.tpl"} {literal} <script type="text/javascript" src="include/js/jquery.validate.min.js"></script> <script type="text/javascript" src="include/js/funcoes.js"></script> <script type="text/javascript" src="include/js/jquery.maskedinput.js" language="javas...
0a1b2c3d4e5
trunk/leilao/view/cliente/cadastro.tpl
Smarty
asf20
5,629
{include file="layout/head.tpl"} {include file="layout/menu.tpl"} {literal} <script type="text/javascript" src="include/js/funcoes.js"></script> <script type="text/javascript"> $().ready(function() { $("#btBuscar").click(function(){ carregaTabela(1); ...
0a1b2c3d4e5
trunk/leilao/view/enquete/listar.tpl
Smarty
asf20
1,465
<!-- Add the class 'table' --> <table class="table" cellspacing="0" width="100%"> <thead> <tr> <th scope="col">Descrição</th> <th scope="col">Data de Inicio</th> <th scope="col">Data Final</th> <th scope="col">Situação</th> <th scope="col...
0a1b2c3d4e5
trunk/leilao/view/enquete/tabela.tpl
Smarty
asf20
1,829
<form action="" method="post" id="tab-stats" class="form"> <fieldset class="grey-bg collapsed"> <legend><a href="#"> Buscar</a></legend> <div> <div class="float-left gutter-right"> {form_input name="inicio" label="Inicio"} ...
0a1b2c3d4e5
trunk/leilao/view/enquete/formBusca.tpl
Smarty
asf20
1,150
{include file="layout/head.tpl"} {include file="layout/menu.tpl"} {literal} <script type="text/javascript" src="include/js/jquery.validate.min.js"></script> <script type="text/javascript"> $().ready(function() { $("#frmCadEnquete").validate({ rules: { descricao: { ...
0a1b2c3d4e5
trunk/leilao/view/enquete/cadastro.tpl
Smarty
asf20
1,726
<?php #if (!function_exists('__autoload')) { function loadClass($class) { if (strpos($class,'DAO')) { require_once("dao/".$class.".class.php"); }else if (strpos($class,'Service')) { require_once("service/".$class.".class.php"); }else if (strpos($class,'Bean...
0a1b2c3d4e5
trunk/leilao/autoload.php
PHP
asf20
892
<?php /** * Description of LeilaoDAO * * @author Magno */ class LeilaoDAO { private $conexao; private $cronometroDAO; private $mediaDAO; private $tipoLeilaoDAO; private $statusDAO; private $adminDAO; private $produtoDAO; private $lancesDAO; public function __construct() { ...
0a1b2c3d4e5
trunk/leilao/dao/LeilaoDAO.class.php
PHP
asf20
8,204
<?php /** * Description of LanceDAO * * @author Magno */ class LanceDAO { private $conexao; private $leilaoDAO; private $clienteDAO; public function __construct() { $this->conexao = Conexao::getConexao(); $this->leilaoDAO = new LeilaoDAO(); $this->clienteDAO = new ClienteDA...
0a1b2c3d4e5
trunk/leilao/dao/LanceDAO.class.php
PHP
asf20
5,684
<?php /** * Description of PessoaDAO * * @author Magno */ class EnderecoDAO { private $conexao; public function __construct() { $this->conexao = Conexao::getConexao(); } public function salvar($endereco) { try { if($this->existe($endereco->getPessoa()->getCliente()->g...
0a1b2c3d4e5
trunk/leilao/dao/EnderecoDAO.class.php
PHP
asf20
4,661
<?php /** * Description of ClienteDAO * * @author Magno */ class ClienteDAO extends UsuarioDAO{ protected $conexao; protected $mediaDAO; protected $statusDAO; private $pessoaDAO; private $informacaoDAO; private $depoimentoDAO; private $compraDAO; private $conviteDAO; private $c...
0a1b2c3d4e5
trunk/leilao/dao/ClienteDAO.class.php
PHP
asf20
7,691
<?php /** * Description of StatusDAO * * @author Magno */ class StatusDAO { private $conexao; public function __construct() { $this->conexao = Conexao::getConexao(); } public function salvar($status) { try { if($status->getStatusID() != null && $status->getStatusID() ...
0a1b2c3d4e5
trunk/leilao/dao/StatusDAO.class.php
PHP
asf20
3,514
<?php /** * Description of LoginDAO * * @author Magno */ class LoginDAO { private $conexao; private $usuarioDAO; public function __construct() { $this->conexao = Conexao::getConexao(); $this->usuarioDAO = new UsuarioDAO(); } public function salvar($login) { try { ...
0a1b2c3d4e5
trunk/leilao/dao/LoginDAO.class.php
PHP
asf20
4,523
<?php /** * Description of PessoaDAO * * @author Magno */ class BonusDAO { private $conexao; public function __construct() { $this->conexao = Conexao::getConexao(); } public function salvar($bonus) { try { if($bonus->getBonusID() != null && $bonus->getBonusID() > 0) {...
0a1b2c3d4e5
trunk/leilao/dao/BonusDAO.class.php
PHP
asf20
4,203
<?php /** * Description of TipoLeilaoDAO * * @author Magno */ class TipoLeilaoDAO { private $conexao; public function __construct() { $this->conexao = Conexao::getConexao(); } public function salvar($tipoLeilao) { try { if($tipoLeilao->getTipoLeilaoID() != null && $ti...
0a1b2c3d4e5
trunk/leilao/dao/TipoLeilaoDAO.class.php
PHP
asf20
3,730
<?php /** * Description of ConviteDAO * * @author Magno */ class ConviteDAO { private $conexao; private $statusDAO; private $clienteDAO; public function __construct() { $this->conexao = Conexao::getConexao(); $this->statusDAO = new StatusDAO(); $this->clienteDAO = new Clien...
0a1b2c3d4e5
trunk/leilao/dao/ConviteDAO.class.php
PHP
asf20
6,508
<?php /** * Description of MediaDAO * * @author Magno */ class MediaDAO { private $conexao; public function __construct() { $this->conexao = Conexao::getConexao(); } public function salvar($media) { try { if($media->getMediaID() != null && $media->getMediaID()...
0a1b2c3d4e5
trunk/leilao/dao/MediaDAO.class.php
PHP
asf20
3,418
<?php /** * Description of PessoaDAO * * @author Magno */ class PessoaDAO { private $conexao; private $enderecoDAO; public function __construct() { $this->conexao = Conexao::getConexao(); $this->enderecoDAO = new EnderecoDAO(); } public function salvar($pessoa) { try ...
0a1b2c3d4e5
trunk/leilao/dao/PessoaDAO.class.php
PHP
asf20
5,025
<?php /** * Description of CategoriaProdutoDAO * * @author Magno */ class RespostaDAO { private $conexao; public function __construct() { $this->conexao = Conexao::getConexao(); } public function salvar($resposta) { try { $enqueteDAO = new EnqueteDAO(); i...
0a1b2c3d4e5
trunk/leilao/dao/RespostaDAO.class.php
PHP
asf20
5,463
<?php /** * Description of ProdutoDAO * * @author Magno */ class ProdutoDAO { private $conexao; private $leilaoDAO; private $mediaProdutoDAO; private $catProDAO; private $statusDAO; public function __construct() { $this->conexao = Conexao::getConexao(); $this->leilaoDAO = n...
0a1b2c3d4e5
trunk/leilao/dao/ProdutoDAO.class.php
PHP
asf20
7,248
<?php /** * Description of CronometroDAO * * @author Magno */ class CronometroDAO { private $conexao; public function __construct() { $this->conexao = Conexao::getConexao(); } public function salvar($cronometro) { try { if($cronometro->getCronometroID() != null && $cr...
0a1b2c3d4e5
trunk/leilao/dao/CronometroDAO.class.php
PHP
asf20
3,660
<?php /** * Description of ChatDAO * * @author Magno */ class ChatDAO { private $conexao; private $leilaoDAO; private $clienteDAO; public function __construct() { $this->conexao = Conexao::getConexao(); $this->leilaoDAO = new LeilaoDAO(); $this->clienteDAO = new ClienteDAO(...
0a1b2c3d4e5
trunk/leilao/dao/ChatDAO.class.php
PHP
asf20
5,600
<?php /** * Description of InteresseDAO * * @author Magno */ class InteresseDAO { private $conexao; private $categoriaProdutoDAO; private $clienteDAO; public function __construct() { $this->conexao = Conexao::getConexao(); $this->categoriaProdutoDAO = new CategoriaProdutoDAO(); ...
0a1b2c3d4e5
trunk/leilao/dao/InteresseDAO.class.php
PHP
asf20
4,590
<?php /** * Description of CompraDAO * * @author Magno */ class CompraDAO { private $conexao; private $statusDAO; private $clienteDAO; private $pacoteLanceDAO; public function __construct() { $this->conexao = Conexao::getConexao(); $this->statusDAO = new StatusDAO(); $t...
0a1b2c3d4e5
trunk/leilao/dao/CompraDAO.class.php
PHP
asf20
6,355
<?php /** * Description of InformacaoDAO * * @author Magno */ class InformacaoDAO { private $conexao; private $statusDAO; private $clienteDAO; public function __construct() { $this->conexao = Conexao::getConexao(); $this->statusDAO = new StatusDAO(); $this->clienteDAO = new...
0a1b2c3d4e5
trunk/leilao/dao/InformacaoDAO.class.php
PHP
asf20
6,061
<?php /** * Description of AdminDAO * * @author Magno */ class AdminDAO extends UsuarioDAO{ protected $conexao; protected $mediaDAO; protected $statusDAO; private $join = " SELECT * FROM admin a INNER JOIN usuario u ON a.usuarioID = u.usuarioID "; public function __construct() { pa...
0a1b2c3d4e5
trunk/leilao/dao/AdminDAO.class.php
PHP
asf20
3,879
<?php /** * Description of CategoriaProdutoDAO * * @author Magno */ class CidadeDAO { private $conexao; public function __construct() { $this->conexao = Conexao::getConexao(); } public function salvar($cidade) { try { $estadoDAO = new EstadoDAO(); ...
0a1b2c3d4e5
trunk/leilao/dao/CidadeDAO.class.php
PHP
asf20
5,188
<?php /** * Description of MediaProdutoDAO * * @author Magno */ class MediaProdutoDAO { private $conexao; public function __construct() { $this->conexao = Conexao::getConexao(); } public function salvar($mediaProduto) { try { if($mediaProduto->getMediaProd...
0a1b2c3d4e5
trunk/leilao/dao/MediaProdutoDAO.class.php
PHP
asf20
4,515
<?php /** * Description of ClienteBonusDAO * * @author Magno */ class ClienteBonusDAO { private $conexao; private $bonusDAO; private $clienteDAO; public function __construct() { $this->conexao = Conexao::getConexao(); $this->bonusDAO = new BonusDAO(); $this->clienteDAO...
0a1b2c3d4e5
trunk/leilao/dao/ClienteBonusDAO.class.php
PHP
asf20
6,289
<?php /** * Description of UsuarioDAO * * @author Magno */ class UsuarioDAO { protected $conexao; protected $mediaDAO; protected $statusDAO; public function __construct() { $this->conexao = Conexao::getConexao(); $this->mediaDAO = new MediaDAO(); $this->statu...
0a1b2c3d4e5
trunk/leilao/dao/UsuarioDAO.class.php
PHP
asf20
6,605
<?php /** * Description of PessoaDAO * * @author Magno */ class EstadoDAO { private $conexao; public function __construct() { $this->conexao = Conexao::getConexao(); } public function salvar($estado) { try { if($estado->getEstadoID() != null && $estad...
0a1b2c3d4e5
trunk/leilao/dao/EstadoDAO.class.php
PHP
asf20
4,379
<?php /** * Description of PessoaDAO * * @author Magno */ class PacoteLanceDAO { private $conexao; public function __construct() { $this->conexao = Conexao::getConexao(); } public function salvar($pacoteLance) { try { if($pacoteLance->getPacoteLanceID() != null && $pa...
0a1b2c3d4e5
trunk/leilao/dao/PacoteLanceDAO.class.php
PHP
asf20
3,877
<?php /** * Description of DepoimentoDAO * * @author Magno */ class DepoimentoDAO { private $conexao; private $statusDAO; private $clienteDAO; private $mediaDAO; public function __construct() { $this->conexao = Conexao::getConexao(); $this->statusDAO = new StatusDAO(); ...
0a1b2c3d4e5
trunk/leilao/dao/DepoimentoDAO.class.php
PHP
asf20
6,474
<?php /** * Description of CategoriaProdutoDAO * * @author Magno */ class CategoriaProdutoDAO { private $conexao; public function __construct() { $this->conexao = Conexao::getConexao(); } public function salvar($categoriaProduto) { try { if($categoriaProduto->getCateg...
0a1b2c3d4e5
trunk/leilao/dao/CategoriaProdutoDAO.class.php
PHP
asf20
4,042
<?php /** * Description of EnqueteDAO * * @author Magno */ class EnqueteDAO { private $conexao; private $statusDAO; public function __construct() { $this->conexao = Conexao::getConexao(); $this->statusDAO = new StatusDAO(); } public function salvar($enquete) { try { ...
0a1b2c3d4e5
trunk/leilao/dao/EnqueteDAO.class.php
PHP
asf20
5,376
<?php /** * Description of VotoDAO * * @author Magno */ class VotoDAO { private $conexao; private $enqueteDAO; private $clienteDAO; private $respostaDAO; public function __construct() { $this->conexao = Conexao::getConexao(); $this->enqueteDAO = new EnqueteDAO(); $this-...
0a1b2c3d4e5
trunk/leilao/dao/VotoDAO.class.php
PHP
asf20
6,332
<?php ?>
0a1b2c3d4e5
trunk/leilao/index2.php
PHP
asf20
9
/** * The accessibleList plugin provides two transformations to improve lists display: * - truncate list to a given length, and add a 'more' button to reveal the whole list * - paginate long lists so they are easier to read * Each effect can be used without the other, or simultaneously */ (function($) { ...
0a1b2c3d4e5
trunk/leilao/include/js/jquery.accessibleList.js
JavaScript
asf20
7,733
<?php /** * jsmin.php - PHP implementation of Douglas Crockford's JSMin. * * This is pretty much a direct port of jsmin.c to PHP with just a few * PHP-specific performance tweaks. Also, whereas jsmin.c reads from stdin and * outputs to stdout, this library accepts a string as input and returns another * string a...
0a1b2c3d4e5
trunk/leilao/include/js/jsmin.php
PHP
asf20
6,944