1) AND ($ya_config['allowusertheme'] == 0)) { $tds++; } if ($articlecomm == 1) { $tds++; } if ($ya_config['allowuserdelete'] == 1) { $tds++; } $tdwidth = (int) ( (100/$tds) ); // END Set TD widths function nav($main_up=0) { global $module_name, $admin, $ya_config, $thmcount, $tdwidth, $articlecomm; echo "\n"; $menuimg = menuimg("info.png"); echo "\n"; $menuimg = menuimg("home.png"); echo "\n"; if ($articlecomm == 1) { $menuimg = menuimg("comments.png"); echo "\n"; } if (is_active("Private_Messages")) { $menuimg = menuimg("messages.png"); echo "\n"; } if (is_active("Journal")) { $menuimg = menuimg("journal.png"); echo "\n"; } if (($thmcount > 1) AND ($ya_config['allowusertheme'] == 0)) { $menuimg = menuimg("themes.png"); echo "\n"; } if ($ya_config['allowuserdelete'] == 1) { $menuimg = menuimg("delete.png"); echo "\n"; } $menuimg = menuimg("exit.png"); echo "\n"; echo "
\n"; echo "\""._CHANGEYOURINFO."\"
\n"; echo ""._ACCTCHANGE."\n"; echo "
\n"; echo "\""._CHANGEHOME."\"
\n"; echo ""._ACCTHOME."\n"; echo "
\n"; echo "\""._CONFIGCOMMENTS."\"
\n"; echo ""._ACCTCOMMENTS."\n"; echo "
\n"; echo "\""._PRIVATEMESSAGES."\"
\n"; echo ""._MESSAGES."\n"; echo "
\n"; echo "\""._JOURNAL."\"
\n"; echo ""._ACCTJOURNAL."\n"; echo "
\n"; echo "\""._SELECTTHETHEME."\"
\n"; echo ""._ACCTTHEME."\n"; echo "
\n"; echo "\""._DELETEACCT."\"
\n"; echo ""._DELETEACCT."\n"; echo "
\n"; echo "\""._LOGOUTEXIT."\"
\n"; echo ""._ACCTEXIT."\n"; echo "
"; if ($main_up != 1) { echo "
[ "._RETURNACCOUNT." ]
\n"; } } } ?>