<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Sec Download Center</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="stylesheet.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
background-color: #EEEEEE;
}
a:link {
text-decoration: none;
color: #4162A3;
}
a:visited {
text-decoration: none;
color: #4162A3;
}
a:hover {
text-decoration: underline;
color: #4162A3;
}
a:active {
text-decoration: none;
color: #4162A3;
}
.Stil1 {color: #DBE2E7}
.Stil2 {color: #4162A3}
-->
</style></head>
<body>
<table width="100%" cellspacing="2" cellpadding="2" height="100%">
<tr>
<td>
<div align="center">
<p> </p>
<p> </p>
<table width="550" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#336699">
<tr>
<td background="top.gif" height="60"><img src="head.gif" width="256" height="45"></td>
</tr>
<tr>
<td background="bg.gif"><table width="100%" cellpadding="5" cellspacing="5">
<tr>
<td background="bg.gif">
<form name="formen" action="uploader.php" method="post" enctype="multipart/form-data">
<div align="center">
<p><br>
<span class="Stil1"><a href="http://hpbimg.darth-alex.com/SeC/857/uploaded_pics/" target="_top">:: Tracks</a> <a href="http://hpbimg.darth-alex.com/SeC/857/uploaded_files/" target="_top">:: Albums </a><a href="http://hpbimg.darth-alex.com/SeC/857/uploaded_docs/" target="_top">:: Sonstiges </a></span><span class="Stil2">::</span><br>
</p>
<p> Um euern Download link zu erhalten müsst ihr auf das Angebene Verzeichnis klicken </p>
</div>
<table width="100%" cellspacing="2" cellpadding="2">
<tr>
<td width="180" background="bg.gif">Datei: </td>
<td background="bg.gif">
<input type="file" name="bilde_fil">
</td>
</tr>
<tr>
<td width="180" background="bg.gif">Verzeichnis:</td>
<td background="bg.gif">
<select name="folder">
<option>Ordner Wählen</option>
<option value="uploaded_pics/" selected>Tracks</option>
<option value="uploaded_files/">Albums </option>
<option value="uploaded_docs/">Sonstiges</option>
</select>
</td>
</tr>
<tr>
<td width="180" background="bg.gif">Name von dem File:</td>
<td background="bg.gif">
<input type="text" name="nyttnavn">
</td>
</tr>
<tr>
<td width="180" background="bg.gif">Dateiendung:</td>
<td background="bg.gif">
<select name="ending">
<option>.mp3</option>
<option>.jpg</option>
<option>.gif</option>
<option>.exe</option>
<option>.zip</option>
<option>.rar</option>
<option>.zip</option>
<option>.mpg</option>
</select>
</td>
</tr>
</table>
<br>
<input name="submit" type="submit" class="bodycell" value="Hochladen">
<input type="hidden" name="MAX_FILE_SIZE" value="10000000000">
<?php if ($folder == "Choose folder")
{
echo "<b>Error: </b> You must Choose a folder to upload your file.";
}?>
<?php
#Config
$path=$folder; //The file-path(remember the last '/')
#Do not edit below :)
if ($bilde_fil && $nyttnavn){
$ok = 1;
if (is_file($path.$nyttnavn.$ending)){
print "<b>Error</b>, the name allready exists. Choose another name.<br>";
$ok = 0;
}
if (preg_match("/^[\/\\\.]/", $nyttnavn)){
print "<b>Error</b>, Filname can't start with: '.', '/' or '\'";
$ok = 0;
}
if (!($ending == ".jpg" || $ending == ".gif" || $ending == ".zip" || $ending == ".exe" || $ending == ".rar" || $ending == ".mpg" || $ending == ".zip" || $ending == ".mp3")){
print "<b>Error</b>, do not mix with the filename ($ending) Thanks!";
$ok = 0;
}
print "";
}
if ($ok){
$res = copy($bilde_fil, $path."/".$nyttnavn.$ending);
print ($res)?"<b>Finish</b>, uploadet ".$nyttnavn.$ending."":"<b>Error</b>, could not upload the file.<br>";
print "";
}
?>
<font color="#FFFFFF">959390752072342378218374</font><br>
</form>
</td>
</tr>
</table> </td>
</tr>
<tr>
<td height="37">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height="37" background="bottom.gif">
<div align="center">All Rights Reserved. <a href="http://www.TZ-Style.cx.la">
Tommy-Z´s</a> Sec Download Center V.2.0<br>
Copyright TZ-Designs ©2005</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<p class="headcell"> </p>
</div>
</td>
</tr>
</table>
</body>
</html>