index.php 791 B

1234567891011121314151617181920212223242526
  1. <?php
  2. require("../../class/connect.php");
  3. require("../../class/db_sql.php");
  4. require("../../class/q_functions.php");
  5. require("../class/user.php");
  6. require("../../data/dbcache/MemberLevel.php");
  7. $link=db_connect();
  8. $empire=new mysqlquery();
  9. $editor=1;
  10. eCheckCloseMods('member');//关闭模块
  11. //是否登陆
  12. $user=islogin();
  13. $query="select * from {$dbtbpre}enewsbuygroup order by myorder,id";
  14. $sql=$empire->query($query);
  15. //支付平台
  16. $paysql=$empire->query("select payid,paytype,payfee,paysay,payname from {$dbtbpre}enewspayapi where isclose=0 order by myorder,payid");
  17. $pays='';
  18. while($payr=$empire->fetch($paysql))
  19. {
  20. $pays.="<option value='".$payr[payid]."'>".$payr[payname]."</option>";
  21. }
  22. //导入模板
  23. require(ECMS_PATH.'e/template/member/buygroup.php');
  24. db_close();
  25. $empire=null;
  26. ?>