<table class="adminform" width="100%" cellpadding="10" cellspacing="10">
                                
                <tr align="center" valign="middle">  <td align="left" valign="top"><strong><?php echo JText::_( 'DT_MONTH_FILTER_SHOW');?>:</strong></td>

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

								   <?php

								   $options=array();

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

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

								   echo JHTML::_('select.genericlist', $options,"month_filter_show","","value","text",$month_filter_show);

								   ?>

							   </td>

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

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

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

								   <?php

								   $options=array();

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

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

								   echo JHTML::_('select.genericlist', $options,"event_filter_show","","value","text",$event_filter_show);

								   ?>

							   </td>

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

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

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

								   <?php

								   $options=array();

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

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

								   echo JHTML::_('select.genericlist', $options,"event_search_show","","value","text",$event_search_show);

								   ?>

							   </td>

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

							   </tr>

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

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

								   <?php

								   $options=array();

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

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

								   echo JHTML::_('select.genericlist', $options,"event_title_link","","value","text",$event_title_link);

								   ?>

							   </td>

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

							   </tr>   
                                
                 <tr>

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

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

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

							   </tr>

                 <tr>

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

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

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

							   </tr>
                               
                 <tr>

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

							   		<td><?php

								    $options=array();

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

								    $options[]=JHTML::_('select.option', "0",JText::_( 'DT_HIDE'));
								    
								    $event_date_show = (!isset($event_date_show))?0:$event_date_show;

								    echo JHTML::_('select.genericlist', $options,"event_date_show","","value","text",$event_date_show);

								    ?></td>

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

							   </tr>

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

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

								   <?php

								   $options=array();

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

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

								   echo JHTML::_('select.genericlist', $options,"price_column","","value","text",$price_column);

								   ?>

							   </td>

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

							   </tr>
<tr>

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

                                <td>
                                <?
								$options = array();
								$options[] = JHTML::_('select.option', '0', JText::_('NO'));
								$options[] = JHTML::_('select.option', '1', JText::_('YES'));
                                  echo  JHTML::_('select.genericlist', $options,'show_price_tax',' ', 'value','text',$show_price_tax);
								?>
                              
                        		    <td><?php echo JHTML::tooltip((JText::_( 'DT_SHOW_PRICE_TAXES_HELP' )), '', 'tooltip.png', '', ''); ?> </td>

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

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

								   <?php

								   $options=array();

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

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

								   echo JHTML::_('select.genericlist', $options,"showlocation","","value","text",$showlocation);

								   ?>

							   </td>

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

							   </tr>

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

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

								   <?php

								   $options=array();

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

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

                   echo JHTML::_('select.genericlist', $options,"linktogoogle","","value","text",$linktogoogle);

								   ?>

							   </td>

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

							   </tr>

                 <tr>

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

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

                    <br />(<?php echo JText::_( 'DT_GOOGLE_KEY_URL_TIP' );?>)

                    </td>

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

							   </tr>

                 <tr>

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

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

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

							   </tr>

                 <tr>

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

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

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

							   </tr>    

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

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

								   <?php

								   $options=array();

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

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

								   echo JHTML::_('select.genericlist', $options,'capacity_column','','value','text',$capacity_column);

								   ?>

							   </td>

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

							  </tr>

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

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

								   <?php

								   $options=array();

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

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

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

								   echo JHTML::_('select.genericlist', $options,'displaytime','','value','text',$displaytime);

								   ?>

							   </td>

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

							   </tr>

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

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

								   <?php

								    $options = array();

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

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

								    echo JHTML::_('select.genericlist', $options,'timeformat','','value','text',$timeformat);

								   ?>

							   </td>

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

							   </tr>

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

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

								   <?php

								   $options=array();

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

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

								   echo JHTML::_('select.genericlist', $options,'registered_column','','value','text',$registered_column);

								   ?>

							   </td>

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

							  </tr>

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

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

								   <?php

								   $options=array();

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

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

                   $show_past_event = isset($show_past_event)?$show_past_event:'0';

								   echo JHTML::_('select.genericlist', $options,"show_past_event","","value","text",$show_past_event);

								   ?>

							   </td>

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

							   </tr>

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

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

								   <?php

								   $options=array();

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

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

								   echo JHTML::_('select.genericlist', $options,'show_registration_button','','value','text',$show_registration_button);

								   ?>

							   </td>

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

							   </tr>

								<tr>

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

                                <td>

                                    <?php

                                                $options=array();

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

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

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

                                          echo JHTML::_('select.genericlist', $options, 'front_link_type','','value','text',$front_link_type);

                                    ?>

                                </td>

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

                              </tr>
                              
                              <tr>

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

                                <td>

                                    <?php

                                        $options=array();
										$options[]=JHTML::_('select.option',"0",JText::_( 'DT_MANUAL_ORDERING' ));
										$options[]=JHTML::_('select.option',"1",JText::_( 'DT_OLDEST_FIRST' ));
                                        $options[]=JHTML::_('select.option',"2",JText::_( 'DT_NEWEST_FIRST' ));
                                        $options[]=JHTML::_('select.option',"3",JText::_( 'DT_NAME_AZ' ));
                        						    $eventListOrder = isset($eventListOrder)?$eventListOrder:0;
                                        echo JHTML::_('select.genericlist', $options, 'eventListOrder','','value','text',$eventListOrder);

                                    ?>

                                </td>

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

                              </tr>

								              <tr>

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

                                <td><input type="text" size="5" name="event_list_number" value="<?php echo !isset($event_list_number)?20:$event_list_number; ?>" /></td>

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

                              </tr>
                              
                                 </tr>

								              

                            </table>