			<table border="0">

                                 <tr>

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

                                    <td>

                                        <?php

                            							$registrant_message = isset($registrant_message)?$registrant_message:'';

                                        ?>
                                         <?php echo $editor->display("registrant_message",stripslashes($registrant_message),'','','20','20','0'); ?>
                                         <!--textarea name="registrant_message" rows="7" cols="50"><?php echo stripslashes($registrant_message); ?></textarea --->

                                    </td>

                                    <td>&nbsp;</td>

                                    <td valign="top"><?php echo JHTML::tooltip((JText::_( 'DT_REGISTRANT_MESSAGE_HELP' )), '', 'tooltip.png', '', ''); ?> </td>

                                  </tr>

                            	    <tr>

                                    <td align="left"><?php echo JText::_( 'DT_REGISTRANT_NAME' ); ?>:</td>

                                    <td>

                                        <?php

                                                 $options=array();

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

                                                 $options[]=JHTML::_('select.option',"2",JText::_( 'DT_LASTNAME_ONLY' ));

														                     $options[]=JHTML::_('select.option',"3",JText::_( 'DT_BOTH' ));

                            							       $registrant_name = isset($registrant_name)?$registrant_name:1;

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

                                        ?>

                                    </td>

                                    <td>&nbsp;</td>

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

                               </tr>

                            	 <tr>

                                    <td align="left"><?php echo JText::_( 'DT_REGISTRANT_USERNAME' ); ?>:</td>

                                    <td>

                                        <?php

                                           $options=array();

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

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

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

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

                                        ?>

                                    </td>

                                    <td>&nbsp;</td>

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

                               </tr>

                            	 <tr>

                                    <td align="left"><?php echo JText::_( 'DT_REGISTRANT_REGISTER_DATE' ); ?>:</td>

                                    <td>

                                        <?php

                                             $options=array();

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

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

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

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

                                        ?>

                                    </td>

                                    <td>&nbsp;</td>

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

                               </tr>

                               <tr>

                                    <td align="left"><?php echo JText::_( 'DT_REGISTRANT_LIST_ACCESS' ); ?>:</td>

                                    <td>

                                        <?php

                                                $options=array();

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

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

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

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

                                        ?>

                                    </td>

                                    <td>&nbsp;</td>

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

                                  </tr>

                                  <tr>

                                    <td align="left"><?php echo JText::_( 'DT_REGISTRANT_SHOW_AVATAR' ); ?>:</td>

                                    <td>

                                        <?php

                                             $options=array();

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

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

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

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

                                        ?>

                                    </td>

                                    <td>&nbsp;</td>

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

                                  </tr>

                                  <tr>

                                    <td align="left"><?php echo JText::_( 'DT_REGISTRANT_AVATAR_SIZE' ); ?>:</td>

                                    <td>

                            			<?php

                                        	$registrant_avatar_height  = isset($registrant_avatar_height)?$registrant_avatar_height:'86' ;

											                    $registrant_avatar_width  = isset($registrant_avatar_width)?$registrant_avatar_width:'60' ;

										              ?>

                                 <input type="text" size="3" name="registrant_avatar_height" value="<?php echo $registrant_avatar_height; ?>"> &nbsp;h &nbsp;&nbsp;

                            		 <input type="text" size="3" name="registrant_avatar_width" value="<?php echo $registrant_avatar_width ; ?>"> &nbsp;w

                                    </td>

                                    <td>&nbsp;</td>

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

                                  </tr>

                                  <tr>

                                    <td align="left"><?php echo JText::_( 'DT_REGISTRANT_PROFILE_LINK' ); ?>:</td>

                                    <td>

                                    <?php

                            			         $options=array();

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

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

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

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

									                  ?>

                                    </td>

                                    <td>&nbsp;</td>

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

                                  </tr>

                                   <tr>

                                    <td align="left"><?php echo JText::_( 'DT_REGISTRANT_ORGANIZATION' ); ?>:</td>

                                    <td>

                                    <?php

                            			       $options=array();

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

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

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

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

									                  ?>

                                    </td>

                                    <td>&nbsp;</td>

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

                                  </tr>

                                   <tr>

                                    <td align="left"><?php echo JText::_( 'DT_REGISTRANT_ADDRESS' ); ?>:</td>

                                    <td>

                                    <?php

                            			       $options=array();

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

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

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

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

									                   ?>

                                    </td>

                                    <td>&nbsp;</td>

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

                                   </tr>

                                   <tr>

                                    <td align="left"><?php echo JText::_( 'DT_REGISTRANT_CITY' ); ?>:</td>

                                    <td>

                                    <?php

                            			        $options=array();

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

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

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

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

									                  ?>

                                    </td>

                                    <td>&nbsp;</td>

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

                                  </tr>

                                  <tr>

                                    <td align="left"><?php echo JText::_( 'DT_REGISTRANT_STATE' ); ?>:</td>

                                    <td>

                                    <?php

                            			       $options=array();

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

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

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

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

									                  ?>

                                    </td>

                                    <td>&nbsp;</td>

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

                                   </tr>

                                   <tr>

                                    <td align="left"><?php echo JText::_( 'DT_REGISTRANT_ZIP' ); ?>:</td>

                                    <td>

                                    <?php

                            			       $options=array();

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

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

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

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

									                  ?>

                                    </td>

                                    <td>&nbsp;</td>

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

                                  </tr>

                                   <tr>

                                    <td align="left"><?php echo JText::_( 'DT_REGISTRANT_COUNTRY' ); ?>:</td>

                                    <td>

                                    <?php

                            			       $options=array();

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

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

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

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

									                  ?>

                                    </td>

                                    <td>&nbsp;</td>

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

                                  </tr>

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

							    <td align="left" valign="top">

								   <?php

								   $options=array();

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

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

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

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

								   ?>

							   </td>

								<td>&nbsp;</td>

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

							   </tr>

							   <tr><td colspan="2">

							       <strong><?php echo JText::_( 'DT_REGISTRANT_CUSTOM_FIELDS_INSTRUCTIONS' );?></strong>

							       </td>

							       <td colspan="2">&nbsp;</td>

							    </tr>

                                  <?php

                                   $cus_field =  new Custom_field();

								                   $fields =  $cus_field->getfields(' type<>6 ');

								                   foreach($fields as $key =>$field){

								                   $checked = $field->attendee_list?'checked':'';

								                   echo '<tr> 

									                 <td><input type="checkbox" name="field['.$field->id.']" '.$checked.'></td><td>'.$field->label.'</td>

									                 <td colspan="2">&nbsp;</td></tr>';

								                   }

								                   ?>

                            </table>