<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="fundo/estilo.css" rel="stylesheet" type="text/css">
</head>
<script language="javascript">
<!--
function newWindow(mypage,myname,w,h) {
if(screen.width){
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
}else{winl = 0;wint =0;}
if (winl < 0) winl = 0;
if (wint < 0) wint = 0;
var settings = 'height=' + h + ',';
settings += 'width=' + w + ',';
settings += 'top=' + wint + ',';
settings += 'left=' + winl + ',';
settings += 'toolbar=no,location=no,status=no,scrollbars=no,resizable=no';
win = window.open(mypage,myname,settings);
win.window.focus();
}
function esconder(){
document.all.layer_abre.style.visibility = 'hidden';
}
-->
</script>
<body bgcolor="#F7F7F7" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<?
ob_start();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<script>
function cria_janela_cent(horizontal,vertical,nome) {
var res_ver = screen.height
var res_hor = screen.width
var pos_ver_fin = (res_ver - vertical)/2
var pos_hor_fin = (res_hor - horizontal)/2
window.open("lembrar_senha.php",nome,"width="+horizontal+",height="+vertical+",top="+pos_ver_fin+",left="+pos_hor_fin+",status=yes");
}
</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#F4F4F4" class="preto10" style="border: 1px solid #B9C9D6;" align="center">
<tr>
<? session_start();
if(session_is_registered("usuario")) {
?>
<td width="157" style="padding-left:2px;" class="cinza10"><font size="1">
<div align="center">
Seja Bem vindo <b>
<? echo $_SESSION["usuario"]; ?>
<br></font></b><br>
<?
if($_SESSION["admin"] == "Adiministrador" or $_SESSION["admin"] == "Adiministrador Master" ) {
?>
<font size="1"><a href="index.php?pag=admin" class="preto10">Admininistração</a></font>
<?
}
?>
<font size="1"><a href="index.php?pag=trocar_senha" class="preto10">Trocar Senha</a></font>
<font size="1"><a href="logout.php" class="preto10">Logout</a></font></div>
<?
}
if(!session_is_registered("usuario")) {
?>
</td>
</tr>
<tr>
<td>
<div align="center" class="cinza9" size="2">Login <br>
<?
if($_GET['login'] == "falhou") {
echo" Erro: ".$_GET['causa']."";
}
Else {
?> Acesso restrito à usuários.</div>
<? } ?>
<br><Br>
</td>
</tr>
<form action="loga.php" method="post">
<tr>
<td class="preto9"><div align="center">Login :
<input name="login" type="text" class="caixa" maxlength="11" >
Senha :
<input name="senha" type="password" class="caixa" maxlength="11" >
<input name="Submit" type="submit" class="botao" value="Entrar">
<input type="hidden" name="acao" value="2"><br><br>
<a href="javascript:cria_janela_cent(300,200,'pop')" class="preto9">Lembrar Senha </a>
<a href="index.php?pag=cadastro" class="preto9">Cadastra-se </a></div></td>
</tr>
</form>
<? } ?>
</table>
<table width="96%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id=menu width="18%" valign="top">
<table width="137" cellpadding="5" cellspacing="0" bgcolor="#FFFFFF" class="preto9" style="border: 1px solid #B9C9D6;">
<tr>
<td height="30" background="layout/titm_estudante.gif"> </td>
</tr>
<tr>
<td style="border-bottom:1px dotted #BDBEC0; border-top:1px dotted #BDBEC0;"><img src="layout/seta_peq_vermelha.gif" width="4" height="6">
<a href="index.php?pag=cadastro" class="vermelho9">Cadastre-se</a></td>
</tr>
<tr>
<td style="border-bottom:1px dotted #BDBEC0;"><img src="fundo/seta_peq_azul.gif" width="4" height="6">
<a href="index.php" class="preto9">Pagina Principal</a></td>
</tr>
<tr>
<td style="border-bottom:1px dotted #BDBEC0;"><img src="fundo/seta_peq_azul.gif" width="4" height="6">
<a href="index.php?pag=pag_pk" class="preto9">Lista dos Pks</a></td>
</tr>
<tr>
<td style="border-bottom:1px dotted #BDBEC0;"><img src="fundo/seta_peq_azul.gif" width="4" height="6">
<a href="index.php?pag=colocar_lista_negra" class="preto9">Colocar na Lista Negra</a></td>
</tr>
<tr>
<td style="border-bottom:1px dotted #BDBEC0;"><img src="fundo/seta_peq_azul.gif" width="4" height="6">
<a href="vocacional.php" class="preto9">Orientação Vocacional</a></td>
</tr>
<tr>
<td style="border-bottom:1px dotted #BDBEC0;"><img src="fundo/seta_peq_azul.gif" width="4" height="6">
<a href="profissoes.php" class="preto9">Guia de Profissões</a></td>
</tr>
<tr>
<td style="border-bottom:1px dotted #BDBEC0;"><img src="fundo/seta_peq_azul.gif" width="4" height="6">
<a href="noticias.php" class="preto9">Notícias</a></td>
</tr>
<tr>
<td style="border-bottom:1px dotted #BDBEC0;"><img src="fundo/seta_peq_azul.gif" width="4" height="6">
<a href="vestibular.php" class="preto9">Vestibular</a></td>
</tr>
<tr>
<td style="border-bottom:1px dotted #BDBEC0;"><img src="fundo/seta_peq_azul.gif" width="4" height="6">
<a href="lazer_cultura.php" class="preto9">Lazer e Cultura</a></td>
</tr>
<tr>
<td style="border-bottom:1px dotted #BDBEC0;"><img src="fundo/seta_peq_azul.gif" width="4" height="6">
<a href="links.php" class="preto9">Links Interessantes</a></td>
</tr>
<tr>
<td style="border-bottom:1px dotted #BDBEC0;"><img src="fundo/seta_peq_azul.gif" width="4" height="6">
<a href="artigos.php" class="preto9">Artigos Interessantes</a></td>
</tr>
<tr>
<td style="border-bottom:1px dotted #BDBEC0;"><img src="fundo/seta_peq_azul.gif" width="4" height="6">
<a href="#" class="preto9">Depoimentos</a></td>
</tr>
<tr>
<td height="22" align="right" style="padding-right:6px;"></td>
</table>
</td>
<td id=conteudo width="62%">
<table width="484" height="500" cellpadding="5" cellspacing="0" bgcolor="#FFFFFF" class="preto9" style="border: 1px solid #B9C9D6;">
<td>
<center>
<?switch($_GET['pag']){
case 'cadastro': include "cadastro.php"; break;
case 'upload': include "form_upload.php"; break;
case 'galeria': include "galeria.php"; break;
case 'trocar_senha' : include "trocar_senha.php"; break;
case 'colocar_lista_negra' : include "lista_negra.php"; break;
case 'pag_pk': include "pag_pk.php"; break;
case 'admin': include "admin.php"; break;
}?>
</center>
</center>
</td>
</table>
</td>
<td id=direito width="20%" valign="top">
<table width="158" border="0" cellpadding="0" cellspacing="0" bgcolor="#F4F4F4" class="preto10" style="border: 1px solid #B9C9D6;" align="center">
<tr>
<td> <? include "enquete/index.php"; ?> </td>
</tr>
</table>
</td>
</tr>
</table>
<?
ob_end_flush();
?>
- Fórum WMO
- → Viewing Profile: Posts: XANDY
Community Stats
- Group Usuários
- Active Posts 10
- Profile Views 1665
- Member Title Novato no fórum
- Age 38 years old
- Birthday May 31, 1987
-
Sexo
Não informado
0
Neutral
User Tools
Friends
XANDY hasn't added any friends yet.
Latest Visitors
-
Guest
04/11/2007, 00:54
Posts I've Made
In Topic: Paginal Inicial
03/07/2005, 14:09
In Topic: Sistema De Torpedo (azaração)
14/08/2004, 11:39
Acho que facilita um pouco se eu postar os códigos né
então lá vai....
azaracao.php
azaracao_ver.php
azaracao.php
<?
/*
¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
¨ Desenvolvido por: ¨
¨ ¨
¨ Guilherme Saldanha ¨
¨ ¨
¨ www.guisaldanha.com.br ¨
¨ ¨
¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
____________________________________________
Acesse www.guisaldanha.com.br e tire todas
as suas dúvidas ou apenas dê sua sugestão...
*/
?>
<html><head><title>Azaração</title>
<link href="estilo.css" rel="stylesheet" type="text/css"></head>
<body>
<?
if ($acao=="Buscar"){
include "dbconfig.php";
$sql = "select codigo, nome, sexo, idade, atualmente, cidade from azaracao";
$query = @mysql_query($sql);
if (!$query) {
die ("Problemas ao executar o sql !!!"); }
else {
while ($coluna = @mysql_fetch_array($query)) {
$codigo = $coluna["codigo"];
$nome = $coluna["nome"];
$sexo = $coluna["sexo"];
$idade = $coluna["idade"];
$atualmente = $coluna["atualmente"];
$cidade = $coluna["cidade"];
if ($sexo_procurado == "$sexo" && $idade_procurada == "$idade") {
echo "<b>$nome</b><br>
No momento estou $atualmente e moro em $cidade.<br>
<a href=azaracao_ver.php?id=$codigo>+ detalhes</a><br><br>";
}
else { echo "Ninguém foi encontrado com esse perfil"; }
}
}
mysql_close($conn);
}
?>
<form method="post" action="azaracao.php">
<table width="19%" border="0" align="center">
<tr>
<td width="50%"><p>Procuro:</p>
</td>
<td width="50%"><select name="sexo_procurado">
<option value="Homem">Homem</option>
<option value="Mulher">Mulher</option>
</select></td>
</tr>
<tr>
<td>Idade:</td>
<td><select name="idade_procurada">
<option value="11 a 15 anos">11 a 15 anos</option>
<option value="16 a 18 anos">16 a 18 anos</option>
<option value="19 a 21 anos">19 a 21 anos</option>
<option value="22 a 25 anos">22 a 25 anos</option>
<option value="25 a 30 anos">25 a 30 anos</option>
<option value="+ de 30 anos">+ de 30 anos</option>
</select></td>
</tr>
<tr>
<td colspan="2"><div align="center">
<input type="hidden" name="acao" value="Buscar">
<input type="submit" name="Submit" value="Buscar">
</div></td>
</tr>
<tr align="center">
<td colspan="2"><a href="azaracao_cad.php">Cadastre-se</a></td>
</tr>
</table>
</form>
</body>
</html>azaracao_ver.php
<?
/*
¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
¨ Desenvolvido por: ¨
¨ ¨
¨ Guilherme Saldanha ¨
¨ ¨
¨ www.guisaldanha.com.br ¨
¨ ¨
¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
____________________________________________
Acesse www.guisaldanha.com.br e tire todas
as suas dúvidas ou apenas dê sua sugestão...
*/
?>
<center>
<?
include "dbconfig.php";
$sql = "select * from azaracao where codigo=$id";
$query = mysql_query($sql);
while ($coluna = @mysql_fetch_array($query)){
$codigo = $coluna["codigo"];
$nome = $coluna["nome"];
$sexo = $coluna["sexo"];
$idade = $coluna["idade"];
$cidade = $coluna["cidade"];
$email = $coluna["email"];
$signo = $coluna["signo"];
$tipo = $coluna["tipo"];
$olhos = $coluna["olhos"];
$cabelos = $coluna["cabelos"];
$pele = $coluna["pele"];
$atualmente = $coluna["atualmente"];
$fuma = $coluna["fuma"];
$bebe = $coluna["bebe"];
$descricao = $coluna["descricao"];
// agora através do comando echo pertencente ao PHP
// iremos apresentar os dados selecionados, na tela
echo "<link href=estilo.css rel=stylesheet type=text/css>
<table border=0><tr><td>
Nome ou apelido: <b>$nome</b>.<br>
Signo: <b>$signo</b></a>.<br>
Tipo Físico: <b>$tipo</b>.<br>
Olhos: <b>$olhos</b>.<br>
Cabelos: <b>$cabelos</b>.<br>
Cor da Pele: <b>$pele</b>.<br>
Situação Atual: <b>$atualmente</b>.<br>
Fuma? <b>$fuma</b>.<br>
Bebe? <b>$bebe</b>.<br><br>
Descrição <b>$descricao</b>.<br>
</td><td>
<center>Gostou de $nome?<br>
Envie uma mensagem para ele(a)...
<form method=post action=azarar.php>
<input type=hidden name=email_destino value='$email'>
<input type=hidden name=nome_destino value='$nome'>
<input type=submit value=Azarar></center></td></tr></table>
";
}
// e para finalizar, fechamos a conexão com servidor MySQL
mysql_close($conn);
?>
</center>
In Topic: Sistema De Torpedo (azaração)
13/08/2004, 12:59
Ninguém ???
- Fórum WMO
- → Viewing Profile: Posts: XANDY
- Privacy Policy
- Regras ·



Postagens