Location: PHPKode > projects > Instant PHP/MySQL Guestbook > ipmgb/template/default/_newmsg.tpl
<!-- $Include /header.inc.tpl --><!--

$BeginBlock signing_disabled_brq -->
<p>This guestbook currently does not accept new entries.  Please come back later.  
Thank you!</p><p>
<a class="usrgb" href="index.${php_extension}">Return to ${html_title}</a></p><!-- 
$EndBlock signing_disabled_brq --><!--

$BeginBlock ip_rejected_brq -->
<p>This guestbook currently does not accept new entries from your IP address.
Please come back later.  Thank you!</p>
<p><a class="usrgb" href="index.${php_extension}">Return to ${html_title}</a></p><!--
$EndBlock ip_rejected_brq --><!-- 

$BeginBlock main_brq -->
<script language="javascript" type="text/javascript">
<!--
function selectGender(gender) {
  var index = 0;
  if (gender == "M") {
    index = 1;
  } else if (gender == "F") {
    index = 2;
  }
  document.forms['mesgform'].gender_data.selectedIndex = index;
}

function addEmoticon(myValue) {
  myValue = " " + myValue + " ";
  var myField = document.mesgform.mesg_data;
  if (document.selection) {
    //IE support
    myField.focus();
    sel = document.selection.createRange();
    sel.text = myValue;
  } else if (myField.selectionStart || myField.selectionStart == '0') {
    //Mozilla/Firefox/Netscape 7+ support
    var startPos = myField.selectionStart;
    var endPos = myField.selectionEnd;
    myField.value = myField.value.substring(0, startPos)+ myValue + myField.value.substring(endPos, myField.value.length);
    myField.selectionEnd += myValue.length;
    myField.selectionStart = myField.selectionEnd;
  } else {
    myField.value += myValue;
  }
  myField.focus();
}

function checkEnter(e){
var characterCode;

if(e && e.which) { 
characterCode = e.which;
} else {
e = event;
characterCode = e.keyCode;
}

if(characterCode == 13) { 
document.mesgform.confirm.click(); 
return false; 
}
else {
return true;
}
}

//-->
</script>
<form name="mesgform" action="newmsg.${php_extension}" method="POST"><!-- 

$BeginBlock validation_error_log_brq -->
<!-- ${validation_error_log_rq} --><!-- 
$EndBlock validation_error_log_brq -->
    
<div <!-- $BeginBlock confirmation_brq -->style="display:none"<!-- $EndBlock confirmation_brq -->><!-- 

$BeginBlock vcode_failure_b -->
<img class="usrgb-icon" src="${gb_root_dir}/assets/attn16.png">
The code you entered is incorrect, or the code has expired.  Please try again.<br/><!-- 
$EndBlock vcode_failure_b --><!-- 
$BeginBlock moderated_brq -->
<img class="usrgb-icon" src="${gb_root_dir}/assets/info.gif">
This guestbook is being moderated.  You will not see your message posted immediately.
<br /><br /><!-- 
$EndBlock moderated_brq -->

<table width="100%" border="0" cellpadding="2" cellspacing="0"><!-- 
$BeginBlock name_b -->
  <tr>
    <td class="usrgb-fixedwidthcol" align="right"><!-- 
$BeginBlock error_name_b --><img class="usrgb-icon" src="${gb_root_dir}/assets/attn16.png"><!-- 
$EndBlock error_name_b --><!-- 

$BeginBlock name_required_b -->*<!-- 
$EndBlock name_required_b -->Name: </td>
    <td align="left"><input type="text" name="name_data" value="${name_data}" maxlength="${name_maxlen}" size="30"><!-- 

$BeginBlock name_private_b -->
      <img class="usrgb-icon" src="${gb_root_dir}/assets/lock16.png" alt="Confidential" title="Confidential"><!-- 
$EndBlock name_private_b -->    
    </td>
  </tr><!-- 
$BeginBlock error_name_b -->
  <tr>
    <td class="usrgb-fixedwidthcol" align="right"></td>
    <td align="left" valign="top" class="usrgb-error"><!-- 
$BeginBlock error_name_required_b -->Name is required.<!-- 
$EndBlock error_name_required_b --><!-- 
$BeginBlock error_name_too_short_b -->Name is too short. Name must be at least ${name_minlen} character long.<!-- 
$EndBlock error_name_too_short_b --><!-- 
$BeginBlock error_name_too_long_b -->Name is too long. Name must not be more than ${name_maxlen} character long.<!-- 
$EndBlock error_name_too_long_b -->
    </td>
  </tr><!-- 
$EndBlock error_name_b --><!-- 
$EndBlock name_b --><!-- 

$BeginBlock  email_b -->
  <tr>
    <td class="usrgb-fixedwidthcol" align="right"><!-- 
