06-24-2008, 05:23 AM
[eluser]Jesse2303[/eluser]
[quote author="Yash" date="1214320790"]
Hope it works fine
[/quote]
Hello
Thanks.
I try to fix this with your code thanks
[quote author="Yash" date="1214320790"]
Code:
$login = $this->session->userdata('login');
<?php
if($login==1) //change here
{
?>
admin <?=anchor('dashboard', 'dashboard');?> begin
- <?=anchor('login', 'uitloggen');?>
modules <?=anchor('pics', 'afbeeldingen');?>
- <?=anchor('nieuws', 'nieuws');?>
<?php
}
else
{
?>
gast <?=anchor('main/index', 'begin');?>
- <?=anchor('main/login', 'login');?></a>
- <?=anchor('main/contact', 'contact', '');?></a>
<?php
}
?>
Hope it works fine

Hello
Thanks.
I try to fix this with your code thanks
