• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Menu sessions

#3
[eluser]Jesse2303[/eluser]
[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');?>
            - &lt;?=anchor('main/login', 'login');?&gt;</a>
            - &lt;?=anchor('main/contact', 'contact', '');?&gt;</a>
    &lt;?php
        }
    ?&gt;

Hope it works fine Smile[/quote]

Hello

Thanks.

I try to fix this with your code thanks Smile


Messages In This Thread
Menu sessions - by El Forum - 06-24-2008, 04:06 AM
Menu sessions - by El Forum - 06-24-2008, 04:19 AM
Menu sessions - by El Forum - 06-24-2008, 05:23 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.