$BeginBlock error_email_b --><img class="usrgb-icon" src="${gb_root_dir}/assets/attn16.png"><!-- 
$EndBlock error_email_b --><!-- 

$BeginBlock email_required_b -->*<!-- 
$EndBlock email_required_b -->Email: </td>
    <td align="left"><input type="text" name="email_data" value="${email_data}" maxlength="${email_maxlen}" size="30"><!-- 
$BeginBlock email_private_b -->
      <img class="usrgb-icon" src="${gb_root_dir}/assets/lock16.png" alt="Confidential" title="Confidential"><!-- 
$EndBlock email_private_b -->    
    </td>
  </tr><!-- 
$BeginBlock error_email_b -->
  <tr>
    <td class="usrgb-fixedwidthcol" align="right"></td>
    <td align="left" class="usrgb-error"><!-- 
$BeginBlock error_email_required_b -->Email is required.<!-- 
$EndBlock error_email_required_b --><!-- 

$BeginBlock error_email_invalid_b -->Email address may be incorrect.<!-- 
$EndBlock error_email_invalid_b -->
    </td>
  </tr><!-- 
$EndBlock error_email_b --><!-- 
$EndBlock email_b --><!-- 

$BeginBlock  homepage_b -->
  <tr>
    <td align="right"><!-- 
$BeginBlock error_homepage_b --><img class="usrgb-icon" src="${gb_root_dir}/assets/attn16.png"><!-- 
$EndBlock error_homepage_b --><!-- 
$BeginBlock homepage_required_b -->*<!-- 
$EndBlock homepage_required_b -->Homepage URL: </td>
    <td align="left"><input type="text" name="homepage_data" value="${homepage_data}"  maxlength="${homepage_maxlen}" size="30"><!-- 
$BeginBlock homepage_private_b -->
      <img class="usrgb-icon" src="${gb_root_dir}/assets/lock16.png" alt="Confidential" title="Confidential"><!-- 
$EndBlock homepage_private_b -->    
    </td>
  </tr><!-- 
$BeginBlock error_homepage_b -->
  <tr>
    <td align="right"></td>
    <td align="left" class="usrgb-error"><!-- 
$BeginBlock error_homepage_required_b -->Homepage URL is required.<!-- 
$EndBlock error_homepage_required_b --><!-- 
$BeginBlock error_homepage_invalid_b -->Homepage URL may be incorrect. Only http or https URLs are allowed.<!-- 
$EndBlock error_homepage_invalid_b -->
    </td>
  </tr><!-- 
$EndBlock error_homepage_b --><!-- 
$EndBlock homepage_b --><!-- 

$BeginBlock  location_b -->
  <tr>
    <td class="usrgb-fixedwidthcol" align="right"><!-- 
$BeginBlock error_location_b --><img class="usrgb-icon" src="${gb_root_dir}/assets/attn16.png"><!-- 
$EndBlock error_location_b --><!-- 
$BeginBlock location_required_b -->*<!-- 
$EndBlock location_required_b -->Location: </td>
    <td align="left"><input type="text" name="location_data" value="${location_data}"  maxlength="${location_maxlen}" size="30"><!-- 
$BeginBlock location_private_b -->
      <img class="usrgb-icon" src="${gb_root_dir}/assets/lock16.png" alt="Confidential" title="Confidential"><!-- 
$EndBlock location_private_b -->    
    </td>
  </tr><!-- 
$BeginBlock error_location_b -->
  <tr>
    <td class="usrgb-fixedwidthcol" align="right"></td>
    <td align="left" class="usrgb-error"><!-- 
$BeginBlock error_location_required_b -->Location is required.<!-- 
$EndBlock error_location_required_b --><!-- 
$BeginBlock error_location_too_short_b -->Location is too short.<!-- 
$EndBlock error_location_too_short_b --><!-- 
$BeginBlock error_location_too_long_b -->Location is too long.<!-- 
$EndBlock error_location_too_long_b -->
    </td>
  </tr><!-- 
$EndBlock error_location_b --><!-- 
$EndBlock location_b --><!-- 
$BeginBlock  gender_b -->
  <tr>
    <td class="usrgb-fixedwidthcol" align="right"><!-- 
$BeginBlock error_gender_b --><img class="usrgb-icon" src="${gb_root_dir}/assets/attn16.png"><!-- 
$EndBlock error_gender_b --><!-- 
$BeginBlock gender_required_b -->*<!-- 
$EndBlock gender_required_b -->Gender: </td>
    <td align="left"><select name="gender_data">
          <option value="">--------------</option>
          <option value="M">Male</option>
          <option value="F">Female</option>
        </select><script language="javascript">selectGender('${gender_data}');</script><!-- 
$BeginBlock gender_private_b -->
      <img class="usrgb-icon" src="${gb_root_dir}/assets/lock16.png" alt="Confidential" title="Confidential"><!-- 
