<div id="gbook_guestbook" align="center">
<span class="gbook_guestbook"><?php echo $lang['t48']; ?></span><br class="clear" />
<span class="gbook_required"><?php echo $lang['t49']; ?></span>
</div>
<form action="gbook.php" method="post">
<!--SIGN FORM -->
<div id="gbook_entries">
<?php
if ($error)
{
echo '<div class="gbook_sign_error">'.$error.'</div>';
}
?>
<div class="gbook_left"><span class="gbook_entries"><b><?php echo $lang['t50']; ?></b></span></div>
<div class="gbook_right"><input type="text" name="<?php echo $myfield['name']; ?>" value="<?php echo $name; ?>" size="45" /></div>
<div class="clear"></div>
<div class="gbook_left"><span class="gbook_entries"><?php echo $lang['t51']; ?></span></div>
<div class="gbook_right"><input type="text" name="from" value="<?php echo $from; ?>" size="45" /></div>
<div class="clear"></div>
<?php
if ($settings['use_url'])
{
?>
<div class="gbook_left"><span class="gbook_entries"><?php echo $lang['t53']; ?></span></div>
<div class="gbook_right"><input type="text" name="url" value="<?php echo $url; ?>" size="45" maxlength="80" /></div>
<div class="clear"></div>
<?php
}
?>
<div class="gbook_left"><span class="gbook_entries"><?php echo $lang['t52']; ?></span></div>
<div class="gbook_right"><input type="text" name="email" value="<?php echo $email; ?>" size="45" />
<?php
if ($settings['hide_emails'])
{
?>
<br class="clear" /><span class="gbook_entries"><i><?php echo $lang['t66']; ?></i></span>
<?php
}
?>
</div>
<div class="clear"></div>
<div class="gbook_left"><span class="gbook_entries"><b><?php echo $lang['t16']; ?></b></span></div>
<div class="gbook_right"><span class="gbook_entries"><i><?php echo $lang['t54']; ?></i></span></div>
<textarea name="<?php echo $myfield['cmnt']; ?>" 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" />
<?php
/* Private mesasges */
if ($settings['use_private'])
{
?>
<label><input type="checkbox" name="private" value="Y" class="gbook_checkbox" <?php echo $isprivate; ?> /><span class="gbook_entries"><?php echo $lang['t55']; ?></span></label><br class="clear" />
<?php
}
/* Print anti-SPAM features */
echo $settings['antispam'];
?>
</div>
<!--BOTTOM IMAGES END -->
<div align="center">
<div class="clear"> </div>
<!--SPAM TRAPS -->
<!-- DON'T DELETE THESE HIDDEN FIELDS AND COMMENTS, THEY HELP CATCH STUPID SPAMBOTS! -->
<input type="hidden" name="name" />
<input type="hidden" name="<?php echo $myfield['bait']; ?>" />
<!-- >
<input type="text" name="comments" value="1" />
< -->
<!--SPAM TRAPS END-->
<input type="hidden" name="a" value="add" />
<input type="submit" value="<?php echo $lang['t88']; ?>" class="submit" />
</div>
<p> </p>
</div>
<!--SIGN FORM END -->
</form>