admin_tasks.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 $task; ?></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 $task_description; ?></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. <?php
  22. if (isset($options))
  23. {
  24. ?>
  25. <div class="gbook_sign_text"><span class="gbook_entries"><b><?php echo $lang['t22']; ?></b></span><br class="clear" />
  26. <?php echo $options; ?></div>
  27. <?php
  28. }
  29. ?>
  30. <div align="center">
  31. <div class="clear">&nbsp;</div>
  32. <input type="hidden" name="a" value="<?php echo $action; ?>" />
  33. <input type="hidden" name="num" value="<?php echo($num); ?>" />
  34. <input type="submit" value="<?php echo $button; ?>" class="submit" />
  35. </div>
  36. <p>&nbsp;</p>
  37. <div class="gbook_sign_text"><a href="gbook.php"><?php echo $lang['t11']; ?></a></div>
  38. <p>&nbsp;</p>
  39. </div>
  40. <!--TASK FORM END -->
  41. </form>