:::

9-5-1-8 templates\op_tad_signup_data_preview_excel.tpl 套用語系

您沒有觀看影片的權限

您沒有觀看影片的權限

請先登入,登入後,確認您的權限後,即可觀看影片。

<h2 class="my"><{$smarty.const._MD_TAD_SIGNUP_IMPORT}> <{$action.title}> <{$smarty.const._MD_TAD_SIGNUP_DATA_PREVIEW}></h2>
<form action="index.php" method="post" id="myForm">
    <table class="table table-bordered table-sm">
        <thead>
            <tr>
                <{foreach from=$head item=title}>
                    <th><{$title}></th>
                <{/foreach}>
            </tr>
        </thead>
        <tbody>
            <{foreach from=$preview_data key=i item=data name=preview_data}>
                <{if $smarty.foreach.preview_data.iteration > 1}>
                    <tr>
                        <{foreach from=$data key=j item=val}>
                            <{assign var=title value=$head.$j}>
                            <{assign var=input_type value=$type.$j}>
                            <{if $title!=''}>
                                <td>
                                    <{if $input_type=="checkbox"}>
                                    <{assign var=val_arr value='|'|explode:$val}>
                                        <{foreach from=$val_arr item=val}>
                                            <div class="form-check-inline checkbox-inline">
                                                <label class="form-check-label">
                                                    <input class="form-check-input" type="checkbox" name="tdc[<{$i}>][<{$title}>][]" value="<{$val}>" checked>
                                                    <{$val}>
                                                </label>
                                            </div>
                                        <{/foreach}>
                                    <{else}>
                                        <input type="text" name="tdc[<{$i}>][<{$title}>]" value="<{$val}>" class="form-control form-control-sm">
                                    <{/if}>
                                </td>
                            <{/if}>
                        <{/foreach}>
                    </tr>
                <{/if}>
            <{/foreach}>
        </tbody>
    </table>

    <{$token_form}>
    <input type="hidden" name="id" value="<{$action.id}>">
    <input type="hidden" name="op" value="tad_signup_data_import_excel">
    <div class="bar">
        <button type="submit" class="btn btn-primary">
            <i class="fa fa-save" aria-hidden="true"></i> <{$smarty.const._MD_TAD_SIGNUP_IMPORT}> Excel
        </button>
    </div>
</form>

link to https://github.com/tadlearn/tad_signup/commit/d129c97ec15a8df59e2f4af37fd02e29fe71542b \


:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1827%26tbsn%3D48

書籍目錄

展開 | 闔起

線上使用者

44人線上 (13人在瀏覽線上書籍)

會員: 0

訪客: 44

更多…