<?php 

/**
* @version 2.7.12
* @package Joomla 1.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'); 
   $row = $this->row;
?> 
<tr valign="middle" class="authorizenet echeck"><td align="left" class="dt_heading" colspan="4"><?php echo JText::_( 'AUTH_NET' ); ?></td></tr>

	 						 	 <tr align="center" valign="middle" class="authorizenet echeck">

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

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

										 </td>

									   <td align="left" valign="top"> <input type="text" name="data[config][merchid]" size="30" value="<?php echo $row->config['merchid']; ?>" /> </td>

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

								 </tr>

								 <tr align="center" valign="middle" class="authorizenet echeck">

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

									   <td align="left" valign="top">	<input type="text" name="data[config][transkey]" size="30" value="<?php echo $row->config['transkey']; ?>" /> </td>

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

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

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

							    <?php

								    $options=array();

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

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

								    echo JHTML::_('select.genericlist', $options,'data[config][authorizenet_type]','','value','text',$row->config['authorizenet_type']);

							     ?>

							    </td>

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

							  </tr>		