Automatically exported from code.google.com/p/planningalerts
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
533 B

  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. ?>