<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: 			*/
// +----------------------------------------------------------------------+
// | PHP version 4/5                                                      |
// +----------------------------------------------------------------------+
// | Copyright (c) 2004-2010 ARMIA INC                                    |
// +----------------------------------------------------------------------+
// | This source file is a part of iScripts VistaCart                     |
// +----------------------------------------------------------------------+
// | Authors: Jipson<jipson.thomas@armiasystems.com>             		  |
// +----------------------------------------------------------------------+
?>
<?php echo $javascript->link('jquery.js'); ?>
<?php echo $javascript->link('hint.js'); ?>
<script>
$(document).ready(function() 
{
	<?php if(isset( $data['offline_creditpay']) && $data['offline_creditpay']=='Y') {?> jQuery('#onlinepay_div').hide(); <?php } else { ?> jQuery('#onlinepay_div').show(); <?php } ?>
        <?php if($data['pay_check']=='Y') {?>	jQuery('#paypal_div').show(); <?php } else { ?> jQuery('#paypal_div').hide(); <?php } ?>
        <?php if($data['pay_google']=='Y') {?>  jQuery('#google_div').show(); <?php } else { ?> jQuery('#google_div').hide(); <?php } ?>
        <?php if($data['ccard']=='authorize') {?>  jQuery('#authorize_div').show();  <?php } else { ?> jQuery('#authorize_div').hide(); <?php } ?>
        <?php if($data['ccard']=='bluepay') {?>  jQuery('#bluepay_div').show(); <?php } else { ?> jQuery('#bluepay_div').hide(); <?php } ?>
        <?php if($data['ccard']=='yourpay') {?>  jQuery('#yourpay_div').show();  <?php } else { ?> jQuery('#yourpay_div').hide(); <?php } ?>
        <?php if($data['ccard']=='worldpay') {?>  jQuery('#worldpay_div').show(); <?php } else { ?> jQuery('#worldpay_div').hide(); <?php } ?>
        <?php if($data['pay_twocheckout']=='Y') {?>  jQuery('#twocheckout').show(); <?php } else { ?> jQuery('#twocheckout').hide(); <?php } ?>
        <?php if($data['pay_moneybrokers']=='Y') {?>  jQuery('#moneybrokers').show(); <?php } else { ?> jQuery('#moneybrokers').hide(); <?php } ?>
        <?php if($data['paypalpro_check']=='Y') {?>  jQuery('#paypalpro').show(); <?php } else { ?> jQuery('#paypalpro').hide(); <?php } ?>
        <?php if($data['paypalflow_check']=='Y') {?>  jQuery('#paypalflow').show(); <?php } else { ?> jQuery('#paypalflow').hide(); <?php } ?>
        <?php if($data['paypallink_check']=='Y') {?>  jQuery('#paypallink').show(); <?php } else { ?> jQuery('#paypallink').hide(); <?php } ?>
        <?php if($data['ogone_check']=='Y') {?>  jQuery('#ogone').show(); <?php } else { ?> jQuery('#ogone').hide(); <?php } ?>
        <?php if($data['pay_exp_check']=='Y'){?>	jQuery('#paypal_express_div').show(); <?php } else { ?> jQuery('#paypal_express_div').hide(); <?php } ?>
        <?php if($data['paypaladvanced_check']=='Y'){?>	jQuery('#paypaladvanced').show(); <?php } else { ?> jQuery('#paypaladvanced').hide(); <?php } ?>
        <?php if($data['braintree_check']=='Y'){?>	jQuery('#braintree').show(); <?php } else { ?> jQuery('#braintree').hide(); <?php } ?>
        <?php if($data['quickbook_check']=='Y'){?>	jQuery('#quickbook_div').show(); <?php } else { ?> jQuery('#quickbook_div').hide(); <?php } ?>
});
</script>


<script language="JavaScript" type="text/JavaScript">
/*scripts for Payment Tab starts here */
function showhideOffline()
{
       if($('#offline_creditpay').attr('checked')==true)
	   $('#onlinepay_div').hide();
	   else
	   $('#onlinepay_div').show();
}
function showPaymentDiv(arg)
{
  
     if(arg=="paypal")
	   {
		   if($('#pay_paypal').attr('checked')==true)
		   $('#paypal_div').slideDown();
		   else
		   $('#paypal_div').slideUp();
	   }   
	   if(arg=="google")
	   {
	 	   if($('#pay_google').attr('checked')==true)
		   $('#google_div').slideDown();
		   else
		   $('#google_div').slideUp();
	   }
           if(arg=="twocheckout")
	   {
	 	   if($('#pay_twocheckout').attr('checked')==true)
		   $('#twocheckout').slideDown();
		   else
		   $('#twocheckout').slideUp();
	   }
           if(arg=="moneybrokers")
	   {
	 	   if($('#pay_moneybrokers').attr('checked')==true)
		   $('#moneybrokers').slideDown();
		   else
		   $('#moneybrokers').slideUp();
	   }
           if(arg=="paypalpro")
	   {
	 	   if($('#pay_paypalpro').attr('checked')==true)
		   $('#paypalpro').slideDown();
		   else
		   $('#paypalpro').slideUp();
	   }
           if(arg=="paypalflow")
	   {
	 	   if($('#pay_paypalflow').attr('checked')==true)
		   $('#paypalflow').slideDown();
		   else
		   $('#paypalflow').slideUp();
	   }
            if(arg=="paypallink")
	   {
	 	   if($('#pay_paypallink').attr('checked')==true)
		   $('#paypallink').slideDown();
		   else
		   $('#paypallink').slideUp();
	   }
            if(arg=="ogone")
	    {
	 	   if($('#pay_ogone').attr('checked')==true)
		   $('#ogone').slideDown();
		   else
		   $('#ogone').slideUp();
	    }
            if(arg=="paypal_express")
            {
                    if($('#paypal_express').attr('checked')==true)
                    $('#paypal_express_div').slideDown();
                    else
                    $('#paypal_express_div').slideUp();
            }
            if(arg=="paypaladvanced")
	   {
	 	   if($('#pay_paypaladvanced').attr('checked')==true)
		   $('#paypaladvanced').slideDown();
		   else
		   $('#paypaladvanced').slideUp();
	   }
           if(arg=="braintree")
	   {
	 	   if($('#pay_braintree').attr('checked')==true)
		   $('#braintree').slideDown();
		   else
		   $('#braintree').slideUp();
	   }
            if(arg=="quickbook")
	   {
                    if($('#quickbook').attr('checked')==true)
		   $('#quickbook_div').slideDown();
		   else
		   $('#quickbook_div').slideUp();
	   }
}	 

