ÿØÿà JFIF ` ` ÿþ
Server : Apache System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : tkt_travelbus ( 1137) PHP Version : 7.0.0p1 Disable Function : mysql_pconnect Directory : /tkt_travelbus/www/admin/ck_upload/ |
Upload File : |
<?php include "../include/top_iframe.html"; $upload_dir = $cf['path']."/FileData/ckfinder/images/".date("Ymd")."/".$tmp_layer_id."/"; ?> <!-- 스크립트 업로드 --> <link rel="stylesheet" href="/js/plupload/js/jquery.ui.plupload/css/jquery.ui.plupload.css" type="text/css" /> <script type="text/javascript" src="/js/plupload/js/plupload.full.min.js"></script> <script type="text/javascript" src="/js/plupload/js/jquery.ui.plupload/jquery.ui.plupload.min.js"></script> <script type="text/javascript" src="/js/plupload/js/i18n/ko.js"></script><!-- 언어팩 --> <script type="text/javascript"> // Initialize the widget when the DOM is ready $(function() { $("#uploader").plupload({ // General settings runtimes : 'html5,flash,silverlight,html4', url : 'upload_proc.html', // User can upload no more then 20 files in one go (sets multiple_queues to false) max_file_count: 20, chunk_size: '8mb', // Resize images on clientside if we can /*resize : { width : 200, height : 200, quality : 90, crop: true // crop to exact dimensions },*/ multipart_params : { "upload_dir" : "<?=base64_encode($upload_dir)?>", "SqlType" : "img_ins", "r_editor": "<?=$r_editor?>" }, filters : { // Maximum file size max_file_size : '2mb', // Specify what files to browse for mime_types: [ {title : "Image files", extensions : "jpg,jpeg,gif,png,bmp"} /*,{title : "Zip files", extensions : "zip"}*/ ] }, // Rename files by clicking on their titles rename: true, // Sort files sortable: true, // Enable ability to drag'n'drop files onto the widget (currently only HTML5 supports that) dragdrop: true, // Views to activate views: { list: true, thumbs: true, // Show thumbs active: 'thumbs' }, // Flash settings flash_swf_url : '/js/plupload/js/Moxie.swf', // Silverlight settings silverlight_xap_url : '/js/plupload/js/Moxie.xap', //업로드후 페이지 complete: function() { console.log('file upload'); ajax_loader('../ck_upload/upload_proc.html?tmp_layer_id=<?=$tmp_layer_id?>&r_editor=<?=$r_editor?>&upload_dir=<?=base64_encode($upload_dir)?>&SqlType=img_html'); } }); }); </script> <!-- /스크립트 업로드 --> <div class="iframe" style="padding-left:0px;margin-left:10px;"> <!-- 본문 --> ※전체 전송 가능 용량 : 8메가 이내<br> ※이미지 하나 전송 용량 : 2메가 이내<br> ※최대 첨부가능 개수 : 20개 이내<br> ※<b>전송후에는 서버에 영구보관됨으로 선택에 유의하시기 바랍니다.</b> <!-- 폼 --> <div class="mt25"> <form id="form" method="post" action="/js/plupload/examples/dump.php"> <div id="uploader"> <p>Your browser doesn't have Flash, Silverlight or HTML5 support.</p> </div> <!--<br /> <input type="submit" value="Submit" />--> </form> </div> <!-- /폼 --> <!-- /본문 --> </div> <?php include "../include/footer_iframe.html"; ?>