Codice PHP:
<?php
require 'wapheader.php';
echo $header;
echo '[b]Menù Principale[/b]
';
echo "<anchor>" . $lang['wap_forum_home'] . "<img src=\"http://hiwap3.net/images/pallina.gif\" alt=\"*\" /><go href=\"" . append_sid("wap.$phpEx") . "\" />Bacheca</anchor>
\n";
echo "<anchor>" . $lang['wap_forum_home'] . "<img src=\"http://hiwap3.net/images/pallina.gif\" alt=\"*\" /><go href=\"" . append_sid("ultimi20.$phpEx") . "\" />Ultimi Topic</anchor>
\n";
echo "<anchor>" . $lang['wap_forum_list'] . "<img src=\"http://hiwap3.net/images/pallina.gif\" alt=\"*\" /><go href=\"" . append_sid("wapmisc.$phpEx?action=forumlist") . "\" />Lista Forum</anchor>
\n";
echo "<anchor>" . $lang['wap_new_topic'] . "<img src=\"http://hiwap3.net/images/pallina.gif\" alt=\"*\" /><go href=\"" . append_sid("wapnew.$phpEx") . "\" />Nuovo topic</anchor>
\n";
echo "<anchor>" . $lang['wap_write_new_pm'] . "<img src=\"http://hiwap3.net/images/pallina.gif\" alt=\"*\" /><go href=\"" . append_sid("wappm.$phpEx?action=new") . "\" />Nuovo inbox</anchor>
\n";
echo "<anchor>" . $lang['wap_read_pm'] . "<img src=\"http://hiwap3.net/images/pallina.gif\" alt=\"*\" /><go href=\"" . append_sid("wappm.$phpEx") . "\" />Tuoi inbox</anchor>
\n";
echo "<anchor>" . $lang['wap_whos_online'] . "<img src=\"http://hiwap3.net/images/pallina.gif\" alt=\"*\" /><go href=\"" . append_sid("wapmisc.php?action=online") . "\" />Online</anchor>
\n";
echo "<anchor>" . $lang['wap_smilies_list'] . "<img src=\"http://hiwap3.net/images/pallina.gif\" alt=\"*\" /><go href=\"" . append_sid("wapsmile.php") . "\" />Lista Smilies</anchor>
\n";
echo "<anchor>" . $lang['wap_stats'] . "<img src=\"http://hiwap3.net/images/pallina.gif\" alt=\"*\" /><go href=\"" . append_sid("statistiche.php") . "\" />Statistiche</anchor>
\n";
$login = ($userdata['session_logged_in']) ? "<anchor>" . $lang['wap_logout'] . "<img src=\"http://hiwap3.net/images/pallina.gif\" alt=\"*\" /><go href=\"" . append_sid("waplogin.$phpEx?logout=1") . "\" />Logout</anchor>" : "<anchor>" . $lang['wap_login'] . "<img src=\"http://hiwap3.net/images/pallina.gif\" alt=\"*\" /><go href=\"" . append_sid("waplogin.php") . "\" />Login</anchor>";
echo $login . "
\n";
echo "2007 © HiWap3";
echo "
";
echo $footer;
?>
vorrei online,nuovo topic,nuovi inbox,tuoi inbox,statistiche e ultimi topic solo se uno ha fatto il login...come lo imposto???