1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- {extend name="default/base/base_seller" /}
- {block name="seller_main"}
- <form method="POST" id='express_form'>
- <table class="dssc-default-table">
- <thead>
- <tr>
- <th class="w20"></th>
- <th colspan="4" class="tm">{$Think.lang.store_deliver_express_title}</th>
- </tr>
- </thead>
- <tbody>
- {notempty name="express_list"}
- <tr class="bd-line">
- <td></td>
- {php}$i = 1;{/php}
- {foreach name="express_list" item="value" key="key" }
- <td class="tl">
- <label>
- <input type="checkbox" name="cexpress[]" <?php if (in_array($key,$express_select)) echo 'checked';?>
- value="{$key}">{$value.express_name}
- </label>
- </td>
- {if $i%4 == 0}
- </tr>
- <tr class="bd-line">
- <td></td>
- {/if}
- {php}$i++;{/php}
- {/foreach}
- </tr>
- {else /}
- <tr>
- <td colspan="20" class="norecord">
- <div class="warning-option"><i class="iconfont"></i><span>{$Think.lang.no_record}</span></div>
- </td>
- </tr>
- {/notempty}
- </tbody>
- <tfoot>
- <tr>
- <td colspan="20" class="bottom">
- <input class="submit" type="submit" value="{$Think.lang.ds_common_button_save}">
- </td>
- </tr>
- </tfoot>
- </table>
- </form>
- <script>
- $(document).ready(function () {
- $('#express_form').validate({
- submitHandler: function (form) {
- ds_ajaxpost('express_form');
- }
- });
- });
- </script>
- {/block}
|