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