<link rel="stylesheet" href="/js/webuploader/webuploader.css">
<link rel="stylesheet" href="/css/style.css">
<script src="/js/webuploader/webuploader.js"></script>
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table" style="table-layout: fixed;">
    <tr>
        <td class="td_bg">
            <div id="wrapper">
                <div id="container">
                    <!--头部，相册选择和格式选择-->
                    <div id="uploader">
                        <div class="queueList">
                            <div id="dndArea" class="placeholder">
                                <div id="filePicker"></div>
                            </div>
                        </div>
                        <div class="statusBar" style="display:none;">
                            <div class="progress">
                                <span class="text">0%</span>
                                <span class="percentage"></span>
                            </div><div class="info"></div>
                            <div class="btns">
                                <div id="filePicker2"></div><div class="uploadBtn">开始上传</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </td>
    </tr>
</table>
<script src="/js/upload.js"></script>
<script>
    uploadImg('<?= \Yii::$app->getRequest()->getCsrfToken() ?>',<?= $type ?>,<?= $id ?>);
</script>
