????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.107 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>Language detection example</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
Sample: <b>detectlanguage.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/>
<!-- text below wil be shown if JavaScript disabled at browser -->
<span id="noscriptdiv" style="border:1px solid #FF0000;display:block;padding:5px;text-align:left; background: #FDF2F2;color:#000;">Active Scripting (JavaScript) should be enabled in your browser for this application to function properly!</span>
<script type="text/javascript">
document.getElementById('noscriptdiv').style.visibility = 'hidden';
document.getElementById('noscriptdiv').style.height = 0;
document.getElementById('noscriptdiv').style.padding = 0;
document.getElementById('noscriptdiv').style.border = 0;
</script>
The example demonstrates automatic detection of user language and allow select translation for JavaPowUpload interface.
<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 "uploadUrl" of MultiPowUpload object. 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>
<input name="autodetect" type="checkbox" onClick="javascript: applyAuto();" checked> Auto detect language <br/>
<select name="language" id="language">
<option value="af">Afrikaans</option>
<option value="ar">Arabic </option>
<option value="be">Belarusian</option>
<option value="bg">Bulgarian</option>
<option value="ca">Catalan</option>
<option value="cs">Czech</option>
<option value="cy">Cyprus</option>
<option value="da">Danish</option>
<option value="de">German</option>
<option value="el">Greek</option>
<option value="en">English</option>
<option value="es">Spanish</option>
<option value="et">Estonian</option>
<option value="fa">Farsi</option>
<option value="fi">Finnish</option>
<option value="fr">French</option>
<option value="ga">Irish</option>
<option value="gl">Galician</option>
<option value="hi">Hindi</option>
<option value="hr">Croatian</option>
<option value="ht">Haitian</option>
<option value="hu">Hungarian</option>
<option value="id">Indonesian</option>
<option value="is">Icelandic</option>
<option value="it">Italian</option>
<option value="iw">former Hebrew</option>
<option value="ja">Japanese</option>
<option value="ko">Korean</option>
<option value="lt">Lithuanian</option>
<option value="lv">Latvian</option>
<option value="mk">Macedonian</option>
<option value="ms">Malay</option>
<option value="mt">Maltese</option>
<option value="nl">Dutch</option>
<option value="no">Norwegian</option>
<option value="pl">Polish</option>
<option value="pt">Portuguese</option>
<option value="ro">Romanian</option>
<option value="ru">Russian</option>
<option value="sk">Slovak</option>
<option value="sl">Slovene</option>
<option value="sq">Sango</option>
<option value="sr">Serbian</option>
<option value="sv">Swedish</option>
<option value="sw">Swahili</option>
<option value="th">Thai</option>
<option value="tl">Tagalog</option>
<option value="tr">Turkish</option>
<option value="uk">Ukrainian</option>
<option value="vi">Vietnamese</option>
<option value="yi">Yiddish</option>
<option value="zh">Chinese</option>
</select>
<input name="submitbtn" type="button" onClick="javascript: applyLanguage();" value="Apply language!" >
<br><br>
<!--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/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">
<param name="Common.Language.AutoDetect" value="true">
<!--Set url to file processing script -->
<param name="Upload.UploadUrl" value="FileProcessingScripts/PHP/uploadfiles.php">
<!-- 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>
<script type="text/javascript">
function applyAuto()
{
if(JavaPowUpload.getParam("Common.Language.AutoDetect") == "true")
{
JavaPowUpload.setParam("Common.Language.AutoDetect", false);
applyLanguage();
}
else
{
JavaPowUpload.setParam("Common.Language.AutoDetect", true);
JavaPowUpload.setParam("Common.InternationalFile","Extra/Localization/Language_<LANGUAGE_CODE>.xml");
}
}
function applyLanguage()
{
JavaPowUpload.setParam("Common.InternationalFile","Extra/Localization/Language_"+document.getElementById("language").value+".xml");
}
</script>
<br />
The file uploader doesn’t work? See <a target="_blank" href="http://www.element-it.com/OnlineHelpMulti/MultiPowUpload_Manual_HTML/Troubleshooting.html">here</a> what you need for its proper work.
<br /><br />
</body>
</html>