if ($FotoTitleGe != ""): ?> endif; ?> endwhile; ?>
Kommentar verfassen
if ($_POST["post_comment"] == "") { if (empty($_POST)) { ?> } else { //form is posted include("scripts/captcha/securimage.php"); $img = new Securimage(); $valid = $img->check($_POST['code']); if($valid == true) { ?>Vielen Dank! Jetzt einfach das Formular ausfüllen, um einen Kommentar zu posten.
} else { ?>
Du hast dich bei der Eingabe des Codes vertippt. Bitte versuch' es erneut (auf Groß-/Kleinschreibung achten)!
} } } else { if ($_POST["inputCommentGe"] != "") { $post_comment = ""; echo "Vielen Dank für deinen Kommentar!
"; } } if ($_POST["post_comment"] != "") { if ($_POST["inputCommentGe"] == "") { echo $emptyfields; ?> } } ?> // Load all comments $selectComment = "select fID, fName as Name, fWebsite as Homepage, fTitle as Title, fComment as Comment, fStatusID, frLanguageID, frReportID, date_format(fCreated, '%d.%m.%Y - %H:%i') as commentDate from kfmGuestbook where fStatusID = 1 and frLanguageID = 1 and frReportID = ".$report["reportID"]." order by fCreated desc"; $commentReport = @mysql_query($selectComment, $dbh); $counter = 0; while($comment = @mysql_fetch_array($commentReport)): $counter++; ?>