function showCreditcards()
{
  var selectVal = $('#ccard :selected').val();
  if(selectVal=='authorize')
  {  $('#authorize_div').slideDown();$('#bluepay_div').hide();$('#yourpay_div').hide();$('#worldpay_div').hide();  }
  if(selectVal=='yourpay')
  {  $('#yourpay_div').slideDown();$('#bluepay_div').hide();$('#authorize_div').hide();$('#worldpay_div').hide();  }
  if(selectVal=='worldpay')
  {  $('#worldpay_div').slideDown();$('#bluepay_div').hide();$('#yourpay_div').hide();$('#authorize_div').hide();  }
  if(selectVal=='bluepay')
  {  $('#bluepay_div').slideDown();$('#worldpay_div').hide(); $('#yourpay_div').hide();$('#authorize_div').hide();  }
}  
/*scripts for Payment Tab starts here */
</script>

<div align="center" class="subheading">
              <div align="left">Payment Settings</div>
            </div>
            <br />
			<?php if($session->check('Message.flash')) { ?><div id="okbox"><font color="#446423"><?php $session->flash(); ?></font></div><?php } ?>			
			
			<div align="left" id="item_details_admin">
                            <form action="<?php echo $sitebase.$sitefolder.'/'.$this->params["controller"];?>/pay_setting" method="post" name="frmUsers" enctype="multipart/form-data">
	<div align="left" id="item_details_admin">


              <div align="center" id="items_display_area_admin">
                  <div align="left" class="inner_content_area_admin">
                           
						   
						   
						   <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Offline Credit Card Payment</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									 <div class="maintext_inner">
									<input type="checkbox" name="offline_creditpay" id="offline_creditpay" value="Y"<?php if(isset( $data['offline_creditpay']) && $data['offline_creditpay']=='Y'){?> checked <?php } ?> onclick="return showhideOffline();">
									<a href="#" class="tooltip" title="Check this box if you would like to accept credit cards offline only. " onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
									</div>
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
		
		<div id="onlinepay_div"><!-- online payment div starts here -->
		
						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Currency</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
								   <div class="maintext_inner">
										<?php echo $form->input('currency', array('options' => $currencylist,'label' => '','class' => 'box2_admin', 'selected' => $data['currency']));?>
										<font color="#FF0000"> Note : Authorize.Net will support only US- Dollar!!</font>
										<a href="#" class="tooltip" title="Select the currency that will be used for payment transactions." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
										</div>
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Payment Method</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
                                                                    <div class="maintext_inner"><input type="checkbox" name="pay_paypal" id="pay_paypal" value="paypal" onClick="javascript: return showPaymentDiv('paypal');"<?php if($data['pay_check']=='Y') {?> checked <?php } ?>> Paypal</div>
                                                                    <br> <div class="maintext_inner"><input type="checkbox" name="pay_paypalpro" id="pay_paypalpro" value="paypalpro" onClick="javascript: return showPaymentDiv('paypalpro');"<?php if($data['paypalpro_check']=='Y') {?> checked <?php } ?>> Paypalpro</div>
                                                                    <br> <div class="maintext_inner"><input type="checkbox" name="pay_paypalflow" id="pay_paypalflow" value="paypalflow" onClick="javascript: return showPaymentDiv('paypalflow');"<?php if($data['paypalflow_check']=='Y') {?> checked <?php } ?>> Payflow</div>
                                                                    <br> <div class="maintext_inner"><input type="checkbox" name="pay_paypallink" id="pay_paypallink" value="paypallink" onClick="javascript: return showPaymentDiv('paypallink');"<?php if($data['paypallink_check']=='Y') {?> checked <?php } ?>> Paylink</div>
                                                                    <br> <div class="maintext_inner"><input type="checkbox" name="pay_paypaladvanced" id="pay_paypaladvanced" value="paypaladvanced" onClick="javascript: return showPaymentDiv('paypaladvanced');"<?php if($data['paypaladvanced_check']=='Y') {?> checked <?php } ?>> Paypal Advanced</div>

                                                                    <br> <div class="maintext_inner"><input type="checkbox" name="pay_ogone" id="pay_ogone" value="ogone" onClick="javascript: return showPaymentDiv('ogone');"<?php if($data['ogone_check']=='Y') {?> checked <?php } ?>> Ogone</div>
                                                                    <br><div class="maintext_inner"><input type="checkbox" name="pay_google" id="pay_google" value="googlechk" onClick="javascript: return showPaymentDiv('google');"<?php if($data['pay_google']=='Y') {?> checked <?php } ?>> GoogleCheckout</div>
                                                                    <br><div class="maintext_inner"><input type="checkbox" name="pay_twocheckout" id="pay_twocheckout" value="twocheckout" onClick="javascript: return showPaymentDiv('twocheckout');"<?php if($data['pay_twocheckout']=='Y') {?> checked <?php } ?>> 2Checkout</div>
                                                                    <br><div class="maintext_inner"><input type="checkbox" name="pay_moneybrokers" id="pay_moneybrokers" value="moneybrokers" onClick="javascript: return showPaymentDiv('moneybrokers');"<?php if($data['pay_moneybrokers']=='Y') {?> checked <?php } ?>>Money Bookers</div>
                                                                    <br><div class="maintext_inner"><input type="checkbox" name="paypal_express" id="paypal_express" value="paypal_express" onClick="javascript: return showPaymentDiv('paypal_express');"<?php if($data['pay_exp_check']=='Y'){?> checked <?php } ?>> PayPal Express</div>
                                                                    <br><div class="maintext_inner"><input type="checkbox" name="pay_braintree" id="pay_braintree" value="braintree" onClick="javascript: return showPaymentDiv('braintree');"<?php if($data['braintree_check']=='Y'){?> checked <?php } ?>>Braintree</div>
                                                                    <br><div class="maintext_inner"><input type="checkbox" name="quickbook" id="quickbook" value="quickbook" onClick="javascript: return showPaymentDiv('quickbook');"<?php if($data['quickbook_check']=='Y'){?> checked <?php } ?>>Quickbook</div>
                                                                    <br><div class="maintext_inner">
										&nbsp;&nbsp;&nbsp;Credit Card
												<select name="ccard" id="ccard" onChange="javascript: showCreditcards();" class="box2_admin">
												<option value=" " <?php if($data['ccard']==' '){?> selected <?php } ?>>None</option>
												<option value="authorize" <?php if($data['ccard']=='authorize'){?> selected <?php } ?>>Authorize.Net</option>
												<option value="bluepay" <?php if($data['ccard']=='bluepay'){?> selected <?php } ?>>BluePay</option>
												<option value="yourpay" <?php if($data['ccard']=='yourpay'){?> selected <?php } ?>>YourPay</option>
												<option value="worldpay" <?php if($data['ccard']=='worldpay'){?> selected <?php } ?>>WorldPay</option>
	                                            </select>
										</div>
										<br>
																	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
				<div id="paypal_div" style="display:none;"> <!--paypal div starts here -->
				 
							 <?php
								  //show paypal identity token
							$piToken='<u>How to generate a identity token.</u><br><br># Login to PayPal.com<br>
							# Click the Profile tab<br>
							# Click Website Payment Preferences<br>
							# In the Payment Data Transfer section, click on<br>
							# Scroll to the bottom of the page and click Save<br>
							# When you click Save a message will appear at the top of the page indicating that you have successfully saved your preferences. Your identity token will also appear in the context of this message. You will need this information in the next step. Select the entire line of text after \'Identity Token:\' and copy it to your clipboard. This token will always be available should you need it on the Website Payment Preferences page.<br>
							# Enable PayPal in admin settings<br>
							# Paste your Identity Token in the Identity Token field<br>
							# Click Save';
							$aiToken = "Please follow these steps to obtain a transaction key:<br><br>
							
							   1. Log into the merchant�s Authorize.Net account at: https://secure.authorize.net.<br>
							   2. Click on Settings under Account in the main menu on the left.<br>
							   3. From the Security Settings section, click API Login ID and Transaction Key.<br>
							   4. Enter the Secret Answer to your account's Secret Question.<br>
							   5. Click Submit.";
							?>

							
						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Start a new Paypal account</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<a href="https://www.paypal.com/us/mrb/pal=NCGEZ2VF6YL62" target="_blank"><?php echo $html->image('/img/paypal_small.jpg',array('border' => '0', 'height' => '30', 'width' => '77','alt' => 'Start A New Account', 'title' =>'Start A New Account')); ?></a>


								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
						  
						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Paypal Id Token</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypal_idtoken" value="<?php echo Sanitize::html($data['paypal_idtoken']);?>"  class="box2_admin" size="27">								
								   <a href="#" class="tooltip" title="<?php echo $piToken;?>" onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								
								 <div class="maintext_inner"><font color="#FF0000">Note : Paypal Identity Token - allows the site to verify if a Paypal payment made is valid.</font></div>
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
						  

						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Paypal Email</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypal_email" value="<?php echo Sanitize::html($data['paypal_email']);?>"  class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Enter the E-mail address from which you registered in paypal account.This is the E-mail address that is used for Payment and Reciept purpose from paypal." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	

								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Paypal BN Code</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypal_bn_code" value="<?php echo Sanitize::html($data['paypal_bn_code']);?>"  class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Build Notation ID Code is a unique identifier that tells PayPal how much volume comes in through merchants who use your integrated Paypal solution." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>

								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>


							
						   <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Paypal Test Mode</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="checkbox" name="paypal_testmode" value="Y"<?php if(isset( $data['paypal_testmode']) && $data['paypal_testmode']=='Y'){?> checked <?php } ?>>
									<a href="#" class="tooltip" title="Enable this check box if you want to use PayPal's Sandbox Test Environment.
									Use the Sandbox Test Environment to create and manage test accounts and their associated email and API credentials.<br><a href=https://developer.paypal.com/>https://developer.paypal.com" onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
											  
				</div>  <!--paypal div ends here -->
						
		<!---------Pay pal pro starts Akhil----------->
                <div id="paypalpro" style="display:none;"> <!--paypalpro div starts here -->

							 <?php
								  //show paypal identity token
							/*$piToken='<u>How to generate a identity token.</u><br><br># Login to PayPal.com<br>
							# Click the Profile tab<br>
							# Click Website Payment Preferences<br>
							# In the Payment Data Transfer section, click on<br>
							# Scroll to the bottom of the page and click Save<br>
							# When you click Save a message will appear at the top of the page indicating that you have successfully saved your preferences. Your identity token will also appear in the context of this message. You will need this information in the next step. Select the entire line of text after \'Identity Token:\' and copy it to your clipboard. This token will always be available should you need it on the Website Payment Preferences page.<br>
							# Enable PayPal in admin settings<br>
							# Paste your Identity Token in the Identity Token field<br>
							# Click Save';
							$aiToken = "Please follow these steps to obtain a transaction key:<br><br>

							   1. Log into the merchant�s Authorize.Net account at: https://secure.authorize.net.<br>
							   2. Click on Settings under Account in the main menu on the left.<br>
							   3. From the Security Settings section, click API Login ID and Transaction Key.<br>
							   4. Enter the Secret Answer to your account's Secret Question.<br>
							   5. Click Submit.";*/
							?>


						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Start a new Paypalpro account</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<a href="https://www.paypal.com" target="_blank"><?php echo $html->image('/img/paypalpro.jpg',array('border' => '0', 'height' => '40', 'width' => '150','alt' => 'Start A New Account', 'title' =>'Start A New Account')); ?></a>


								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>



						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Paypalpro Signature</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypalpro_signature" value="<?php echo Sanitize::html($data['paypalpro_signature']);?>"  class="box2_admin" size="27">
								   <a href="#" class="tooltip" title="Payalpro Signature" onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>

								 <div class="maintext_inner"><font color="#FF0000">Note : Paypalpro Signature - allows the site to verify if a Paypal payment made is valid.</font></div>
								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>




						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Paypalpro UserName</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypalpro_username" value="<?php echo Sanitize::html($data['paypalpro_username']);?>"  class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Payalpro username." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>

								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
                                                  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Paypalpro Password</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypalpro_password" value="<?php echo Sanitize::html($data['paypalpro_password']);?>"  class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Payalpro password." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>

								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Paypal Pro BN Code</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypalpro_bn_code" value="<?php echo Sanitize::html($data['paypalpro_bn_code']);?>"  class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Build Notation ID Code is a unique identifier that tells PayPal how much volume comes in through merchants who use your integrated Paypal solution." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>

								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>





						   <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Paypalpro Test Mode</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="checkbox" name="paypalpro_testmode" value="Y"<?php if(isset( $data['paypalpro_testmode']) && $data['paypalpro_testmode']=='Y'){?> checked <?php } ?>>
									<a href="#" class="tooltip" title="Enable this check box if you want to use PayPal's Sandbox Test Environment.
									Use the Sandbox Test Environment to create and manage test accounts and their associated email and API credentials.<br><a href=https://developer.paypal.com/>https://developer.paypal.com" onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>
								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>

				</div>  <!--paypal pro div ends here -->

                <!--------Pay pal pro Akhil ends-------------->


                <!---------paypalflow starts Akhil----------->
                <div id="paypalflow" style="display:none;"> <!--paypalflow div starts here -->

							 <?php
								  //show paypal identity token
							/*$piToken='<u>How to generate a identity token.</u><br><br># Login to PayPal.com<br>
							# Click the Profile tab<br>
							# Click Website Payment Preferences<br>
							# In the Payment Data Transfer section, click on<br>
							# Scroll to the bottom of the page and click Save<br>
							# When you click Save a message will appear at the top of the page indicating that you have successfully saved your preferences. Your identity token will also appear in the context of this message. You will need this information in the next step. Select the entire line of text after \'Identity Token:\' and copy it to your clipboard. This token will always be available should you need it on the Website Payment Preferences page.<br>
							# Enable PayPal in admin settings<br>
							# Paste your Identity Token in the Identity Token field<br>
							# Click Save';
							$aiToken = "Please follow these steps to obtain a transaction key:<br><br>

							   1. Log into the merchant�s Authorize.Net account at: https://secure.authorize.net.<br>
							   2. Click on Settings under Account in the main menu on the left.<br>
							   3. From the Security Settings section, click API Login ID and Transaction Key.<br>
							   4. Enter the Secret Answer to your account's Secret Question.<br>
							   5. Click Submit.";*/
							?>


						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Start a new Payflow account</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<a href="https://manager.paypal.com" target="_blank"><?php echo $html->image('/img/icon-paypal-payflow.jpg',array('border' => '0', 'height' => '80', 'width' => '150','alt' => 'Start A New Account', 'title' =>'Start A New Account')); ?></a>


								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>



						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Payflow Partner ID</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypalflow_partnerid" value="<?php echo Sanitize::html($data['paypalflow_partnerid']);?>"  class="box2_admin" size="27">
								   <a href="#" class="tooltip" title="Payalflow Partner ID" onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>

								 
								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>




						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Payflow Vendor ID</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypalflow_vendorid" value="<?php echo Sanitize::html($data['paypalflow_vendorid']);?>"  class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Payalflow Vendor ID." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>

								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
                                                  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Payflow Password</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypalflow_password" value="<?php echo Sanitize::html($data['paypalflow_password']);?>"  class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Payalflow password." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>

								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
                                                    <div id="grid_admin">
                                                        <div align="left" id="inner_leftcontent">
                                                            <p class="maintext_inner">Payflow Test Mode</p>
                                                        </div>
                                                        <div align="right" id="inner_rightcontent" class="newwidth">
                                                            <span class="toplinks">
                                                                <input type="checkbox" name="paypalflow_testmode" value="Y"<?php if(isset( $data['paypalflow_testmode']) && $data['paypalflow_testmode']=='Y') {?> checked <?php } ?>>
                                                                <a href="#" class="tooltip" title="Enable this check box if you want to use Payflow Test Environment.
                                                                                                        " onclick="return false;">
                                                                                                                                                                                      <?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
                                                                </a>
                                                            </span>
                                                        </div>
                                                        <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
                                                    </div>


				</div>  <!--paypalflow div ends here -->

                                <!---------paypallink starts Akhil----------->
                <div id="paypallink" style="display:none;"> <!--paypallink div starts here -->

							 <?php
								  //show paypal identity token
							/*$piToken='<u>How to generate a identity token.</u><br><br># Login to PayPal.com<br>
							# Click the Profile tab<br>
							# Click Website Payment Preferences<br>
							# In the Payment Data Transfer section, click on<br>
							# Scroll to the bottom of the page and click Save<br>
							# When you click Save a message will appear at the top of the page indicating that you have successfully saved your preferences. Your identity token will also appear in the context of this message. You will need this information in the next step. Select the entire line of text after \'Identity Token:\' and copy it to your clipboard. This token will always be available should you need it on the Website Payment Preferences page.<br>
							# Enable PayPal in admin settings<br>
							# Paste your Identity Token in the Identity Token field<br>
							# Click Save';
							$aiToken = "Please follow these steps to obtain a transaction key:<br><br>

							   1. Log into the merchant�s Authorize.Net account at: https://secure.authorize.net.<br>
							   2. Click on Settings under Account in the main menu on the left.<br>
							   3. From the Security Settings section, click API Login ID and Transaction Key.<br>
							   4. Enter the Secret Answer to your account's Secret Question.<br>
							   5. Click Submit.";*/
							?>


						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Start a new PayPal Payflow Link account</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<a href="https://manager.paypal.com" target="_blank"><?php echo $html->image('/img/paylinkicon.jpg',array('border' => '0', 'height' => '80', 'width' => '150','alt' => 'Start A New Account', 'title' =>'Start A New Account')); ?></a>


								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>



						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Payflow Link Partner ID</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypallink_partnerid" value="<?php echo Sanitize::html($data['paypallink_partnerid']);?>"  class="box2_admin" size="27">
								   <a href="#" class="tooltip" title="Payalflow Partner ID" onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>


								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>




						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Payflow Link Vendor ID</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypallink_vendorid" value="<?php echo Sanitize::html($data['paypallink_vendorid']);?>"  class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Payflow Link Vendor ID." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>

								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
                                                  
                                                    <div id="grid_admin">
                                                        <div align="left" id="inner_leftcontent">
                                                            <p class="maintext_inner">Payflow Test Mode</p>
                                                        </div>
                                                        <div align="right" id="inner_rightcontent" class="newwidth">
                                                            <span class="toplinks">
                                                                <input type="checkbox" name="paypallink_testmode" value="Y"<?php if(isset( $data['paypallink_testmode']) && $data['paypallink_testmode']=='Y') {?> checked <?php } ?>>
                                                                <a href="#" class="tooltip" title="Enable this check box if you want to use Payflow Test Environment.
                                                                                                        " onclick="return false;">
                                                                                                                                                                                      <?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
                                                                </a>
                                                            </span>
                                                        </div>
                                                        <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
                                                    </div>


				</div>  <!--paypallink div ends here -->


                                <!---------paypaladvanced starts Akhil----------->
                <div id="paypaladvanced" style="display:none;"> <!--paypalflow div starts here -->

							 <?php
								  //show paypal identity token
							/*$piToken='<u>How to generate a identity token.</u><br><br># Login to PayPal.com<br>
							# Click the Profile tab<br>
							# Click Website Payment Preferences<br>
							# In the Payment Data Transfer section, click on<br>
							# Scroll to the bottom of the page and click Save<br>
							# When you click Save a message will appear at the top of the page indicating that you have successfully saved your preferences. Your identity token will also appear in the context of this message. You will need this information in the next step. Select the entire line of text after \'Identity Token:\' and copy it to your clipboard. This token will always be available should you need it on the Website Payment Preferences page.<br>
							# Enable PayPal in admin settings<br>
							# Paste your Identity Token in the Identity Token field<br>
							# Click Save';
							$aiToken = "Please follow these steps to obtain a transaction key:<br><br>

							   1. Log into the merchant�s Authorize.Net account at: https://secure.authorize.net.<br>
							   2. Click on Settings under Account in the main menu on the left.<br>
							   3. From the Security Settings section, click API Login ID and Transaction Key.<br>
							   4. Enter the Secret Answer to your account's Secret Question.<br>
							   5. Click Submit.";*/
							?>


						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Start a new Paypal Advanced account</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<a href="https://manager.paypal.com" target="_blank"><?php echo $html->image('/img/paypaladvance.png',array('border' => '0', 'height' => '80', 'width' => '150','alt' => 'Start A New Account', 'title' =>'Start A New Account')); ?></a>


								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>



						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Paypal Advanced Partner ID</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypal_advancedPARTNER" value="<?php echo Sanitize::html($data['paypal_advancedPARTNER']);?>"  class="box2_admin" size="27">
								   <a href="#" class="tooltip" title="Paypal Advanced Partner ID" onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>


								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>




						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Paypal Advanced Vendor ID</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypal_advancedVENDOR" value="<?php echo Sanitize::html($data['paypal_advancedVENDOR']);?>"  class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Paypal Advanced Vendor ID." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>

								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
                    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Paypal Advanced Username</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypal_advancedUSER" value="<?php echo Sanitize::html($data['paypal_advancedUSER']);?>"  class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Paypal Advanced Username." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>

								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
                                                  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Paypal Advanced Password</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypal_advancedPWD" value="<?php echo Sanitize::html($data['paypal_advancedPWD']);?>"  class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Paypal Advanced password." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>

								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Paypal Advanced BN Code</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypaladvanced_bn_code" value="<?php echo Sanitize::html($data['paypaladvanced_bn_code']);?>"  class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Build Notation ID Code is a unique identifier that tells PayPal how much volume comes in through merchants who use your integrated Paypal solution." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>

								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>

                                                    <div id="grid_admin">
                                                        <div align="left" id="inner_leftcontent">
                                                            <p class="maintext_inner">Paypal Advanced Test Mode</p>
                                                        </div>
                                                        <div align="right" id="inner_rightcontent" class="newwidth">
                                                            <span class="toplinks">
                                                                <input type="checkbox" name="paypal_advancedtestmode" value="Y"<?php if(isset( $data['paypal_advancedtestmode']) && $data['paypal_advancedtestmode']=='Y') {?> checked <?php } ?>>
                                                                <a href="#" class="tooltip" title="Enable this check box if you want to use Paypal Advanced Test Environment.
                                                                                                        " onclick="return false;">
                                                                                                                                                                                      <?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
                                                                </a>
                                                            </span>
                                                        </div>
                                                        <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
                                                    </div>


				</div>  <!--paypaladvanced div ends here -->



                                 <!---------ogone starts Akhil----------->
                <div id="ogone" style="display:none;"> <!--ogone div starts here -->

							 <?php
								  //show paypal identity token
							/*$piToken='<u>How to generate a identity token.</u><br><br># Login to PayPal.com<br>
							# Click the Profile tab<br>
							# Click Website Payment Preferences<br>
							# In the Payment Data Transfer section, click on<br>
							# Scroll to the bottom of the page and click Save<br>
							# When you click Save a message will appear at the top of the page indicating that you have successfully saved your preferences. Your identity token will also appear in the context of this message. You will need this information in the next step. Select the entire line of text after \'Identity Token:\' and copy it to your clipboard. This token will always be available should you need it on the Website Payment Preferences page.<br>
							# Enable PayPal in admin settings<br>
							# Paste your Identity Token in the Identity Token field<br>
							# Click Save';
							$aiToken = "Please follow these steps to obtain a transaction key:<br><br>

							   1. Log into the merchant�s Authorize.Net account at: https://secure.authorize.net.<br>
							   2. Click on Settings under Account in the main menu on the left.<br>
							   3. From the Security Settings section, click API Login ID and Transaction Key.<br>
							   4. Enter the Secret Answer to your account's Secret Question.<br>
							   5. Click Submit.";*/
							?>


						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Start a new ogone account</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<a href="http://www.ogone.com" target="_blank"><?php echo $html->image('/img/logo_ogone.jpg',array('border' => '0', 'height' => '80', 'width' => '150','alt' => 'Start A New Account', 'title' =>'Start A New Account')); ?></a>


								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>



						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Ogone PSPID</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="ogone_PSPID" value="<?php echo Sanitize::html($data['ogone_PSPID']);?>"  class="box2_admin" size="27">
								   <a href="#" class="tooltip" title="Ogone PSPID" onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>


								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>




						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Ogone Passphrase</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="ogone_passphrase" value="<?php echo Sanitize::html($data['ogone_passphrase']);?>"  class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Ogone Passphrase." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>

								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>

                                                    <div id="grid_admin">
                                                        <div align="left" id="inner_leftcontent">
                                                            <p class="maintext_inner">Ogone Test Mode</p>
                                                        </div>
                                                        <div align="right" id="inner_rightcontent" class="newwidth">
                                                            <span class="toplinks">
                                                                <input type="checkbox" name="ogone_testmode" value="Y"<?php if(isset( $data['ogone_testmode']) && $data['ogone_testmode']=='Y') {?> checked <?php } ?>>
                                                                <a href="#" class="tooltip" title="Enable this check box if you want to use Ogone Test Environment.
                                                                                                        " onclick="return false;">
                                                                                                                                                                                      <?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
                                                                </a>
                                                            </span>
                                                        </div>
                                                        <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
                                                    </div>


				</div>  <!--ogone div ends here -->


                <!--------Pay pal pro Akhil ends-------------->
						
						
			<div id="google_div"  style="display:none;"> <!---google checkout div starts here -->
			
						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Start a new Google account</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks"><a href="http://checkout.google.com/sell?promo=searmiasystemsinc" target="_blank"><?php echo $html->image('/img/google_small.gif',array('border' => '0', 'height' => '20', 'width' => '114','alt' => 'Start A New Account', 'title' =>'Start A New Account')); ?></a>
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
						  
						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Google Merchant Id</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="google_merchantId" value="<?php echo Sanitize::html($data['google_merchantId']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Your Google Merchant ID is a unique, numeric code assigned to your business by Google.
									<br />To Find your Merchant ID : <br />1. Sign in to Google Checkout.<br /> 2. Click the Settings tab.
									<br /> 3. Click Integration.<br /> 4. Your Merchant ID will appear under 'Account information.'" onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
						  




						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Google Merchant Key</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="google_merchantkey" value="<?php echo Sanitize::html($data['google_merchantkey']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Your Google Merchant Key is a unique code that helps secure your communications with Google.
									 Both you and Google will use this key to authenticate and verify the integrity of any messages you exchange.
									  You'll also need your key to integrate your off-the-shelf shopping cart or custom-built shopping cart with Google Checkout.
									  <br />To Find your Merchant Key : <br />1. Sign in to Google Checkout.<br /> 2. Click the Settings tab.
									<br /> 3. Click Integration.<br /> 4. Your Merchant Key will appear under 'Account information.'"
									   onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
							
							 <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Google Test Mode</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="checkbox" name="google_testmode" value="Yes"<?php if(isset( $data['google_testmode'])&& $data['google_testmode']=='Yes'){?> checked <?php } ?>>
									<a href="#" class="tooltip" title="Enable this check box if you wish to test with Google Checkout sandbox.
									 The Sandbox is a development system that is designed 
									 to help you test your Google Checkout implementation. 
									 Sign in to your test merchant account at https://sandbox.google.com/sell to locate your Merchant ID and Merchant Key for Test mode.
									 You will need to specify these values on the module configuration page of the admin menu 
									 when running your Google Checkout module in Test mode." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  									  					  
			</div>  <!--google checkout div ends here -->
						
						
						
			<div id="authorize_div" style="display:none;"> <!--Authorize.net div starts here -->
				
						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Authorize.Net Email</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="authorize_email" value="<?php echo Sanitize::html($data['authorize_email']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Enter the E-mail address from which you registered in Authorize.net account.This is the E-mail address that is used for Payment and Reciept purpose from Authorize.net." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
						  
						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Authorize.Net Login Id</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="authorize_loginid" value="<?php echo Sanitize::html($data['authorize_loginid']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="The API Login ID is a complex value that identifies your account to the payment gateway when submitting transaction requests from your Web site. 