$EndBlock gender_private_b -->        
    </td>
  </tr><!-- 
$BeginBlock error_gender_b -->
  <tr>
    <td class="usrgb-fixedwidthcol" align="right"></td>
    <td align="left" class="usrgb-error"><!-- 
$BeginBlock error_gender_required_b -->Gender is required.<!-- 
$EndBlock error_gender_required_b -->
    </td>
  </tr><!-- 
$EndBlock error_gender_b --><!-- 
$EndBlock gender_b --><!-- 
$BeginBlock age_b -->
  <tr>
    <td class="usrgb-fixedwidthcol" align="right"><!-- 
$BeginBlock error_age_b --><img class="usrgb-icon" src="${gb_root_dir}/assets/attn16.png"><!-- 
$EndBlock error_age_b --><!-- 
$BeginBlock age_required_b -->*<!-- 
$EndBlock age_required_b -->Age: </td>
    <td align="left"><input type="text" name="age_data" value="${age_data}"  maxlength="3" size="3"><!-- 
$BeginBlock age_private_b -->
      <img class="usrgb-icon" src="${gb_root_dir}/assets/lock16.png" alt="Confidential" title="Confidential"><!-- 
$EndBlock age_private_b -->    
    </td>
  </tr><!-- 
$BeginBlock error_age_b -->
  <tr>
    <td class="usrgb-fixedwidthcol" align="right"></td>
    <td align="left" class="usrgb-error"><!-- 
$BeginBlock error_age_required_b -->Age is required.<!-- 
$EndBlock error_age_required_b --><!-- 
$BeginBlock error_age_too_short_b -->Your age looks suspicious.  You must be ${age_minlen} or older to sign this guestbook.<!-- 
$EndBlock error_age_too_short_b --><!-- 
$BeginBlock error_age_too_long_b -->Your age looks suspicious. You must be ${age_maxlen} or younger to sign this guestbook.<!-- 
$EndBlock error_age_too_long_b --><!-- 
$BeginBlock error_age_invalid_b -->Age must be a number.<!-- 
$EndBlock error_age_invalid_b -->
    </td>
  </tr><!-- 
$EndBlock error_age_b --><!-- 
$EndBlock age_b --><!-- 

$BeginBlock custom1_b -->
    <tr>
      <td class="usrgb-fixedwidthcol" align="right"><!-- 
$BeginBlock error_custom1_b --><img class="usrgb-icon" src="${gb_root_dir}/assets/attn16.png"><!-- 
$EndBlock error_custom1_b --><!-- 
$BeginBlock custom1_required_b -->*<!-- 
$EndBlock custom1_required_b --> ${custom1_prompt}: </td>
      <td align="left"><input type="text" name="custom1_data" value="${custom1_data}"  maxlength="${custom1_maxlen}" size="30"><!-- 
$BeginBlock custom1_private_b -->
      <img class="usrgb-icon" src="${gb_root_dir}/assets/lock16.png" alt="Confidential" title="Confidential"><!-- 
$EndBlock custom1_private_b -->
      </td>
    </tr><!-- 
$BeginBlock error_custom1_b -->
  <tr>
    <td class="usrgb-fixedwidthcol" align="right"></td>
    <td align="left" class="usrgb-error"><!-- 
$BeginBlock error_custom1_required_b --><i>${custom1_prompt}</i> is required.<!-- 
$EndBlock error_custom1_required_b --><!-- 
$BeginBlock error_custom1_too_short_b -->The value is too short.  It must be at least ${custom1_minlen} character long.<!-- 
$EndBlock error_custom1_too_short_b --><!-- 
$BeginBlock error_custom1_too_long_b -->The value is too long.  It must not exceed ${custom1_maxlen} character long.<!-- 
$EndBlock error_custom1_too_long_b -->
    </td>
  </tr><!-- 
$EndBlock error_custom1_b --><!-- 
$EndBlock custom1_b --><!-- 
$BeginBlock custom2_b -->
    <tr>
      <td class="usrgb-fixedwidthcol" align="right"><!-- 
$BeginBlock error_custom2_b --><img class="usrgb-icon" src="${gb_root_dir}/assets/attn16.png"><!-- 
$EndBlock error_custom2_b --><!-- 
$BeginBlock custom2_required_b -->*<!-- 
$EndBlock custom2_required_b --> ${custom2_prompt}: </td>
      <td align="left"><input type="text" name="custom2_data" value="${custom2_data}"  maxlength="${custom2_maxlen}" size="30"><!-- 
$BeginBlock custom2_private_b -->
      <img class="usrgb-icon" src="${gb_root_dir}/assets/lock16.png" alt="Confidential" title="Confidential"><!-- 
$EndBlock custom2_private_b -->
      </td>
    </tr><!-- 
