hello, I installed ubuntu to test my platform in the same, only after you have installed lampp, got errors on windows that did not, I think I need help.
They advised me to update the libraries of php, but do not know it in xampp.
<?php include('mysql.php');
session_start();
if ($_GET['page'] == 'login_make')
{
include('login_make.php');
}
else if ($_GET['page'] == 'logout')
{
include('logout.php');
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link rel=“shortcut icon” href=“favicon.ico“ type="image/x-icon"/>
<meta name="Description" content="NexuS! O melhor de uma comunidade está aqui!" />
<meta name="Keywords" content="nexus,nexusystem,comunity,comunidade,sistema,ligação" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Distribution" content="Global" />
<meta name="Author" content="NexuS Team --> admin.nexusystem@sapo.pt" />
<meta name="Robots" content="index,follow" />
<link rel="stylesheet" href="images/Envision.css" type="text/css" />
<title>NexuSystem</title>
</head>
<body>
<!-- wrap starts here -->
<div id="wrap">
<!--header -->
<div id="header">
<h1 id="logo-text"><a href="index.php">System</a></h1>
<p id="slogan">Community of NexuS</p>
<div id="header-links">
<p>
<a href="index.php">Inicio</a> |
<?php if ($_SESSION['id'] == '') {?><a href="index.php?page=register">Registar</a> | <?php } ?>
<a href="index.php">Sobre</a>
</p>
</div>
</div>
<!-- menu -->
<div id="menu">
<ul>
<li id="current"><a href="index.php">Inicio</a></li>
<li><a href="index.php?page=forum">Forum</a></li>
<li><a href="index.php">Serviços</a></li>
<li><a href="index.php">Sobre</a></li>
<?php if ($_SESSION['id'] != ''){ ?><li><a href="index.php?page=account">Conta</a></li>
<li class="last"><a href="index.php?page=logout">Sair</a></li> <?php } ?>
</ul>
</div>
<!-- content-wrap starts here -->
<div id="content-wrap">
<div id="sidebar">
<h3>Search Box</h3>
<form action="#" class="searchform">
<p>
<input name="search_query" class="textbox" type="text" />
<input name="search" class="button" value="Search" type="submit" />
</p>
</form>
<h3>Sidebar Menu</h3>
<ul class="sidemenu">
<li><a href="index.html">Home</a></li>
<li><a href="#TemplateInfo">Template Info</a></li>
<li><a href="#SampleTags">Sample Tags</a></li>
<li><a href="http://www.styleshout.com/">More Free Templates</a></li>
<li><a href="http://www.4templates.com/?aff=ealigam">Premium Templates</a></li>
</ul>
<h3>Links</h3>
<ul class="sidemenu">
<li><a href="http://www.pdphoto.org/">PDPhoto.org</a></li>
<li><a href="http://www.squidfingers.com/patterns/">Squidfingers</a></li>
<li><a href="http://www.alistapart.com">Alistapart</a></li>
<li><a href="http://www.cssremix.com">CSS Remix</a></li>
<li><a href="http://www.cssmania.com/">CSS Mania</a></li>
</ul>
<h3>Sponsors</h3>
<ul class="sidemenu">
<li><a href="http://www.4templates.com/?aff=ealigam"><strong>4templates</strong></a> <br /> Low Cost Hi-Quality Templates</li>
<li><a href="http://store.templatemonster.com?aff=ealigam"><strong>TemplateMonster</strong></a> <br /> Delivering the Best Templates on the Net!</li>
<li><a href="http://tinyurl.com/3cgv2m"><strong>Text Link Ads</strong></a> <br /> Monetized your website</li>
<li><a href="http://www.fotolia.com/partner/114283"><strong>Fotolia</strong></a> <br /> Free stock images or from $1</li>
<li><a href="http://www.dreamstime.com/res338619"><strong>Dreamstime</strong></a> <br /> Lowest Price for High Quality Stock Photos</li>
<li><a href="http://www.dreamhost.com/r.cgi?287326"><strong>Dreamhost</strong></a> <br /> Premium webhosting</li>
</ul>
<h3>Wise Words</h3>
<div class="left-box">
<p>"Evaluation of the past is the first step toward
vision for the future." </p>
<p class="align-right">- Chris Widener</p>
</div>
<h3>Support Styleshout</h3>
<div class="left-box">
<p>If you are interested in supporting my work and would like to contribute, you are
welcome to make a small donation through the
<a href="http://www.styleshout.com/">donate link</a> on my website - it will
be a great help and will surely be appreciated.</p>
</div>
</div>
<div id="main">
<?php
include ('includes.php');
?>
</div>
<!-- content-wrap ends here -->
</div>
<!--footer starts here-->
<div id="footer">
<p>
© 2006 <strong>NexuS Team</strong> |
Design by: <a href="http://www.styleshout.com/">styleshout</a> |
Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a> |
<a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
<a href="index.php">Inicio</a> |
<a href="index.php">Sobre</a> |
<a href="index.php">RSS Feed</a>
</p>
</div>
<!-- wrap ends here -->
</div>
</body>
</html>
<?php mysql_close($con); ?>
if ($_GET['page'] == 'login_make')
Users browsing this forum: No registered users and 15 guests