<?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
*/

$paymentmethod = $this->getModel('paymentmethod');
$config = $this->getModel('config');
$row = $this->row;
?>
<tr valign="middle" class="paypal_pro"><td align="left" class="dt_heading" colspan="4"><?php echo JText::_( 'DT_PAYPAL_PRO' ); ?></td></tr>
                                 
				<tr align="center" valign="middle" class="paypal_pro">

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

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

										 </td>

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

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

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

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

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

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

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

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

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

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

								 </tr>

				<tr align="center" valign="middle" class="paypal_pro">

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

									   <td align="left" valign="top">	
                                       <?php
                                        $options=DtHtml::options($paymentmethod->paypal_country_codes());
									
									echo JHTML::_('select.genericlist', $options,'data[config][paypal_pro_country]',' ', 'value','text',isset($row->config['paypal_pro_country'])?$row->config['paypal_pro_country']:'');
                                       ?>
                                      </td>

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

								 </tr>