' . $n['title'] . '';
}
require("tpl/general/inc_tree.php");
tree($notes_tree, @f);
if ($note_owner['id'] == $user['id']) {
echo 'create new note';
}
echo '
';
echo '
Other users
';
echo "
";
foreach($users as $u) {
if ($u['id'] == $userid) {
echo '- ' . $u['name'] . ' (' . $u['nbNotes'] . ' notes)
';
} else {
echo '- ' . $u['name'] . ' (' . $u['nbNotes'] . ' notes)
';
}
}
echo "
";
require("tpl/general/bottom.php");