    <div class="container top">
            <div id="uploader" class="well">
                <div class="queueList">
                    <div id="dndArea" class="placeholder">
                        <div id="filePicker"></div>
                        <p>或将照片拖到这里，单次最多可选100张</p>
                    </div>
                </div>

                <div class="viewInfo" style="display:none;">
                    <div class="form-horizontal">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">分 类</label>
                            <div class="col-sm-8">
                                <?php
                                $query = $this->catalogue_model->cat_all();
                                foreach ($query as $value) {
                                ?>
                                <label class="radio-inline">
                                    <input type="radio" name="type" checked value="<?php echo $value['cat_another_name'] ?>"> <? echo $value['cat_name'] ?>
                                </label>
                                <?php } ?>
                            </div>
                         </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">标 题</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control border" id="title" autofocus="true">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputPassword3" class="col-sm-2 control-label">描 述</label>
                            <div class="col-sm-8">
                                <textarea class="form-control border" rows="5" id="info"></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">标 签</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control border" id="tag" placeholder="使用回车键入标签" data-role="tagsinput">
                            </div>
                        </div>   
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-8">
                            <?php
                                $query = $this->tags_model->tags();
                                foreach ($query as $value) {
                            ?>
                                <span class='label label-default' style="cursor: pointer;" onClick="ClickTag('<? echo $value['tag_name'] ?>')"><? echo $value['tag_name'] ?></span>
                            <?php } ?>
                            </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>
</div>
    <script>
        var imageNum  = "<?php echo $this->system_model->sysinfo('imagenum') ?>";
        var imageSize = "<?php echo $this->system_model->sysinfo('imagesize') ?>";
    </script>
        <script src="<?php echo base_url('dist/js/webuploader.min.js') ?>"></script>
        <script src="<?php echo base_url('dist/js/upload.js') ?>"></script>
    <script>
    function ClickTag (argument) 
    {
        $('#tag').tagsinput('add', argument);
    }
    </script>
    <script src="<?php echo base_url('dist/js/bootstrap-tagsinput.min.js') ?>"></script>
    <script>
    $('#tag').tagsinput({
      maxTags   : 6,
      maxChars  : 32,
      trimValue : true
    });
    </script>