18.12.2011, 19:03
but look, I have this
I must implent in that code getting that 'id'
PHP код:
if($_GET['action'] == 'profile')
{
if($_SESSION['l_username'])
{
echo '<h2 style="text-align: center;">Pozdrav '.$_SESSION['l_username'].'!</h2><h5 style="text-align: center;">Ovo je vaša kontrolna ploča!<br>Ovdje možete pregledati svoje statse, izmjeniti neke opcije...<br><br>Prijavite bug <a href="index.php?action=reportbug">ovdje!</a></h5>';
}
else header('location: index.php?action=login');
}