If a client (web browser) sends a request to your webserver, you basically reply with something like
client.print("ZMOGUS IEJO I PATALPA, PATALPOJE: ");
client.print(counter) ;
client.print("=================");
client.print("....................");}
Combine this with what you found on the web about a webserver that can send the status of pins and you should be good to go. Note that it needs a bit of polishing; e.g. there are no newlines as in your serial prints.
Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project
See About the Installation & Troubleshooting category.