Automatically exported from code.google.com/p/planningalerts
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 
 

35 líneas
613 B

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