<?php

/**
* @version 2.8.9
* @package Joomla 2.5
* @subpackage DT Register
* @copyright Copyright (C) 2006 DTH Development
* @copyright contact dthdev@dthdevelopment.com
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/

 $config = $this->getModel('config');
 $jomsocial = $this->getModel('jomsocial');
 $currency=&$this->getModel('currency');
 $dateformat=&$this->getModel('dateformat');
 $buttoncolor=&$this->getModel('buttoncolor');

 ?>

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

	<tr>		 	 

        <td colspan="5" class="dt_heading"><?php echo JText::_( 'DT_COLUMNS_EXTRAS');?></td>

    </tr>

   <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,"config[month_filter_show]","class = 'inputbox'","value","text",$config->getGlobal('month_filter_show'));

				 ?>

	   </td>

	  <td align="center"><?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,"config[event_filter_show]","class = 'inputbox'","value","text",$config->getGlobal('event_filter_show'));
            ?>
		</td>
		<td align="center"><?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_LOCATION_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,"config[event_location_show]","class = 'inputbox'","value","text",$config->getGlobal('event_location_show'));
            ?>
		</td>
		<td align="center"><?php echo JHTML::tooltip((JText::_( 'DT_EVENT_LOCATION_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,"config[event_search_show]","class = 'inputbox'","value","text",$config->getGlobal('event_search_show'));

			?>

		</td>

		<td align="center"><?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_SHOW_ZIP_RADIUS_SEARCH' );?>:</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,"config[showlocationfilter]","class = 'inputbox'","value","text",$config->getGlobal('showlocationfilter',0));

			?>

		</td>

		<td align="center"><?php echo JHTML::tooltip((JText::_( 'DT_SHOW_ZIP_RADIUS_SEARCH_HELP' )), '', 'tooltip.png', '', ''); ?> </td>

	</tr>

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

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

			<?php

				$options=array();

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

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

				echo JHTML::_('select.genericlist', $options,"config[locationdistanceunit]","class = 'inputbox'","value","text",$config->getGlobal('locationdistanceunit','mile'));

			?>

		</td>

		<td align="center"><?php echo JHTML::tooltip((JText::_( 'DT_ZIP_RADIUS_DISTANCE_UNIT_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'));   

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

								   echo JHTML::_('select.genericlist', $options,"config[event_title_link]","class = 'inputbox'","value","text",$config->getGlobal('event_title_link'));

								   ?>

							   </td>

								 <td align="center"><?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="config[event_field_width]" size="9" value="<?php echo $config->getGlobal('event_field_width'); ?>" /></td>

							   		<td align="center"><?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="config[event_date_width]" size="9" value="<?php echo $config->getGlobal('event_date_width'); ?>" /></td>

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

							   </tr>

<tr>

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

                                <td>

                                <?php

								$options = array(JText::_('DT_HIDE'),JText::_('DT_SHOW'));	

							     echo JHTML::_('select.genericlist', DtHtml::options($options),'config[show_event_image]',"class = 'inputbox'",'value','text',$config->getGlobal('show_event_image',0));

								?>

                        		    <td align="center"><?php echo JHTML::tooltip((JText::_( 'DT_SHOW_EVENT_IMAGE_HELP' )), '', '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'));

								   echo JHTML::_('select.genericlist', $options,"config[event_date_show]","class = 'inputbox'","value","text",$config->getGlobal('event_date_show'));

								   ?>
	    </td>

		<td align="center"><?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,"config[price_column]","class = 'inputbox'","value","text",$config->getGlobal('price_column'));

								   ?>

		</td>

		<td align="center"><?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>

			<?php

			$options = array(JText::_('DT_HIDE'),JText::_('DT_SHOW'));

			echo JHTML::_('select.genericlist', DtHtml::options($options),'config[show_price_tax]',"class = 'inputbox'",'value','text',$config->getGlobal('show_price_tax',0));

			?>

		<td align="center"><?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_CAPACITY_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,'config[capacity_column]',"class = 'inputbox'",'value','text',$config->getGlobal('capacity_column'));

								   ?>

							   </td>

								<td align="center"><?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,'config[displaytime]',"class = 'inputbox'",'value','text',$config->getGlobal('displaytime'));

								   ?>

							   </td>

								<td align="center"><?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_REGISTERED_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,'config[registered_column]',"class = 'inputbox'",'value','text',$config->getGlobal('registered_column'));

								   ?>

							   </td>

								<td align="center"><?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_SPOTS_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,'config[spots_column]',"class = 'inputbox'",'value','text',$config->getGlobal('spots_column',0));

								   ?>

							   </td>

								<td align="center"><?php echo JHTML::tooltip((JText::_( 'DT_SPOTS_COLUMN_HELP' )), '', 'tooltip.png', '', ''); ?> </td>

							   </tr>

							<tr>		 	 

				                <td colspan="5" class="dt_heading"><?php echo JText::_( 'DT_LOCATION');?></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,"config[showlocation]","class = 'inputbox'","value","text",$config->getGlobal('showlocation'));

								   ?>

							   </td>

								 <td align="center"><?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_EMBED_GOOGLE_MAP' );?>:</strong></td>

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

								   <?php

								   $options=array();

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

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

								   echo JHTML::_('select.genericlist', $options,'config[embed_map]','','value','text',$config->getGlobal('embed_map',1));

								   ?>

							   </td>

							   <td align="center"><?php echo JHTML::tooltip((JText::_( 'DT_EMBED_GOOGLE_MAP_TIP' )), '', '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,"config[linktogoogle]","class = 'inputbox'","value","text",$config->getGlobal('linktogoogle'));

								   ?>

						   </td>

								 <td align="center"><?php echo JHTML::tooltip((JText::_( 'DT_LINK_GOOGLE_HELP' )), '', '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="config[location_img_w]" size="9" value="<?php echo $config->getGlobal('location_img_w'); ?>" /></td>

							   		<td align="center"><?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="config[location_img_h]" size="9" value="<?php echo $config->getGlobal('location_img_h'); ?>" /></td>

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

							   </tr>

							<tr>		 	 

						        <td colspan="5" class="dt_heading"><?php echo JText::_( 'DT_MISCELLANEOUS');?></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,"config[show_past_event]","class = 'inputbox'","value","text",$config->getGlobal('show_past_event',0));

								   ?>

							   </td>

								 <td align="center"><?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::_( 'DT_SHOW' ));

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

								   echo JHTML::_('select.genericlist', $options,'config[show_registration_button]',"class = 'inputbox'",'value','text',$config->getGlobal('show_registration_button',0));

								   ?>

							   </td>

								<td align="center"><?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, 'config[front_link_type]',"class = 'inputbox'",'value','text',$config->getGlobal('front_link_type',0));

                                    ?>

                                </td>

                        		    <td align="center"><?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_FURTHEST_AWAY_FIRST' ));

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

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

                        				// $eventListOrder = isset($eventListOrder)?$eventListOrder:0;

                                        echo JHTML::_('select.genericlist', $options, 'config[eventListOrder]',"class = 'inputbox'",'value','text',$config->getGlobal('eventListOrder',0));

                                    ?>

                                </td>

                        		<td align="center"><?php echo JHTML::tooltip((JText::_( 'DT_EVENT_LIST_ORDERING_HELP' )), '', 'tooltip.png', '', ''); ?> </td>

                              </tr>
                              
                              <tr>

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

                                <td>

                                    <?php

                                        $options=array();

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

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

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

                        				// $eventListOrder = isset($eventListOrder)?$eventListOrder:0;

                                        echo JHTML::_('select.genericlist', $options, 'config[eventListOrder_sec]',"class = 'inputbox'",'value','text',$config->getGlobal('eventListOrder_sec',0));

                                    ?>

                                </td>

                        		<td align="center"><?php echo JHTML::tooltip((JText::_( 'DT_EVENT_SECONDARY_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="config[event_list_number]" value="<?php echo $config->getGlobal('event_list_number',20); ?>" /></td>

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

                            </tr>

                            <tr>

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

							   		<td><input type="text" name="config[event_thumb_width]" size="9" value="<?php echo $config->getGlobal('event_thumb_width'); ?>" /></td>

							   		<td align="center"><?php echo JHTML::tooltip((JText::_( 'DT_EVENT_THUMB_WIDTH_HELP' )), '', 'tooltip.png', '', ''); ?> </td>

							   </tr>

                                 <tr>

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

							   		<td><input type="text" name="config[event_thumb_height]" size="9" value="<?php echo $config->getGlobal('event_thumb_height'); ?>" /></td>

							   		<td align="center"><?php echo JHTML::tooltip((JText::_( 'DT_EVENT_THUMB_HEIGHT_HELP' )), '', 'tooltip.png', '', ''); ?> </td>

							   </tr>
                               
                                <tr>

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

                                <td>

                                <?php

								$options = array();

								$options['zoom_image'] = JText::_('DT_IMAGE_POPUP');
								$options['register_image'] = JText::_('DT_IMAGE_REGISTRATION');

							    echo JHTML::_('select.genericlist', DtHtml::options($options),'config[event_image_link]',"class = 'inputbox'",'value','text',$config->getGlobal('event_image_link','zoom_image'));

								?>

                        		<td align="center"><?php echo JHTML::tooltip((JText::_( 'DT_IMAGE_LINK_HELP' )), '', 'tooltip.png', '', ''); ?> </td>

                              </tr>
              
	                          <tr>

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

	                                <td>

	                                <?php

									$options = array();

								    $options[0] = JText::_('DT_NO');
									$options[1] = JText::_('DT_YES');

								    echo JHTML::_('select.genericlist', DtHtml::options($options),'config[show_category]',"class = 'inputbox'",'value','text',$config->getGlobal('show_category',0));

									?>

	                        		<td align="center"><?php echo JHTML::tooltip((JText::_( 'DT_SHOW_CATEGORY_ON_LISTING_HELP' )), '', 'tooltip.png', '', ''); ?> </td>

	                              </tr>

                     <tr>

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

                                <td>

                                <?php

								$options = array();

							    $options[0] = JText::_('DT_NO');
								$options[1] = JText::_('DT_NAME');
								$options['username'] = JText::_('DT_USERNAME');
								$options['name_username'] = JText::_('DT_NAME_AND_USERNAME');

							    echo JHTML::_('select.genericlist', DtHtml::options($options),'config[show_moderator]',"class = 'inputbox'",'value','text',$config->getGlobal('show_moderator',0));

								?>

                        		<td align="center"><?php echo JHTML::tooltip((JText::_( 'DT_SHOW_MODERATOR_HELP' )), '', 'tooltip.png', '', ''); ?> </td>

                              </tr>
              
                    <tr>

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

                                <td>

                                <?php

								$options = array();

							    $options[0] = JText::_('DT_NO');
								$options[1] = JText::_('DT_YES');

							    echo JHTML::_('select.genericlist', DtHtml::options($options),'config[link_moderator_profile]',"class = 'inputbox'",'value','text',$config->getGlobal('link_moderator_profile',0));

								?>

                        		    <td align="center"><?php echo JHTML::tooltip((JText::_( 'DT_MODERATOR_LINK_PROFILE_HELP' )), '', 'tooltip.png', '', ''); ?> </td>

                              </tr>
											
                            </table>
