Automatically exported from code.google.com/p/planningalerts
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

15 年前
1234567891011121314151617181920212223242526272829
  1. <?php
  2. require_once ("config.php");
  3. require_once ("stats.php");
  4. class donate_page {
  5. //Constructor
  6. function donate_page() {
  7. $this->bind();
  8. }
  9. //howto
  10. function bind() {
  11. $smarty = new Smarty;
  12. $smarty->force_compile = true;
  13. $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY;
  14. $smarty->assign("stats", stats::get_stats());
  15. $smarty->assign("page_title","Donate to the Planning Alerts server fund");
  16. $smarty->assign("menu_item","signup");
  17. $smarty->display('donate.tpl');
  18. }
  19. }
  20. $donate_page = new donate_page();