$BeginBlock error_custom2_b -->
  <tr>
    <td class="usrgb-fixedwidthcol" align="right"></td>
    <td align="left" class="usrgb-error"><!-- 
$BeginBlock error_custom2_required_b --><i>${custom2_prompt}</i> is required.<!-- 
$EndBlock error_custom2_required_b --><!-- 
$BeginBlock error_custom2_too_short_b -->The value is too short.  It must be at least ${custom2_minlen} character long.<!-- 
$EndBlock error_custom2_too_short_b --><!-- 
$BeginBlock error_custom2_too_long_b -->The value is too long.  It must not exceed ${custom2_maxlen} character long.<!-- 
$EndBlock error_custom2_too_long_b -->
    </td>
  </tr><!-- 
$EndBlock error_custom2_b --><!-- 
$EndBlock custom2_b --><!-- 
$BeginBlock custom3_b -->
    <tr>
      <td class="usrgb-fixedwidthcol" align="right"><!-- 
$BeginBlock error_custom3_b --><img class="usrgb-icon" src="${gb_root_dir}/assets/attn16.png"><!-- 
$EndBlock error_custom3_b --><!-- 
$BeginBlock custom3_required_b -->*<!-- 
$EndBlock custom3_required_b -->${custom3_prompt}: </td>
      <td align="left"><input type="text" name="custom3_data" value="${custom3_data}"  maxlength="${custom3_maxlen}" size="30"><!-- 
$BeginBlock custom3_private_b -->
      <img class="usrgb-icon" src="${gb_root_dir}/assets/lock16.png" alt="Confidential" title="Confidential"><!-- 
$EndBlock custom3_private_b -->      
      </td>
    </tr><!-- 
$BeginBlock error_custom3_b -->
  <tr>
    <td class="usrgb-fixedwidthcol" align="right"></td>
    <td align="left" class="usrgb-error"><!-- 
$BeginBlock error_custom3_required_b --><i>${custom3_prompt}</i> is required.<!-- 
$EndBlock error_custom3_required_b --><!-- 
$BeginBlock error_custom3_too_short_b -->The value is too short.  It must be at least ${custom3_minlen} character long.<!-- 
$EndBlock error_custom3_too_short_b --><!-- 
$BeginBlock error_custom3_too_long_b -->The value is too long.  It must not exceed ${custom3_maxlen} character long.<!-- 
$EndBlock error_custom3_too_long_b -->
    </td>
  </tr><!-- 
$EndBlock error_custom3_b --><!-- 
$EndBlock custom3_b --><!-- 
$BeginBlock custom4_b -->
    <tr>
      <td class="usrgb-fixedwidthcol" align="right"><!-- 
$BeginBlock error_custom4_b --><img class="usrgb-icon" src="${gb_root_dir}/assets/attn16.png"><!-- 
$EndBlock error_custom4_b --><!-- 
$BeginBlock custom4_required_b -->*<!-- 
$EndBlock custom4_required_b -->${custom4_prompt}: </td>
      <td align="left"><input type="text" name="custom4_data" value="${custom4_data}" maxlength="${custom4_maxlen}"  size="30"><!-- 
$BeginBlock custom4_private_b -->
      <img class="usrgb-icon" src="${gb_root_dir}/assets/lock16.png" alt="Confidential" title="Confidential"><!-- 
$EndBlock custom4_private_b -->      
      </td>
    </tr><!-- 
$BeginBlock error_custom4_b -->
  <tr>
    <td class="usrgb-fixedwidthcol" align="right"></td>
    <td align="left" class="usrgb-error"><!-- 
$BeginBlock error_custom4_required_b --><i>${custom4_prompt}</i> is required.<!-- 
$EndBlock error_custom4_required_b --><!-- 
$BeginBlock error_custom4_too_short_b -->The value is too short.  It must be at least ${custom4_minlen} character long.<!-- 
$EndBlock error_custom4_too_short_b --><!-- 
$BeginBlock error_custom4_too_long_b -->The value is too long.  It must not exceed ${custom4_maxlen} character long.<!-- 
$EndBlock error_custom4_too_long_b -->
    </td>
  </tr><!-- 
$EndBlock error_custom4_b --><!-- 
$EndBlock custom4_b --><!-- 
$BeginBlock custom5_b -->
    <tr>
      <td class="usrgb-fixedwidthcol" align="right"><!-- 
$BeginBlock error_custom5_b --><img class="usrgb-icon" src="${gb_root_dir}/assets/attn16.png"><!-- 
$EndBlock error_custom5_b --><!-- 
$BeginBlock custom5_required_b -->*<!-- 
$EndBlock custom5_required_b -->${custom5_prompt}: </td>
      <td align="left"><input type="text" name="custom5_data" value="${custom5_data}" maxlength="${custom5_maxlen}" size="30"><!-- 
