admin_reply.php 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?php
  2. if (!defined('IN_SCRIPT')) {
  3. die('Invalid attempt');
  4. }
  5. ?>
  6. <div id="gbook_guestbook" align="center">
  7. <span class="gbook_guestbook"><?php echo $lang['t13']; ?></span>
  8. </div>
  9. <form action="gbook.php" method="post">
  10. <!--TASK FORM -->
  11. <div id="gbook_entries">
  12. <?php
  13. if ($error)
  14. {
  15. echo '<div class="gbook_sign_error">'.$error.'</div>';
  16. }
  17. ?>
  18. <div class="gbook_sign_text"><?php echo $lang['t14']; ?></div>
  19. <div class="gbook_sign_text"><span class="gbook_entries"><b><?php echo $lang['t21']; ?></b></span><br class="clear" />
  20. <input type="password" name="pass" size="45" /></div>
  21. <div class="clear"></div>
  22. <div class="gbook_left"><span class="gbook_entries"><b><?php echo $lang['t16']; ?></b></span></div>
  23. <textarea name="comments" rows="12" cols="57" id="cmnt"><?php echo $comments; ?></textarea>
  24. <!--BOTTOM IMAGES -->
  25. <div id="gbook_bottom_images" class="gbook_bottom_images">
  26. <a href="#" onclick="document.getElementById('cmnt').value += ' :D ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/bigsmile.gif" alt=":D" title=":D" width="19" height="19" /></a>&nbsp;
  27. <a href="#" onclick="document.getElementById('cmnt').value += ' :!cool: ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/cool.gif" alt=":!cool:" title=":!cool:" width="19" height="19" /></a>&nbsp;
  28. <a href="#" onclick="document.getElementById('cmnt').value += ' :!cry: ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/crying.gif" alt=":!cry:" title=":!cry:" width="19" height="19" /></a>&nbsp;
  29. <a href="#" onclick="document.getElementById('cmnt').value += ' :!devil: ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/devil.gif" alt=":!devil:" title=":!devil:" width="19" height="19" /></a>&nbsp;
  30. <a href="#" onclick="document.getElementById('cmnt').value += ' :) ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/smile.gif" alt=":)" title=":)" width="19" height="19" /></a>&nbsp;
  31. <a href="#" onclick="document.getElementById('cmnt').value += ' :!mad: ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/mad.gif" alt=":!mad:" title=":!mad:" width="19" height="19" /></a>&nbsp;
  32. <a href="#" onclick="document.getElementById('cmnt').value += ' :!thinking: ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/thinking.gif" alt=":!thinking:" title=":!thinking:" width="19" height="19" /></a>&nbsp;
  33. <a href="#" onclick="document.getElementById('cmnt').value += ' :p ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/tongueout.gif" alt=":p" title=":p" width="19" height="19" /></a>&nbsp;
  34. <a href="#" onclick="document.getElementById('cmnt').value += ' ;) ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/wink.gif" alt=";)" title=";)" width="19" height="19" /></a>&nbsp;
  35. <a href="#" onclick="document.getElementById('cmnt').value += ' :o ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/blush.gif" alt=":o" title=":o" width="19" height="19" /></a>&nbsp;
  36. <a href="javascript:openSmiley()" class="gbook_submitted"><?php echo $lang['t26']; ?></a><br />
  37. <label><input type="checkbox" name="nosmileys" value="Y" class="gbook_checkbox" <?php echo $nosmileys; ?> /><span class="gbook_entries"><?php echo $lang['t28']; ?></span></label><br class="clear" />
  38. </div>
  39. <!--BOTTOM IMAGES END -->
  40. <div align="center">
  41. <div class="clear">&nbsp;</div>
  42. <input type="hidden" name="a" value="postreply" />
  43. <input type="hidden" name="num" value="<?php echo($num); ?>" />
  44. <input type="submit" value="<?php echo $lang['t29']; ?>" class="submit" />
  45. </div>
  46. <p>&nbsp;</p>
  47. <div class="gbook_sign_text"><a href="gbook.php"><?php echo $lang['t11']; ?></a></div>
  48. <p>&nbsp;</p>
  49. </div>
  50. <!--TASK FORM END -->
  51. </form>