Fragen und Anregungen

Sie sind der . Benutzer
Zur Zeit Einträge

home  |  Zurück Fragen und Anregungen
Ältere Einträge


\n"; $new_archiv1 = "


aktuelle Einträge  |  zur Archivübersicht  |  Home



  |  Ältere Einträge"; } else { if(file_exists("$dynamic/old_read2")) { echo "  |  Ältere Einträge"; } } echo "

"; } ////////// Wenn kein Eingabefeld augfüllt ist printen /// if(empty($check1) || isset($check2)) { $file = "../../../praktikant-docs/guestbook/dynamic/reader_count"; list($reader_count) = @file($file); $reader_count++; $fp = fopen("$file","w"); fwrite($fp,$reader_count); fclose($fp); ?>
Ihr Name:    

Ihr Text:    




Fehler:
Sie müssen einen Namen angeben
"; } if(empty($text)) { echo "Fehler:
Sie müssen einen Text eingeben
"; } if(empty($name) || empty($text)) { echo "
Zurück
"; } else { if(empty($check2)){} else { if(file_exists($year)){} else { mkdir("$year",0777); chmod($year,0777); } if(file_exists("$year/$month")){} else { mkdir("$year/$month",0777); chmod("$year/$month",0777); mkdir("$year/$month/pics",0777); chmod("$year/$month/pics",0777); mkdir("$year/$month/picsite",0777); chmod("$year/$month/picsite",0777);; mkdir("$year/$month/thumbs",0777); chmod("$year/$month/thumbs",0777); mkdir("$year/$month/data",0777); chmod("$year/$month/data",0777); if(file_exists("$dynamic/date5")) { $file = "../archiv/name_count"; $fp = fopen ("$file","r"); $counter = fread ($fp, filesize ($file)); fclose ($fp); $old_counter = $counter - 1; $new_counter = $counter + 1; $file = "$dynamic/date1"; $fp =fopen ("$file","r"); $old_date = fread ($fp, filesize ($file)); fclose ($fp); $old_dates = "
$old_date