$BeginBlock custom5_private_b -->
      <img class="usrgb-icon" src="${gb_root_dir}/assets/lock16.png" alt="Confidential" title="Confidential"><!-- 
$EndBlock custom5_private_b -->      
      </td>
    </tr><!-- 
$BeginBlock error_custom5_b -->
  <tr>
    <td class="usrgb-fixedwidthcol" align="right"></td>
    <td align="left" class="usrgb-error"><!-- 
$BeginBlock error_custom5_required_b --><i>${custom5_prompt}</i> is required.<!-- 
$EndBlock error_custom5_required_b --><!-- 
$BeginBlock error_custom5_too_short_b -->The value is too short.  It must be at least ${custom5_minlen} character long.<!-- 
$EndBlock error_custom5_too_short_b --><!-- 
$BeginBlock error_custom5_too_long_b -->The value is too long.  It must not exceed ${custom5_maxlen} character long.<!-- 
$EndBlock error_custom5_too_long_b -->
    </td>
  </tr><!-- 
$EndBlock error_custom5_b --><!-- 
$EndBlock custom5_b -->
  <tr>
    <td class="usrgb-fixedwidthcol" align="right" valign="top"><!-- 
$BeginBlock error_mesg_b --><img class="usrgb-icon" src="${gb_root_dir}/assets/attn16.png"><!-- 
$EndBlock error_mesg_b -->
     *Message:
     <br/><br/>
     <table border="0" width="100%">
        <tr><td nowrap align="right"><!-- 
$BeginBlock emoticon1_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon1_code_js}');"><img class="usrgb-icon" src="${emoticon1_url}" alt="${emoticon1_code} ${emoticon1_desc}" title="${emoticon1_code} ${emoticon1_desc}"/></a><!-- 
$EndBlock emoticon1_b --><!-- 
$BeginBlock emoticon2_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon2_code_js}');"><img class="usrgb-icon" src="${emoticon2_url}" alt="${emoticon2_code} ${emoticon2_desc}" title="${emoticon2_code} ${emoticon2_desc}"/></a><!-- 
$EndBlock emoticon2_b --><!-- 
$BeginBlock emoticon3_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon3_code_js}');"><img class="usrgb-icon" src="${emoticon3_url}" alt="${emoticon3_code} ${emoticon3_desc}" title="${emoticon3_code} ${emoticon3_desc}"/></a><!-- 
$EndBlock emoticon3_b --><!-- 
$BeginBlock emoticon4_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon4_code_js}');"><img class="usrgb-icon" src="${emoticon4_url}" alt="${emoticon4_code} ${emoticon4_desc}" title="${emoticon4_code} ${emoticon4_desc}"/></a><!-- 
$EndBlock emoticon4_b --><!-- 
$BeginBlock emoticon5_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon5_code_js}');"><img class="usrgb-icon" src="${emoticon5_url}" alt="${emoticon5_code} ${emoticon5_desc}" title="${emoticon5_code} ${emoticon5_desc}"/></a><!-- 
$EndBlock emoticon5_b -->
        </td></tr>
        <tr><td nowrap align="right"><!-- 
$BeginBlock emoticon6_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon6_code_js}');"><img class="usrgb-icon" src="${emoticon6_url}" alt="${emoticon6_code} ${emoticon6_desc}" title="${emoticon6_code} ${emoticon6_desc}"/></a><!-- 
$EndBlock emoticon6_b --><!-- 
$BeginBlock emoticon7_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon7_code_js}');"><img class="usrgb-icon" src="${emoticon7_url}" alt="${emoticon7_code} ${emoticon7_desc}" title="${emoticon7_code} ${emoticon7_desc}"/></a><!-- 
$EndBlock emoticon7_b --><!-- 
$BeginBlock emoticon8_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon8_code_js}');"><img class="usrgb-icon" src="${emoticon8_url}" alt="${emoticon8_code} ${emoticon8_desc}" title="${emoticon8_code} ${emoticon8_desc}"/></a><!-- 
$EndBlock emoticon8_b --><!-- 
$BeginBlock emoticon9_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon9_code_js}');"><img class="usrgb-icon" src="${emoticon9_url}" alt="${emoticon9_code} ${emoticon9_desc}" title="${emoticon9_code} ${emoticon9_desc}"/></a><!-- 
$EndBlock emoticon9_b --><!-- 
$BeginBlock emoticon10_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon10_code_js}');"><img class="usrgb-icon" src="${emoticon10_url}" alt="${emoticon10_code} ${emoticon10_desc}" title="${emoticon10_code} ${emoticon10_desc}"/></a><!-- 
$EndBlock emoticon10_b -->
        </td></tr>
        <tr><td nowrap align="right"><!-- 
