<?php 

/**
* @version 2.7.15
* @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="Eway"><td align="left" class="dt_heading" colspan="4"><?php echo JText::_( 'DT_EWAY' ); ?></td></tr>
                                 
                <tr align="center" valign="middle" class="Eway">

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

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

										 </td>

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

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

								 </tr>
              <tr align="center" valign="middle" class="Eway">

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

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

										 </td>

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

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

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

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

							    <?php

								    $options=array();

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

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

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

							     ?>

							    </td>

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

							  </tr>
                              
                         
                          