<div id="gbook_guestbook" align="center">
<span class="gbook_guestbook"><?php echo $lang['t13']; ?></span>
</div>
<form action="gbook.php" method="post">
<!--TASK FORM -->
<div id="gbook_entries">
<?php
if ($error)
{
echo '<div class="gbook_sign_error">'.$error.'</div>';
}
?>
<div class="gbook_sign_text"><?php echo $lang['t14']; ?></div>
<div class="gbook_sign_text"><span class="gbook_entries"><b><?php echo $lang['t21']; ?></b></span><br class="clear" />
<input type="password" name="pass" size="45" /></div>
<div class="clear"></div>
<div class="gbook_left"><span class="gbook_entries"><b><?php echo $lang['t16']; ?></b></span></div>
<textarea name="comments" rows="12" cols="57" id="cmnt"><?php echo $comments; ?></textarea>
<!--BOTTOM IMAGES -->
<div id="gbook_bottom_images" class="gbook_bottom_images">
<a href="#" onclick="document.getElementById('cmnt').value += ' :D ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/bigsmile.gif" alt=":D" title=":D" width="19" height="19" /></a>
<a href="#" onclick="document.getElementById('cmnt').value += ' :!cool: ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/cool.gif" alt=":!cool:" title=":!cool:" width="19" height="19" /></a>
<a href="#" onclick="document.getElementById('cmnt').value += ' :!cry: ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/crying.gif" alt=":!cry:" title=":!cry:" width="19" height="19" /></a>
<a href="#" onclick="document.getElementById('cmnt').value += ' :!devil: ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/devil.gif" alt=":!devil:" title=":!devil:" width="19" height="19" /></a>
<a href="#" onclick="document.getElementById('cmnt').value += ' :) ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/smile.gif" alt=":)" title=":)" width="19" height="19" /></a>
<a href="#" onclick="document.getElementById('cmnt').value += ' :!mad: ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/mad.gif" alt=":!mad:" title=":!mad:" width="19" height="19" /></a>
<a href="#" onclick="document.getElementById('cmnt').value += ' :!thinking: ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/thinking.gif" alt=":!thinking:" title=":!thinking:" width="19" height="19" /></a>
<a href="#" onclick="document.getElementById('cmnt').value += ' :p ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/tongueout.gif" alt=":p" title=":p" width="19" height="19" /></a>
<a href="#" onclick="document.getElementById('cmnt').value += ' ;) ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/wink.gif" alt=";)" title=";)" width="19" height="19" /></a>
<a href="#" onclick="document.getElementById('cmnt').value += ' :o ';return false;"><img src="<?php echo $settings['tpl_path']; ?>images/emoticons/blush.gif" alt=":o" title=":o" width="19" height="19" /></a>
<a href="javascript:openSmiley()" class="gbook_submitted"><?php echo $lang['t26']; ?></a><br />
<label><input type="checkbox" name="nosmileys" value="Y" class="gbook_checkbox" <?php echo $nosmileys; ?> /><span class="gbook_entries"><?php echo $lang['t28']; ?></span></label><br class="clear" />
</div>
<!--BOTTOM IMAGES END -->
<div align="center">
<div class="clear"> </div>
<input type="hidden" name="a" value="postreply" />
<input type="hidden" name="num" value="<?php echo($num); ?>" />
<input type="submit" value="<?php echo $lang['t29']; ?>" class="submit" />
</div>
<p> </p>
<div class="gbook_sign_text"><a href="gbook.php"><?php echo $lang['t11']; ?></a></div>
<p> </p>
</div>
<!--TASK FORM END -->
</form>