$BeginBlock emoticon11_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon11_code_js}');"><img class="usrgb-icon" src="${emoticon11_url}" alt="${emoticon11_code} ${emoticon11_desc}" title="${emoticon11_code} ${emoticon11_desc}"/></a><!-- 
$EndBlock emoticon11_b --><!-- 
$BeginBlock emoticon12_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon12_code_js}');"><img class="usrgb-icon" src="${emoticon12_url}" alt="${emoticon12_code} ${emoticon12_desc}" title="${emoticon12_code} ${emoticon12_desc}"/></a><!-- 
$EndBlock emoticon12_b --><!-- 
$BeginBlock emoticon13_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon13_code_js}');"><img class="usrgb-icon" src="${emoticon13_url}" alt="${emoticon13_code} ${emoticon13_desc}" title="${emoticon13_code} ${emoticon13_desc}"/></a><!-- 
$EndBlock emoticon13_b --><!-- 
$BeginBlock emoticon14_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon14_code_js}');"><img class="usrgb-icon" src="${emoticon14_url}" alt="${emoticon14_code} ${emoticon14_desc}" title="${emoticon14_code} ${emoticon14_desc}"/></a><!-- 
$EndBlock emoticon14_b --><!-- 
$BeginBlock emoticon15_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon15_code_js}');"><img class="usrgb-icon" src="${emoticon15_url}" alt="${emoticon15_code} ${emoticon15_desc}" title="${emoticon15_code} ${emoticon15_desc}"/></a><!-- 
$EndBlock emoticon15_b -->
        </td></tr>
        <tr><td nowrap align="right"><!-- 
$BeginBlock emoticon16_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon16_code_js}');"><img class="usrgb-icon" src="${emoticon16_url}" alt="${emoticon16_code} ${emoticon16_desc}" title="${emoticon16_code} ${emoticon16_desc}"/></a><!-- 
$EndBlock emoticon16_b --><!-- 
$BeginBlock emoticon17_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon17_code_js}');"><img class="usrgb-icon" src="${emoticon17_url}" alt="${emoticon17_code} ${emoticon17_desc}" title="${emoticon17_code} ${emoticon17_desc}"/></a><!-- 
$EndBlock emoticon17_b --><!-- 
$BeginBlock emoticon18_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon18_code_js}');"><img class="usrgb-icon" src="${emoticon18_url}" alt="${emoticon18_code} ${emoticon18_desc}" title="${emoticon18_code} ${emoticon18_desc}"/></a><!-- 
$EndBlock emoticon18_b --><!-- 
$BeginBlock emoticon19_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon19_code_js}');"><img class="usrgb-icon" src="${emoticon19_url}" alt="${emoticon19_code} ${emoticon19_desc}" title="${emoticon19_code} ${emoticon19_desc}"/></a><!-- 
$EndBlock emoticon19_b --><!-- 
$BeginBlock emoticon20_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon20_code_js}');"><img class="usrgb-icon" src="${emoticon20_url}" alt="${emoticon20_code} ${emoticon20_desc}" title="${emoticon20_code} ${emoticon20_desc}"/></a><!-- 
$EndBlock emoticon20_b -->
        </td></tr>
        <tr><td nowrap align="right"><!-- 
$BeginBlock emoticon21_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon21_code_js}');"><img class="usrgb-icon" src="${emoticon21_url}" alt="${emoticon21_code} ${emoticon21_desc}" title="${emoticon21_code} ${emoticon21_desc}"/></a><!-- 
$EndBlock emoticon21_b --><!-- 
$BeginBlock emoticon22_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon22_code_js}');"><img class="usrgb-icon" src="${emoticon22_url}" alt="${emoticon22_code} ${emoticon22_desc}" title="${emoticon22_code} ${emoticon22_desc}"/></a><!-- 
$EndBlock emoticon22_b --><!-- 
$BeginBlock emoticon23_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon23_code_js}');"><img class="usrgb-icon" src="${emoticon23_url}" alt="${emoticon23_code} ${emoticon23_desc}" title="${emoticon23_code} ${emoticon23_desc}"/></a><!-- 
$EndBlock emoticon23_b --><!-- 
$BeginBlock emoticon24_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon24_code_js}');"><img class="usrgb-icon" src="${emoticon24_url}" alt="${emoticon24_code} ${emoticon24_desc}" title="${emoticon24_code} ${emoticon24_desc}"/></a><!-- 
$EndBlock emoticon24_b --><!-- 
$BeginBlock emoticon25_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon25_code_js}');"><img class="usrgb-icon" src="${emoticon25_url}" alt="${emoticon25_code} ${emoticon25_desc}" title="${emoticon25_code} ${emoticon25_desc}"/></a><!-- 
$EndBlock emoticon25_b -->
        </td></tr>
        <tr><td nowrap align="right"><!-- 
