index.php 700 B

123456789101112131415161718192021222324
  1. <?php
  2. require('../../class/connect.php');
  3. require('../../class/db_sql.php');
  4. require('../../class/functions.php');
  5. require('../../class/t_functions.php');
  6. require '../'.LoadLang('pub/fun.php');
  7. require('../../data/dbcache/class.php');
  8. require('../../data/dbcache/MemberLevel.php');
  9. $link=db_connect();
  10. $empire=new mysqlquery();
  11. $editor=1;
  12. $classid=(int)$_GET['classid'];
  13. $id=(int)$_GET['id'];
  14. //内部表
  15. if(!$classid||!$id||!$class_r[$classid]['tbname']||InfoIsInTable($class_r[$classid]['tbname'])||Moreport_ReturnMustDt())//moreport
  16. {
  17. printerror('ErrorUrl','history.go(-1)',1);
  18. }
  19. $addgethtmlpath='../';
  20. $titleurl=DoGetHtml($classid,$id);
  21. db_close();
  22. $empire=null;
  23. Header("Location:$titleurl");
  24. ?>