now the thing is previously it was coded with some other coding in php and every thing is working properly now when i changed the side menu i dont know how to use php code with this menu basically i wanted to hide my pilot center from visitors and pilot i want pilot can only see pilot center after login with pilot IDS so i can i do that please help me out of this
Looks like you’re using a custom system right? Yup,
<? if($logged<>"yes"){
// do things for logged in people
} ?>
Also, all those uses of print is messy.
Where you have multiple instances of print “”; to display html, you can just condense them all into a single print “”;, or just remove print altogether and put php tags around the php.
Guys thank you so much for replying now the thing is Tom i am not using that Print Commands i have changed my menu that was old one what i am trying to ask you guys is this is my new menu
now juts tell me how i can hide only this pilot center menu and pilots can only see this menu after login example would be gr8 for me waiting for your reply asap.
Guys thank you so much for replying now the thing is Tom i am not using that Print Commands i have changed my menu that was old one what i am trying to ask you guys is this is my new menu
now juts tell me how i can hide only this pilot center menu and pilots can only see this menu after login example would be gr8 for me waiting for your reply asap.
Regards
Is this what you need?:
<?php
/*
Quick example of how to see if they’re logged in or not
Quick example of how to see if they’re logged in or not
Only show this login form if they’re logged in */
if(Auth::LoggedIn() == false)
{ ?>
it gives this error
and like this i am putting the code
<?php
/*
Quick example of how to see if they're logged in or not
Only show this login form if they're logged in */
if(Auth::LoggedIn() == false)
<div class="urbangreymenu">
<h3 class="headerbar">Pilot Center</h3>
<ul
<li><a href='ATR42.php'><b>ATR42 Schedules</a></li></b>
<li><a href='skedatr.php'><b>ATR42F Schedules</a></li></b>
<li><a href='b737.php'><b>B737 Schedules</a></li></b>
<li><a href='a310.php'><b>A310 Schedules</a></li></b>
<li><a href='b767.php'><b>A300 Schedules</a></li></b>
<li><a href='b777.php'><b>B777 Schedules</a></li></b>
<li><a href='b747.php'><b>B747 Schedules</a></li></b>
<li><a href='logbook.php'><b>My logbook</a></li></b>
<li><a href='download.php'><b>Download Section</a></li></b>
<li><a href='help.php'><b>Pilot's Manual</a></li></b>
<li><a href='rankings.php'><b>Rankings</a></li></b>
<li><a href='pilotroster.php'><b>Pilot hours</a></li></b>
<li><a href='flights.php?map=karachi' target='_blank'><b>Flight Movements</a></li></b>
</ul>
</div>
{ ?>
i really don’t know how to put with in TAGS can you explain me with full code please
and let me explain you how i am using my menu now in my server i have one folder name Menu and inside it i have many PHPS files for different Menu section to show up with main.php and in other pages if i wnt to show my menu with the page i am putting php code on the top of the page like this