The API Login ID is at least eight characters in length, includes uppercase and lowercase letters, numbers, and/or symbols." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
						  
						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Authorize.Net Transaction Key</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="authorize_transactionkey" value="<?php echo Sanitize::html($data['authorize_transactionkey']);?>"  class="box2_admin" >
									<a href="#" class="tooltip" title="Authorize.net Transaction Key - The payment gateway generated transaction key is a complex value that uniquely identifies a merchant's payment gateway account, and is similar to an account password.
								 Transaction keys are used to authenticate requests submitted to the payment gateway, and can be obtained in the Merchant Interface." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
							
						   <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Authorize.Net Test Mode</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="checkbox" name="authorize_testmode" value="Y"<?php if(isset( $data['authorize_testmode'])&& $data['authorize_testmode']=='Y'){?> checked <?php } ?>>
									<a href="#" class="tooltip" title="Enable this check box if you want to test using an Authorize.Net developer test account.
In order to use this environment, you must have an Authorize.Net developer test account
 with an associated API Login ID and Transaction Key. Test transactions to this environment are accepted with these credentials only. " onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>

                            <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">&nbsp;</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								Note : Authorize.Net will support only US dollars!
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>

						 
			</div>  <!--Authorize.net div ends here -->
			<div id="bluepay_div" style="display:none;"> <!--bluepay div starts here -->
				
				           
						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Start a new Blue Pay account</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<a href="https://onlineapp.bluepay.com/interfaces/create?hostid=17d6913481c995869f09844787c72ef5" target="_blank"><?php echo $html->image('/img/bluepay.jpg',array('border' => '0', 'height' => '30', 'width' => '77','alt' => 'Start A New Account', 'title' =>'Start A New Account')); ?></a>


								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">BluePay Account Id</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="bp_account" value="<?php echo Sanitize::html($data['bp_account']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Enter your BluePay account ID." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
						  
						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">BluePay Secret Key</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="bp_secret" value="<?php echo Sanitize::html($data['bp_secret']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Provide your secret key for your BluePay account." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						   <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">BluePay Test Mode</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="checkbox" name="bp_testmode" value="Y"<?php if(isset( $data['bp_testmode'])&& $data['bp_testmode']=='Y'){?> checked <?php } ?>>
									<a href="#" class="tooltip" title="Enable this check box if you want to test using a BluePay developer test account.
In order to use this environment, you must have a BluePay developer test account
 with an associated Account ID and Secret Key. Test transactions to this environment are accepted with these credentials only. " onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						 
			</div><!--bluepay div ends here -->
						  
			<div id="yourpay_div" style="display:none;"> <!--yourpay div starts here -->
				
				 						
						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Start a new YourPay account</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<a href="http://www.firstdata.com/yourpay/" target="_blank"><?php echo $html->image('/img/yourpay_small.jpg',array('border' => '0', 'height' => '16', 'width' => '63','alt' => 'Start A New Account', 'title' =>'Start A New Account')); ?></a>
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
						  
						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">YourPay Store ID</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="yourpay_storeid" value="<?php echo Sanitize::html($data['yourpay_storeid']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Enter your YourPay Store ID." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
						  
						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">YourPay Certificate File</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="file" name="txtYourPayCertificate"><br>
												<b>(.pem)</b>&nbsp;
												<a href="#" class="tooltip" title="Upload your YourPay Certificate File." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							



							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
							
						   <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">YourPay Test Mode</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="checkbox" name="yourpay_testmod" value="YES"<?php if(isset( $data['yourpay_testmod'])&& $data['yourpay_testmod']=='YES'){?> checked <?php } ?>>
									<a href="#" class="tooltip" title="Enable this chcek box if you want to use YourPay in Test Mode.
									Test mode will allow you to use a test account supplied by First Data/Linkpoint/YourPay in order to process transactions through the payment gateway without any charges being made." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						
				</div>  <!--Yourpay div ends here -->
						
			<div id="worldpay_div" style="display:none;"> <!--worldpay div starts here -->				
				 						
										
							<?php 
							$worldpayinfo='While enabling Worldpay, you need to take account from http://worldpay.com/ ,
								set the return page in your site after the payment process is over, in the Worldpay Merchant Panel.								
								 Log into your WorldPay Customer Management System then click Configuration Options. Then:								
								<br> 1) Enter the Callback URL as '.$sitebase.$data['sitebasefolder']."/carts/worldpayback/".
								'<br>2) Tick the checkboxes for Callback Enabled and Use Callback Response
								<br>3) Set your Callback Password to match exactly with the Callback Password you set in Multicart - note 
								that you need to enter this in 2 boxes								
								<br>4) Click Save Changes';	
							?>
						   <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Start a new World Pay account</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">


								<span class="toplinks">
									<a href="http://www.worldpay.com/" target="_blank"><?php echo $html->image('/img/worldpay_small.jpg',array('border' => '0', 'alt' => 'Start A New Account', 'title' =>'Start A New Account')); ?></a>
									
									 <a href="#" class="tooltip" title="<?php echo $worldpayinfo;?>" onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						   
						   
						  
						  
						  
						  
						  
						  
						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Worldpay Installation Id</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="worldpay_inst_Id" value="<?php echo Sanitize::html($data['worldpay_inst_Id']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title=" Each WorldPay account user is assigned a unique Customer Account ID,
									 along with one or more Installation IDs, for use in setting up and testing their integration
									  with the WorldPay payment system. This Installation ID always needs to be included in each online 
									  transaction information sent to the WorldPay processing system. Installation IDs are unique numbers
									   exclusive to your account and can not be changed." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
							
							 <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Email Address</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="worldpay_email" value="<?php echo Sanitize::html($data['worldpay_email']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Enter the E-mail address from which you registered in Worldpay account." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
						   <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Transaction Method</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<div class="maintext_inner">
									<input name="worldpay_transact_method" type="radio" value="A" <?php if($data['worldpay_transact_method']=="A") { echo "checked"; } ?>>

												 AUTHORISED 
											      <input name="worldpay_transact_method" type="radio" value="C" <?php if($data['worldpay_transact_method']=="C") { echo "checked"; } ?>>CAPTURED
												  <a href="#" class="tooltip" title="Select the Transaction Method type that you wish to use." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
												  </div>
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
						   <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Test Mode</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
								<div class="maintext_inner">
									<input name="worldpay_testmode" type="radio" value="100" checked> 
											      Test Mode 
										          <input name="worldpay_testmode" type="radio" value="0" <?php if($data['worldpay_testmode']==0) { echo "checked";} ?>> 
										          Live Mode
												  <a href="#" class="tooltip" title="Enable this check box if you want to use WorldPay in Test Mode.This allows test purchases to be made without using a credit cart" onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
												  </div> 
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
				</div>  <!--worldpay div ends here -->

                                <div id="twocheckout"  style="display:none;"> <!---2checkout div starts here -->

						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Start a new 2checkout account</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks"><a href="https://www.2checkout.com" target="_blank"><?php echo $html->image('/img/2co_logo.jpg',array('border' => '0', 'height' => '20', 'width' => '114','alt' => 'Start A New Account', 'title' =>'Start A New Account')); ?></a>
								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
						  </div>



						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Vendor Id</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="twoco_vendorId" value="<?php echo Sanitize::html($data['twoco_vendorId']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Refer site https://www.2checkout.com/ . Test Vendorid : 1877160" onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>
								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>




							 <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">2checkout Test Mode</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="checkbox" name="twocheckout_testmode" value="Yes"<?php if(isset( $data['twocheckout_testmode'])&& $data['twocheckout_testmode']=='Y'){?> checked <?php } ?>>
									<a href="#" class="tooltip" title="Enable this check box if you wish to test with 2checkout." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>
								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>

			</div>  <!--2 checkout div ends here -->

                        <div id="moneybrokers"  style="display:none;"> <!---moneybrokers div starts here -->

						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Start a new moneybrokers account</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks"><a href="https://www.moneybookers.com" target="_blank"><?php echo $html->image('/img/money_brooker_logo.png',array('border' => '0', 'height' => '50', 'width' => '114','alt' => 'Start A New Account', 'title' =>'Start A New Account')); ?></a>
								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div>
						  </div>



						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Money Booker Email Id </p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="moneybookers_emailId" value="<?php echo Sanitize::html($data['moneybookers_emailId']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Refer site https://www.moneybookers.com ." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>
								</span>
                                                            <div>
                                                        Please give their details in Moneybooker merchant account. <br> Set return url as <?php echo FULL_BASE_URL . $cnfg["sitebasefolder"].'/carts/moneybookerssucesspost/return';?>
                                                          <br>
                                                          Set post url as <?php echo FULL_BASE_URL . $cnfg["sitebasefolder"].'/carts/moneybookerssucesspost/sucess';?>
                                                      </div>
							</div>
                                                      
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>


			</div>  <!--moneybrokers div ends here -->


                        <div id="paypal_express_div"  style="display:none;"> 
			
						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Start a new PayPal Express account</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
                                                                    <a href="https://www.paypal.com/us/mrb/pal=NCGEZ2VF6YL62" target="_blank"><?php echo $html->image('/img/btn_xpressCheckout.gif',array('border' => '0', 'alt' => 'Start A New Account', 'title' =>'Start A New Account')); ?></a>
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">PayPal Express Username</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypal_express_username" value="<?php echo Sanitize::html($data['paypal_express_username']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="" onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>

						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">PayPal Express Password</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypal_express_password" value="<?php echo Sanitize::html($data['paypal_express_password']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="" onclick="return false;">
                                                                            <?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
                            
                                                  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">PayPal Express Signature</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="paypal_express_signature" value="<?php echo Sanitize::html($data['paypal_express_signature']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="" onclick="return false;">
                                                                            <?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  
						  
							
							 <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">PayPal Express Test Mode</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="checkbox" name="paypal_express_testmode" value="Y" <?php if(isset( $data['paypal_express_testmode'])&& $data['paypal_express_testmode']=='Y'){?> checked <?php } ?>>
									<a href="#" class="tooltip" title="">
                                                                            <?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>	
									</a>	
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
						  									  					  
			</div>


                        <!--************* Braintree start******************-->

                        <div id="braintree"  style="display:none;">

						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Start a new Braintree account</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
                                                                    <a href="https://www.braintreepayments.com" target="_blank"><?php echo $html->image('/img/braintree_logo.png',array('border' => '0', 'alt' => 'Start A New Account', 'title' =>'Start A New Account')); ?></a>
								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>

						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Braintree Merchant ID</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="braintree_merchantId" value="<?php echo Sanitize::html($data['braintree_merchantId']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="" onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>
								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>

						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Braintree Public Key</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="braintree_publicKey" value="<?php echo Sanitize::html($data['braintree_publicKey']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="" onclick="return false;">
                                                                            <?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>
								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>

                                                  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Braintree Private Key</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="braintree_privateKey" value="<?php echo Sanitize::html($data['braintree_privateKey']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="" onclick="return false;">
                                                                            <?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>
								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>



							 <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Braintree Test Mode</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="checkbox" name="braintree_testmode" value="Y" <?php if(isset( $data['braintree_testmode'])&& $data['braintree_testmode']=='Y'){?> checked <?php } ?>>
									<a href="#" class="tooltip" title="">
                                                                            <?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>
								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>

			</div>

                        <!--*************Braintree ends**********************-->

                        <!--Quick book starts-->

                            <div id="quickbook_div"  style="display:none;">

						    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Start a new Quickbook account</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
                                                                    <a href="http://quickbooks.com/" target="_blank"><?php echo $html->image('/img/quickbook.jpg',array('border' => '0', 'alt' => 'Start A New Account', 'title' =>'Start A New Account')); ?></a>
								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>

						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner"> Quickbook Application Name</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="quickbook_applicationname" value="<?php echo Sanitize::html($data['quickbook_applicationname']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Quickbook Application Name." onclick="return false;">
									<?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>
								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>

						  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Quickbook Key</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="text" name="quickbook_key" value="<?php echo Sanitize::html($data['quickbook_key']);?>" class="box2_admin" size="27">
									<a href="#" class="tooltip" title="Quickbook Key." onclick="return false;">
                                                                            <?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>
								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>

                                                  <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">Quickbook Test Mode</p>
							</div>
							<div align="right" id="inner_rightcontent" class="newwidth">
								<span class="toplinks">
									<input type="checkbox" name="quickbook_testmode" value="Y" <?php if(isset( $data['quickbook_testmode'])&& $data['quickbook_testmode']=='Y'){?> checked <?php } ?>>
									<a href="#" class="tooltip" title="">
                                                                            <?php echo $html->image('/img/hint.png', array('border' => 0, 'text-decoration' => 'none'));?>
									</a>
								</span>
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>

			</div>

                        <!--quck book emds-->

						
</div><!-- online payment div ends here -->  
           </div>
		    <div id="grid_admin">
							<div align="left" id="inner_leftcontent">
							  <p class="maintext_inner">&nbsp;</p>
							</div>


							<div align="right" id="inner_rightcontent" class="newwidth" class="newwidth">
								<span class="toplinks">
								<input type="submit" value="Save" class="buttn_admin">
								<input type="button" value="Back" class="buttn_admin" onClick="javascript:history.go(-1);">
								</span>							
							</div>
							<div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif', array('width' => 1, 'height' => 1));?></div>
						  </div>
      </div>
</div>
</form>
<div align="left" class="float_clear1"></div>
</div>
 <div align="left" class="float_clear1"><?php echo $html->image('/img/clear.gif');?></div> 