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.

apihowto.php 521 B

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