線上書籍

Home

[1071]XOOPS模組開發

<?php //引入TadTools的函式庫 if (!file_exists(XOOPS_ROOT_PATH . "/modules/tadtools/tad_function.php")) { redirect_header("http://www.tad0616.net/modules/tad_uploader/index.php?of_cat_sn=50", 3, _TAD_NEED_TADTOOLS); } include_once XOOPS_ROOT_PATH . "/modules/tadtools/tad_function.php"; include_once XOOPS_ROOT_PATH . "/modules/tadtools/TadUpFiles.php"; $TadUpFiles = new TadUpFiles("snews"); //其他自訂的共同的函數