$BeginBlock emoticon26_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon26_code_js}');"><img class="usrgb-icon" src="${emoticon26_url}" alt="${emoticon26_code} ${emoticon26_desc}" title="${emoticon26_code} ${emoticon26_desc}"/></a><!-- 
$EndBlock emoticon26_b --><!-- 
$BeginBlock emoticon27_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon27_code_js}');"><img class="usrgb-icon" src="${emoticon27_url}" alt="${emoticon27_code} ${emoticon27_desc}" title="${emoticon27_code} ${emoticon27_desc}"/></a><!-- 
$EndBlock emoticon27_b --><!-- 
$BeginBlock emoticon28_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon28_code_js}');"><img class="usrgb-icon" src="${emoticon28_url}" alt="${emoticon28_code} ${emoticon28_desc}" title="${emoticon28_code} ${emoticon28_desc}"/></a><!-- 
$EndBlock emoticon28_b --><!-- 
$BeginBlock emoticon29_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon29_code_js}');"><img class="usrgb-icon" src="${emoticon29_url}" alt="${emoticon29_code} ${emoticon29_desc}" title="${emoticon29_code} ${emoticon29_desc}"/></a><!-- 
$EndBlock emoticon29_b --><!-- 
$BeginBlock emoticon30_b -->
          <a class="usrgb" href="javascript:addEmoticon('${emoticon30_code_js}');"><img class="usrgb-icon" src="${emoticon30_url}" alt="${emoticon30_code} ${emoticon30_desc}" title="${emoticon30_code} ${emoticon30_desc}"/></a><!-- 
$EndBlock emoticon30_b -->
        </td></tr>
     </table>
     <img src="${gb_root_dir}/assets/t.gif" class="usrgb-fixedwidthcol" height="1" border="0" alt="" title=""/>
     </td>
      <td align="left">
          <textarea class="usrgb" wrap="virtual" cols="50" rows="12" name="mesg_data">${mesg_data}</textarea><!-- 
$BeginBlock error_mesg_b -->
          <br>
          <span class="usrgb-error"><!-- 
$BeginBlock error_mesg_required_b -->Message is required.<!-- 
$EndBlock error_mesg_required_b --><!-- 
$BeginBlock error_mesg_too_short_b -->Message is too short. Message must be at least ${mesg_minlen} character long.<!-- 
$EndBlock error_mesg_too_short_b --><!-- 
$BeginBlock error_mesg_too_long_b -->Message is too long. Message must not exceed ${mesg_maxlen} character long.<!-- 
$EndBlock error_mesg_too_long_b --><!-- 
$BeginBlock error_mesg_word_too_long_b -->One or more words in your message are too long. A word must not exceed ${mesg_word_maxlen} character long.<!-- 
$EndBlock error_mesg_word_too_long_b --><!-- 
$BeginBlock error_mesg_line_too_long_b -->One or more lines between &lt;pre&gt; and &lt;/pre&gt; are too long.  A preformatted line must not exceed ${mesg_word_maxlen} character long.<!-- 
$EndBlock error_mesg_line_too_long_b --><!-- 
$BeginBlock error_mesg_too_many_lines_b -->There are too many lines in this message.  The number of lines must not exceed ${mesg_line_maxnum}.<!-- 
$EndBlock error_mesg_too_many_lines_b --><!-- 
$BeginBlock error_mesg_improper_words_b -->One or more words in your message may be inapproriate.  Please choose your words carefully.<!-- 
$EndBlock error_mesg_improper_words_b -->         
          </span>
          <br><!-- 
$EndBlock error_mesg_b --><!-- 

$BeginBlock mesg_moderated_w_b -->
          <br/>
          <div class="usrgb-error">
            <img class="usrgb-icon" src="${gb_root_dir}/assets/attn16.png">
            One or more words in your message may be inapproriate.
            You can still submit the message, but the message will be subject to approval.
            <input type="hidden" name="mesg_moderated" value="${mesg_moderated}">
          </div><!-- 
$EndBlock  mesg_moderated_w_b -->
      </td>
    </tr><!-- 
$BeginBlock is_private_enabled_b -->
    <tr>
      <td class="usrgb-fixedwidthcol" align="right">&nbsp;</td>
      <td align="left">
      <input type="checkbox" name="is_private_data" value="Y" <!-- $BeginBlock is_private_checked_b --> checked <!-- $EndBlock is_private_checked_b --> >This is a private message for the guestbook owner.
      </td>    
    </tr><!-- 
$EndBlock is_private_enabled_b --><!-- 
$BeginBlock emoticon_enabled_b -->
    <tr>
      <td class="usrgb-fixedwidthcol" align="right">&nbsp;</td>
      <td align="left">
      <input type="checkbox" name="text_econ_data" value="Y" <!-- $BeginBlock text_econ_checked_b --> checked <!-- $EndBlock text_econ_checked_b --> >Show emoticons as text.
      </td>
    </tr><!-- 
