<br>
<form method="post" action="<?php if (isset($_GET["jtcms-article"])) {echo '?jtcms-article='.$id.'&amp;jtcms-kom=added';} else {echo '?jtcms-page='.$id.'&amp;jtcms-kom=added';}; ?>" id="jtcms-kom-form">
<fieldset style="display: block; width: 465px; margin-left: auto; margin-right: auto; padding: 10px; border: solid 1px grey; border-radius: 10px; -moz-border-radius: 10px;">
<legend style="font-weight: bold; margin-left: 20px; padding: 0 3px 0 3px;">Přidat komentář</legend>
<label for="jtcms_jmeno" style="float: left; text-align: right; margin: 2px; padding: 4px; width: 60px;">* Jméno:</label><input type="text" id="jtcms_jmeno" name="jtcms_jmeno"<?php if (!empty($_POST["jtcms_jmeno"])) {echo ' value="'.htmlspecialchars($_POST["jtcms_jmeno"]).'"';}; ?> style="margin: 2px; border: solid 1px #606060; border-radius: 5px; -moz-border-radius: 5px; padding: 5px; background-color: #f5f5f5; font-family: Arial;"><br>
<label for="jtcms_mail" style="float: left; text-align: right; margin: 2px; padding: 4px; width: 60px;">Mail:</label><input type="text" id="jtcms_mail" name="jtcms_mail"<?php if (!empty($_POST["jtcms_mail"])) {echo ' value="'.htmlspecialchars($_POST["jtcms_mail"]).'"';}; ?> style="margin: 2px; border: solid 1px #606060; border-radius: 5px; -moz-border-radius: 5px; padding: 5px; background-color: #f5f5f5; font-family: Arial;"><br>
<label for="jtcms_web" style="float: left; text-align: right; margin: 2px; padding: 4px; width: 60px;">Web:</label><input type="text" id="jtcms_web" name="jtcms_web"<?php if (!empty($_POST["jtcms_web"])) {echo ' value="'.htmlspecialchars($_POST["jtcms_web"]).'"';}; ?> style="margin: 2px; border: solid 1px #606060; border-radius: 5px; -moz-border-radius: 5px; padding: 5px; background-color: #f5f5f5; font-family: Arial;"><br>
<label for="jtcms_obsah">* Text:</label><br>
<textarea id="jtcms_obsah" name="jtcms_obsah" wrap="hard" style="border: solid 1px #606060; border-radius: 8px; -moz-border-radius: 8px; padding: 5px; width: 450px; height: 100px; overflow: auto; background-color: #f5f5f5; font-family: Arial;"><?php if (!empty($_POST["jtcms_obsah"])) {echo htmlspecialchars($_POST["jtcms_obsah"]);}; ?></textarea>
<br><br>
<div style="text-align: center;">
<input type="submit" name="submit" value="Přidat komentář" style="border: solid 2px #505050; border-radius: 6px; -moz-border-radius: 6px; padding: 7px;" onmouseover="this.style.cursor='pointer'; this.style.backgroundColor='#dcdcdc'" onmouseout="this.style.cursor='default'; this.style.backgroundColor='#f0f0f0'">
</div>
</fieldset>
</form>
<br>