{{function name="selectOptions" aOptions=0 mOption=0}}
	{{foreach from=$aOptions item=sOption}}
		<option value="{{$sOption@key}}" {{if ( is_array( $mOption ) && in_array( $sOption@key, $mOption ) ) || ( $sOption@key == $mOption )}}selected="selected"{{/if}}>{{$sOption}}</option>
	{{/foreach}}
{{/function}}

{{function name="selectTrueFalse" mOption=0}}
	<option value="true" {{if $mOption}}selected="selected"{{/if}}>{{$lang.yes}}</option>
	<option value="false" {{if !$mOption}}selected="selected"{{/if}}>{{$lang.no}}</option>
{{/function}}

<script type="text/javascript">
	$(document).ready(function(){
		{{if isset( $smarty.get.activeTabId )}}$('ul.tab-headers li a[href="#{{$smarty.get.activeTabId}}"]').trigger('click');{{/if}}
	});
</script>

<form action="?p={{$_GET.p}}" method="post" id="payments-list">
<fieldset class="tabbed">
	<div class="clear"></div>
	<ul class="tab-headers">
		<li><a href="#payment-methods">{{$lang.Payment_methods}}</a></li>
		<li><a href="#online-payment-methods-platnosci">PayU</a></li>
		<li><a href="#online-payment-methods-paybynet">PayByNet</a></li>
		<li><a href="#online-payment-methods-przelewy">Przelewy24.pl</a></li>
		<li><a href="#online-payment-methods-paypal">PayPal</a></li>
		<li><a href="#online-payment-methods-dotpay">DotPay</a></li>
		<li><a href="#online-payment-methods-sofort">SOFORT</a></li>
		<li><a href="#online-payment-methods-transferuj">Transferuj.pl</a></li>
		<li><a href="#online-payment-methods-cashbill">CashBill.pl</a></li>
		<li><a href="#online-payment-methods-bluemedia">BlueMedia</a></li>
		<li><a href="#online-payment-methods-firstdata">Firstdata</a></li>
{{*		<li><a href="#online-payment-methods-ecard">eCard.pl</a></li>*}}
		<li><a href="#zagiel">{{$lang.Credit_payment_methods}}</a></li>
		<li><a href="#online-payment-methods-lr">{{$lang.LR_payment_methods}}</a></li>
	</ul>
	<h1>{{$lang.Payment_methods}}</h1>
	<div class="tab" id="payment-methods">
		<a href="?p=payments-form" class="new_element">{{$lang.New_payment_method}}</a>
		{{if count( $aPayments ) > 0}}
			<fieldset>
				<table class="list">
					<thead>
						<tr>
							<th class="id">{{$lang.Id}}</th><th class="name">{{$lang.Name}}</th><th class="actions">{{$lang.Actions}}</th>
						</tr>
					</thead>
					<tbody>
						{{foreach from=$aPayments item=aPayment}}
							<tr>
								<td class="id">{{$aPayment.iPayment}}</td><td class="name"><a href="?p={{$aActions.f}}-form&amp;iPayment={{$aPayment.iPayment}}">{{$aPayment.sName}}</a></td><td class="actions">
								<a href="?p={{$aActions.f}}-form&amp;iPayment={{$aPayment.iPayment}}"><img src="{{$config.dir_templates}}admin/images/ico/edit.png" alt="{{$lang.Edit}}" title="{{$lang.Edit}}" /></a>
								<a href="?p={{$aActions.f}}-delete&amp;iPayment={{$aPayment.iPayment}}" class="delete" onclick="return del( );"><img src="{{$config.dir_templates}}admin/images/ico/delete.png" alt="{{$lang.Delete}}" title="{{$lang.Delete}}"/></a></td>
							</tr>
						{{/foreach}}
					</tbody>
				</table>
			</fieldset>
		{{/if}}
	</div><!-- end div id=payment-methods -->
	<div class="tab" id="online-payment-methods-platnosci">
		<fieldset>
			<table class="details">
				<tr>
				<th colspan="3"><h2>{{$lang.Online_payment_methods}}</h2></th>
				</tr>
				<tr>
					<th colspan="3"><h2>{{$lang.Platnosci}}</h2></th>
				</tr><tr>
					<th class="name">{{$lang.Platnosci_shop_id}}</th><td class="value"><input type="text" name="platnosci_id" value="{{$config.platnosci_id}}" maxlength="10" class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_platnosci_id}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.Platnosci_pos_auth_key}}</th><td class="value"><input type="text" name="platnosci_pos_auth_key" value="{{$config.platnosci_pos_auth_key}}" maxlength="10" class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_platnosci_pos_auth_key}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.Platnosci_key1}}</th><td class="value"><input type="text" name="platnosci_key1" value="{{$config.platnosci_key1}}" class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_platnosci_key1}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.Platnosci_key2}}</th><td class="value"><input type="text" name="platnosci_key2" value="{{$config.platnosci_key2}}" class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_platnosci_key2}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.PayU_on_accepted}}</th><td class="value"><select name="PAYU_on_accepted"><option value="0">{{$lang.Dont_change}}</option>{{selectOptions aOptions=$aConfigInfo.aStatuses mOption=$config.PAYU_on_accepted}}</select></td>
					<td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.PayU_on_cancel}}  </th><td class="value"><select name="PAYU_on_cancel"  ><option value="0">{{$lang.Dont_change}}</option>{{selectOptions aOptions=$aConfigInfo.aStatuses mOption=$config.PAYU_on_cancel}}  </select></td>
					<td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.Platnosci_link_fail}}</th><td class="value">{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}{{$aConfigInfo.sPlatnosciFailLink}}</td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_Platnosci_link_fail}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.Platnosci_link_ok}}</th><td class="value">{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}{{$aConfigInfo.sPlatnosciOkLink}}</td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_Platnosci_link_ok}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.Platnosci_link_verify}}</th><td class="value">{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}index.php?p=payment-payu_verify</td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_Platnosci_link_verify}}" /></td>
				</tr>
			</table>
		</fieldset>
	</div> <!-- end div id=online-payment-methods-platnosci -->
	<div class="tab" id="online-payment-methods-paybynet">
		<fieldset>
			<table class="details">
				<tr>
					<th colspan="3"><h2>{{$lang.Online_payment_methods}}</h2></th>
				</tr><tr>
					<th colspan="3"><h2>{{$lang.PayByNet}}</h2></th>
				</tr><tr>
					<th class="name">{{$lang.PayByNet_id}}        </th><td class="value"><input type="text" name="paybynet_id"         value="{{$config.paybynet_id}}"              class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_PayByNet_id}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.PayByNet_pass}}      </th><td class="value"><input type="text" name="paybynet_pass"       value="{{$config.paybynet_pass}}"            class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_PayByNet_pass}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.PayByNet_account}}   </th><td class="value"><input type="text" name="paybynet_account"    value="{{$config.paybynet_account}}"         class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_PayByNet_account}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.PayByNet_accname_nm}}</th><td class="value"><input type="text" name="paybynet_accname_nm" value="{{$aConfigInfo.paybynet_accname_nm}}" class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_PayByNet_accname_nm}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.PayByNet_accname_zp}}</th><td class="value"><input type="text" name="paybynet_accname_zp" value="{{$aConfigInfo.paybynet_accname_zp}}" class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_PayByNet_accname_zp}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.PayByNet_accname_ci}}</th><td class="value"><input type="text" name="paybynet_accname_ci" value="{{$aConfigInfo.paybynet_accname_ci}}" class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_PayByNet_accname_ci}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.PayByNet_accname_st}}</th><td class="value"><input type="text" name="paybynet_accname_st" value="{{$aConfigInfo.paybynet_accname_st}}" class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_PayByNet_accname_st}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.PayByNet_accname_ct}}</th><td class="value"><input type="text" name="paybynet_accname_ct" value="{{$aConfigInfo.paybynet_accname_ct}}" class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_PayByNet_accname_ct}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.PayByNet_on_accepted}}</th><td class="value"><select name="paybynet_on_accepted"><option value="0">{{$lang.Dont_change}}</option>{{selectOptions aOptions=$aConfigInfo.aStatuses mOption=$config.paybynet_on_accepted}}</select></td>
					<td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.PayByNet_on_cancel}}  </th><td class="value"><select name="paybynet_on_cancel"  ><option value="0">{{$lang.Dont_change}}</option>{{selectOptions aOptions=$aConfigInfo.aStatuses mOption=$config.paybynet_on_cancel}}  </select></td>
					<td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.PayByNet_test}}</th><td class="value"><select name="paybynet_test">{{selectTrueFalse mOption=$config.paybynet_test}}</select></td>
					<td class="help"></td>
				</tr>
			</table>
		</fieldset>
	</div> <!-- end div id=online-payment-methods-paybynet -->
	<div class="tab" id="online-payment-methods-przelewy">
		<fieldset>
			<table class="details">
				<tr>
					<th colspan="3"><h2>{{$lang.Online_payment_methods}}</h2></th>
				</tr>
				<tr>
					<th colspan="3"><h2>{{$lang.Przelewy24}}</h2></th>
				</tr><tr>
					<th class="name">{{$lang.Przelewy24_shop_id}}</th>
					<td class="value"><input type="text" name="przelewy24_id"  value="{{$config.przelewy24_id}}"  class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_przelewy24_id}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.Przelewy24_crc}}    </th>
					<td class="value"><input type="text" name="przelewy24_crc" value="{{$config.przelewy24_crc}}" class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_przelewy24_crc}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.Przelewy24_on_accepted}}</th>
					<td class="value"><select name="przelewy24_on_accepted"><option value="0">{{$lang.Dont_change}}</option>{{selectOptions aOptions=$aConfigInfo.aStatuses mOption=$config.przelewy24_on_accepted}}</select></td>
					<td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.Przelewy24_on_cancel}}  </th>
					<td class="value"><select name="przelewy24_on_cancel"  ><option value="0">{{$lang.Dont_change}}</option>{{selectOptions aOptions=$aConfigInfo.aStatuses mOption=$config.przelewy24_on_cancel}}  </select></td>
					<td class="help"></td>
				</tr>
			</table>
		</fieldset>
	</div> <!-- end div id=online-payment-methods-przelewy -->
	<div class="tab" id="online-payment-methods-paypal">
		<fieldset>
			<table class="details">
				<tr>
					<th colspan="3"><h2>{{$lang.Online_payment_methods}}</h2></th>
				</tr>
				<tr>
					<th colspan="3"><h2>{{$lang.PayPal}}</h2></th>
				</tr><tr>
					<th class="name">{{$lang.PayPal_email}}</th>
					<td class="value"><input type="text" name="PayPal_email"  value="{{$config.PayPal_email}}"  class="input" /></td>
					<td class="help"></td>
				</tr>
			</table>
		</fieldset>
	</div> <!-- end div id=online-payment-methods-paypal -->
	<div class="tab" id="online-payment-methods-dotpay">
		<fieldset>
			<table class="details">
				<tr>
					<th colspan="3"><h2>{{$lang.Online_payment_methods}}</h2></th>
				</tr>
				<tr>
					<th colspan="3"><h2>{{$lang.DotPay}}</h2></th>
				</tr><tr>
					<th class="name">{{$lang.DotPay_id}}</th>
					<td class="value"><input type="text" name="DotPay_id"  value="{{$config.DotPay_id}}"  class="input" /></td>
					<td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.DotPay_service}}</th>
					<td class="value"><select name="DotPay_service">{{selectOptions aOptions=['pl' => 'dotpay.pl', 'eu' => 'dotpay.eu'] mOption=$config.DotPay_service}}</select></td>
					<td class="help"></td>
				</tr>
			</table>
		</fieldset>
	</div> <!-- end div id=online-payment-methods-dotpay -->
	<div class="tab" id="online-payment-methods-sofort">
		<fieldset>
			<table class="details">
				<tr>
					<th colspan="3"><h2>{{$lang.Online_payment_methods}}</h2></th>
				</tr>
				<tr>
					<th colspan="3"><h2>{{$lang.SOFORT}}</h2></th>
				</tr><tr>
					<th class="name">{{$lang.SOFORT_Customer_number}}</th>
					<td class="value"><input type="text" name="SOFORT_Customer_number"  value="{{$config.SOFORT_Customer_number}}"  class="input" /></td>
					<td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.SOFORT_Api_key}}        </th>
					<td class="value"><input type="text" name="SOFORT_Api_key" value="{{$config.SOFORT_Api_key}}" class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_SOFORT_Api_key}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.SOFORT_Project}}        </th>
					<td class="value"><input type="text" name="SOFORT_Project" value="{{$config.SOFORT_Project}}" class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_SOFORT_Project}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.SOFORT_on_accepted}}    </th>
					<td class="value"><select name="SOFORT_on_accepted"><option value="0">{{$lang.Dont_change}}</option>{{selectOptions aOptions=$aConfigInfo.aStatuses mOption=$config.SOFORT_on_accepted}}</select></td>
					<td class="help"></td>
				</tr>
			</table>
		</fieldset>
	</div> <!-- end div id=online-payment-methods-sofort -->
	<div class="tab" id="online-payment-methods-transferuj">
		<fieldset>
			<table class="details">
				<tr>
					<th colspan="3"><h2>{{$lang.Online_payment_methods}}</h2></th>
				</tr>
				<tr>
					<th colspan="3"><h2>Transferuj.pl</h2></th>
				</tr><tr>
					<th class="name">{{$lang.Transferuj_Customer_number}}</th>
					<td class="value"><input type="text" name="TRANSFERUJ_Customer_number"  value="{{$config.TRANSFERUJ_Customer_number}}"  class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_TRANSFERUJ_Customer_number}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.Transferuj_Seller_code}}    </th>
					<td class="value"><input type="text" name="TRANSFERUJ_Seller_code"  value="{{$config.TRANSFERUJ_Seller_code}}"  class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_TRANSFERUJ_Seller_code}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.Transferuj_Auth_code}}      </th>
					<td class="value"><input type="text" name="TRANSFERUJ_Auth_code"  value="{{$config.TRANSFERUJ_Auth_code}}"  class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_TRANSFERUJ_Auth_code}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.Transferuj_on_accepted}}    </th>
					<td class="value"><select name="TRANSFERUJ_on_accepted"><option value="0">{{$lang.Dont_change}}</option>{{selectOptions aOptions=$aConfigInfo.aStatuses mOption=$config.TRANSFERUJ_on_accepted}}</select></td>
					<td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.Transferuj_on_cancel}}      </th>
					<td class="value"><select name="TRANSFERUJ_on_cancel"  ><option value="0">{{$lang.Dont_change}}</option>{{selectOptions aOptions=$aConfigInfo.aStatuses mOption=$config.TRANSFERUJ_on_cancel}}  </select></td>
					<td class="help"></td>
				</tr>
			</table>
		</fieldset>
	</div> <!-- end div id=online-payment-methods-transferuj -->
	<div class="tab" id="online-payment-methods-cashbill">
		<fieldset>
			<table class="details">
				<tr>
					<th colspan="3"><h2>{{$lang.Online_payment_methods}}</h2></th>
				</tr>
				<tr>
					<th colspan="3"><h2>CashBill.pl</h2></th>
				</tr><tr>
					<th class="name">{{$lang.CashBill_Service}}    </th>
					<td class="value"><input type="text" name="CashBill_Service"  value="{{$config.CashBill_Service}}" class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_CashBill_Service}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.CashBill_Key}}        </th>
					<td class="value"><input type="text" name="CashBill_Key"      value="{{$config.CashBill_Key}}"     class="input" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_CashBill_Key}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.CashBill_on_accepted}}</th>
					<td class="value"><select name="CashBill_on_accepted"><option value="0">{{$lang.Dont_change}}</option>{{selectOptions aOptions=$aConfigInfo.aStatuses mOption=$config.CashBill_on_accepted}}</select></td>
					<td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.CashBill_on_cancel}}  </th>
					<td class="value"><select name="CashBill_on_cancel"  ><option value="0">{{$lang.Dont_change}}</option>{{selectOptions aOptions=$aConfigInfo.aStatuses mOption=$config.CashBill_on_cancel}}  </select></td>
					<td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.CashBill_link_redirect}}</th>
					<td class="value">{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}index.php?p=payment-cashbill_redirect</td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_CashBill_link_redirect}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.CashBill_link_verify}}</th>
					<td class="value">{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}index.php?p=payment-cashbill_verify</td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_CashBill_link_verify}}" /></td>
				</tr>
			</table>
		</fieldset>
	</div> <!-- end div id=online-payment-methods-cashbill -->
	<div class="tab" id="online-payment-methods-bluemedia">
		<fieldset>
			<table class="details">
				<tr>
					<th colspan="3"><h2>{{$lang.BlueMedia}}</h2></th>
				</tr>
				<tr>
					<th class="name">{{$lang.BlueMedia_gate}}</th>
					<td class="value"><input type="text" name="bluemedia_website_gate" value="{{$config.bluemedia_website_gate}}" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_bluemedia_website_gate}}" /></td>
				</tr>
				<tr>
					<th class="name">{{$lang.BlueMedia_serviceId}}</th>
					<td class="value"><input type="text" name="bluemedia_service_id" value="{{$config.bluemedia_service_id}}" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_bluemedia_service_id}}" /></td>
				</tr>
				<tr>
					<th class="name">{{$lang.BlueMedia_key}}</th>
					<td class="value"><input type="text" name="bluemedia_key" value="{{$config.bluemedia_key}}" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_bluemedia_key}}" /></td>
				</tr>
				<tr>
					<th class="name">{{$lang.BlueMedia_function}}</th>
					<td class="value"><input type="text" name="bluemedia_function" value="{{$config.bluemedia_function}}" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_bluemedia_function}}" /></td>
				</tr>
				<tr>
					<th class="name">{{$lang.Platnosci_link_fail}}</th><td class="value">{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}{{$aConfigInfo.sPlatnosciFailLink}}</td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_Platnosci_link_fail}}" /></td>
				</tr>
				<tr>
					<th class="name">{{$lang.Platnosci_link_ok}}</th><td class="value">{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}{{$aConfigInfo.sPlatnosciOkLink}}</td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_Platnosci_link_ok}}" /></td>
				</tr>
				<tr>
					<th class="name">{{$lang.Platnosci_link_verify}}</th><td class="value">{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}index.php?p=payment-bluemedia_verify</td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_Platnosci_link_verify}}" /></td>
				</tr>
			</table>
		</fieldset>
	</div> <!-- end div id=online-payment-methods-bluemedia -->
	<div class="tab" id="online-payment-methods-firstdata">
		<fieldset>
			<table class="details">
				<tr>
					<th colspan="3"><h2>{{$lang.Firstdata}}</h2></th>
				</tr>
				<tr>
					<th class="name">{{$lang.Firstdata_pos_id}}</th>
					<td class="value"><input type="text" name="firstdata_pos_id" value="{{$config.firstdata_pos_id}}" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_firstdata_pos_id}}" /></td>
				</tr>
				<tr>
					<th class="name">{{$lang.Firstdata_shared_key}}</th>
					<td class="value"><input type="text" name="firstdata_shared_key" value="{{$config.firstdata_shared_key}}" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_firstdata_shared_key}}" /></td>
				</tr>
				<tr>
					<th class="name">{{$lang.Firstdata_test}}</th>
					<td class="value">
					{{*<input type="text" name="firstdata_test" value="{{$config.firstdata_test}}" />*}}
					<select name="firstdata_test">
						<option {{if $config.firstdata_test == "N"}} selected="selected" {{/if}} value="N">{{$lang.no}}</option>
						<option {{if $config.firstdata_test == "Y"}} selected="selected" {{/if}} value="Y">{{$lang.yes}}</option>
					</select>
					</td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_firstdata_test}}" /></td>
				</tr>
				<tr>
					<th class="name">{{$lang.Platnosci_link_fail}}</th><td class="value">{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}{{$aConfigInfo.sPlatnosciFailLink}}</td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_Platnosci_link_fail}}" /></td>
				</tr>
				<tr>
					<th class="name">{{$lang.Platnosci_link_ok}}</th><td class="value">{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}{{$aConfigInfo.sPlatnosciOkLink}}</td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_Platnosci_link_ok}}" /></td>
				</tr>
				<tr>
					<th class="name">{{$lang.Platnosci_link_verify}}</th><td class="value">{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}index.php?p=payment-first_data</td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_Platnosci_link_verify}}" /></td>
				</tr>
			</table>
		</fieldset>
	</div> <!-- end div id=online-payment-methods-firstdata -->
{{*	<div class="tab" id="online-payment-methods-ecard">
			<fieldset>
				<table class="details">
					<tr>
						<th colspan="3"><h2>{{$lang.Online_payment_methods}}</h2></th>
					</tr>
					<tr>
						<th colspan="3"><h2>eCard.pl</h2></th>
					</tr><tr>
						<th class="name">{{$lang.eCard_Id}}         </th><td class="value"><input type="text" name="eCard_Id"   value="{{$config.eCard_Id}}"   class="input" /></td><td class="help"></td>
					</tr><tr>
						<th class="name">{{$lang.eCard_Pass}}       </th><td class="value"><input type="text" name="eCard_Pass" value="{{$config.eCard_Pass}}" class="input" /></td><td class="help"></td>
					</tr><tr>
						<th class="name">{{$lang.eCard_on_accepted}}</th><td class="value"><select name="eCard_on_accepted"><option value="0">{{$lang.Dont_change}}</option>{{selectOptions aOptions=$aConfigInfo.aStatuses mOption=$config.eCard_on_accepted}}</select></td><td class="help"></td>
					</tr><tr>
						<th class="name">{{$lang.eCard_on_cancel}}  </th><td class="value"><select name="eCard_on_cancel"  ><option value="0">{{$lang.Dont_change}}</option>{{selectOptions aOptions=$aConfigInfo.aStatuses mOption=$config.eCard_on_cancel}}  </select></td><td class="help"></td>
					</tr><tr>
						<th class="name">{{$lang.eCard_link_verify}}</th><td class="value">{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}index.php?p=payment-ecard_verify</td><td class="help"></td>
					</tr>
				</table>
			</fieldset>
		</div> <!-- end div id=online-payment-methods-ecard -->
	*}}
	<div class="tab" id="zagiel">
		<fieldset>
			<table class="details">
				<tr>
					<th colspan="3"><h2>{{$lang.Credit_payment_methods}}</h2></th>
				</tr><tr>
					<th class="name">{{$lang.Zagiel_Id}}</th>
					<td class="value"><input type="text" id="zagiel-input" name="zagiel_id" value="{{$config.zagiel_id}}" size="40" class="input" maxlength="20" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_zagiel_id}}" /></td>
				</tr>
			</table>
		</fieldset>
	</div> <!-- end div zagiel -->
	<div class="tab" id="online-payment-methods-lr">
		<fieldset>
			<table class="details">
				<tr>
					<th colspan="3"><h2>{{$lang.LR_payment_methods}}</h2></th>
				</tr><tr>
					<th class="name">{{$lang.LR_psp_id}}</th>
					<td class="value"><input type="text" id="LR_psp_id" name="LR_psp_id" value="{{$config.LR_psp_id}}" size="40" class="input" maxlength="20" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_LR_id}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.LR_password}}</th>
					<td class="value"><input type="text" id="LR_password" name="LR_password" value="{{$config.LR_password}}" size="40" class="input" maxlength="20" /></td>
					<td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.LR_categories}}</th>
					<td class="value"><input type="text" id="LR_categories" name="LR_categories" value="{{$config.LR_categories}}" size="40" class="input" maxlength="40" /></td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_LR_categories}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.LR_button}}</th>
					<td class="value"><select name="LR_button">{{selectOptions aOptions=$config.LR_button_options mOption=$config.LR_button}}</select></td>
					<td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.LR_button_flash}}</th>
					<td class="value"><select name="LR_button_flash">{{selectOptions aOptions=$config.LR_button_flash_options mOption=$config.LR_button_flash}}</select></td>
					<td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.LR_logo_color}}</th>
					<td class="value"><select name="LR_logo_color">{{selectOptions aOptions=$config.LR_logo_color_options mOption=$config.LR_logo_color}}</select></td>
					<td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.LR_logo_size}}</th>
					<td class="value"><select name="LR_logo_size">{{selectOptions aOptions=$config.LR_logo_size_options mOption=$config.LR_logo_size}}</select></td>
					<td class="help"></td>
				</tr><tr>
					<th class="name">{{$lang.LR_link_fail}}</th>
					<td class="value">{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}index.php?p=payment-lr&result=fail</td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_LR_link_fail}}" /></td>
				</tr><tr>
					<th class="name">{{$lang.LR_link_ok}}</th>
					<td class="value">{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}index.php?p=payment-lr&result=ok</td>
					<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_LR_link_ok}}" /></td>
				</tr>
			</table>
		</fieldset>
	</div> <!-- end div LR -->

	<div class="save float">
		<div class="save floatcontainer"><input type="submit" class="submit" value="{{$lang.Save}} &raquo;" name="sOption" /></div>
	</div>

</fieldset> <!-- end div tabbed -->
</form>
<div class="clear"></div>