Now it works. But I want to know if it's possible to show all items on one page. I thought you can find a solution with all items on one page and exit button. Now show back and next buttons and I do not want it.
That's why I used.
PHP Code:
menu_setprop (szMenu, MPROP_PERPAGE, 0);