Guest User

Untitled

a guest
May 24th, 2018
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <title>Написать диджею</title>
  6. <link rel="stylesheet" type="text/css" href="/photon.css">
  7. <link rel="stylesheet" type="text/css" href="/info.css">
  8. <style>
  9. body {
  10. color: #996793;
  11. text-align: center;
  12. }
  13. ul {
  14. list-style-type: none;
  15. }
  16. ul, fieldset {
  17. margin: 0;
  18. padding: 0;
  19. border: none;
  20. }
  21. fieldset {
  22. display:inline;
  23. }
  24. input {
  25. margin: 5px;
  26. }
  27. form {
  28. overflow:hidden;
  29. }
  30.  
  31. </style>
  32. </head>
  33.  
  34. <body>
  35. <script>
  36. function CountLeft(field, count, max) {
  37. if (field.value.length > max){
  38. field.value = field.value.substring(0, max);
  39. } else {
  40. count.value = max - field.value.length;
  41. }
  42. };
  43. </script>
  44. <form method="POST" action="${PREFIX}">
  45. <ul>
  46. <li>
  47. <input type="hidden" name="${PCAPTCHA}" value="${CAPTCHA}">
  48. <input readonly="" type="text" name="left" id="charsleft" size="2" maxlength="3" value="140">
  49. <textarea name="${PMSG}" cols="31" rows="5" maxlength="140" onKeyDown="CountLeft(this, this.form.left, 140);" onKeyUp="CountLeft(this, this.form.left, 140);" placeholder="Максимальная длина 140 символов"></textarea>
  50. </li>
  51. <li>
  52. <strong>Неверный код подтверждения</strong>
  53. </li>
  54. <li>
  55. <img src="${GIF}">
  56. <input type="text" name="${PCHECK}" style="width: 7em">
  57. <input type="submit" value="Отправить">
  58.  
  59. </li>
  60. </ul>
  61. </form>
  62. </body>
  63. </html>
Add Comment
Please, Sign In to add comment