jmyeom

report.php popup report

May 25th, 2011
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4. // by jmyeom
  5. $board = $_GET['bo'];
  6. $post = $_GET['no'];
  7.  
  8. include('config.php');
  9. ?>
  10.  
  11. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  12. "http://www.w3.org/TR/html4/loose.dtd">
  13. <html>
  14. <head>
  15. <title>Report Post #<?php echo $post; ?></title>
  16. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  17. <link rel="stylesheet" type="text/css" href="<?php echo $cf['KU_WEBPATH']; ?>css/<?php echo $cf['KU_DEFAULTSTYLE']; ?>.css">
  18. <style>fieldset { margin-right: 25px; }</style>
  19. </head>
  20. <body>
  21.  
  22. <form action='board.php' method="POST">
  23. <table width="100%">
  24. <tr><td>
  25.  
  26. <fieldset><legend>Report type</legend>
  27. <input type="radio" name="reportreason" value="Rule violation" checked>Rule violation<br/>
  28. <input type="radio" name="reportreason" value="Illegal content">Illegal content<br/>
  29. <input type="radio" name="reportreason" value="Spam/advertising/flooding">Spam/advertising/flooding
  30. </fieldset>
  31. </td><td>
  32. <a href="#" onclick="javascript:document.getElementById('captchaimage').src = '<?php echo $cf['KU_WEBPATH']; ?>captcha.php?' + Math.random();return false;"><img id="captchaimage" src="<?php echo $cf['KU_WEBPATH']; ?>captcha.php" alt="Captcha image" border="0" height="25" width="90"></a>
  33. </td>
  34. <td>
  35. <input name="captcha" size="28" maxlength="10" accesskey="c" type="text">
  36. </td></tr>
  37. </table>
  38. <table width="100%"><tr><td width="240px"></td><td>
  39. <input type="submit" value="Submit">
  40. <!--
  41. You are reporting post <b><?php echo $post; ?></b> on /<?php echo $board; ?>/.
  42. -->
  43. <input type="hidden" name="board" value="<?php echo $board; ?>">
  44. <input type="hidden" name="post[]" value="<?php echo $post; ?>">
  45. <input type="hidden" name="reportpost" value="true">
  46. </td></tr></table>
  47. </center>
  48. </form>
  49. <br>
  50. <div class='rules'><u>Note</u>: Submitting frivolous reports will result in a ban. When reporting, make sure that the post in question violates the global/board rules, or contains content illegal in the United States.</div>
  51.  
  52. </body>
  53. </html>
  54. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment