Ey! Ik heb nu een CLS Caners login systeem,
Ik heb nu een probleem ik kan dus gewoon op ledenpagina.php kijken endan staat er dat je niet ingelogt bent en je kan dus wel op het ledenmenu kijken enzo, Ik wil dat de hele ledenpagina dan word afgeschermd
Beloning: 0.1
(IK WIL DUS EIGELUK DAT HIJ NAAR EEN ANDERE SITE LINKT VAN B.V NIETINGELOGT.PHP)
ALS JE NIET INGELOGT BENT
Code van beveiliging:
En code van mijn Ledenpagina:
Ik heb nu een probleem ik kan dus gewoon op ledenpagina.php kijken endan staat er dat je niet ingelogt bent en je kan dus wel op het ledenmenu kijken enzo, Ik wil dat de hele ledenpagina dan word afgeschermd
Beloning: 0.1
(IK WIL DUS EIGELUK DAT HIJ NAAR EEN ANDERE SITE LINKT VAN B.V NIETINGELOGT.PHP)
ALS JE NIET INGELOGT BENT
Code van beveiliging:
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]config.php[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]style.php[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/empty"]empty[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]uid[/COLOR][COLOR= #007700]])) {[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]U bent niet ingelogd.[/COLOR][COLOR= #007700];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Deze tekst kan je wijzigen via pagina.php. Let op dat alleen ingelogde leden deze tekst zien!
<a href="uitloggen.php" title="logout">Uitloggen</a> <br />
[/COLOR][COLOR= #007700];
}[/COLOR]
?> En code van mijn Ledenpagina:
<!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" xml:lang="en" lang="en">
<head>
<meta name="Description" content="Hacks voor alle Soorten Games!" />
<meta name="Keywords" content="Hacks, Cheats, Games, Leuk, Hacks, website" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="Distribution" content="Global" />
<meta name="Author" content="Erwin Aligam - ealigam@gmail.com" />
<meta name="Robots" content="index,follow" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<script type="text/javascript">
function toggleDiv(div_id)
{
var status = document.getElementById(div_id).style.display;
if (status == none)
{
document.getElementById(div_id).style.display = block;
}else{
document.getElementById(div_id).style.display = none;
}
}
</script>
<link rel="stylesheet" href="images/Underground.css" type="text/css" />
<title>Home | Thom Beta</title>
</head>
<body>
<!-- wrap starts here -->
<div id="wrap">
<!-- header -->
<div id="header">
<span id="slogan"> [COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]includes/slogan.php[/COLOR][COLOR= #007700]);[/COLOR] ?> </span>
<!-- tabs -->
<ul>
[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]includes/bigmenu.php[/COLOR][COLOR= #007700]);[/COLOR] ?>
</ul>
</div>
<div id="header-logo">
<div id="logo"> [COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]includes/bigslogan.php[/COLOR][COLOR= #007700]);[/COLOR] ?> </div>
</div>
<div id="sidebar" >
<h1> [COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]includes/ledentitel.php[/COLOR][COLOR= #007700]);[/COLOR] ?> </h1>
<div class="left-box">
<ul class="sidemenu">
<p>
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]includes/ledenmenu.php[/COLOR][COLOR= #007700]);[/COLOR] ?>
</p>
</ul>
</div>
<h1> [COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]includes/titel2.php[/COLOR][COLOR= #007700]);[/COLOR] ?> </h1>
<div class="left-box">
<p> [COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]includes/hack.php[/COLOR][COLOR= #007700]);[/COLOR] ?> <br />
</div>
<h1> [COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]includes/titel3.php[/COLOR][COLOR= #007700]);[/COLOR] ?> </h1>
<div class="left-box">
<p> [COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]includes/menu2.php[/COLOR][COLOR= #007700]);[/COLOR] ?> </div>
</div>
<div id="main">
<a name="Advertentie"></a>
<h1>Advertentie</h1>
<p><center> [COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]includes/advertentie.php[/COLOR][COLOR= #007700]);[/COLOR] ?> </center></p>
<a name="Content"></a>
<h1>Nieuws 1</h1>
Nieuws 2 <br />
<br /><h1>Nieuws 2</h1>Hier Nieuws 2 <br />
</div>
<!-- wrap ends here -->
</div>
<!-- footer starts here -->
<div class="footer">
<p>
[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]includes/copyright.php[/COLOR][COLOR= #007700]);[/COLOR] ?>
</p>
</div>
</body>
</html> 

.