LoadSearchAll.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. define('EmpireCMSAdmin','1');
  3. require("../../class/connect.php");
  4. require("../../class/db_sql.php");
  5. require("../../class/functions.php");
  6. $link=db_connect();
  7. $empire=new mysqlquery();
  8. $editor=1;
  9. //验证用户
  10. $lur=is_login();
  11. $logininid=$lur['userid'];
  12. $loginin=$lur['username'];
  13. $loginrnd=$lur['rnd'];
  14. $loginlevel=$lur['groupid'];
  15. $loginadminstyleid=$lur['adminstyleid'];
  16. //ehash
  17. $ecms_hashur=hReturnEcmsHashStrAll();
  18. hCheckEcmsRHash();
  19. //验证权限
  20. CheckLevel($logininid,$loginin,$classid,"searchall");
  21. @set_time_limit(0);
  22. require("../../data/dbcache/class.php");
  23. require "../".LoadLang("pub/fun.php");
  24. require('../../class/schallfun.php');
  25. //编码
  26. $iconv='';
  27. $char='';
  28. $targetchar='';
  29. if($ecms_config['sets']['pagechar']!='gb2312')
  30. {
  31. include_once(ECMS_PATH.'e/class/doiconv.php');
  32. $iconv=new Chinese('../');
  33. $char=$ecms_config['sets']['pagechar']=='big5'?'BIG5':'UTF8';
  34. $targetchar='GB2312';
  35. }
  36. $lid=$_GET['lid'];
  37. $start=$_GET['start'];
  38. $addgethtmlpath="../";
  39. LoadSearchAll($lid,$start,$logininid,$loginin);
  40. db_close();
  41. $empire=null;
  42. ?>