Turning Your House Into/Smart Home!
Protected by Copyscape
EMOL4LIFE site
Designed4life Wall-Units

Upload

Uploades


<script src="http://49video.resources.s3.amazonaws.com/uploadthingy.js" type="text/javascript" language="Javascript"></script>
<iframe id="uploadtarget" name="uploadtarget" src="" style="width:0px;height:0px;border:0"></iframe>
<div id='uploadarea'><p><img src=http://49video.resources.s3.amazonaws.com/loading.gif width=16 height=16>  Loading <a href=http://www.uploadthingy.com>Uploadthingy file upload form</a>... <br><br>If your upload form doesn't display within a few seconds, please check the <a href=http://www.uploadthingy.com/faq.html>FAQ</a> or contact us at hello@uploadthingy.com. We'd love to help out!</p></div>
<script type="text/javascript" language="Javascript">
var sitecode="ZW1vbDRsaWZlLnBhZ2UudGw=";
authupload();
function getUploadForm(json) {
showblinks=false;
var h="";
h+="<p style='color:gray;'>Your name<br>";
h+="<input type=text style='width:400px;' id='uploader_name' name='uploader_name'></p>";
h+="<p style='color:gray;'>How we can contact you<br>";
h+="<input type=text style='width:400px;' id='uploader_contact' name='uploader_contact'></p>";
h+="<p style='color:gray;'>Your message<br>";
h+="<textarea style='width:400px; height:100px;' id='uploader_description' name='uploader_description'></textarea></p>";
h+="<p style='color:gray;'>Files<br>";
h+="<input type='file' size='40' id='uploadfile0' name='file0'><br>";
h+="<input type='file' size='40' id='uploadfile1' name='file1'><br>";
h+="</p>";
h+="<input type='hidden' id='authcode' name='authcode' value='"+json.c+"'>";
h+="<input type='hidden' id='uploadid' name='id' value='widget$"+json.d+"$"+json.c.substring(0,json.c.indexOf("_"))+"'>";
h+="<input type='hidden' id='callbackurl' name='callbackurl' value='"+baseserverurl+"'>";
h+="<input type='hidden' name='savemeta' value='yes'>";
h+="<p><input class='widget_button' id='49widget_submitbutton' type='button' onclick='doUpload();' name='suploadvideo' value='Upload'></p>";
return h;
}
function doUpload() { if (checkform()) { upload('start'); } }
function checkform() { 
var found=false;
var cnt=0;
while (document.getElementById('uploadfile'+cnt)) {
if (document.getElementById('uploadfile'+cnt).value.length>0) {
found=true;
break;
}
cnt++;
}
if (!found) {
alert('Please select at least one file to upload.');
return false;
}
uploadmetadata=new Array();
uploadmetadata['name']=document.getElementById('uploader_name').value;
uploadmetadata['contact']=document.getElementById('uploader_contact').value;
uploadmetadata['description']=document.getElementById('uploader_description').value;
uploadmetadata['uploadfile0']=document.getElementById('uploadfile0').value;
uploadmetadata['uploadfile1']=document.getElementById('uploadfile1').value;
return true;
}
</script>
 

Copyrighted.com Registered & Protected 
XN8Q-22E0-AGIC-HMSY2015, Emol4Life, All rights reserved.