Thank you very much!!!
I've created a page with terms and conditions. ( my local link: http://dokuwiki.tst/doku.php?id=terms
The question is how to show the form with checkbox on the bottom of the text page with text 'i agree with terms and conditions'?
(It must be checked by all users who sign in first time, is there API for connect to mysql?)