?>
</option>
				<?php 
}
?>
			</select>
		<br/>
		<label>Situacao*</label>
		<?php 
$situacoes = SituacaoProduto::situacoes();
?>
			<br/><select id="<?php 
echo Proxy::encrypt('situacao');
?>
" name="<?php 
echo Proxy::encrypt('situacao');
?>
">
				<?php 
foreach ($situacoes as $situacao) {
    ?>
				<option value="<?php 
    echo $situacao;
    ?>
"><?php 
    echo $situacao;
    ?>
</option>
				<?php 
}
?>
예제 #2
0
 /**
  * 
  * Método que monta uma Page
  * 
  * @param Page $page Page a ser montada na tela.
  */
 public static function mountPage($page)
 {
     $args = Proxy::mountForm();
     if ($page) {
         $access = ACL::checkProfile($page->getPermissoes());
         if ($access) {
             $page->content($args);
             Proxy::mountPopup();
             Proxy::mountAlert();
         } else {
             Proxy::acessoRestrito();
         }
         unset($_GET[Proxy::encrypt('p')]);
     } else {
         Proxy::paginaInexistente();
     }
 }
		
		<label class="wh400">Assunto: <span>*</span> </label>
		<input class="wh376" id="<?php 
echo Proxy::encrypt('telefone');
?>
" name="<?php 
echo Proxy::encrypt('assunto');
?>
" type="text"/>
		
		<label class="wh400">Mensagem: <span>*</span> </label>
		<textarea id="<?php 
echo Proxy::encrypt('mensagem');
?>
" name="<?php 
echo Proxy::encrypt('mensagem');
?>
" class="wh376" rows="" cols=""></textarea>
		
		<?php 
include "view/components/Captcha.php";
?>
	
		<input type="submit" class='btn btn-primary btn-large' value="Confimar"/>
		
	</form>
</div>
</div>
<?php 
include 'Parceiros_content.php';
include 'rodape.php';
			
			<?php 
$id = $args->get('id_cliente');
$fachada = Fachada::getInstance();
$reservas = $fachada->cadastroReserva()->buscarReservaPorIdCliente($id);
foreach ($reservas as $reserva) {
    ?>
				
			<tbody>
				<tr>
					<td><?php 
    echo $reserva->getData();
    ?>
</td>
					<td align="center"><a href="<?php 
    echo Proxy::page(DetalharReservaPage::$NM_PAGINA, array(Proxy::encrypt('id_reserva') => $reserva->getId(), Proxy::encrypt('data') => $reserva->getData()));
    ?>
">Detalhar</a></td>
				</tr>
			</tbody>
			
		<?php 
}
?>
		</table>
		
	</div>
	<br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br />
	<br /> <br />
	<div class="clr"></div>
    ?>
</td>
                    <td align="center"><?php 
    echo $empreendimento->getCnpj();
    ?>
</td>
                    <td align="center"><?php 
    echo $empreendimento->getSegmento();
    ?>
</td>
                    <td align="center"><?php 
    echo $empreendimento->getTelefoneComercial();
    ?>
</td>
                    <td align="center"><a href="<?php 
    echo Proxy::page(DetalharEmpreendimentoPage::$NM_PAGINA, array(Proxy::encrypt('id') => $empreendimento->getId()));
    ?>
">>></a></td>
                </tr>
            <?php 
}
?>
    
                
            </tbody>
        </table>
        </div>
		
		
		
	</div>
			</thead>
			
			<?php 
$fachada = Fachada::getInstance();
$clientes = $fachada->cadastroUsuario()->listarClientesComReservas();
foreach ($clientes as $cliente) {
    ?>
				
			<tbody>
				<tr>
					<td><?php 
    echo $cliente->getNome();
    ?>
</td>
					<td align="center"><a href="<?php 
    echo Proxy::page(ListarReservaPage::$NM_PAGINA, array(Proxy::encrypt('id_cliente') => $cliente->getId()));
    ?>
">Ver Reservas</a></td>
				</tr>
			</tbody>
			
		<?php 
}
?>
		</table>
		
	</div>
	<br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br />
	<br /> <br />
	<div class="clr"></div>
