index.php 713 B

123456789101112131415161718192021222324
  1. <?php
  2. require("../class/connect.php");
  3. require("../class/db_sql.php");
  4. require("../class/q_functions.php");
  5. require("../member/class/user.php");
  6. eCheckCloseMods('member');//关闭模块
  7. eCheckCloseMods('mconnect');//关闭模块
  8. $link=db_connect();
  9. $empire=new mysqlquery();
  10. eCheckCloseMemberConnect();//验证开启的接口
  11. require('memberconnectfun.php');
  12. //接口
  13. $apptype=RepPostVar($_GET['apptype']);
  14. $appr=$empire->fetch1("select * from {$dbtbpre}enewsmember_connect_app where apptype='$apptype' and isclose=0 limit 1");
  15. if(!$appr['id'])
  16. {
  17. printerror2('请选择登录方式','');
  18. }
  19. $ReturnUrlQz=eReturnDomainSiteUrl();
  20. $file=$appr['apptype'].'/to_login.php';
  21. @include($file);
  22. db_close();
  23. $empire=null;
  24. ?>