|
1234567891011121314151617181920212223242526272829303132 |
- <?php
- require_once ("config.php");
- require_once ("stats.php");
-
- $api = new api;
-
- class api {
-
- //Constructor
- function api() {
- $this->bind();
- }
-
- //howto
- function bind() {
- $form_action = $_SERVER['PHP_SELF'];
-
- $smarty = new Smarty;
- $smarty->force_compile = true;
- $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY;
- $smarty->assign("stats", stats::get_stats());
- $smarty->assign("page_title","API");
- $smarty->assign("menu_item","api");
-
- $smarty->display('apihowto.tpl');
- }
-
- }
-
-
-
- ?>
|