index.php 706 B

12345678910111213141516171819202122
  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('pay');//关闭模块
  7. $link=db_connect();
  8. $empire=new mysqlquery();
  9. //是否登陆
  10. $user=islogin();
  11. $pr=$empire->fetch1("select paymoneytofen,payminmoney from {$dbtbpre}enewspublic limit 1");
  12. $paysql=$empire->query("select payid,paytype,payfee,paysay,payname from {$dbtbpre}enewspayapi where isclose=0 order by myorder,payid");
  13. $pays='';
  14. while($payr=$empire->fetch($paysql))
  15. {
  16. $pays.="<option value='".$payr[payid]."'>".$payr[payname]."</option>";
  17. }
  18. //导入模板
  19. require(ECMS_PATH.'e/template/payapi/payapi.php');
  20. db_close();
  21. $empire=null;
  22. ?>