예제 #7
0
			
			<li><a href=""><?php 
    echo $genero;
    ?>
 <img alt=""
					src="template/css/img/seta_down.png" height="6" />
			</a>
				<ul class="sub_menu">
					<?php 
    $categorias = Categoria::categorias($genero);
    ?>
					<?php 
    foreach ($categorias as $categoria) {
        ?>
						<li><a href="<?php 
        echo Proxy::page(ListagemProdutosPage::$NM_PAGINA, array(Proxy::encrypt('categoria') => $categoria, Proxy::encrypt('genero') => $genero));
        ?>
"> &rsaquo; <?php 
        echo $categoria;
        ?>
</a> </li>
					<?php 
    }
    ?>
				</ul>
			</li>

			<li>|</li>
			
		<?php 
}
echo $mensagem->getEmpresa();
?>
</div>
					<div>Telefone:<?php 
echo $mensagem->getTelefone();
?>
</div>
					<div>Assunto:<?php 
echo $mensagem->getAssunto();
?>
</div>
					<div>Mensagem:<?php 
echo $mensagem->getMensagem();
?>
</div>
					<br>
					<a href="<?php 
echo Proxy::page(ListagemMensagemPage::$NM_PAGINA);
?>
">Listagem</a>
					<a href="<?php 
echo Proxy::action(RemoverMensagemAction::$NM_ACTION, array(Proxy::encrypt('id') => $mensagem->getId()));
?>
">Excluir</a><br>
				</div>
		</div>
    
</div>

<?php 
include 'rodape.php';
예제 #9
0
 public function get($key)
 {
     return $this->hash[Proxy::encrypt($key)];
 }
    ?>
</td>
                    <td align="center"><?php 
    echo $pessoa->getCpf();
    ?>
</td>
                    <td align="center"><?php 
    echo $pessoa->getEmail();
    ?>
</td>
                    <td align="center"><?php 
    echo $pessoa->getTelefoneResidencial();
    ?>
</td>
                    <td align="center"><a href="<?php 
    echo Proxy::page(DetalharPessoaPage::$NM_PAGINA, array(Proxy::encrypt('id') => $pessoa->getId()));
    ?>
">>></a></td>
                </tr>
            <?php 
}
?>
    
                
            </tbody>
        </table>
        </div>
		
		
		
	</div>
?>
' name="<?php 
echo Proxy::encrypt('senha');
?>
" type="password"  onfocus='ajuda(this, "ajuda_<?php 
echo Proxy::encrypt('senha');
?>
");'/>
	<input class="wh176" id="<?php 
echo Proxy::encrypt('rsenha');
?>
"  value='<?php 
echo $usuario->getSenha();
?>
' name="<?php 
echo Proxy::encrypt('rsenha');
?>
" type="password"  onfocus='ajuda(this, "ajuda_<?php 
echo Proxy::encrypt('rsenha');
?>
");'/>
	<br/>
	<br/>
	
	<input type="submit" id="botao_atualizar" class='btn btn-primary btn-large' value="Atualizar" />

</form>

<div class="clr"></div>

<br/>
예제 #12
0
		</div>
	</div>
	<div class="module-box">
		<h2 class="blue">Seguimentos</h2>
		<div class="module-content">
			<ul class="none">
				<li><strong> &bull; <a href="<?php 
echo Proxy::page(EmpreendimentosSegmentosPage::$NM_PAGINA, array(Proxy::encrypt('segmento') => 'Comércio'));
?>
">Comércio</a></strong></li>
				<li><strong> &bull; <a href="<?php 
echo Proxy::page(EmpreendimentosSegmentosPage::$NM_PAGINA, array(Proxy::encrypt('segmento') => 'Tecnologia'));
?>
">Tecnologia</a></strong></li>
				<li><strong> &bull; <a href="<?php 
