admin.php 537 B

123456789101112131415161718192021
  1. <?php
  2. define('EmpireCMSAdmin','1');
  3. define('EmpireCMSNFPage','1');
  4. require("../class/connect.php");
  5. require("../class/db_sql.php");
  6. require("../class/functions.php");
  7. $link=db_connect();
  8. $empire=new mysqlquery();
  9. //验证用户
  10. $lur=is_login();
  11. $logininid=$lur['userid'];
  12. $loginin=$lur['username'];
  13. $loginrnd=$lur['rnd'];
  14. $loginlevel=(int)$lur['groupid'];
  15. $loginadminstyleid=(int)$lur['adminstyleid'];
  16. //ehash
  17. $ecms_hashur=hReturnEcmsHashStrAll();
  18. @include("adminstyle/".$loginadminstyleid."/AdminMain.php");
  19. db_close();
  20. $empire=null;
  21. ?>