<table>
                              
							   <tr>
                                 <td valign="top"><strong><?php echo JText::_( 'DT_USER_PANEL_CANCEL_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 />[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 />[DATE_REGISTERED] - <?php echo JText::_( 'DT_TAG_DATE_REGISTERED' );?>

                 </div>
                                 
                                 </td>
                                 <td>
                                  <?php $email_cancel_confirm = isset($email_cancel_confirm)?$email_cancel_confirm:'';?>
                                  <?php echo $editor->display("email_cancel_confirm",stripslashes($email_cancel_confirm),'','340','20','20','0'); ?>

                                 </td>
                                 <td><?php echo JHTML::tooltip((JText::_( 'DT_USER_PANEL_CANCEL_EMAIL_HELP' )), '', 'tooltip.png', '', '');?></td>
                 </tr>
                 <tr align="center" valign="middle">
                  <td align="left" valign="top"><strong><?php echo JText::_( 'DT_USER_PANEL_CANCEL_EMAIL_SUBJECT' );?>:</strong></td>
							    <td align="left" valign="top"><input type="text" name="upsubcancelemail" size="88" maxlength="80" value="<?php echo stripslashes($upsubcancelemail); ?>" /></td>
									<td><?php echo JHTML::tooltip((JText::_( 'DT_USER_PANEL_CANCEL_EMAIL_SUBJECT_HELP' )), '', 'tooltip.png', '', ''); ?></td>
								 </tr>

					       <tr>		 	 
                       <td colspan="5"><hr /></td>
                 </tr>                              
                 <tr>
                                 <td valign="top"><strong><?php echo JText::_( 'DT_USER_PANEL_CHANGE_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 />[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 />[DATE_REGISTERED] - <?php echo JText::_( 'DT_TAG_DATE_REGISTERED' );?>

                 </div>
                                 
                                 </td>
                                 <td>
                                  <?php $email_change_confirm = isset($email_change_confirm)?$email_change_confirm:'';?>
                                  <?php echo $editor->display("email_change_confirm",stripslashes($email_change_confirm),'','340','20','20','0'); ?>
                                             
                                 </td>
                                 <td><?php echo JHTML::tooltip((JText::_( 'DT_USER_PANEL_CHANGE_EMAIL_HELP' )), '', 'tooltip.png', '', '');?></td>
                 </tr>
                 <tr align="center" valign="middle">
                  <td align="left" valign="top"><strong><?php echo JText::_( 'DT_USER_PANEL_CHANGE_EMAIL_SUBJECT' );?>:</strong></td>
							    <td align="left" valign="top"><input type="text" name="upsubchangeemail" size="88" maxlength="80" value="<?php echo stripslashes($upsubchangeemail); ?>" /></td>
									<td><?php echo JHTML::tooltip((JText::_( 'DT_USER_PANEL_CHANGE_EMAIL_SUBJECT_HELP' )), '', 'tooltip.png', '', ''); ?></td>
								 </tr>

					       <tr>		 	 
                       <td colspan="5"><hr /></td>
                 </tr>      
                 <tr>
                                 <td valign="top"><strong><?php echo JText::_( 'DT_USER_PANEL_PAYMENT_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 />[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 />[DATE_REGISTERED] - <?php echo JText::_( 'DT_TAG_DATE_REGISTERED' );?>

                 </div>
                                 
                                 </td>
                                 <td>
                                  <?php $payment_confirm = isset($payment_confirm)?$payment_confirm:'';?>
                                  <?php echo $editor->display("payment_confirm",stripslashes($payment_confirm),'','340','20','20','0'); ?>
     
                                 </td>
                                 <td><?php echo JHTML::tooltip((JText::_( 'DT_USER_PANEL_PAYMENT_EMAIL_HELP' )), '', 'tooltip.png', '', '');?></td>
                 </tr>
                 <tr align="center" valign="middle">
                  <td align="left" valign="top"><strong><?php echo JText::_( 'DT_USER_PANEL_PAYMENT_EMAIL_SUBJECT' );?>:</strong></td>
							    <td align="left" valign="top"><input type="text" name="upsubpaymentemail" size="88" maxlength="80" value="<?php echo stripslashes($upsubpaymentemail); ?>" /></td>
									<td><?php echo JHTML::tooltip((JText::_( 'DT_USER_PANEL_PAYMENT_EMAIL_SUBJECT_HELP' )), '', 'tooltip.png', '', ''); ?></td>
								 </tr>

				         <tr>		 	 
                       <td colspan="5"><hr /></td>
                 </tr>      
                              		  
                 <tr>
                                 <td valign="top"><strong><?php echo JText::_( 'DT_USER_PANEL_MESSAGE' ); ?>:</strong></td>
                                 <td>
                                  <?php $userpanelmessage = isset($userpanelmessage)?$userpanelmessage:'';?>
                                  <?php echo $editor->display("userpanelmessage",stripslashes($userpanelmessage),'','','20','20','0'); ?>
                       
                                 </td>
                                 <td><?php echo JHTML::tooltip((JText::_( 'DT_USER_PANEL_MESSAGE_HELP' )), '', 'tooltip.png', '', '');?></td>
                  </tr>
                              
                              <tr>
                                 <td><strong><?php echo JText::_( 'DT_CHANGE_FEE_ENABLE' ); ?>:</strong></td>
                                 <td> <?php

								   $options=array();

								   $options[]=JHTML::_('select.option', '0', JText::_( 'NO' ));

								   $options[]=JHTML::_('select.option', '1', JText::_( 'YES' ));

								   $changefee_enable = isset($changefee_enable)?$changefee_enable:0;

								   echo JHTML::_('select.radiolist', $options,'changefee_enable','','value','text',$changefee_enable);

								   ?></td>
                                <td><?php echo JHTML::tooltip((JText::_( 'DT_CHANGE_FEE_ENABLE_HELP' )), '', 'tooltip.png', '', '');?></td>
                              </tr>
                              <tr>
                                 <td><strong><?php echo JText::_( 'DT_CHANGE_FEE_TYPE' ); ?>:</strong></td>
                                 <td> <?php

								   $options=array();

								   $options[]=JHTML::_('select.option', '1', JText::_( 'DT_AMOUNT' ));
								   
								   $options[]=JHTML::_('select.option', '2', JText::_( 'DT_PERCENTAGE' ));

								   $changefee_type = isset($changefee_type)?$changefee_type:0;

								   echo JHTML::_('select.radiolist', $options,'changefee_type','','value','text',$changefee_type);

								   ?></td>
                                 <td><?php echo JHTML::tooltip((JText::_( 'DT_CHANGE_FEE_TYPE_HELP' )), '', 'tooltip.png', '', '');?></td>
                              </tr>
                              <tr>
                                 <td><strong><?php echo JText::_( 'DT_CHANGE_FEE' ); ?>:</strong></td>
                                 <td> <?php

								   $changefee = isset($changefee)?$changefee:'0.00';

								   ?>
                                   <input type="text" value="<?php echo $changefee; ?>" name="changefee"/>
                                   </td>
                                 <td><?php echo JHTML::tooltip((JText::_( 'DT_CHANGE_FEE_HELP' )), '', 'tooltip.png', '', '');?></td>
                              </tr>
                              <tr>
                                 <td><strong><?php echo JText::_( 'DT_CANCEL_FEE_ENABLE' ); ?>:</strong></td>
                                 <td> <?php

								   $options=array();

								   $options[]=JHTML::_('select.option', '0', JText::_( 'NO' ));

								   $options[]=JHTML::_('select.option', '1', JText::_( 'YES' ));

								   $cancelfee_enable = isset($cancelfee_enable)?$cancelfee_enable:0;

								   echo JHTML::_('select.radiolist', $options,'cancelfee_enable','','value','text',$cancelfee_enable);

								   ?></td>
                                 <td><?php echo JHTML::tooltip((JText::_( 'DT_CANCEL_FEE_ENABLE_HELP' )), '', 'tooltip.png', '', '');?></td>
                              </tr>
                              <tr>
                                 <td><strong><?php echo JText::_( 'DT_CANCEL_FEE_TYPE' ); ?>:</strong></td>
                                 <td> <?php

								   $options=array();

								   $options[]=JHTML::_('select.option', '1', JText::_( 'DT_AMOUNT' ));
								   
								   $options[]=JHTML::_('select.option', '2', JText::_( 'DT_PERCENTAGE' ));

								   $cancelfee_type = isset($cancelfee_type)?$cancelfee_type:0;

								   echo JHTML::_('select.radiolist', $options,'cancelfee_type','','value','text',$cancelfee_type);

								   ?></td>
                                 <td><?php echo JHTML::tooltip((JText::_( 'DT_CANCEL_FEE_TYPE_HELP' )), '', 'tooltip.png', '', '');?></td>
                              </tr>
                              <tr>
                                 <td><strong><?php echo JText::_( 'DT_CANCEL_FEE' ); ?>:</strong></td>
                                 <td> <?php

								   $cancelfee = isset($cancelfee)?$cancelfee:'0.00';

								   ?>
                                   <input type="text" value="<?php echo $cancelfee; ?>" name="cancelfee"/>
                                   </td>
                                 <td><?php echo JHTML::tooltip((JText::_( 'DT_CANCEL_FEE_HELP' )), '', 'tooltip.png', '', '');?></td>
                              </tr>
                            </table>