echo Proxy::page(EmpreendimentosSegmentosPage::$NM_PAGINA, array(Proxy::encrypt('segmento') => 'Indústria'));
?>
">Indústria</a></strong></li>
				<li><strong> &bull; <a href="<?php 
echo Proxy::page(EmpreendimentosSegmentosPage::$NM_PAGINA, array(Proxy::encrypt('segmento') => 'Serviços'));
?>
">Serviços</a></strong></li>
				<li><strong> &bull; <a href="<?php 
echo Proxy::page(EmpreendimentosSegmentosPage::$NM_PAGINA, array(Proxy::encrypt('segmento') => 'Saúde'));
?>
">Saúde</a></strong></li>
			</ul>
		</div>
	</div>
</div>
예제 #13
0
'   onsubmit="return validarLoginForm();" target="_top">
	<label>Email:</label>
	<label>Senha:</label>
	<input id="<?php 
echo Proxy::encrypt('login_email');
?>
" name="<?php 
echo Proxy::encrypt('email');
?>
" type="text"  onfocus='ajuda(this, "ajuda_<?php 
echo Proxy::encrypt('login_email');
?>
");'/>
	<input id="<?php 
echo Proxy::encrypt('login_senha');
?>
" name="<?php 
echo Proxy::encrypt('senha');
?>
" type="password"  onfocus='ajuda(this, "ajuda_<?php 
echo Proxy::encrypt('login_senha');
?>
");'/>
	<button type="submit" class='btn btn-primary btn-large'>Entrar</button>
	<br/>
	<a href="<?php 
echo Proxy::page(CadastroUsuarioPage::$NM_PAGINA);
?>
">Cadastre-se</a><br>
	<!--a class='transition' href='#'>Esqueceu sua senha?</a>-->
</form>
?>
">
		     <option selected="selected" value="Empresário Individual">Empresário Individual</option>
		     <option selected="selected" value="Sociedade Empresarial Limitada">Sociedade Empresarial Limitada</option>
		     <option selected="selected" value="Empresa Individual de Responsabilidade Limitada">Empresa Individual de Responsabilidade Limitada</option>
		</select>
		
		<label class="wh376">E-mail: <span>*</span> </label>
		<input class="wh376" id="<?php 
echo Proxy::encrypt('email');
?>
" name="<?php 
echo Proxy::encrypt('email');
?>
" type="text"  onfocus='ajuda(this, "ajuda_<?php 
echo Proxy::encrypt('email');
?>
");'/>
		
		<?php 
include "view/components/Captcha.php";
?>
	
		<input type="submit" class='btn btn-primary btn-large' value="Confimar"/>
		
	</form>
</div>
</div>
<?php 
include 'Parceiros_content.php';
include 'rodape.php';
예제 #15
0
				<param name="quality" value="high" />
				<param name="bgcolor" value="#ffffff" />
			</object>

			<br />

			<!-- pass a session id to the query string of the script to prevent ie caching -->
			<a tabindex="-1" style="border-style: none; position: relative; float: right; margin-left: 10px; margin-top: -15px;" href="#"
				title="Refresh Image"
				onclick="document.getElementById('siimage').src = 'lib/securimage/securimage_show.php?sid=' + Math.random(); return false"><img
				src="lib/securimage/images/refresh.gif" alt="Reload Image"
				border="0" onclick="this.blur()" align="bottom" /> </a>
		
		</div>

		<div style="clear: both"></div>
		<!-- NOTE: the "name" attribute is "code" so that $img->check($_POST['code']) will check the submitted form field -->
		
		<label style="margin-top: ">Digite as letras abaixo:</label>
		<input type="text" id="code" style="width: 175px;"
			name="<?php 
echo Proxy::encrypt('code');
?>
" size="12" maxlength="3" /><br />
		
	</div>

</div>
<div style="clear: both"></div>
		
    ?>
	
				
			<tbody>
				<tr>
					<td><?php 
    echo $produto->getDescricao();
    ?>
