index.php 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. //#########################################################
  3. // Part of project php-IRC-js
  4. //
  5. // index.php - main file
  6. //
  7. // Author: Mario Chorvath - Bedna
  8. // Start 2016
  9. //
  10. // Licence GNU General Public License
  11. // Version 2
  12. // http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
  13. //#########################################################
  14. echo "
  15. <!DOCTYPE html>
  16. <html>
  17. <head>
  18. <meta http-equiv='content-type' content='text/html; charset=UTF-8'>
  19. <meta name='author' content='Mario Chorvath - Bedňa' >
  20. <meta name='company' content='KERNEL ULTRAS'>
  21. <meta name='date' content='(D.M.Y) 31.03.2016'>
  22. <meta name='robots' content='index,follow'>
  23. <meta name='description' content='IRC client in PHP'>
  24. <meta name='keywords' content='Linux,FSF,Free Software,Open Source,Android,Programing,Programovanie'>
  25. <script type='text/javascript' src='bin/javascript/connect.js'></script>
  26. <script type='text/javascript' src='bin/javascript/send.js'></script>
  27. <script type='text/javascript' src='bin/javascript/readResponse.js'></script>
  28. <script type='text/javascript' src='bin/javascript/main.js'></script>
  29. </head>
  30. ";
  31. echo "
  32. <body onload=\"main()\">
  33. <p><b>STATUS:</b></p>
  34. <p id=\"status\"></p>
  35. <form name=\"form_connect\" action=\"javascript:connect()\">
  36. <input type=\"submit\" name=\"connect\" value=\"Connect\">
  37. </form>
  38. <form name=\"formSend\" action=\"javascript:send()\">
  39. <input type=\"text\" id=\"message\" name=\"message\">
  40. <input type=\"submit\" name=\"submit\" value=\"Submit\">
  41. </form>
  42. <div id=\"bottom\">-----------------------------------------------------</div>
  43. </body>
  44. </html>
  45. ";
  46. ?>