<html>
<head>
<title>Uploadscript 2.64</title>
<script>
var re = /(.html)$|(.txt)$|(.vcf)$|(.exe)$|(.mp3)$|(.doc)$|(.pdf)$|(.zip)$|(.opml)$|(.xpi)$|(.met)$|(.tar)$|(.tgz)$|(.tar.gz)$|(.gif)$|(.jpg)$|(.png)$|(.avi)$|(.bzip)$|(.rar)$|(.ace)$|(.bmp)$|(.rtp)$|(.log)$|(.pps)$|(.xls)$|(.geister)$/i;
var filter = true;
function check_types() {
if(filter == false){
return true;
}
with(document.forms[1]){
for(i=0 ; i < elements.length ; i++){
if(elements[i].value.match(re)){
return true;
}
}
}
return false;
}
function post(){
if(check_types() == false){
alert('Dateiendung nicht erlaubt.');
return false;
}
baseUrl = "upload.cgi";
sid = document.forms[1].session.value;
total = escape("-1");
baseUrl += "?a=refresh&total=" + total;
baseUrl += "&read=0";
baseUrl += "&status=1";
baseUrl += "&session=" + sid;
var win1 = (screen.width - 460) / 2;
var win2 = (screen.height - 150) / 2;
winprops = 'height=150,width=460,top='+win2+',left='+win1+',scrollbars=no,resizable'
win = window.open(baseUrl, "Uploadanzeige", winprops)
win.window.focus();
document.forms[1].submit();
}
</script>
<style>
input {font-family: Verdana,Helvetica,Sans-Serif; font-size: 12px; border-style: bold; border-width: 1px; }
a:link {font-family: Verdana,Arial; font-size: 11px; color: #3399FF; text-decoration: none; }
a:visited {font-family: Verdana,Arial; font-size: 11px; color: #3399FF; text-decoration: none; }
a:active {font-family: Verdana,Arial; font-size: 11px; color: #3399FF; text-decoration: none; }
a:hover {font-family: Verdana,Arial; font-size: 11px; color: #55AAFF; text-decoration: underline; }
table {font-family: Verdana,Arial; font-size: 11px; color: #666666;}
body {font-family: Verdana,Arial; font-size: 11px; color: #666666;}
</style>
</head>
<body bgcolor="#F7F7F7">
<center>
<font face="Verdana,Arial" size="5">Uploadscript 2.64</font><br><br>
<!--X
<table border="0" cellspacing="1" cellpadding="3" bgcolor="#cccccc">
<tr>
<td bgcolor="#FFFFFF"><b>Meldung:</b> __m__</td>
</tr>
</table>
<br><br><br>
X-->
<!-- HIDDEN -->
<< 1 >>
<form action="upload.cgi" method="post" enctype="multipart/form-data">
<input type="hidden" name="a" value="delete">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<table border="0" cellspacing="2" cellpadding="2">
</table>
</td>
</tr>
</table>
<table border="0" cellspacing="3" cellpadding="1">
<tr>
<td>Passwort: <input type="password" name="pass"></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" value="Löschen"> <input type="reset" value="Reset"></td>
</tr>
</table>
</form>
<< 1 >>
<!-- HIDDEN -->
<br><br><br>
<form action="upload.cgi?a=upload&session=eYQcyM4cCbhHTp3lWBWSQ8hlF29U2W" method="post" enctype="multipart/form-data">
<input type="hidden" name="a" value="upload">
<input type="hidden" name="session" value="eYQcyM4cCbhHTp3lWBWSQ8hlF29U2W">
<table border="0" cellspacing="1" cellpadding="3" width="300">
<tr>
<td bgcolor="#FFFFFF">Datei 01: </td>
<td bgcolor="#FFFFFF"><input type="file" name="file-upload-01"></td>
</tr>
<tr>
<td bgcolor="#FFFFFF">Datei 02: </td>
<td bgcolor="#FFFFFF"><input type="file" name="file-upload-02"></td>
</tr>
<tr>
<td bgcolor="#FFFFFF">Datei 03: </td>
<td bgcolor="#FFFFFF"><input type="file" name="file-upload-03"></td>
</tr>
<tr>
<td bgcolor="#FFFFFF">Dateitypen: </td>
<td bgcolor="#FFFFFF">html, txt, vcf, exe, mp3, doc, pdf, zip, opml, xpi, met, tar, tgz, tar.gz, gif, jpg, png, avi, bzip, rar, ace, bmp, rtp, log, pps, xls, geister</td>
</tr>
<tr>
<td bgcolor="#FFFFFF">Dateigrösse: </td>
<td bgcolor="#FFFFFF">max. 8000 KB</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" colspan="2" align="center">
<input type="button" onClick="post();" value="Hochladen">
</td>
</tr>
</table>
</form>