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.

пре 17 година
пре 17 година
пре 17 година
пре 17 година
пре 17 година
1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. require_once ("config.php");
  3. require_once ("stats.php");
  4. $faq_page = new faq_page;
  5. class faq_page {
  6. //Constructor
  7. function faq_page() {
  8. $this->bind();
  9. }
  10. //Bind
  11. function bind() {
  12. //page vars
  13. $form_action = $_SERVER['PHP_SELF'];
  14. //smarty
  15. $smarty = new Smarty;
  16. $smarty->force_compile = true;
  17. $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY;
  18. $smarty->assign("stats", stats::get_stats());
  19. $smarty->assign("page_title","Frequently asked questions");
  20. $smarty->assign("menu_item", "faq");
  21. //Render
  22. $smarty->display('faq.tpl');
  23. }
  24. }
  25. ?>