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";
echo " \n"; echo ""._ACCTCHANGE."\n"; echo " | \n";
$menuimg = menuimg("home.png");
echo "\n";
echo " \n"; echo ""._ACCTHOME."\n"; echo " | \n";
if ($articlecomm == 1) {
$menuimg = menuimg("comments.png");
echo "\n";
echo " \n"; echo ""._ACCTCOMMENTS."\n"; echo " | \n";
}
if (is_active("Private_Messages")) {
$menuimg = menuimg("messages.png");
echo "\n";
echo " \n"; echo ""._MESSAGES."\n"; echo " | \n";
}
if (is_active("Journal")) {
$menuimg = menuimg("journal.png");
echo "\n";
echo " \n"; echo ""._ACCTJOURNAL."\n"; echo " | \n";
}
if (($thmcount > 1) AND ($ya_config['allowusertheme'] == 0)) {
$menuimg = menuimg("themes.png");
echo "\n";
echo " \n"; echo ""._ACCTTHEME."\n"; echo " | \n";
}
if ($ya_config['allowuserdelete'] == 1) {
$menuimg = menuimg("delete.png");
echo "\n";
echo " \n"; echo ""._DELETEACCT."\n"; echo " | \n";
}
$menuimg = menuimg("exit.png");
echo "\n";
echo " \n"; echo ""._ACCTEXIT."\n"; echo " | \n";
echo "