Location: PHPKode > projects > board-tnk > board-tnk/include/forum_nav.inc
<?
// Direct navigation to any forum
?>

<b><? print("$talk[7]"); ?></b>
<br>
<form action="<? print("$SELF"); ?>" method="post">
<input type="hidden" name="show" value="thread_list">
<input type="hidden" name="rows_init" value="0">
<input type="hidden" name="admin" value="<? print("$admin");?>">
<?
for($k=0;$k<$n_forum;$k++){

?>
<input type="hidden" name="forum<? print("$k");?>" value="<? print("$all_forum_name[$k]");?>">
<?
}
?>
<input type="hidden" name="n_forum" value="<? print("$n_forum");?>">


<select name="forum_name" onChange="submit()">

<?
for($k=0;$k<$n_forum;$k++){
if($forum_name==$all_forum_name[$k]){
?>
<option value="<? print("$all_forum_name[$k]"); ?>" selected><? print("$all_forum_name[$k]");?>
<?
}else{
?>
<option value="<? print("$all_forum_name[$k]"); ?>"><? print("$all_forum_name[$k]");?>
<?
}
}
?>
</select>
&nbsp;
<input type="image" src="icons_board/go.gif">
</form>
Return current item: board-tnk