<?php /* # Fuer debugging error_reporting(E_ALL); ini_set('display_errors', 1); #echo __LINE__."<br>"; */ error_reporting(E_ALL); ini_set('display_errors', 1); if (isset($_GET['action'])) $action = $_GET['action']; else $action = ""; switch($action){ default: echo" <html> <head> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\"> <link rel=\"stylesheet\" href=\"templates/standard/css/styles_pc.php\" type=\"text/css\"> <title>Uploadsystem</title> </head> <body onload=\"if(document.login)document.login.pwd.focus();return false;\"> <table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\"> <tr> <td height=\"30\"> </td> </tr> <tr> <td> <div align=\"center\"> <table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\"> <tr> <td width=\"10\" background=\"templates/standard/images/box_e1.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"templates/standard/images/box_top.gif\" valign=\"top\"> <img src=\"templates/standard/images/i_login.gif\"></td> <td width=\"95%\" background=\"templates/standard/images/box_top.gif\"> <img height=\"10\" src=\"templates/standard/images/blank.gif\" width=\"1\"><br> <font class=\"hd\"> Login Uploadsystem</font><br> <span class=\"sh\">Dateien auf den Webserver laden</span><br> <img height=\"5\" src=\"templates/standard/images/blank.gif\" width=\"1\"></td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e2.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td width=\"1%\" background=\"templates/standard/images/box_l.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td colspan=\"2\"><br> <p></p> <p></p> <p></p> <p></p> <form action=?action=anmeld method=\"POST\" name=\"login\"> <input type=\"hidden\" name=\"tparam\" value=\"945180225\"> <table cellspacing=\"1\" cellpadding=\"1\" width=\"100%\" border=\"0\"> <tr> <td class=\"formdesc\"> Passwort </td> <td> <input type=\"password\" name=\"pwd\" size=\"40\" tabindex=\"2\"><br></td> </tr> <tr class=\"login\"> <td align=\"center\" colspan=\"2\"> <br> <input title=\"Login\" type=\"image\" src=\"templates/standard/images/b_login.gif\" border=\"0\"></td> </tr> </table> </form> <p><br> </p> </td> <td width=\"1%\" background=\"templates/standard/images/box_r.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"templates/standard/images/box_e3.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"templates/standard/images/box_bottom.gif\" colspan=\"2\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"8\"></td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e4.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"> </td> </tr> </table> </div> </td> </tr> </table> </body> </html>"; break; case "anmeld": // Abfrage, was tun wenn Felder leer sind bzw. Passwort falsch ist if ($_POST['pwd'] == "") { echo " <html> <head> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\"> <link rel=\"stylesheet\" href=\"templates/standard/css/styles_pc.php\" type=\"text/css\"> <title>Keine Eingabe</title> </head> <body> <table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\"> <tr> <td> <div align=\"center\"> <table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\"> <tr> <td width=\"10\" background=\"templates/standard/images/box_e1.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"templates/standard/images/box_top.gif\" valign=\"top\"> <img src=\"templates/standard/images/i_login.gif\"></td> <td width=\"95%\" background=\"templates/standard/images/box_top.gif\"> <img height=\"10\" src=\"templates/standard/images/blank.gif\" width=\"1\"><br> <span class=\"sh\">Keine Eingabe </span><br> <img height=\"5\" src=\"templates/standard/images/blank.gif\" width=\"1\"></td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e2.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td width=\"1%\" background=\"templates/standard/images/box_l.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td colspan=\"2\"><br> <p align=\"center\"><b>Es müssen alle Felder ausgefüllt werden</b> </p> <p align=\"center\"><a href=\"javascript:history.back()\"> <img border=\"0\" src=\"templates/standard/images/zurueck.gif\" width=\"77\" height=\"22\"></a><br> </p> <p></p> <p></p> <p></p> <p></p> <p><br> </p> </td> <td width=\"1%\" background=\"templates/standard/images/box_r.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"templates/standard/images/box_e3.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"templates/standard/images/box_bottom.gif\" colspan=\"2\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"8\"></td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e4.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"> </td> </tr> </table> </div> </td> </tr> </table> </body> </html> "; exit; } if (md5($_POST['pwd']) != 'f5df16d9bd60b0894064b5777139de79'){ //verschlüsseltes Passwort überprüfen echo " <html> <head> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\"> <link rel=\"stylesheet\" href=\"templates/standard/css/styles_pc.php\" type=\"text/css\"> <title>Passwort falsch</title> </head> <body> <table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\"> <tr> <td> <div align=\"center\"> <table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\"> <tr> <td width=\"10\" background=\"templates/standard/images/box_e1.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"templates/standard/images/box_top.gif\" valign=\"top\"> <img src=\"templates/standard/images/i_login.gif\"></td> <td width=\"95%\" background=\"templates/standard/images/box_top.gif\"> <img height=\"10\" src=\"templates/standard/images/blank.gif\" width=\"1\"><br> <span class=\"sh\">Falsches Passwort</span><br> <img height=\"5\" src=\"templates/standard/images/blank.gif\" width=\"1\"></td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e2.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td width=\"1%\" background=\"templates/standard/images/box_l.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td colspan=\"2\"><br> <p align=\"center\"><b>Das eingegebene Passwort ist falsch!<br> <p align=\"center\"><a href=\"javascript:history.back()\"> <img border=\"0\" src=\"templates/standard/images/zurueck.gif\" width=\"77\" height=\"22\"></a><br> </p> <p></p> <p></p> <p></p> <p></p> <p><br> </p> </td> <td width=\"1%\" background=\"templates/standard/images/box_r.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"templates/standard/images/box_e3.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"templates/standard/images/box_bottom.gif\" colspan=\"2\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"8\"></td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e4.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"> </td> </tr> </table> </div> </td> </tr> </table> </body> </html>"; exit; } ###################################################################################################################################################### # Ende Passwortüberprüfung ###################################################################################################################################################### $limitedext = array(".*"); //Erlaubte Dateieindung beim Upload //$heute = mktime(0, 0, 0, date("m"), date("d"), date("Y")); // heutiges Datum //$heute_format = date("Y-m-d", $heute); // ISO-8601 Format wie in der Datenbank: Formatierung für Vergleiche erforderlich echo " <html> <head> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\"> <link rel=\"stylesheet\" href=\"templates/standard/css/styles_pc.php\" type=\"text/css\"> <title>Upload</title> </head> <body> <table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\"> <tr> <td> <div align=\"center\"> <table cellspacing=\"0\" cellpadding=\"0\" allign=\"center\" width=\"50%\" border=\"0\"> <tr> <td width=\"10\" background=\"templates/standard/images/box_e1.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"templates/standard/images/box_top.gif\" valign=\"top\"> <img height=\"10\" src=\"templates/standard/images/blank.gif\" width=\"1\"><br> <font class=\"hd\">Fileupload</font><br> <span class=\"sh\">Upload eines Files</span> <img height=\"5\" src=\"templates/standard/images/blank.gif\" width=\"1\"></font></td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e2.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td width=\"1%\" background=\"templates/standard/images/box_l.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td> <form action=?action=csvimp enctype=\"multipart/form-data\" method='post'> <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-width:0; border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber1\" height=\"142\"> <tr> <td width=\"20%\" style=\"border-style: none; border-width: medium\" > <b>Datei wählen:</b> </td> <td width=\"80%\"align=\"left\" style=\"border-style: none; border-width: medium\" > <p> <input name=\"file\" type=\"file\" size=\"30\"></p> </td> </tr> <tr> <td width=\"20%\" style=\"border-style: none; border-width: medium\" > <b>Ziel</b> </td> <td width=\"80%\"align=\"left\" style=\"border-style: none; border-width: medium\" > <p> http://www.lg-on.de/<input name=\"subverz\" type=\"text\" size=\"30\">/</p> </td> </tr> <tr> <td width=\"20%\" style=\"border-style: none; border-width: medium\" > </td> <td width=\"80%\"align=\"left\" style=\"border-style: none; border-width: medium\" > <p> <input type=\"submit\" value=\"Abschicken\" name=\"B1\" size=\"20\"> </td> </tr> </table> </form> </td> <td width=\"1%\" background=\"templates/standard/images/box_r.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"templates/standard/images/box_e3.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"> </td> <td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"templates/standard/images/box_bottom.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"8\"> </td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e4.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"> </td> </tr> </table> </div> </td> </tr> </table> </body> </html>"; break; case "csvimp": if($_FILES['file']['tmp_name'] == ""){ echo" <html> <head> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\"> <link rel=\"stylesheet\" href=\"templates/standard/css/styles_pc.php\" type=\"text/css\"> <title>Keine Datei ausgewählt</title> </head> <body> <table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\"> <tr> <td> <div align=\"center\"> <table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\"> <tr> <td width=\"10\" background=\"templates/standard/images/box_e1.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"templates/standard/images/box_top.gif\" valign=\"top\"> <img height=\"10\" src=\"templates/standard/images/blank.gif\" width=\"1\"><br> <span class=\"sh\">Keine Datei ausgewählt</span> <img height=\"5\" src=\"templates/standard/images/blank.gif\" width=\"1\"></font></td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e2.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td width=\"1%\" background=\"templates/standard/images/box_l.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td> <br> <p align=\"center\">Es muss eine Datei zum hochladen ausgewählt werden! <p> <p align=\"center\"><p align=\"center\"><a href=\"javascript:history.back()\"> <img border=\"0\" src=\"templates/standard/images/zurueck.gif\" width=\"77\" height=\"22\"></a> </p> </td> <td width=\"1%\" background=\"templates/standard/images/box_r.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"templates/standard/images/box_e3.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"> </td> <td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"templates/standard/images/box_bottom.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"8\"> </td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e4.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"> </td> </tr> </table> </div> </td> </tr> </table> </body> </html>"; exit; } // http://www.tutorials.de/tutorials65420.html $tempname = $_FILES['file']['tmp_name']; $name = $_FILES['file']['name']; $type = $_FILES['file']['type']; $size = $_FILES['file']['size']; $einheit = "Byte"; // Für die Efolgsmeldung. $extlimit = "nein"; //Do you want to limit the extensions of files uploaded $ext = strrchr($name,'.'); if (($extlimit == "yes") && (!in_array($ext,$limitedext))) { $err[] = " <html> <head> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\"> <link rel=\"stylesheet\" href=\"templates/standard/css/styles_pc.php\" type=\"text/css\"> <title>Falscher Dateityp</title> </head> <body> <table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\"> <tr> <td> <div align=\"center\"> <table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\"> <tr> <td width=\"10\" background=\"templates/standard/images/box_e1.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"templates/standard/images/box_top.gif\" valign=\"top\"> <img height=\"10\" src=\"templates/standard/images/blank.gif\" width=\"1\"><br> <span class=\"sh\">Falscher Dateityp</span> <img height=\"5\" src=\"templates/standard/images/blank.gif\" width=\"1\"></font></td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e2.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td width=\"1%\" background=\"templates/standard/images/box_l.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td> <br> <p align=\"center\">Diese Dateiendung darf nicht hochgeladen werden! <p> <p align=\"center\"><p align=\"center\"><a href=\"javascript:history.back()\"> <img border=\"0\" src=\"templates/standard/images/zurueck.gif\" width=\"77\" height=\"22\"></a> </p> </td> <td width=\"1%\" background=\"templates/standard/images/box_r.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"templates/standard/images/box_e3.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"> </td> <td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"templates/standard/images/box_bottom.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"8\"> </td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e4.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"> </td> </tr> </table> </div> </td> </tr> </table> </body> </html>"; } if($size > "9900000") { $err[] = " <html> <head> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\"> <link rel=\"stylesheet\" href=\"templates/standard/css/styles_pc.php\" type=\"text/css\"> <title>Datei zu groß</title> </head> <body> <table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\"> <tr> <td> <div align=\"center\"> <table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\"> <tr> <td width=\"10\" background=\"templates/standard/images/box_e1.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"templates/standard/images/box_top.gif\" valign=\"top\"> <img height=\"10\" src=\"templates/standard/images/blank.gif\" width=\"1\"><br> <span class=\"sh\">Datei zu groß</span> <img height=\"5\" src=\"templates/standard/images/blank.gif\" width=\"1\"></font></td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e2.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td width=\"1%\" background=\"templates/standard/images/box_l.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td> <br> <p align=\"center\">Die Datei welche Sie hochladen wollen, ist zu gross!<br>Maximale Dateigroesse beträgt 9.900 KB! <p> <p align=\"center\"><p align=\"center\"><a href=\"javascript:history.back()\"> <img border=\"0\" src=\"templates/standard/images/zurueck.gif\" width=\"77\" height=\"22\"></a> </p> </td> <td width=\"1%\" background=\"templates/standard/images/box_r.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"templates/standard/images/box_e3.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"> </td> <td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"templates/standard/images/box_bottom.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"8\"> </td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e4.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"> </td> </tr> </table> </div> </td> </tr> </table> </body> </html>"; } //$name = str_replace (array("ä", "ö", "ü", "ß", "Ä", "Ö", "Ü"," "), array("ae", "oe", "ue", "ss", "Ae", "Oe", "Ue", "_"), $name); //$heute = mktime(date("H"), date("i"), date("s"), date("m"), date("d"), date("Y")); // heutiges Datum & Zeit: http://de2.php.net/manual/de/function.date.php //$heuteformat = date("H-i-s_Y-m-d", $heute); // Formatierung, wie es vor dem Dateinamen erscheinen soll //$datum_db = date("Y-m-d H:i:s", $heute); // Formatierung, wie es vor dem Dateinamen erscheinen soll //$neu = $heuteformat."_".$name; //setcookie("ck_neu","$neu"); $verz = $_POST['subverz']; if ($verz == ""){ NULL; }else{ $verz = $_POST['subverz']."/"; } If(empty($err)) { if(@move_uploaded_file("$tempname", "$verz$name")){ // Unterverzeichnisse wie folgt: copy("$tempname", "pdf/$neu"); #@chmod ("$tempname", 0664); #@chown ("$tempname","apache"); #@chgrp ("$tempname","apache"); echo " <html> <head> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\"> <link rel=\"stylesheet\" href=\"templates/standard/css/styles_pc.php\" type=\"text/css\"> <title>Datei hochgeladen</title> </head> <body> <table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\"> <tr> <td> <div align=\"center\"> <table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\"> <tr> <td width=\"10\" background=\"templates/standard/images/box_e1.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"templates/standard/images/box_top.gif\" valign=\"top\"> <img height=\"10\" src=\"templates/standard/images/blank.gif\" width=\"1\"><br> <span class=\"sh\">Datei hochgeladen</span> <img height=\"5\" src=\"templates/standard/images/blank.gif\" width=\"1\"></font></td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e2.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td width=\"1%\" background=\"templates/standard/images/box_l.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td> <br> <p align=\"center\">Die Datei $name wurde hochgeladen<br> <a href=\"http://www.lg-on.de/$verz$name\"> http://www.lg-on.de/$verz$name</a> <p> <p align=\"center\"><p align=\"center\"><a href=\"javascript:history.back()\"> <img border=\"0\" src=\"templates/standard/images/zurueck.gif\" width=\"77\" height=\"22\"></a> </p> </td> <td width=\"1%\" background=\"templates/standard/images/box_r.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"templates/standard/images/box_e3.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"> </td> <td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"templates/standard/images/box_bottom.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"8\"> </td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e4.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"> </td> </tr> </table> </div> </td> </tr> </table> </body> </html> "; }else{ echo" <html> <head> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\"> <link rel=\"stylesheet\" href=\"templates/standard/css/styles_pc.php\" type=\"text/css\"> <title>Uploadfehler</title> </head> <body> <table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\"> <tr> <td> <div align=\"center\"> <table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\"> <tr> <td width=\"10\" background=\"templates/standard/images/box_e1.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"templates/standard/images/box_top.gif\" valign=\"top\"> <img height=\"10\" src=\"templates/standard/images/blank.gif\" width=\"1\"><br> <span class=\"sh\">Uploadfehler</span> <img height=\"5\" src=\"templates/standard/images/blank.gif\" width=\"1\"></font></td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e2.gif\"> <img height=\"40\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td width=\"1%\" background=\"templates/standard/images/box_l.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> <td> <br> <p align=\"center\">Die Datei konnte nicht hochgeladen werden <br>Prüfen sie, ob das Zielverzeichnis vorhanden ist <br>und ob die schreibweise richtig ist! <p> <p align=\"center\"><p align=\"center\"><a href=\"javascript:history.back()\"> <img border=\"0\" src=\"templates/standard/images/zurueck.gif\" width=\"77\" height=\"22\"></a> </p> </td> <td width=\"1%\" background=\"templates/standard/images/box_r.gif\"> <img height=\"1\" src=\"templates/standard/images/blank.gif\" width=\"22\"></td> </tr> <tr> <td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"templates/standard/images/box_e3.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"> </td> <td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"templates/standard/images/box_bottom.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"8\"> </td> <td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"templates/standard/images/box_e4.gif\"> <img height=\"16\" src=\"templates/standard/images/blank.gif\" width=\"22\"> </td> </tr> </table> </div> </td> </tr> </table> </body> </html>"; } }else { foreach($err as $error) echo "$error"; exit; } //Ende if error } // Ende IF von Action Abfrage ?>