Web Viewer Where am I going wrong?

I ask for help from Makeroid users as I have been trying to solve this problem for some days and I can not find where my error may be. so I’ll try to explain step by step to see if any of you can help me






even with all the blocks seemingly correct, on no button can I click!

I have already reviewed the blocks and the logic and I can not understand where the problem might be. I’ll attach the file php so you can parse

admin_popular.zip (1.7 KB)

I ask for help and because my english is very bad I ask that in the answer it may contain example with images please