</td>
					<td align="center">1</td>
					<td align="center"><?php 
    echo $produto->getValor();
    ?>
</td>
					<td align="center"> <a href="<?php 
    echo Proxy::action(RemoverProdutoCarrinhoAction::$NM_ACTION, array(Proxy::encrypt('id_produto') => $produto->getId()));
    ?>
"> <img alt="" src="template/css/img/remove.png"/> </a> </td>
				</tr>
			</tbody>
			
		<?php 
}
?>
		</table>
		
		<?php 
if ($produtos) {
    ?>
					<a class="link_confirmar" href="<?php 
    echo Proxy::action(FecharReservasAction::$NM_ACTION);
		
			<div class="content wh92pc mrgL30 content_destaques">
			
			<h3>Promoções</h3>
			
			<ul class="lista_produtos" id="lista_produtos">
				
				<?php 
$fachada = Fachada::getInstance();
$produtos = $fachada->cadastroProduto()->buscarProdutoPorSituacaoLimitada(SituacaoProduto::$_PROMOCAO, 5);
foreach ($produtos as $produto) {
    ?>
				
				<li>
					<a href="<?php 
    echo Proxy::page(ProdutoPage::$NM_PAGINA, array(Proxy::encrypt('id') => $produto->getId()));
    ?>
">  
					<?php 
    $fotos = $produto->getFotos();
    ?>
					<img alt="" src="<?php 
    echo Constants::$_FOTOS . $fotos[0]->getNomeArquivo();
    ?>
" width="150" height="185"/>
					<span class="descricao_prod"><?php 
    echo $produto->getDescricao();
    ?>
</span><br/>
					<span class="preco_prod">R$ <?php 
    echo $produto->getValor();
        echo $categoria;
        ?>
</option>
			<?php 
    }
}
?>
			</select>
		<br/>
		<label>Foto*</label>
			<input class="<?php 
echo Proxy::encrypt('foto');
?>
" name="<?php 
echo Proxy::encrypt('foto');
?>
" type="file" onfocus='ajuda(this, "ajuda_<?php 
echo Proxy::encrypt('foto');
?>
");'/>
	
	<button type="submit" class='btn btn-primary btn-large'><?php 
Messages::printStr(Messages::$PT_br, Messages::$STR_ENVIAR);
?>
 &raquo;</button>
</form>
<?php 
include 'view/rodape.php';
?>
</div>
    ?>
                <tr>
                    <td align="center"><?php 
    echo $mensagem->getNome();
    ?>
</td>
                    <td align="center"><?php 
    echo $mensagem->getEmpresa();
    ?>
</td>
                    <td align="center"><?php 
    echo $mensagem->getAssunto();
    ?>
</td>
                    <td align="center"><a href="<?php 
    echo Proxy::page(DetalharMensagemPage::$NM_PAGINA, array(Proxy::encrypt('id') => $mensagem->getId()));
    ?>
">>></a></td>
                </tr>
            <?php 
}
?>
    
                
            </tbody>
        </table>
        </div>
		
		
		
	</div>
		<input class="wh376" id="<?php 
echo Proxy::encrypt('email');
?>
" name="<?php 
echo Proxy::encrypt('email');
?>
" type="text"  onfocus='ajuda(this, "ajuda_<?php 
echo Proxy::encrypt('email');
?>
");'/>
		
		<label class="info">.: Empreendimento :.</label>
		
		<label class="wh376">Segmento: <span>*</span> </label>
		<select class="wh400" name="<?php 
echo Proxy::encrypt('segmento');
?>
">
		     <option selected="selected" value="Comércio">Comércio</option>
		     <option selected="selected" value="Tecnologia">Tecnologia</option>
		     <option selected="selected" value="Indústria">Indústria</option>
		     <option selected="selected" value="Serviços">Serviços</option>
		     <option selected="selected" value="Saúde">Saúde</option>
		</select>
		
		<?php 
include "view/components/Captcha.php";
?>
	
		<input type="submit" class='btn btn-primary btn-large' value="Confimar"/>