|
1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- require_once ("config.php");
- require_once ("stats.php");
-
- $faq_page = new faq_page;
-
- class faq_page {
-
- //Constructor
- function faq_page() {
- $this->bind();
- }
-
- //Bind
- function bind() {
-
- //page vars
- $form_action = $_SERVER['PHP_SELF'];
- //smarty
- $smarty = new Smarty;
- $smarty->force_compile = true;
- $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY;
- $smarty->assign("stats", stats::get_stats());
- $smarty->assign("page_title","Frequently asked questions");
- $smarty->assign("menu_item", "faq");
- //Render
- $smarty->display('faq.tpl');
-
- }
-
- }
-
-
-
- ?>
|