postform.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <div class='element' id='postform' style=''>
  2. <div class='postform form' style='display:block;'>
  3. <div style='position:relative;'><div class='avatar desktop' style='background-image:url(<?php echo $info['avatar']; ?>)'></div></div>
  4. <div style='text-align:right; width:95%; margin: 13px auto; display:block;'>
  5. <form action='status.php' method='post' enctype='multipart/form-data' id='iform'>
  6. <input type='hidden' name='mode' value='<?php echo $tl['mode']; ?>'>
  7. <input type='hidden' name='uploaded' id="uploaded" value=''>
  8. <input type='hidden' name='thread' id="thread" value='null'>
  9. <div style='width:100%; text-align:left;'>
  10. <div style='width:100% height:27px; border-bottom: 1px solid transparent;'>
  11. <input type='text' name='spoiler' placeholder='Content Warning (optional)' value='' style='border:none; width:99%;'>
  12. </div>
  13. <textarea name='status' id="status" style='width:98.85%; height:100px; border:none;'></textarea>
  14. </div>
  15. <div style='display:none; clear:both; width:100%; text-align:left;' class='picker'><input type='text' id='emojisearch' placeholder="Type to Search"><div class='emojilist' style='max-height:100px; overflow:auto;'></div></div>
  16. <div style='display:none; clear:both; width:100%; text-align:left;' class='contactpicker'><input type='text' id='contactsearch' placeholder="Type to Search"><div class='contactlist' style='max-height:100px; overflow:auto; scroll-behavior: smooth;'></div></div>
  17. <div class="buttons">
  18. <span style='float:left;'>
  19. <div style='position:relative;border: 0px; float:left;'>
  20. <input class='cursor' type='submit' value='Send' id='send' onClick='return false'>
  21. </div>
  22. <div class='formbtn fontello cursor' style='position:relative;'>
  23. &#xe818;
  24. <input class='cursor' style='opacity:0; position:absolute; left:0px; top:5px; background-color:yellow;' type='file' id="files_input_field" name='file[]' multiple onchange="upload_files();">
  25. </div>
  26. <div class='formbtn fontello' style='position:relative;'>
  27. <input type='checkbox' name='sensitive' id='sensitive' style='display:none;'>
  28. <label for='sensitive' class='fontello'>&#xe81b;</label>
  29. </div>
  30. <div class='formbtn fontello' id="emoji" style='position:relative; cursor:pointer;'>
  31. &#128540;
  32. </div>
  33. <div class='formbtn fontello' id="contact" style='position:relative; cursor:pointer;'>
  34. &#xf234;
  35. </div>
  36. </span>
  37. <span style='float:left;' class='status'>
  38. </span>
  39. <span style='float:right;' class="scope">
  40. <select name='scope' id='scope'>
  41. <option value="1" <?php echo ($user_settings['defscope'] == '1' ? "selected" : ""); ?>>&#xe83c; Public</option>
  42. <option value="2" <?php echo ($user_settings['defscope'] == '2' ? "selected" : ""); ?>>&#xe816; Unlisted</option>
  43. <option value="3" <?php echo ($user_settings['defscope'] == '3' ? "selected" : ""); ?>>&#xe819; Private</option>
  44. <option value="4" <?php echo ($user_settings['defscope'] == '4' ? "selected" : ""); ?>>&#xf0e0; Direct</option>
  45. </select>
  46. </span>
  47. </div>
  48. </form>
  49. <div style="clear: both;"></div>
  50. </div>
  51. </div>
  52. </div>