<?




if(($left_submit) || ($center_submit) || ($right_submit)) {

  if($form_action) {
    echo "<form method=post action='" . $form_action . "'>";
  }

  echo "

      <!-- START LESS-TRAVELED SUBMIT ROW (CONTINUED FROM TABLE V.) -->
      <!-- TABLE_X_submit -->

      
      <tr>
      	<td bgcolor='" . $template['TABLE_V']['td_bgcolor'] . "' background='" . image($http,$template['TABLE_V']['td_background']) . "' align='" . $template['TABLE_V']['td_align'] . "' colspan='" . $TABLE_X_colspan . "'>
      
        	<!-- START TABLE XI_i START LESS-TRAVELED SUBMIT TABLE -->
        	<table width='" . $template['TABLE_XI_i']['width'] . "' cellpadding='" . $template['TABLE_XI_i']['cellpadding'] . "' cellspacing='" . $template['TABLE_XI_i']['cellspacing'] . "' bgcolor='" . $template['TABLE_XI_i']['bgcolor'] . "' border='" . $template['TABLE_XI_i']['border'] . "' background='" . image($http,$template['TABLE_XI_i']['background']) . "'>
        		<tr>
        			<td> <!-- no need for more tds or alignments -->
        
          			<!-- START TABLE XI_ii -->
          			<table width='" . $template['TABLE_XI_ii'][width] . "' cellpadding='" . $template['TABLE_XI_ii'][cellpadding] . "' cellspacing='" . $template['TABLE_XI_ii'][cellspacing] . "' bgcolor='" . $template['TABLE_XI_ii'][bgcolor] . "' border='" . $template['TABLE_XI_ii'][border] . "' background='" . image($http,$template['TABLE_XI_ii'][background]) . "'>
          				<tr>
          					<td height=40 align=center> <!-- no need for more tds or alignments -->";
          
	if(($center_submit) && (!$left_submit) && (!$right_submit)) {
  	echo "       
            					<table width='80%'>
            						<tr>
            							<td align=center>$center_submit</td>
            						</tr>
            					</table>";
  }
          
  if((!$center_submit) && ($left_submit) && ($right_submit)) {
		echo "       
											<table width='70%'>
            						<tr>
            							<td align=left>$left_submit</td>
            							<td align=right>$right_submit</td>
            						</tr>
            					</table>";
	}
          
	if(($center_submit) && ($left_submit) && ($right_submit)) {
		echo "       
											<table width='90%'>
            						<tr>
            							<td align=left>$left_submit</td>
            							<td align=center>$center_submit</td>
            							<td align=right>$right_submit</td>
            						</tr>
            					</table>";
	}       
          
	echo "
            
										</td>
									</tr>
          			</table>
          			<!-- END TABLE XI_ii -->

							</td>
        		</tr>
        	</table>
        	<!-- END TABLE XI_i -->

				</td>
			</tr>
      <!-- END LESS-TRAVELED SUBMIT ROW -->

";

  if($form_action) {
    echo "</form>";
    $form_action = "";

  }

}

?>