$EndBlock emoticon_enabled_b --><!-- 
$BeginBlock html_tags_allowed -->
    <tr>
      <td class="usrgb-fixedwidthcol" align="right">&nbsp;</td>
      <td align="left">
          <span class="usrgb-info12">
          Allowable HTML Tags:<!-- 
$BeginBlock strong_tag_allowed -->
          &lt;strong&gt;&lt;/strong&gt;<!-- 
$EndBlock strong_tag_allowed --><!-- 
$BeginBlock b_tag_allowed -->
          &lt;b&gt;&lt;/b&gt;<!-- 
$EndBlock b_tag_allowed --><!-- 
$BeginBlock em_tag_allowed -->
          &lt;em&gt;&lt;/em&gt;<!-- 
$EndBlock em_tag_allowed --><!-- 
$BeginBlock i_tag_allowed -->
          &lt;i&gt;&lt;/i&gt;<!-- 
$EndBlock i_tag_allowed --><!-- 
$BeginBlock tt_tag_allowed -->
          &lt;tt&gt;&lt;/tt&gt;<!-- 
$EndBlock tt_tag_allowed --><!-- 
$BeginBlock big_tag_allowed -->
          &lt;big&gt;&lt;/big&gt;<!-- 
$EndBlock big_tag_allowed --><!-- 
$BeginBlock small_tag_allowed -->
          &lt;small&gt;&lt;/small&gt;<!-- 
$EndBlock small_tag_allowed --><!-- 
$BeginBlock sub_tag_allowed -->
          &lt;sub&gt;&lt;/sub&gt;<!-- 
$EndBlock sub_tag_allowed --><!-- 
$BeginBlock sup_tag_allowed -->
          &lt;sup&gt;&lt;/sup&gt;<!-- 
$EndBlock sup_tag_allowed --><!-- 
$BeginBlock pre_tag_allowed -->
          &lt;pre&gt;&lt;/pre&gt;<!-- 
$EndBlock pre_tag_allowed -->
          (To display an allowable tag as is, place '\' after '&lt;'; for example, &lt;\b&gt; or &lt;\/b&gt;.)
          </span>
      </td>
    </tr><!-- 
$EndBlock html_tags_allowed -->
  <tr>
      <td>&nbsp;</td>
      <td align="left">
        * indicates a required field.<!-- 
$BeginBlock private_field_hint_b -->
        <img class="usrgb-icon" src="${gb_root_dir}/assets/lock16.png" alt="Confidential" title="Confidential"> indicates a confidential field, which is visible only to the owner of this guestbook.<!-- 
$EndBlock private_field_hint_b -->
        <br/><br/>
        <input type="submit" name="new_mesg_preview" value="Preview">
        <input type="submit" name="new_mesg_submit" value="Submit">
      </td>
  </tr><!-- 
$BeginBlock mesg_preview_b -->
   <tr>
    <td colspan="2">
      Preview:<a name="preview">&nbsp;</a>
      <script language="javascript" type="text/javascript">location.href="#preview";</script>
    </td>
  </tr>
  <tr>
    <td colspan="2"><!-- 
$Include /_msg.inc.tpl -->
    </td>
  </tr><!-- 
$EndBlock mesg_preview_b -->
  <tr>
    <td>&nbsp;</td>
    <td align="left">
      <a class="usrgb" href="index.${php_extension}">Return to ${html_title} Without Submission</a>
    </td>
  </tr>
</table>

</div>

<!-- $BeginBlock confirmation_brq -->
<h3>Confirmation</h3>
To submit the message, please enter the code you see and press <b>Confirm</b>, 
or you can press <b>Cancel</b> to resume editing.<br/><br/>
<img src="${gb_root_dir}/vcode.${php_extension}?evtid=${event_id_url}" alt="" title="">
<br/><br/>
<input type="hidden" name="event_id" value="${event_id}">
<input type="text" name="vcode" onKeyPress="return checkEnter(event)"><input type="submit" name="confirm" value="Confirm">
<input type="submit" name="resume_edit" value="Cancel">
<br/><br/>
<img class="usrgb-icon" src="${gb_root_dir}/assets/info.gif">
<span class="usrgb-help">The confirmation code is not case-sensitive.  If the code is not intelligible, please press Cancel and submit again to get a new code.</span>
<br/><br/><!-- $BeginBlock confirm_preview_b -->
      Preview:<!-- 
$Include /_msg.inc.tpl --><!-- 
$EndBlock confirm_preview_b -->
  <script language="javascript" type="text/javascript">document.mesgform.vcode.focus();</script><!-- 
$EndBlock confirmation_brq -->

</form><!-- 
$EndBlock main_brq --><!-- 
$Include /footer.inc.tpl -->
Return current item: Instant PHP/MySQL Guestbook