????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 13.59.198.133 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/icad.astacus.se/customerzon/JavaPowUpload_old2/ |
Upload File : |
<!-- saved from url=(0014)about:internet --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Simple upload example</title> <link rel="stylesheet" href="styles.css"> <script type="text/javascript" src="Extra/jquery.min.js"></script> <!-- Replace JQuery source with the "http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" (Most users has such file cached )--> <!-- Resize/Collapse feature. If you dont need this feature then: 1. Remove JavaScript below and styles. 2. Remove DnRdiv but leave JavaPowUpload applet stored in it. 3. Remove Collapse, Drag, Resize divs --> <script type="text/javascript"> var JavaPowUploadMinWidth = 400; //JavaPowUpload minimal width for resize var JavaPowUploadMinHeight = 100; //JavaPowUpload minimal height for resize /* * jqDnR - Minimalistic Drag'n'Resize for jQuery. * Copyright (c) 2007 Brice Burgess <bhb@iceburg.net>, http://www.iceburg.net * Licensed under the MIT License: * http://www.opensource.org/licenses/mit-license.php * $Version: 2007.08.19 +r2 */ (function($){ $.fn.jqDrag=function(h){return i(this,h,'d');}; $.fn.jqResize=function(h){return i(this,h,'r');}; $.jqDnR={dnr:{},e:0, drag:function(v){ if(M.k == 'd') { E.css({left:M.X+v.pageX-M.pX,top:M.Y+v.pageY-M.pY}); } else { var newwidth = Math.max(v.pageX-M.pX+M.W,0); var newheight = Math.max(v.pageY-M.pY+M.H,0); if(newwidth>=JavaPowUploadMinWidth) JavaPowUpload.width = newwidth-10; if(newheight>=JavaPowUploadMinHeight) JavaPowUpload.height = newheight-10; if(newwidth>=JavaPowUploadMinWidth) E.css({width:newwidth}); if(newheight>=JavaPowUploadMinHeight) E.css({height:newheight}); } return false; }, stop:function() { E.css('opacity',M.o); $().unbind('mousemove',J.drag).unbind('mouseup',J.stop); } }; var J=$.jqDnR,M=J.dnr,E=J.e, i=function(e,h,k){return e.each(function(){h=(h)?$(h,e):e; h.bind('mousedown',{e:e,k:k},function(v){var d=v.data,p={};E=d.e; // attempt utilization of dimensions plugin to fix IE issues if(E.css('position') != 'relative'){try{E.position(p);}catch(e){}} M={X:p.left||f('left')||0,Y:p.top||f('top')||0,W:f('width')||E[0].scrollWidth||0,H:f('height')||E[0].scrollHeight||0,pX:v.pageX,pY:v.pageY,k:d.k,o:E.css('opacity')}; E.css({opacity:0.8});$().mousemove($.jqDnR.drag).mouseup($.jqDnR.stop); return false; }); });}, f=function(k){return parseInt(E.css(k))||false;}; })(jQuery); function collapse() { var CollapseHeight = 16; if ( typeof collapse.CollapseType == 'undefined' ) collapse.CollapseType = "close"; if(collapse.CollapseType=="close") { collapse.DnRoriginalWidth = $('#DnRdiv').css("width"); collapse.DnRoriginalHeight = $('#DnRdiv').css("height"); collapse.JPUoriginalWidth = JavaPowUpload.width; collapse.JPUoriginalHeight = JavaPowUpload.height; JavaPowUpload.width=1; JavaPowUpload.height=1; $('#DnRdiv').css({width:collapse.JPUoriginalWidth, height:CollapseHeight}); $('#collapsediv').css({background:"transparent url('images/collapseback.png') no-repeat"}); collapse.CollapseType="open"; } else { JavaPowUpload.width=collapse.JPUoriginalWidth; JavaPowUpload.height=collapse.JPUoriginalHeight; $('#DnRdiv').css({width:collapse.DnRoriginalWidth, height:collapse.DnRoriginalHeight}); $('#collapsediv').css({background:"transparent url('images/collapse.png') no-repeat"}); collapse.CollapseType="close"; } } var JavaPowUpload; window.onload = function() { InitJavaObj(); } function InitJavaObj() { JavaPowUpload = document.getElementById("JavaPowUpload"); } function JavaPowUpload_onAppletInit() { $('#DnRdiv').jqDrag('.jqDrag').jqResize('.jqResize'); $('#DnRdiv').css({width:JavaPowUpload.width}); } </script> <style> .jqHandle { height:17px; } .jqDrag { width: 16px; position: absolute; bottom: 0; right: 16; cursor: move; background: transparent url('images/move.png') no-repeat; border-top:1px solid #CCC; } .jqResize { width: 16px; position: absolute; bottom: 0; right: 0; cursor: se-resize; background: transparent url('images/resize.png') no-repeat; border-top:1px solid #CCC; } .jqDnR { z-index: 3; position: relative; padding-bottom: 18; background-color: #FFFFFF; border: 1px dashed #CCC; } .jqCollapse { width: 16px; position: absolute; bottom: 0; right: 32; border-left:1px solid #CCC; background: transparent url('images/collapse.png') no-repeat; border-top:1px solid #CCC; cursor:pointer; } </style> <!-- End of collapse/resize feature code --> </head> <body> Sample: <b>simpleuploadwithresize.html</b> <a href="javascript:location.reload(true);"><img border="0" src="images/refresh.png" width="16" height="16"> Refresh frame</a> <a target="_parent" href="index.htm"><img border="0" src="images/home.png" width="16" height="16"> Examples home</a><br/><br/> It is a simple example of uploading with the help of JavaPowUpload. Each file sent at own request (one by one). <p>For the example you need to specify script URL that accept the files. Open the example in a text editor and specify the property value "Upload.UploadUrl" of JavaPowUpload applet. The value can be:</p> <ul> <li>For ASP: <code>FileProcessingScripts/ASP/ClearASP/uploadfiles.asp</code></li> <li>For PHP : <code>FileProcessingScripts/PHP/uploadfiles.php</code> <strong>(Default value)</strong></li> <li>For ASP.NET (C Sharp): <code>FileProcessingScripts/ASP.NET/CSharp/uploadfiles.aspx</code></li> <li>For ASP.NET (VB.NET): <code>FileProcessingScripts/ASP.NET/VBNET/uploadfiles.aspx</code></li> <li>For Perl : <code>FileProcessingScripts/PERL/uploadfiles.pl</code></li> <li>For Cold Fusion : <code>FileProcessingScripts/ColdFusion/uploadfiles.cfm</code></li> <li>For JSP : <code>FileProcessingScripts/JSP/uploadfiles.jsp</code></li> </ul> <div id="DnRdiv" class="jqDnR"> <!--lib/JavaPowUpload.jar - main jar file, should always be included Optional jar files: lib/skinlf.jar - for themes support lib/commons-compress.jar - compression before upload lib/commons-httpclient.jar - http upload functionality lib/commons-net-ftp.jar - FTP protocol support --> <applet code="com.elementit.JavaPowUpload.Manager" archive="lib/skinlf.jar, lib/commons-httpclient.jar, lib/JavaPowUpload.jar" width="500" height="350" name="JavaPowUpload" id="JavaPowUpload" mayscript="true" alt="JavaPowUpload by www.element-it.com" VIEWASTEXT> <!-- Java Plug-In Options --> <param name="progressbar" value="true"> <param name="boxmessage" value="Loading JavaPowUpload Applet ..."> <param name="Common.SerialNumber" value="put your serial number here"> <!--Enable upload mode --> <param name="Common.UploadMode" value="true"> <param name="Common.UseLiveConnect" value="true"> <!--Set url to file processing script --> <param name="Upload.UploadUrl" value="FileProcessingScripts/PHP/uploadfiles.php"> <param name="Upload.HttpUpload.MaxFilesCountPerRequest" value="1"> <param name="Common.SkinLF.ThemepackURL" value="lib/themepack.zip"> <!-- This text will be shown if applet not working or Java not installed--> <span style="border:1px solid #FF0000;display:block;padding:5px;margin-top:10px;margin-bottom:10px;text-align:left; background: #FDF2F2;color:#000;">You should <b>enable applets</b> running at browser and to have the <b>Java</b> (JRE) version >= 1.5.<br />If applet is not displaying properly, please check <a target="_blank" href="http://java.com/en/download/help/testvm.xml" title="Check Java applets">additional configurations</a></span> </applet> <div id="collapsediv" onClick="javascript:collapse();" title="Collapse control" class="jqHandle jqCollapse"></div> <div title="Drag control" class="jqHandle jqDrag"></div> <div title="Resize control" class="jqHandle jqResize"></div> </div> <script type="text/javascript"> function JavaPowUpload_onServerResponse(status, response) { var responselable = document.getElementById("serverresponse"); responselable.innerHTML += "<br>Response code " + status + response; } </script> <br/> <b>You should see server reponse below when upload complete.</b><br/> <div id="serverresponse"> </div> <br /> The file uploader doesn’t work? See <a target="_blank" href="http://www.element-it.com/OnlineHelpJavaPowUpload/Troubleshooting.html">here</a> what you need for its proper work. <br/> <a href="index.htm"><<Return to the samples list</a> </body> </html>