templink.php 313 B

1234567891011121314151617181920
  1. <?php
  2. require("user.inc.php");
  3. require("template.inc.php");
  4. list($status, $url) = $ctl->cmd("templink_get", $_GET['id']);
  5. if ($status == 'ok') {
  6. header("Location: $url");
  7. }
  8. tpl_header();
  9. ?>
  10. <h2>Invalid link</h2>
  11. <p>The link you are visiting is invalid or has expired. Sorry about that.
  12. <?php
  13. tpl_footer();