Automatically exported from code.google.com/p/planningalerts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
555 B

  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();