[289] | 1 | <?php
|
---|
| 2 | $this->load->view('layout/contextmenu');
|
---|
| 3 | $this->load->view('layout/modalform');
|
---|
| 4 | ?>
|
---|
| 5 | <!-- <script type="text/javascript">
|
---|
| 6 | window.jQuery || document.write("<script src='assets/js/jquery/jquery-1.11.1.min.js'>"+"<"+"/script>");
|
---|
| 7 | </script>
|
---|
| 8 |
|
---|
| 9 | <script type="text/javascript">
|
---|
| 10 | if("ontouchend" in document) document.write("<script src='assets/js/jquery/jquery.mobile.custom.min.js'>"+"<"+"/script>");
|
---|
| 11 | </script>
|
---|
| 12 |
|
---|
| 13 | <script src="assets/js/bootstrap/bootstrap.min.js"></script>
|
---|
| 14 | <script src="assets/js/jquery/jquery.confirm.min.js"></script>
|
---|
| 15 | <script src="assets/js/bootstrap/ace-elements.min.js"></script>
|
---|
| 16 |
|
---|
| 17 | <script src="assets/js/jquery/jquery.uploadfile.min.js"></script>
|
---|
| 18 |
|
---|
| 19 | <script src="assets/js/jquery/jquery-ui-1.10.4.min.js"></script>
|
---|
| 20 | <script src="assets/js/jquery/jquery.contextMenu.js"></script>
|
---|
| 21 | <script src="assets/js/jquery/jquery.easing.1.3.js"></script>
|
---|
| 22 | <script src="assets/js/jquery/jquery.slimscroll.min.js"></script>
|
---|
| 23 | <script src="assets/js/vsgrid.js"></script>
|
---|
| 24 | <script src="assets/js/vstree.js"></script>
|
---|
| 25 | <script type="text/javascript" src="assets/js/filemanager/filemanager.js"></script> -->
|
---|
| 26 |
|
---|
| 27 | <script src="assets/js/jquery/jquery-1.11.1.min.js"></script>
|
---|
| 28 | <!-- <script src="assets/js/jquery/jquery.hotkeys-0.7.9.min.js"></script> -->
|
---|
| 29 | <script src="assets/js/jquery/jquery-ui-1.10.4.min.js"></script>
|
---|
| 30 | <script src="assets/js/jquery/jquery.ui.position.js"></script>
|
---|
| 31 | <script src="assets/js/jquery/jquery.alsodrag.js"></script>
|
---|
| 32 | <script src="assets/js/jquery/jquery.contextMenu.js"></script>
|
---|
| 33 | <script src="assets/js/bootstrap/bootstrap.min.js"></script>
|
---|
| 34 | <script src="assets/js/bootstrap/bootbox.min.js"></script>
|
---|
| 35 | <script src="assets/js/jquery.knob.js"></script>
|
---|
| 36 |
|
---|
| 37 | <!-- jQuery File Upload Dependencies -->
|
---|
| 38 | <script src="assets/js/jquery.ui.widget.js"></script>
|
---|
| 39 | <script src="assets/js/jquery.iframe-transport.js"></script>
|
---|
| 40 | <script src="assets/js/jquery.fileupload.js"></script>
|
---|
| 41 |
|
---|
| 42 | <!-- Our main JS file -->
|
---|
| 43 | <script src="assets/js/script.js"></script>
|
---|
| 44 | <script src="assets/js/tree.js"></script>
|
---|
| 45 | <script src="assets/js/grid.js"></script>
|
---|
| 46 | <script src="assets/js/manager.js"></script>
|
---|
| 47 | <script type="text/javascript">
|
---|
| 48 | var data = {"DIRECTORIES": [{"id": "1", "name": "Dir1", "parentID": 0}, {"id": "2", "name": "Dir2", "parentID": 0}, {"id": "3", "name": "Dir3", "parentID": 0}, {"id": "4", "name": "Dir1.1", "parentID": "1"}, {"id": "5", "name": "Dir1.2", "parentID": "1"}, {"id": "15", "name": "Dir1.3", "parentID": "3"}, {"id": "16", "name": "Dir1.4", "parentID": "15"}, {"id": "17", "name": "Dir1.5", "parentID": "1"}, {"id": "18", "name": "Dir1.6", "parentID": "1"}, {"id": "19", "name": "Dir1.7", "parentID": "1"}, {"id": "20", "name": "Dir2.1", "parentID": "2"}], "FILES": [{"id": "2", "name": "File in root 1", "parentID": 0, "minetype": "text"}], "ERROR": {"err": "", "errCode": 0}}
|
---|
| 49 | if (jQuery) {
|
---|
| 50 | var manager = $().violetFileManager({
|
---|
| 51 | host: '<?php echo base_url(); ?>',
|
---|
| 52 | tree: 'treeview-container',
|
---|
| 53 | grid: 'file-container',
|
---|
| 54 | maincontainer: 'main-content',
|
---|
| 55 | titlebar: 'title-bar',
|
---|
| 56 | toolsbar: 'tools-bar',
|
---|
| 57 | statusbar: 'status-bar',
|
---|
| 58 | datasource: 'ajax'/* 'json' ,
|
---|
| 59 | data: data */
|
---|
| 60 | });
|
---|
| 61 | }
|
---|
[345] | 62 |
|
---|
| 63 |
|
---|
[289] | 64 | </script>
|
---|
| 65 | </body>
|
---|
| 66 | </html> |
---|