請先登入,登入後,確認您的權限後,即可觀看影片。
class\Tad_signup_actions.php
use XoopsModules\Tadtools\BootstrapTable;
show()
//以流水號秀出某筆資料內容 public static function show($id = '') { global $xoopsDB, $xoopsTpl; /*--- 略---*/ $signup = Tad_signup_data::get_all($id, true); $xoopsTpl->assign('signup', $signup); BootstrapTable::render(); }
templates\op_tad_signup_actions_show.tpl
<table data-toggle="table" data-pagination="true" data-search="true" data-mobile-responsive="true"> <thead> <tr> <{foreach from=$signup.0.tdc key=col_name item=user name=tdc}> <th data-sortable="true"><{$col_name}></th> <{/foreach}> <th data-sortable="true">報名日期</th> </tr> </thead> <!-- 略 --> </table>
link to https://github.com/tadlearn/tad_signup/commit/https://github.com/tadlearn/tad_signup/commit/ccaf04832f9b6fcebb575898441bc94fe0ae667c \
進階搜尋
401人線上 (89人在瀏覽線上書籍)
會員: 0
訪客: 401