index.php 539 B

123456789101112131415161718
  1. <?php
  2. require("../../../class/connect.php");
  3. require("../../../class/q_functions.php");
  4. require("../../../class/db_sql.php");
  5. require("../../class/user.php");
  6. require('../../class/favfun.php');
  7. $link=db_connect();
  8. $empire=new mysqlquery();
  9. $editor=2;
  10. eCheckCloseMods('member');//关闭模块
  11. $user=islogin();
  12. $query="select cid,cname from {$dbtbpre}enewsfavaclass where userid='$user[userid]' order by cid desc";
  13. $sql=$empire->query($query);
  14. //导入模板
  15. require(ECMS_PATH.'e/template/member/FavaClass.php');
  16. db_close();
  17. $empire=null;
  18. ?>