<table class="adminform" width="100%" cellpadding="10" cellspacing="10">
                                
                 <tr>

							   		<td align="left" valign="top"><strong><?php echo JText::_( 'DT_FROM_NAME' );?>:</strong></td>

							   		<td><input type="text" name="DT_fromname" size="30" value="<?php echo $DT_fromname; ?>" /></td>

							   		<td><?php echo JHTML::tooltip((JText::_( 'DT_FROM_NAME_TIP' )), '', 'tooltip.png', '', ''); ?> </td>

							   </tr>
                 <tr>

							   		<td align="left" valign="top"><strong><?php echo JText::_( 'DT_FROM_EMAIL' );?>:</strong></td>

							   		<td><input type="text" name="DT_mailfrom" size="30" value="<?php echo $DT_mailfrom; ?>" /></td>

							   		<td><?php echo JHTML::tooltip((JText::_( 'DT_FROM_EMAIL_TIP' )), '', 'tooltip.png', '', ''); ?> </td>

							   </tr>
                                
								<tr align="center" valign="middle">
                
                 <td align="left" valign="top"><strong><?php echo JText::_( 'THANKS_EMAIL' );?>:</strong>

                 <div style="padding:5px 5px 5px 15px;">

                 <br /><?php echo JText::_( 'DT_TAG_INSERT_TEXT' );?>:
                 
                 <br />[TITLE] - <?php echo JText::_( 'DT_TAG_TITLE' );?>

                 <br />[NAME] - <?php echo JText::_( 'DT_TAG_NAME' );?>
                 
                 <br />[FIRSTNAME] - <?php echo JText::_( 'DT_TAG_FIRSTNAME' );?>

                 <br />[ORGANIZATION] - <?php echo JText::_( 'DT_TAG_ORGANIZATION' );?>

                 <br />[EVENT_NAME] - <?php echo JText::_( 'DT_TAG_EVENT_NAME' );?>

                 <br />[EVENT_DATE] - <?php echo JText::_( 'DT_TAG_EVENT_DATE' );?>
                 
                 <br />[LOCATION] - <?php echo JText::_( 'DT_TAG_LOCATION' );?>
                 
                 <br />[LOCATION_DETAILS] - <?php echo JText::_( 'DT_TAG_LOCATION_DETAILS' );?>

                 <br />[CONTACT_DETAILS] - <?php echo JText::_( 'DT_TAG_CONTACT_DETAILS' );?>

                 <br />[GROUP_NAMES] - <?php echo JText::_( 'DT_TAG_GROUP_NAMES' );?>

                 <br />[GROUP_NUMBER] - <?php echo JText::_( 'DT_TAG_GROUP_NUMBER' ); ?>

                 <br />[AMOUNT] - <?php echo JText::_( 'DT_TAG_AMOUNT' );?>
                 
                 <br />[AMOUNT_PAID] - <?php echo JText::_( 'DT_TAG_AMOUNT_PAID' );?>
                 
                 <br />[AMOUNT_DUE] - <?php echo JText::_( 'DT_TAG_AMOUNT_DUE' );?>

			     <br />[AMOUNT_NOTAX] - <?php echo JText::_( 'DT_TAG_AMOUNT_NOTAX' );?>

                 <br />[TAX] - <?php echo JText::_( 'DT_TAG_TAX' );?>

                 <br />[PAYMENT_TYPE] - <?php echo JText::_( 'DT_TAG_PAYMENT_TYPE' );?>

                 <br />[CONTACT_CUSTOM_FIELDS] - <?php echo  JText::_( 'DT_TAG_CONTACT_CUSTOM_FIELDS' );?>

                 <br />[GROUP_CUSTOM_FIELDS] - <?php echo  JText::_( 'DT_TAG_GROUP_CUSTOM_FIELDS' );?>

                 <br />[FIELDX] - <?php echo JText::_( 'DT_TAG_FIELDS' );?>

                 <br />[CONFIRM_NUM] - <?php echo JText::_( 'DT_TAG_CONFIRM_NUM' );?>

                 <br />[BARCODE] - <?php echo JText::_( 'DT_TAG_BARCODE' );?>

                 <br />[STATUS] - <?php echo JText::_( 'DT_TAG_STATUS' );?>

                 <br />[PAID_STATUS] - <?php echo JText::_( 'DT_TAG_PAID_STATUS' );?>

                 <br />[USERNAME] - <?php echo JText::_( 'DT_TAG_USERNAME' );?>

                 <br />[PASSWORD] - <?php echo JText::_( 'DT_TAG_PASSWORD' );?>

                 <br />[DATE_REGISTERED] - <?php echo JText::_( 'DT_TAG_DATE_REGISTERED' );?>

                 </div>

                  </td>

							    <td align="left" valign="top"><?php echo $editor->display("thanksemail",stripslashes($thanksemail),'','340','20','20','0'); ?></td>
									<td><?php echo JHTML::tooltip((JText::_( 'DT_THANKS_EMAIL_AUTH' )), '', 'tooltip.png', '', ''); ?> </td>
								</tr>
                                
                                
                <tr align="center" valign="middle">
                  <td align="left" valign="top"><strong><?php echo JText::_( 'DT_THANKS_EMAIL_SUB' );?>:</strong></td>
							    <td align="left" valign="top"><input type="text" name="subthanksemail" size="88" maxlength="80" value="<?php echo stripslashes($subthanksemail); ?>" /></td>
									<td><?php echo JHTML::tooltip((JText::_( 'DT_THANKS_EMAIL_AUTH_SUB' )), '', 'tooltip.png', '', ''); ?></td>
								 </tr>

					      <tr>		 	 
                      <td colspan="5"><hr /></td>
                </tr>
                 
                <tr align="center" valign="middle">
                  <td align="left" valign="top"><strong><?php echo JText::_( 'DT_STATUS_CHANGE_MSG'); ?>:</strong>
                    <div style="padding:5px 5px 5px 15px;">

                 <br /><?php echo JText::_( 'DT_TAG_INSERT_TEXT' );?>:
                 
                 <br />[TITLE] - <?php echo JText::_( 'DT_TAG_TITLE' );?>

                 <br />[NAME] - <?php echo JText::_( 'DT_TAG_NAME' );?>

                 <br />[FIRSTNAME] - <?php echo JText::_( 'DT_TAG_FIRSTNAME' );?>

                 <br />[ORGANIZATION] - <?php echo JText::_( 'DT_TAG_ORGANIZATION' );?>

                 <br />[EVENT_NAME] - <?php echo JText::_( 'DT_TAG_EVENT_NAME' );?>

                 <br />[EVENT_DATE] - <?php echo JText::_( 'DT_TAG_EVENT_DATE' );?>
                 
                 <br />[LOCATION] - <?php echo JText::_( 'DT_TAG_LOCATION' );?>
                 
                 <br />[LOCATION_DETAILS] - <?php echo JText::_( 'DT_TAG_LOCATION_DETAILS' );?>

                 <br />[CONTACT_DETAILS] - <?php echo JText::_( 'DT_TAG_CONTACT_DETAILS' );?>

                 <br />[GROUP_NAMES] - <?php echo JText::_( 'DT_TAG_GROUP_NAMES' );?>

                 <br />[GROUP_NUMBER] - <?php echo JText::_( 'DT_TAG_GROUP_NUMBER' ); ?>

                 <br />[AMOUNT] - <?php echo JText::_( 'DT_TAG_AMOUNT' );?>
                 
                 <br />[AMOUNT_PAID] - <?php echo JText::_( 'DT_TAG_AMOUNT_PAID' );?>
                 
                 <br />[AMOUNT_DUE] - <?php echo JText::_( 'DT_TAG_AMOUNT_DUE' );?>

                 <br />[AMOUNT_NOTAX] - <?php echo JText::_( 'DT_TAG_AMOUNT_NOTAX' );?>

                 <br />[TAX] - <?php echo JText::_( 'DT_TAG_TAX' );?>

                 <br />[PAYMENT_TYPE] - <?php echo JText::_( 'DT_TAG_PAYMENT_TYPE' );?>

                 <br />[CONTACT_CUSTOM_FIELDS] - <?php echo  JText::_( 'DT_TAG_CONTACT_CUSTOM_FIELDS' );?>

                 <br />[GROUP_CUSTOM_FIELDS] - <?php echo  JText::_( 'DT_TAG_GROUP_CUSTOM_FIELDS' );?>

                 <br />[FIELDX] - <?php echo JText::_( 'DT_TAG_FIELDS' );?>

                 <br />[CONFIRM_NUM] - <?php echo JText::_( 'DT_TAG_CONFIRM_NUM' );?>

                 <br />[BARCODE] - <?php echo JText::_( 'DT_TAG_BARCODE' );?>

                 <br />[STATUS] - <?php echo JText::_( 'DT_TAG_STATUS' );?>

                 <br />[PAID_STATUS] - <?php echo JText::_( 'DT_TAG_PAID_STATUS' );?>

                 <br />[USERNAME] - <?php echo JText::_( 'DT_TAG_USERNAME' );?>

                 <br />[DATE_REGISTERED] - <?php echo JText::_( 'DT_TAG_DATE_REGISTERED' );?>

                 </div>

                    </td>
							      <td align="left" valign="top">
                    <?php echo JText::_( 'DT_ENABLE_FEATURE' );?>: &nbsp;<?php 
					           $status_change_msg_send =  (isset($status_change_msg_send))?$status_change_msg_send:1;
                     echo JHTML::_('select.booleanlist', "status_change_msg_send","",$status_change_msg_send);  ?>
                    <?php echo $editor->display("status_change_msg",stripslashes($status_change_msg),'','340','20','20','0'); ?></td>
									  <td><?php echo JHTML::tooltip(JText::_( 'DT_STATUS_CHANGE_MSG_HELP'));?> </td>
								  </tr>
                   
                  <tr align="center" valign="middle">
                    <td align="left" valign="top"><strong><?php echo JText::_( 'DT_CHANGE_STATUS_EMAIL_SUB' );?>:</strong></td>
							      <td align="left" valign="top"><input type="text" name="subchangestatusemail" size="88" maxlength="80" value="<?php echo stripslashes($subchangestatusemail); ?>" /></td>
								 	  <td><?php echo JHTML::tooltip((JText::_( 'DT_CHANGE_STATUS_EMAIL_HELP' )), '', 'tooltip.png', '', ''); ?></td>
								  </tr>
                  <tr>		 	 
                    <td colspan="5"><hr /></td>
                  </tr>
                    
                  <tr align="center" valign="middle">
                    <td align="left" valign="top"><strong><?php echo JText::_( 'DT_PAID_STATUS_CHANGE_MSG'); ?>:</strong>
                    <div style="padding:5px 5px 5px 15px;">

                 <br /><?php echo JText::_( 'DT_TAG_INSERT_TEXT' );?>:
                 
                 <br />[TITLE] - <?php echo JText::_( 'DT_TAG_TITLE' );?>

                 <br />[NAME] - <?php echo JText::_( 'DT_TAG_NAME' );?>
                 
                 <br />[FIRSTNAME] - <?php echo JText::_( 'DT_TAG_FIRSTNAME' );?>

                 <br />[ORGANIZATION] - <?php echo JText::_( 'DT_TAG_ORGANIZATION' );?>

                 <br />[EVENT_NAME] - <?php echo JText::_( 'DT_TAG_EVENT_NAME' );?>

                 <br />[EVENT_DATE] - <?php echo JText::_( 'DT_TAG_EVENT_DATE' );?>
                 
                 <br />[LOCATION] - <?php echo JText::_( 'DT_TAG_LOCATION' );?>
                 
                 <br />[LOCATION_DETAILS] - <?php echo JText::_( 'DT_TAG_LOCATION_DETAILS' );?>

                 <br />[CONTACT_DETAILS] - <?php echo JText::_( 'DT_TAG_CONTACT_DETAILS' );?>

                 <br />[GROUP_NAMES] - <?php echo JText::_( 'DT_TAG_GROUP_NAMES' );?>

                 <br />[GROUP_NUMBER] - <?php echo JText::_( 'DT_TAG_GROUP_NUMBER' ); ?>

                 <br />[AMOUNT] - <?php echo JText::_( 'DT_TAG_AMOUNT' );?>
                 
                 <br />[AMOUNT_PAID] - <?php echo JText::_( 'DT_TAG_AMOUNT_PAID' );?>
                 
                 <br />[AMOUNT_DUE] - <?php echo JText::_( 'DT_TAG_AMOUNT_DUE' );?>

                 <br />[AMOUNT_NOTAX] - <?php echo JText::_( 'DT_TAG_AMOUNT_NOTAX' );?>

                 <br />[TAX] - <?php echo JText::_( 'DT_TAG_TAX' );?>

                 <br />[PAYMENT_TYPE] - <?php echo JText::_( 'DT_TAG_PAYMENT_TYPE' );?>

                 <br />[CONTACT_CUSTOM_FIELDS] - <?php echo  JText::_( 'DT_TAG_CONTACT_CUSTOM_FIELDS' );?>

                 <br />[GROUP_CUSTOM_FIELDS] - <?php echo  JText::_( 'DT_TAG_GROUP_CUSTOM_FIELDS' );?>

                 <br />[FIELDX] - <?php echo JText::_( 'DT_TAG_FIELDS' );?>

                 <br />[CONFIRM_NUM] - <?php echo JText::_( 'DT_TAG_CONFIRM_NUM' );?>

                 <br />[BARCODE] - <?php echo JText::_( 'DT_TAG_BARCODE' );?>
                 
                 <br />[STATUS] - <?php echo JText::_( 'DT_TAG_STATUS' );?>
                 
                 <br />[PAID_STATUS] - <?php echo JText::_( 'DT_TAG_PAID_STATUS' );?>
                 
                 <br />[USERNAME] - <?php echo JText::_( 'DT_TAG_USERNAME' );?>

                 <br />[DATE_REGISTERED] - <?php echo JText::_( 'DT_TAG_DATE_REGISTERED' );?>

                 </div>
        
                    </td>
							      <td align="left" valign="top">
                    <?php echo JText::_( 'DT_ENABLE_FEATURE' );?>: &nbsp;<?php 
					           $paid_status_change_msg_send  = (isset($paid_status_change_msg_send))?$paid_status_change_msg_send:1;
					           echo JHTMLSelect::booleanlist("paid_status_change_msg_send","",$paid_status_change_msg_send); ?>
                    <?php echo $editor->display("paid_status_change_msg",stripslashes($paid_status_change_msg),'','340','20','20','0'); ?></td>
									  <td><?php echo JHTML::tooltip(JText::_( 'DT_PAID_STATUS_CHANGE_MSG_HELP'));?> </td>
								 </tr>
                 <tr align="center" valign="middle">
                  <td align="left" valign="top"><strong><?php echo JText::_( 'DT_PAID_STATUS_EMAIL_SUB' );?>:</strong></td>
							    <td align="left" valign="top"><input type="text" name="subpaidstatusemail" size="88" maxlength="80" value="<?php echo stripslashes($subpaidstatusemail); ?>" /></td>
									<td><?php echo JHTML::tooltip((JText::_( 'DT_PAID_STATUS_EMAIL_SUB_HELP' )), '', 'tooltip.png', '', ''); ?></td>
								 </tr>

	 						</table>