\n"; $file = "$dynamic/text_path1"; $fp = fopen ("$file","r"); $old_path = fread ($fp, filesize ($file)); fclose($fp); $file = "$old_path"; $fp = fopen ("$file","r"); $old_texts = fread ($fp, filesize ($file)); fclose($fp); $fp = fopen ("$file","w-"); fwrite($fp,$old_dates); fwrite($fp,$old_texts); fclose($fp); rename("$dynamic/date5","$dynamic/date6"); rename("$dynamic/date4","$dynamic/date5"); rename("$dynamic/date3","$dynamic/date4"); rename("$dynamic/date2","$dynamic/date3"); rename("$dynamic/date1","$dynamic/date2"); rename("$dynamic/text_path5","$dynamic/text_path6"); rename("$dynamic/text_path4","$dynamic/text_path5"); rename("$dynamic/text_path3","$dynamic/text_path4"); rename("$dynamic/text_path2","$dynamic/text_path3"); rename("$dynamic/text_path1","$dynamic/text_path2"); if(file_exists("$dynamic/old_read2")) { $file = "$dynamic/old_read2"; $fp =fopen ("$file","r"); $alte_datei = fread ($fp, filesize ($file)); fclose ($fp); $file = "$dynamic/date4"; $fp =fopen ("$file","r"); $last = fread ($fp, filesize ($file)); fclose ($fp); $file ="$dynamic/date6"; $fp = fopen ("$file","r"); $first = fread ($fp, filesize ($file)); fclose ($fp); $file = "$dynamic/archiv_link"; $fp =fopen ("$file","r"); $link = fread ($fp, filesize ($file)); fclose ($fp); $newdata = "$first bis $last
\n"; $file = "$dynamic/old_read2"; $fp =fopen ("$file","w-"); fwrite($fp,$newdata); fwrite($fp,$alte_datei); fclose($fp); $file = "$dynamic/text_path4"; $fp =fopen ("$file","r"); $text_path4 = fread ($fp, filesize ($file)); fclose ($fp); $file = "$dynamic/text_path5"; $fp =fopen ("$file","r"); $text_path5 = fread ($fp, filesize ($file)); fclose ($fp); $file = "$dynamic/text_path6"; $fp =fopen ("$file","r"); $text_path6 = fread ($fp, filesize ($file)); fclose ($fp); $new_archiv2 = "$first bis $last"; $zu = "if(file_exists(\"archiv$old_counter.php4\") || (\"archiv$new_counter.php4\")) { echo \"
\"; if(file_exists(\"archiv$old_counter.php4\")) { echo \"Ältere Einträge  |  \"; } if(file_exists(\"archiv$new_counter.php4\")) { echo \"Neuere Einträge\"; } else { echo \"Neuere Einträge\"; } echo \"
\"; } else { echo \"Neuere Einträge\"; } readfile(\"../aktuell/$text_path6\"); readfile(\"../aktuell/$text_path5\"); readfile(\"../aktuell/$text_path4\"); if(file_exists(\"archiv$old_counter.php4\") || (\"archiv$new_counter.php4\")) { echo \"
\"; if(file_exists(\"archiv$old_counter.php4\")) { echo \"Ältere Einträge  |  \"; } if(file_exists(\"archiv$new_counter.php4\")) { echo \"Neuere Einträge\"; } else { echo \"Neuere Einträge\"; } echo \"
\"; } else { echo \"Neuere Einträge\"; } ?>\n\n"; $file = "../archiv/$link"; $fp =fopen ("$file","w-"); fwrite($fp,$new_archiv); fwrite($fp,$new_archiv2); fwrite($fp,$new_archiv1); fwrite($fp,$zu); fclose ($fp); unlink("$dynamic/date4"); unlink("$dynamic/date5"); unlink("$dynamic/date6"); unlink("$dynamic/text_path6"); unlink("$dynamic/text_path5"); unlink("$dynamic/text_path4"); unlink("$dynamic/old_read1"); } else { $file = "$dynamic/date4"; $fp =fopen ("$file","r"); $last = fread ($fp, filesize ($file)); fclose ($fp); $file ="$dynamic/date6"; $fp = fopen ("$file","r"); $first = fread ($fp, filesize ($file)); fclose ($fp); $file = "$dynamic/archiv_link"; $fp =fopen ("$file","r"); $link = fread ($fp, filesize ($file)); fclose ($fp); $newdata = "$first bis $last
\n"; $file = "$dynamic/old_read2"; $fp =fopen ("$file","w-"); fwrite($fp,$newdata); fclose($fp); $file = "$dynamic/text_path4"; $fp =fopen ("$file","r"); $text_path4 = fread ($fp, filesize ($file)); fclose ($fp); $file = "$dynamic/text_path5"; $fp =fopen ("$file","r"); $text_path5 = fread ($fp, filesize ($file)); fclose ($fp); $file = "$dynamic/text_path6"; $fp =fopen ("$file","r"); $text_path6 = fread ($fp, filesize ($file)); fclose ($fp); $new_archiv2 = "$first bis $last"; $zu = "if(file_exists(\"archiv$old_counter.php4\") || (\"archiv$new_counter.php4\")) { echo \"
\"; if(file_exists(\"archiv$old_counter.php4\")) { echo \"Ältere Einträge  |  \"; } if(file_exists(\"archiv$new_counter.php4\")) { echo \"Neuere Einträge\"; } else { echo \"Neuere Einträge\"; } echo \"
\"; } else { echo \"Neuere Einträge\"; } readfile(\"../aktuell/$text_path6\"); readfile(\"../aktuell/$text_path5\"); readfile(\"../aktuell/$text_path4\"); if(file_exists(\"archiv$old_counter.php4\") || (\"archiv$new_counter.php4\")) { echo \"
\"; if(file_exists(\"archiv$old_counter.php4\")) { echo \"Ältere Einträge  |  \"; } if(file_exists(\"archiv$new_counter.php4\")) { echo \"Neuere Einträge\"; } else { echo \"Neuere Einträge\"; } echo \"
\"; } else { echo \"Neuere Einträge\"; } ?>\n\n"; $file = "../archiv/$link"; $fp =fopen ("$file","w-"); fwrite($fp,$new_archiv); fwrite($fp,$new_archiv2); fwrite($fp,$new_archiv1); fwrite($fp,$zu); fclose ($fp); unlink("$dynamic/date4"); unlink("$dynamic/date5"); unlink("$dynamic/date6"); unlink("$dynamic/old_read1"); } } else { if(file_exists("$dynamic/date4")) { $file = "$dynamic/date1"; $fp =fopen ("$file","r"); $old_date = fread ($fp, filesize ($file)); fclose ($fp); $old_dates = "
$old_date

\n"; $file = "$dynamic/text_path1"; $fp = fopen ("$file","r"); $old_path = fread ($fp, filesize ($file)); fclose($fp); $file = "$old_path"; $fp = fopen ("$file","r"); $old_texts = fread ($fp, filesize ($file)); fclose($fp); $fp = fopen ("$file","w-"); fwrite($fp,$old_dates); fwrite($fp,$old_texts); fclose($fp); rename("$dynamic/date4","$dynamic/date5"); rename("$dynamic/date3","$dynamic/date4"); rename("$dynamic/date2","$dynamic/date3"); rename("$dynamic/date1","$dynamic/date2"); rename("$dynamic/text_path4","$dynamic/text_path5"); rename("$dynamic/text_path3","$dynamic/text_path4"); rename("$dynamic/text_path2","$dynamic/text_path3"); rename("$dynamic/text_path1","$dynamic/text_path2"); $file = "../archiv/name_count"; $fp = fopen ("$file","r"); $counter = fread ($fp, filesize ($file)); fclose ($fp); $old_counter = $counter - 1; $new_counter = $counter + 1; $link = "archiv$counter.php4"; $file = "$dynamic/date4"; $fp =fopen ("$file","r"); $last = fread ($fp, filesize ($file)); fclose ($fp); $file ="$dynamic/date5"; $fp = fopen ("$file","r"); $first = fread ($fp, filesize ($file)); fclose ($fp); $file = "$dynamic/archiv_link"; $fp =fopen ("$file","r"); $link = fread ($fp, filesize ($file)); fclose ($fp); $newdata = "$first bis $last
\n"; $file = "$dynamic/old_read1"; $fp =fopen ("$file","w-"); fwrite($fp,$newdata); fclose($fp); $file = "$dynamic/text_path4"; $fp =fopen ("$file","r"); $text_path4 = fread ($fp, filesize ($file)); fclose ($fp); $file = "$dynamic/text_path5"; $fp =fopen ("$file","r"); $text_path5 = fread ($fp, filesize ($file)); fclose ($fp); $zu = "if(file_exists(\"archiv$old_counter.php4\") || (\"archiv$new_counter.php4\")) { echo \"
\"; if(file_exists(\"archiv$old_counter.php4\")) { echo \"Ältere Einträge  |  \"; } if(file_exists(\"archiv$new_counter.php4\")) { echo \"Neuere Einträge\"; } else { echo \"Neuere Einträge\"; } echo \"
\"; } else { echo \"Neuere Einträge\"; } readfile(\"../aktuell/$text_path5\"); readfile(\"../aktuell/$text_path4\"); if(file_exists(\"archiv$old_counter.php4\") || (\"archiv$new_counter.php4\")) { echo \"
\"; if(file_exists(\"archiv$old_counter.php4\")) { echo \"Ältere Einträge  |  \"; } if(file_exists(\"archiv$new_counter.php4\")) { echo \"Neuere Einträge\"; } else { echo \"Neuere Einträge\"; } echo \"
\"; }else { echo \"Neuere Einträge\"; } ?>\n\n"; $new_archiv2 = "$first bis $last"; $file = "../archiv/$link"; $fp =fopen ("$file","w-"); fwrite($fp,$new_archiv); fwrite($fp,$new_archiv2); fwrite($fp,$new_archiv1); fwrite($fp,$zu); fclose ($fp); } else { if(file_exists("$dynamic/date3")) { $file = "$dynamic/date1"; $fp =fopen ("$file","r"); $old_date = fread ($fp, filesize ($file)); fclose ($fp); $old_dates = "
$old_date

\n"; $file = "$dynamic/text_path1"; $fp = fopen ("$file","r"); $old_path = fread ($fp, filesize ($file)); fclose($fp); $file = "$old_path"; $fp = fopen ("$file","r"); $old_texts = fread ($fp, filesize ($file)); fclose($fp); $fp = fopen ("$file","w-"); fwrite($fp,$old_dates); fwrite($fp,$old_texts); fclose($fp); rename("$dynamic/date3","$dynamic/date4"); rename("$dynamic/date2","$dynamic/date3"); rename("$dynamic/date1","$dynamic/date2"); rename("$dynamic/text_path3","$dynamic/text_path4"); rename("$dynamic/text_path2","$dynamic/text_path3"); rename("$dynamic/text_path1","$dynamic/text_path2"); $file = "../archiv/name_count"; list($counter) = @file($file); $counter++; $fp = fopen("$file","w"); fwrite($fp,$counter); fclose($fp); $old_counter = $counter - 1; $new_counter = $counter + 1; $file = "$dynamic/date4"; $fp =fopen ("$file","r"); $first = fread ($fp, filesize ($file)); fclose ($fp); $link = "archiv$counter.php4"; $file = "$dynamic/archiv_link"; $fp =fopen ("$file","w-"); fwrite ($fp,$link); fclose ($fp); $newdata = "$first
\n"; $file = "$dynamic/old_read1"; $fp =fopen ("$file","w-"); fwrite($fp,$newdata); fclose($fp); $file = "$dynamic/text_path4"; $fp =fopen ("$file","r"); $text_path4 = fread ($fp, filesize ($file)); fclose ($fp); $zu = "if(file_exists(\"archiv$old_counter.php4\") || (\"archiv$new_counter.php4\")) { echo \"
\"; if(file_exists(\"archiv$old_counter.php4\")) { echo \"Ältere Einträge  |  \"; } if(file_exists(\"archiv$new_counter.php4\")) { echo \"Neuere Einträge\"; } else { echo \"Neuere Einträge\"; } echo \"
\"; } readfile(\"../aktuell/$text_path4\"); if(file_exists(\"archiv$old_counter.php4\") || (\"archiv$new_counter.php4\")) { echo \"
\"; if(file_exists(\"archiv$old_counter.php4\")) { echo \"Ältere Einträge  |  \"; } if(file_exists(\"archiv$new_counter.php4\")) { echo \"Neuere Einträge\"; } else { echo \"Neuere Einträge\"; } echo \"
\"; } ?>\n\n"; $file = "../archiv/$link"; $fp =fopen ("$file","w-"); fwrite($fp,$new_archiv); fwrite($fp,$first); fwrite($fp,$new_archiv1); fwrite($fp,$zu); fclose ($fp); } else { if(file_exists("$dynamic/date2")) { $file = "$dynamic/date1"; $fp =fopen ("$file","r"); $old_date = fread ($fp, filesize ($file)); fclose ($fp); $old_dates = "
$old_date

\n"; $file = "$dynamic/text_path1"; $fp = fopen ("$file","r"); $old_path = fread ($fp, filesize ($file)); fclose($fp); $file = "$old_path"; $fp = fopen ("$file","r"); $old_texts = fread ($fp, filesize ($file)); fclose($fp); $fp = fopen ("$file","w-"); fwrite($fp,$old_dates); fwrite($fp,$old_texts); fclose($fp); rename("$dynamic/date2","$dynamic/date3"); rename("$dynamic/date1","$dynamic/date2"); rename("$dynamic/text_path2","$dynamic/text_path3"); rename("$dynamic/text_path1","$dynamic/text_path2"); } else { if(file_exists("$dynamic/date1")) { $file = "$dynamic/date1"; $fp =fopen ("$file","r"); $old_date = fread ($fp, filesize ($file)); fclose ($fp); $old_dates = "
$old_date

\n"; $file = "$dynamic/text_path1"; $fp = fopen ("$file","r"); $old_path = fread ($fp, filesize ($file)); fclose($fp); $file = "$old_path"; $fp = fopen ("$file","r"); $old_texts = fread ($fp, filesize ($file)); fclose($fp); $fp = fopen ("$file","w-"); fwrite($fp,$old_dates); fwrite($fp,$old_texts); fclose($fp); rename("$dynamic/date1","$dynamic/date2"); rename("$dynamic/text_path1","$dynamic/text_path2"); } } } } } } } if(empty($check3)) { if(empty($check2)) { $text1 = nl2br("$text"); print"
Bitte überprüfen Sie Ihre Angaben! Zum Ändern klicken Sie Bitte hier


"; ?>
von:$name
vom: $compl

$text1

$links

\n"); print"$new_text"; ?>





von:$name
vom: $compl

$text
\n"); $orga_text = " Gästebuch Orga
Fragen und Antworten: Orga

\"); \$second = strpos(\$text,\"\"); \$hier = \$second - \$first; \$start = substr(\"\$text\",0,\$first); \$end = substr(\"\$text\",\$second); \$printing = substr(\"\$text\",\$first,\$hier); if(isset(\$hold) || (\$delete) || (\$save) || (\$laber) || (\$answer)){} else { echo \"\"; echo \"Was soll hier mit passieren?

\"; echo \"
\"; echo \"\$printing
\"; ?>
\" method=\"post\">

\" method=\"post\">

\" method=\"post\">

\" method=\"post\">

von: \$PHP_AUTH_USER (praktikant-online.org)
vom: \$compl

\$answer
\\n\"); \$new_one = \"\$start

\$printing\$answer

\$end\"; \$file = \"../aktuell/$year/$month/data/text\"; \$fp = fopen (\"\$file\",\"w-\"); fwrite(\$fp,\$new_one); fclose(\$fp); echo \"Hoffentlich versteht der das auch ;-D\"; unlink(\"orga$orga_count.php4\"); } if(isset(\$laber)) { echo \"\$printing
\"; ?>
\" method=\"post\">

Hö, hö, den ham wa korrekt aus'm Netz geschoben\"; unlink(\"orga$orga_count.php4\"); } if(isset(\$save)) { echo \"Schön, wieder einer mehr!\"; unlink(\"orga$orga_count.php4\"); } // checkend if(isset(\$hold)) { \$file = \"../../../praktikant-docs/guestbook/dynamic/writer_count\"; \$fp = fopen (\"\$file\",\"r\"); \$writer_count = fread (\$fp, filesize (\$file)); fclose (\$fp); \$new_writer_count = \$writer_count - 1; \$file = \"../../../praktikant-docs/guestbook/dynamic/writer_count\"; \$fp = fopen (\"\$file\",\"w-\"); fwrite(\$fp,\$new_writer_count); fclose (\$fp); \$new_tag = \"\"); \$second = strpos(\$text,\"// checkend\"); \$start = substr(\"\$text\",0,\$first); \$end = substr(\"\$text\",\$second); \$new_one = \"\$start\$new_tag\$end\"; \$fp = fopen (\"\$file\",\"w-\"); \$file = \"orga$orga_count.php4\"; \$fp = fopen (\"\$file\",\"w-\"); fwrite(\$fp,\$new_one); fclose(\$fp); \$file = \"../aktuell/$year/$month/data/text\"; \$fp = fopen (\"\$file\",\"r\"); \$text = fread (\$fp, filesize (stripslashes(\$file))); fclose (\$fp); \$first = strpos(\$text,\"\"); \$second = strpos(\$text,\"\"); \$hier = \$second - \$first; \$start = substr(\"\$text\",0,\$first); \$end = substr(\"\$text\",\$second); \$file = \"../aktuell/$year/$month/data/text\"; \$fp = fopen (\"\$file\",\"w-\"); \$new_one = \"\$start\$end\"; fwrite(\$fp,\$new_one); fclose(\$fp); } if(empty(\$check_hold)) { if(isset(\$delete_hold) || (\$save_hold)){} else { echo \"\"; echo \"Was soll hier mit passieren?

\"; include(\"hold$orga_count\"); ?>
\" method=\"post\">

\" method=\"post\">

Hö, hö, den ham wa korrekt aus'm Netz geschoben\"; unlink(\"orga$orga_count.php4\"); unlink(\"hold$orga_count\"); } if(isset(\$save_hold)) { \$file = \"../../../praktikant-docs/guestbook/dynamic/writer_count\"; list(\$writer_count) = @file(\$file); \$writer_count++; \$fp = fopen(\"\$file\",\"w\"); fwrite(\$fp,\$writer_count); fclose(\$fp); \$file = \"../aktuell/$year/$month/data/text\"; \$fp = fopen (\"\$file\",\"r\"); \$text = fread (\$fp, filesize (stripslashes(\$file))); fclose (\$fp); \$position = strpos(\$text,\"\"); \$start = substr(\"\$text\",0,\$position); \$end = substr(\"\$text\",\$position); \$file = \"hold$orga_count\"; \$fp = fopen (\"\$file\",\"r\"); \$middel = fread (\$fp, filesize (stripslashes(\$file))); \$new_text = \"\$start\$middel\$end\"; \$file = \"../aktuell/$year/$month/data/text\"; \$fp = fopen (\"\$file\",\"w-\"); fwrite(\$fp,\$new_text); fclose (\$fp); unlink(\"orga$orga_count.php4\"); unlink(\"hold$orga_count\"); echo \"da hat aber jemand Glück gehabt!\"; } } ?> "; $file = "../guests_orga/orga$orga_count.php4"; $fp = fopen ("$file","w-"); fwrite($fp,$orga_text); fclose($fp); if(file_exists("$dynamic/text_path1")) { $file = "$year/$month/data/text"; $fp =fopen ("$file","r"); $old_text = fread ($fp, filesize ($file)); fclose($fp); $fp = fopen ("$file","w-"); fwrite($fp,$new_text); fwrite($fp,$old_text); fclose($fp); if(file_exists($mymail)) { $file = "$mymail"; $fp = fopen ("$file","r"); $mail = fread ($fp, filesize ($file)); fclose ($fp); $abs = "Mir Selbst"; $name1 = strip_tags(stripslashes($name)); $text1 =strip_tags(stripslashes($text)); mail("$mail", "Praktikant: Fragen und Antworten", "Hallihallo, ich bin's mal wieder: Fragen und Antworten :-D Es gibt wieder Neuigkeiten: $name1 hat diesen wahnsinns Eintrag ins Gästebuch geschrieben: ------->Schnipp<------- $text1 ------->Schnapp<------- Zum Pflegen mußtu hier hin: $home_page/guests/guests_orga/orga$orga_count.php4 bis denne, dein Gästäbuhuch", "From: $abs<$mail>"); } } else { $akt_text_path = "$year/$month/data/text"; $file = "$dynamic/text_path1"; $fp = fopen ("$file","w-"); fwrite($fp,$akt_text_path); fclose($fp); $file = "$akt_text_path"; $fp = fopen ("$file","w-"); fwrite($fp,$new_text); fclose($fp); $akt_date = "$month $year"; $file = "$dynamic/date1"; $fp = fopen ("$file","w-"); fwrite($fp,$akt_date); fclose($fp); if(file_exists($mymail)) { $file = "$mymail"; $fp = fopen ("$file","r"); $mail = fread ($fp, filesize ($file)); fclose ($fp); $abs = "Mir Selbst"; $name1 = strip_tags(stripslashes($name)); $text1 =strip_tags(stripslashes($text)); mail("$mail", "Praktiant: Fragen und Antworten", "Hallihallo, ich bin's mal wieder: Dein Gästebuch :-D Es gibt wieder Neuigkeiten: $name1 hat diesen wahnsinns Eintrag ins Gästebuch geschrieben: ------->Schnipp<------- $text1 ------->Schnapp<------- Zum Pflegen mußtu hier hin: $home_page/guests/guests_orga/orga$orga_count.php4 bis denne, dein Gästäbuhuch", "From: $abs<$mail>"); } } } } else { if(empty($check4)) { ?>
Sie können hier ein Bild von Ihrem Rechner auswählen.
Das Bild darf nicht größer sein als 500 KB! Das Programm akpzeptier nur jpg Bilder.
Bitte beachten Sie, das der Upload umso länger dauert, um so größer das Bild ist. Das Bild das Sie hochladen wird falls es breiter als 800 Pixel ist auf 800 Pixel geschrumpft.

Diese Internetseite greift nicht auf Ihren Rechner zu!

Um ein Bild hochzuladen geben Sie entweder im Eingabefeld den Pfad zu Ihrem Bild an:
(z.B. bei Windows: C:/EigeneDateien/EigeneBilder/meinBild.jpg)
oder Sie klicken auf den Butten "Durchsuchen" um einen Browser Dialog zu öffnen. Wenn Sie Ihr Bild augewählt haben klicken Sie je nach Betriebssystem auf "ok" oder "öffnen". Jetzt müssen Sie nur noch auf den Butten "Mit diesem Bild speichern" klicken. Achtung, es kann je nach Internetverbindung und Dateigröße ein wenig dauern bis das Bild hochgeladen ist!





Fehler:
Das Programm kann die Datei nicht laden! Entweder ist die Datei zu groß oder sie hat ein nicht unterstütztes Format...
"; ?>
800) { $faktor = $old_width / 800; $new_high= $old_high / $faktor; $image = imagecreatefromjpeg("$year/$month/pics/$newpjpeg"); $image1 = imagecreate(800,$new_high); imagecopyresized($image1, $image, 0,0, 0,0,800,$new_high, $old_width,$old_high); imagejpeg($image1,"$year/$month/pics/$newpjpeg"); $info = getimagesize("$year/$month/pics/$newpjpeg"); $old_width = "$info[0]"; $old_high = "$info[1]"; $faktor = $old_width / $new_width; $new_high= $old_high / $faktor; } if($old_width > $new_width) { $image = imagecreatefromjpeg("$year/$month/pics/$newpjpeg"); $image1 = imagecreate($new_width,$new_high); imagecopyresized($image1, $image, 0,0, 0,0,$new_width,$new_high, $old_width,$old_high); imagejpeg($image1,"$year/$month/thumbs/thumb$counts.jpg"); $links = "

"; $html = stripslashes(" Gästebuch
Gästebuch


$name:
Sie sind der . Besucher, der sich dieses Bild anschaut




Zurück
"); $newsite = "$year/$month/picsite/$counts.php4"; $fp = fopen ("$newsite","a+"); fwrite($fp,$html); fclose($fp); $file = "../../../praktikant-docs/guestbook/counter/counter$counts"; $ziero = "0"; $fp = fopen ("$file","w-"); fwrite($fp,$ziero); fclose($fp); $id = filesize("$year/$month/pics/$newpjpeg"); $id_round = round($id / 1000 , 1); $image_info = "Das Original hat $id_round KB und wurde bisher mal aufgerufen.
Um das Original zu sehen klicken Sie Bitte auf das Vorschaubild."; $all_paths = "Dazu gibts auch noch ein paar Dateien: $home_page/guests/aktuell/$newsite $home_page/guests/aktuell/$year/$month/pics/$newpjpeg $home_page/guests/aktuell/$year/$month/thumbs/thumb$counts.jpg"; } else { copy ("$year/$month/pics/$newpjpeg","$year/$month/thumbs/thumb$counts.jpg"); $links = "

"; unlink("$year/$month/pics/$newpjpeg"); $id = filesize("$year/$month/thumbs/thumb$counts.jpg"); $id_round = round($id / 1000 , 1); $image_info = "Dies ist das Original. Es hat $id_round KB. Keine Vergrößerung verfügbar."; $all_paths = "Dazu gibts auch noch eine neue Datei: $home_page/guests/aktuell/$year/$month/thumbs/thumb$counts.jpg"; } $file = "../../../praktikant-docs/guestbook/dynamic/writer_count"; list($writer_count) = @file($file); $writer_count++; $fp = fopen("$file","w"); fwrite($fp,$writer_count); fclose($fp); $file = "../../../praktikant-docs/guestbook/dynamic/orga_count"; list($orga_count) = @file($file); $orga_count++; $fp = fopen("$file","w"); fwrite($fp,$orga_count); fclose($fp); $new_text = stripslashes("

von:$name$image_info
vom: $compl

$text

$links

\n"); $orga_text = " Gästebuch Orga
Gästebuch Orga

\"); \$second = strpos(\$text,\"\"); \$hier = \$second - \$first; \$start = substr(\"\$text\",0,\$first); \$end = substr(\"\$text\",\$second); \$printing = substr(\"\$text\",\$first,\$hier); if(isset(\$hold) || (\$delete) || (\$save)){} else { echo \"\"; echo \"Was soll hier mit passieren?

\"; echo \"
\"; echo \"\$printing
\"; ?>
\" method=\"post\">

\" method=\"post\">

\" method=\"post\">

Hö, hö, den ham wa korrekt aus'm Netz geschoben\"; unlink(\"orga$orga_count.php4\"); if(file_exists(\"../aktuell/$year/$month/thumbs/thumb$counts.jpg\")) { unlink(\"../aktuell/$year/$month/thumbs/thumb$counts.jpg\"); } if(file_exists(\"../aktuell/$year/$month/pics/$counts.jpg\")) { unlink(\"../aktuell/$year/$month/pics/$counts.jpg\"); } if(file_exists(\"../aktuell/$year/$month/picsite/$counts.php4\")) { unlink(\"../aktuell/$year/$month/picsite/$counts.php4\"); } } if(isset(\$save)) { echo \"Schön, wieder einer mehr!\"; unlink(\"orga$orga_count.php4\"); } // checkend if(isset(\$hold)) { \$file = \"../../../praktikant-docs/guestbook/dynamic/writer_count\"; \$fp = fopen (\"\$file\",\"r\"); \$writer_count = fread (\$fp, filesize (\$file)); fclose (\$fp); \$new_writer_count = \$writer_count - 1; \$file = \"../../../praktikant-docs/guestbook/dynamic/writer_count\"; \$fp = fopen (\"\$file\",\"w-\"); fwrite(\$fp,\$new_writer_count); fclose (\$fp); \$new_tag = \"\"); \$second = strpos(\$text,\"// checkend\"); \$start = substr(\"\$text\",0,\$first); \$end = substr(\"\$text\",\$second); \$new_one = \"\$start\$new_tag\$end\"; \$fp = fopen (\"\$file\",\"w-\"); \$file = \"orga$orga_count.php4\"; \$fp = fopen (\"\$file\",\"w-\"); fwrite(\$fp,\$new_one); fclose(\$fp); \$file = \"../aktuell/$year/$month/data/text\"; \$fp = fopen (\"\$file\",\"r\"); \$text = fread (\$fp, filesize (stripslashes(\$file))); fclose (\$fp); \$first = strpos(\$text,\"\"); \$second = strpos(\$text,\"\"); \$hier = \$second - \$first; \$start = substr(\"\$text\",0,\$first); \$end = substr(\"\$text\",\$second); \$file = \"../aktuell/$year/$month/data/text\"; \$fp = fopen (\"\$file\",\"w-\"); \$new_one = \"\$start\$end\"; fwrite(\$fp,\$new_one); fclose(\$fp); } if(empty(\$check_hold)) { if(isset(\$delete_hold) || (\$save_hold)){} else { echo \"\"; echo \"Was soll hier mit passieren?

\"; include(\"hold$orga_count\"); ?>
\" method=\"post\">

\" method=\"post\">

Hö, hö, den ham wa korrekt aus'm Netz geschoben\"; unlink(\"orga$orga_count.php4\"); unlink(\"hold$orga_count\"); if(file_exists(\"../aktuell/$year/$month/thumbs/thumb$counts.jpg\")) { unlink(\"../aktuell/$year/$month/thumbs/thumb$counts.jpg\"); } if(file_exists(\"../aktuell/$year/$month/pics/$counts.jpg\")) { unlink(\"../aktuell/$year/$month/pics/$counts.jpg\"); } if(file_exists(\"../aktuell/$year/$month/picsite/$counts.php4\")) { unlink(\"../aktuell/$year/$month/picsite/$counts.php4\"); } } if(isset(\$save_hold)) { \$file = \"../../../praktikant-docs/guestbook/dynamic/writer_count\"; list(\$writer_count) = @file(\$file); \$writer_count++; \$fp = fopen(\"\$file\",\"w\"); fwrite(\$fp,\$writer_count); fclose(\$fp); \$file = \"../aktuell/$year/$month/data/text\"; \$fp = fopen (\"\$file\",\"r\"); \$text = fread (\$fp, filesize (stripslashes(\$file))); fclose (\$fp); \$position = strpos(\$text,\"\"); \$start = substr(\"\$text\",0,\$position); \$end = substr(\"\$text\",\$position); \$file = \"hold$orga_count\"; \$fp = fopen (\"\$file\",\"r\"); \$middel = fread (\$fp, filesize (stripslashes(\$file))); \$new_text = \"\$start\$middel\$end\"; \$file = \"../aktuell/$year/$month/data/text\"; \$fp = fopen (\"\$file\",\"w-\"); fwrite(\$fp,\$new_text); fclose (\$fp); unlink(\"orga$orga_count.php4\"); unlink(\"hold$orga_count\"); echo \"da hat aber jemand Glück gehabt!\"; } } ?> "; $file = "../guests_orga/orga$orga_count.php4"; $fp = fopen ("$file","w-"); fwrite($fp,$orga_text); fclose($fp); if(file_exists("$dynamic/text_path1")) { $file = "$year/$month/data/text"; $fp =fopen ("$file","r"); $old_text = fread ($fp, filesize ($file)); fclose($fp); $fp = fopen ("$file","w-"); fwrite($fp,$new_text); fwrite($fp,$old_text); fclose($fp); if(file_exists($mymail)) { $file = "$mymail"; $fp = fopen ("$file","r"); $mail = fread ($fp, filesize ($file)); fclose ($fp); $abs = "Mir Selbst"; $name1 = strip_tags(stripslashes($name)); $text1 =strip_tags(stripslashes($text)); mail("$mail", "Gaestebuch", "Hallihallo, ich bin's mal wieder: Dein Gästebuch :-D Es gibt wieder Neuigkeiten: $name1 hat diesen wahnsinns Eintrag ins Gästebuch geschrieben: ------->Schnipp<------- $text1 ------->Schnapp<------- $all_paths Zum Pflegen mussu hier hin: $home_page/guests/guests_orga/orga$orga_count.php4 bis denne, dein Gästabuhch", "From: $abs<$mail>"); } } else { $akt_text_path = "$year/$month/data/text"; $file = "$dynamic/text_path1"; $fp = fopen ("$file","w-"); fwrite($fp,$akt_text_path); fclose($fp); $file = "$akt_text_path"; $fp = fopen ("$file","w-"); fwrite($fp,$new_text); fclose($fp); $akt_date = "$month $year"; $file = "$dynamic/date1"; $fp = fopen ("$file","w-"); fwrite($fp,$akt_date); fclose($fp); if(file_exists($mymail)) { $file = "$mymail"; $fp = fopen ("$file","r"); $mail = fread ($fp, filesize ($file)); fclose ($fp); $abs = "Mir Selbst"; $name1 = strip_tags(stripslashes($name)); $text1 = strip_tags(stripslashes($text)); mail("$mail", "Gaestebuch", "Hallihallo, ich bin's mal wieder: Dein Gästebuch :-D Es gibt wieder Neuigkeiten: $name1 hat diesen wahnsinns Eintrag ins Gästebuch geschrieben: ------->Schnipp<------- $text1 ------->Schnapp<------- $all_paths Zum Pflegen mussu hier hin: $home_page/guests/guests_orga/orga$orga_count.php4 bis denne, dein Gästabuhch", "From: $abs<$mail>"); } } } } else { $new_text = stripslashes("

von:$name
vom: $compl

$text

$links

\n"); echo "Fehler:
Dateityp wird nicht unterstützt! Nur jpg und jpeg...

"; ?>



Home  |  Zurück   |  Ältere Einträge"; } else { if(file_exists("$dynamic/old_read2")) { echo "  |  Ältere Einträge"; } } echo "
"; ?>