Automatically exported from code.google.com/p/planningalerts
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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