I need a single webpage like the page at http://myfreebtc.net/home (after login)
Basically, this page will
1. Show coinhive captcha and a button which will be enabled after completion of captcha
2. Button click will verify captcha completion and generate a random number to be displayed below the bilitton. Minimum and maximum for the random number should be definable.
3. In place of coinhive captcha, a timer will start running.
4. After a defined time the captcha will again be displayed for completion again.
No other pages or functionality is required.
Only the php/js/cURL/other code for the functionality given in description