idfilter.php 321 B

123456789101112131415
  1. <?php
  2. if (! defined("CONFIG")) die("Not defined");
  3. if (empty($id) and !empty($_SESSION[$page_url]['id'])) { $id = $_SESSION[$page_url]['id']; }
  4. if (empty($id) and !empty($default_id)) { $id=$default_id; }
  5. if (empty($id)) {
  6. header("Location: /admin/index.php");
  7. exit;
  8. }
  9. $_SESSION[$page_url]['id']=$id;
  10. ?>