Jump to content


Strong Hiagante

Member Since 15/11/2009
Offline Last Active 26/03/2010, 20:33
-----

Posts I've Made

In Topic: Echo File_Get_Contents

22/01/2010, 14:30

Beleza galera, vou dar uma lida em todos ai :)
Muito obrigado pela ajuda, mais uma vez neh o/
Meu curso de PHP começa esse ano, então ano que vem vou estar aqui ajudando pessoas iguais a mim hoje hahaha

In Topic: Tabelas, Rows, Colunas

13/01/2010, 14:17

Era isso mesmo!
Muito Obrigado Parceiro!
Ficou perfeito como eu precisava!
E desculpe o desenho que fiz, compliquei um pouco neh!
Valeu!

In Topic: Pegando Info De Outros Sites

19/12/2009, 16:24

commm certeza amigo, sempre dentro dos direitos autorais :)
Ok então vou pesquisar mais sobre isso!
Muito obrigado

In Topic: Ajuda Com O Query String

08/12/2009, 13:39

Acho que isso passou do meu nivel :S
Mas assim.. minha intenção é fazer algo, aonde eu não precise em todas as paginas para arrumar o layout digamos assim..
Não tem algum tutorial aonde fale sobre algum sistema de scripts com layouts?
No caso, layout separado do resto do code, assim eu só precise arrumar em um local quando for modificar o layout?

In Topic: Ajuda Com O Query String

08/12/2009, 12:50

tem sim.. tem a página inteira o.o
nao sei se estou certo.. eu coloquei isso dentro daonde vai aparecer o conteúdo..
a página index.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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>INICIAL!</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<link href="tibiak.css" rel="stylesheet" type="text/css" />
<!--[if IE]>
<style type="text/css"> 
/* place css fixes for all versions of IE in this conditional comment */
.twoColElsLtHdr #sidebar1 { padding-top: 30px; }
.twoColElsLtHdr #mainContent { zoom: 1; padding-top: 15px; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
<style type="text/css">
<!--
.stylefooter {
	color: #FFFFFF;
	font-weight: bold;
	font-size: 12px;
}
.stylemenu {
	color: #FFFFFF;
	font-weight: bold;
	font-size: 12px;
}
.links {
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	color: #0f3666;
}
.links:hover{
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	color: #3773be;
}
.style1 {
	font-size: 12px;
	font-weight: bold;
	color: #0f3666;
}
.menusubs {
	font-size: 14px;
	font-weight: bold;
	color: #FFFFFF;
}
.style3 {font-size: 12px}
		#menu ul {
		background-image:url(imagens/menu.jpg);
		background-repeat:repeat-x;
			padding:0px;
			margin:0px;
			float: right;
			width: 100%;
			height: 28px;
			background-color:#EDEDED;
			list-style:none;
			font-size: 12px;
		}

		#menu ul li { display: inline; }

		#menu ul li a {
			background-image: url(imagens/menu.jpg);
			background-repeat: repeat-x;
			color: #FFFFFF;
			padding: 7px 10px 7px 10px;
			text-decoration: none;
			height: auto;
			
			border-bottom:0px solid #EDEDED;
			float:left;
			font-weight: bold;
		}

		#menu ul li a:hover {
		background-image: url(imagens/submenu.jpg);
	color: #CCCCCC;
	border-bottom:0px solid #EA0000;
		}
-->
</style>
</head>

<body class="twoColElsLtHdr">

<div id="container">
 <div id="header"><a href="index.html" target="_self"><img src="imagens/headerlogo.jpg" width="750" height="140" border="0" /></a>
 </div>
<div id="menu">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr>
	<td width="190px"><div class="menusubs" id="menusup">&raquo; <span class="stylemenu">Painel de Controle</span></div></td>
	<td width="560px"> <ul>
 <li><a href="index.php">Home</a></li>
 <li><a href="">Sobre Nós</a></li>
 <li><a href="index.php?id=01">Downloads</a></li>
 <li><a href="">Outros</a></li>
 <li><a href="">Demo</a></li>
 <li><a href="">Tutoriais</a></li>
 <li><a href="">Contato</a></li>
 </ul></td>
 </tr>
</table></div>
 <div id="sidebar1">

	<div align="center">
	<table width="150" border="0" align="center" cellpadding="0" cellspacing="0">
 	<tr>
 	<td class="style1">Username:</td>
 	</tr>
 	<tr>
 	<td><input name="textfield" type="text" class="input1" /></td>
 	</tr>
 	<tr>
 	<td class="style1">Password:</td>
 	</tr>
 	<tr>
 	<td><input name="textfield2" type="text" class="input1" /></td>
 	</tr>
 	<tr>
 	<td><table width="142" border="0" cellspacing="0" cellpadding="0">
 	<tr>
 	<td width="100"><p><a href="#" class="links">Ajuda</a>

<a href="#" class="links">Registrar</a></p></td>
 	<td width="50"><input name="submit" type="button" value="Entrar" /></td>
 	</tr>
 	</table></td>
 	</tr>
	</table></div>
	<div class="stylemenu" id="menu1">&raquo; Principal</div>

	<p>The background color on this div will only show for the length of the content. If you'd tent div will always contain more content than the #sidebar1 div. </p>
	<p>Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque eget, cursus et, fermentum ut, sapien. </p>
 <!-- end #sidebar1 --></div>
 <div id="mainContent">
<?php
if (isset($_GET['id'])){
 	switch ($_GET['id']){
 	case 01:
 	include "teste.php";
 	break;
 	case 02:
 	include "programas.php";
 	break;
 	}
}else{
 	include "home.php";
}
?>
	<h1>&nbsp;</h1>
 <!-- end #mainContent --></div>
	<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
 <div id="footer">
	<p align="center" class="stylefooter">Esse texto do footer- Todos os direitos reservados</p>
	<!-- end #footer --></div>
<!-- end #container --></div>
</body>
</html>


mil perdões pela minha falta de experiência..

EDIT:
o tal arquivo "verifica.php"
<?
if ((!$login) && (!$senha)) {
header ("Location: login.php");
exit;
}
?>

IPB Skin By Virteq