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.
 
 
 
 
 
 

33 lines
521 B

  1. <?php
  2. require_once ("config.php");
  3. require_once ("stats.php");
  4. $api = new api;
  5. class api {
  6. //Constructor
  7. function api() {
  8. $this->bind();
  9. }
  10. //howto
  11. function bind() {
  12. $form_action = $_SERVER['PHP_SELF'];
  13. $smarty = new Smarty;
  14. $smarty->force_compile = true;
  15. $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY;
  16. $smarty->assign("stats", stats::get_stats());
  17. $smarty->assign("page_title","API");
  18. $smarty->assign("menu_item","api");
  19. $smarty->display('apihowto.tpl');
  20. }
  21. }
  22. ?>