<div class="page">
	<div class="block">
		<div class="block_head">
			FreeKassa
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->fk_new == 1)} active {/if}"
				       onclick="change_value('config__bank','fk_new','1','1','fk_new_login,fk_new_pass1,fk_new_pass2');">
					<input type="radio">
					Включить
				</label>

				<label class="btn btn-default {if($merchants->fk_new == 2)} active {/if}"
				       onclick="change_value('config__bank','fk_new','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-40-12" type="button"
				        onclick="edit_freekassa('new');">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="fknew_login"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->fk_new_login}}"
			       placeholder="ID магазина">
			<input type="text"
			       class="form-control"
			       id="fknew_pass1"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->fk_new_pass1}}"
			       placeholder="Секретное слово">
			<input type="text"
			       class="form-control"
			       id="fknew_pass2"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->fk_new_pass2}}"
			       placeholder="Секретное слово 2">
		</div>
		<div id="edit_freekassanew_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/FreeKassaNew">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<table>
				<tr>
					<td style="text-align: right">URL оповещения:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result_fk=get</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL успеха:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=success</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL ошибки:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=fail</b>
					</td>
				</tr>
			</table>
		</div>
	</div>


	<div class="block">
		<div class="block_head">
			AnyPay
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->ap == 1)} active {/if}"
				       onclick="change_value('config__bank','ap','1','1');">
					<input type="radio">
					Включить
				</label>
				<label class="btn btn-default {if($merchants->ap == 2)} active {/if}"
				       onclick="change_value('config__bank','ap','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-23-12" type="button"
				        onclick="editAnyPayPaymentSystem();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="ap_project_id"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->ap_project_id}}"
			       placeholder="ID проекта">
			<input type="text"
			       class="form-control"
			       id="ap_private_key"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->ap_private_key}}"
			       placeholder="Секретный ключ">
		</div>
		<div id="edit_anypay_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/AnyPay">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<table>
				<tr>
					<td style="text-align: right">URL оповещения:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result_ap=get</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL успешной оплаты:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=success</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL неуспешной оплаты:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=fail</b>
					</td>
				</tr>
			</table>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			Payok
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->payok == 1)} active {/if}"
				       onclick="change_value('config__bank','payok','1','1');">
					<input type="radio">
					Включить
				</label>
				<label class="btn btn-default {if($merchants->payok == 2)} active {/if}"
				       onclick="change_value('config__bank','payok','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-23-12" type="button"
				        onclick="editPayokPaymentSystem();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="payok_id"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->payok_id}}"
			       placeholder="ID проекта">
			<input type="text"
			       class="form-control"
			       id="payok_key"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->payok_key}}"
			       placeholder="Секретный ключ">
		</div>
		<div id="edit_payok_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/Payok">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<table>
				<tr>
					<td style="text-align: right">URL оповещения:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?payok=pay</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL успешной оплаты:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=success</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL неуспешной оплаты:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=fail</b>
					</td>
				</tr>
			</table>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			PayPalych
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->paypalych == 1)} active {/if}"
				       onclick="change_value('config__bank','paypalych','1','1');">
					<input type="radio">
					Включить
				</label>
				<label class="btn btn-default {if($merchants->paypalych == 2)} active {/if}"
				       onclick="change_value('config__bank','paypalych','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-23-12" type="button"
				        onclick="editPayPalychPaymentSystem();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="paypalych_id"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->paypalych_id}}"
			       placeholder="Shop ID">
			<input type="text"
			       class="form-control"
			       id="paypalych_key"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->paypalych_key}}"
			       placeholder="Токен">
		</div>
		<div id="edit_paypalych_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/PayPalych">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<table>
				<tr>
					<td style="text-align: right">Result URL:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?paypalych=pay</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">Success URL:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=success</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">Fail URL:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=fail</b>
					</td>
				</tr>
			</table>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			PrimePayments
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->primepayments == 1)} active {/if}"
				       onclick="change_value('config__bank','primepayments','1','1');">
					<input type="radio">
					Включить
				</label>
				<label class="btn btn-default {if($merchants->primepayments == 2)} active {/if}"
				       onclick="change_value('config__bank','primepayments','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-40-12" type="button"
				        onclick="editPrimePaymentsPaymentSystem();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="primepayments_id"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->primepayments_id}}"
			       placeholder="ID проекта">
			<input type="text"
			       class="form-control"
			       id="primepayments_key"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->primepayments_key}}"
			       placeholder="Секретный слово">
			<input type="text"
			       class="form-control"
			       id="primepayments_key_2"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->primepayments_key_2}}"
			       placeholder="Секретный слово 2">
		</div>
		<div id="edit_primepayments_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/PrimePayments">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<table>
				<tr>
					<td style="text-align: right">URL скрипта-обработчика:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?primepayments=pay</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL редиректа после успешной оплаты:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=success</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL редиректа после отмены оплаты:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=fail</b>
					</td>
				</tr>
			</table>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			Lava
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->lava == 1)} active {/if}"
				       onclick="change_value('config__bank','lava','1','1');">
					<input type="radio">
					Включить
				</label>
				<label class="btn btn-default {if($merchants->lava == 2)} active {/if}"
				       onclick="change_value('config__bank','lava','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-40-12" type="button"
				        onclick="editLavaPaymentSystem();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="lava_id"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->lava_id}}"
			       placeholder="ID проекта">
			<input type="text"
			       class="form-control"
			       id="lava_key"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->lava_key}}"
			       placeholder="Секретный ключ">
			<input type="text"
			       class="form-control"
			       id="lava_key_2"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->lava_key_2}}"
			       placeholder="Дополнительный ключ">
		</div>
		<div id="edit_lava_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/Lava">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<table>
				<tr>
					<td style="text-align: right">URL Webhook:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?lava=pay</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL успешной оплаты:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=success</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL неудачной оплаты:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=fail</b>
					</td>
				</tr>
			</table>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			ЮMoney
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->ya == 1)} active {/if}"
				       onclick="change_value('config__bank','ya','1','1','ya_num,ya_key');">
					<input type="radio">
					Включить
				</label>

				<label class="btn btn-default {if($merchants->ya == 2)} active {/if}"
				       onclick="change_value('config__bank','ya','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
					<span class="input-group-btn">
						<button class="btn btn-default pd-23-12" type="button"
						        onclick="edit_yandexmoney();">
							Изменить
						</button>
					</span>
			<input type="text"
			       class="form-control"
			       id="ya_num"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->ya_num}}"
			       placeholder="Ваш кошелек">
			<input type="text"
			       class="form-control"
			       id="ya_key"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->ya_key}}"
			       placeholder="Секретный ключ">
		</div>
		<div id="edit_yandexmoney_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/yoomoney">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<p>URL для уведомлений:
				<b>{full_site_host}purse?result_ya=get</b></p>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			Qiwi (через API кошелька)
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons" id="liqpayTrigger">
				<label class="btn btn-default {if($merchants->qw_new == 1)} active {/if}"
				       onclick="change_value('config__bank','qw_new','1','1');">
					<input type="radio">
					Включить
				</label>
				<label class="btn btn-default {if($merchants->qw_new == 2)} active {/if}"
				       onclick="change_value('config__bank','qw_new','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-23-12" type="button"
				        onclick="editQiwiNewPaymentSystem();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="qw_new_id"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->qw_new_id}}"
			       placeholder="Номер кошелька: +7999999999">
			<input type="text"
			       class="form-control"
			       id="qw_new_key"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->qw_new_key}}"
			       placeholder="Информационный токен API">
		</div>
		<div id="edit_qw_new_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5 class="mb-0 pd-0">
				<a target="_blank" href="https://gamecms.ru/wiki/QiwiNew">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			ЮKassa
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->yookassa == 1)} active {/if}"
				       onclick="change_value('config__bank','yookassa','1','1');">
					<input type="radio">
					Включить
				</label>
				<label class="btn btn-default {if($merchants->yookassa == 2)} active {/if}"
				       onclick="change_value('config__bank','yookassa','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-23-12" type="button"
				        onclick="editYooKassaPaymentSystem();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="yookassa_id"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->yookassa_id}}"
			       placeholder="ID магазина">
			<input type="text"
			       class="form-control"
			       id="yookassa_key"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->yookassa_key}}"
			       placeholder="Секретный ключ">
		</div>
		<div id="edit_yookassa_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/YooKassa">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<table>
				<tr>
					<td style="text-align: right">URL оповещения:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?yookassa=pay</b></td>
				</tr>
			</table>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			UnitPay
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->up == 1)} active {/if}"
				       onclick="change_value('config__bank','up','1','1','up_type,up_pass1,up_pass2');">
					<input type="radio">
					Включить
				</label>

				<label class="btn btn-default {if($merchants->up == 2)} active {/if}"
				       onclick="change_value('config__bank','up','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-40-12" type="button"
				        onclick="edit_unitpay();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="up_pass1"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->up_pass1}}"
			       placeholder="PUBLIC KEY">
			<input type="text"
			       class="form-control"
			       id="up_pass2"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->up_pass2}}"
			       placeholder="SECRET KEY">
			<select class="form-control" id="up_type">
				<option value="1" {if($merchants->up_type == '1')} selected {/if}>
					Способ работы: физ. лицо
				</option>
				<option value="2" {if($merchants->up_type == '2')} selected {/if}>
					Способ работы: самозанятый / ИП / юр. лицо
				</option>
			</select>
		</div>
		<div id="edit_unitpay_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/UnitPay">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<table>
				<tr>
					<td style="text-align: right">Result URL:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse</b></td>
				</tr>
				<tr>
					<td style="text-align: right">Success URL:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=success</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">Fail URL:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=fail</b>
					</td>
				</tr>
			</table>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			RoboKassa
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->rb == 1)} active {/if}"
				       onclick="change_value('config__bank','rb','1','1','rb_login,rb_pass1,rb_pass2');">
					<input type="radio">
					Включить
				</label>

				<label class="btn btn-default {if($merchants->rb == 2)} active {/if}"
				       onclick="change_value('config__bank','rb','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-40-12" type="button" onclick="edit_robokassa();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="rb_login"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->rb_login}}"
			       placeholder="Логин">
			<input type="text"
			       class="form-control"
			       id="rb_pass1"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->rb_pass1}}"
			       placeholder="Пароль 1">
			<input type="text"
			       class="form-control"
			       id="rb_pass2"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->rb_pass2}}"
			       placeholder="Пароль 2">
		</div>
		<div id="edit_robokassa_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/RoboKassa">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<table>
				<tr>
					<td style="text-align: right">Result URL:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result_rb=get</b></td>
				</tr>
				<tr>
					<td style="text-align: right">Success URL:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=success</b></td>
				</tr>
				<tr>
					<td style="text-align: right">Fail URL:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=fail</b></td>
				</tr>
			</table>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			PayAnyWay
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->payanyway == 1)} active {/if}"
				       onclick="change_value('config__bank','payanyway','1','1');">
					<input type="radio">
					Включить
				</label>
				<label class="btn btn-default {if($merchants->payanyway == 2)} active {/if}"
				       onclick="change_value('config__bank','payanyway','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
					<span class="input-group-btn">
						<button class="btn btn-default pd-23-12" type="button"
						        onclick="editPayAnyWayPaymentSystem();">
							Изменить
						</button>
					</span>
			<input type="text"
			       class="form-control"
			       id="payanyway_id"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->payanyway_id}}"
			       placeholder="ID Бизнес-счёта">
			<input type="text"
			       class="form-control"
			       id="payanyway_code"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->payanyway_code}}"
			       placeholder="Код проверки целостности данных">
		</div>
		<div class="mt-10">
			<b>Печать чека</b>
			<div class="form-group">
				<div class="btn-group" data-toggle="buttons">
					<label class="btn btn-default {if($merchants->payanyway_mode == 1)} active {/if}"
					       onclick="change_value('config__bank','payanyway_mode','1','1');">
						<input type="radio">
						Включить
					</label>

					<label class="btn btn-default {if($merchants->payanyway_mode == 2)} active {/if}"
					       onclick="change_value('config__bank','payanyway_mode','2','1');">
						<input type="radio">
						Выключить
					</label>
				</div>
			</div>
		</div>
		<div id="edit_payanyway_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/PayAnyWay">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<table>
				<tr>
					<td style="text-align: right">URL оповещения:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?payanyway=pay</b></td>
				</tr>
			</table>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			WebMoney
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->wb == 1)} active {/if}"
				       onclick="change_value('config__bank','wb','1','1','wb_login,wb_pass1,wb_num');">
					<input type="radio">
					Включить
				</label>

				<label class="btn btn-default {if($merchants->wb == 2)} active {/if}"
				       onclick="change_value('config__bank','wb','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-40-12" type="button"
				        onclick="edit_webmoney();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="wb_login"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->wb_login}}"
			       placeholder="Наименование">
			<input type="text"
			       class="form-control"
			       id="wb_pass1"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->wb_pass1}}"
			       placeholder="Пароль">
			<input type="text"
			       class="form-control"
			       id="wb_num"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->wb_num}}"
			       placeholder="Ваш кошелек">
		</div>
		<div id="edit_webmoney_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/WebMoney">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<table>
				<tr>
					<td style="text-align: right">Result URL:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result_wb=get</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">Success URL:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=success</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">Fail URL:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=fail</b>
					</td>
				</tr>
			</table>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			InterKassa
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->ik == 1)} active {/if}"
				       onclick="change_value('config__bank','ik','1','1','ik_login,ik_pass1');">
					<input type="radio">
					Включить
				</label>

				<label class="btn btn-default {if($merchants->ik == 2)} active {/if}"
				       onclick="change_value('config__bank','ik','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-23-12" type="button"
				        onclick="edit_interkassa();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="ik_login"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->ik_login}}"
			       placeholder="ID кассы">
			<input type="text"
			       class="form-control"
			       id="ik_pass1"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->ik_pass1}}"
			       placeholder="Секретный ключ">
		</div>
		<div id="edit_interkassa_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/InterKassa">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<table>
				<tr>
					<td style="text-align: right">URL оповещения:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result_ik=get</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL успеха:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=success</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL ожидания:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=success</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL ошибки:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=fail</b>
					</td>
				</tr>
			</table>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			LiqPay
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons" id="liqpayTrigger">
				<label class="btn btn-default {if($merchants->lp == 1)} active {/if}"
				       onclick="change_value('config__bank','lp','1','1');">
					<input type="radio">
					Включить
				</label>
				<label class="btn btn-default {if($merchants->lp == 2)} active {/if}"
				       onclick="change_value('config__bank','lp','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-23-12" type="button"
				        onclick="editLiqPayPaymentSystem();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="lp_public_key"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->lp_public_key}}"
			       placeholder="Публичный ключ">
			<input type="text"
			       class="form-control"
			       id="lp_private_key"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->lp_private_key}}"
			       placeholder="Секретный ключ">
		</div>
		<div id="edit_liqpay_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/LiqPay">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<table>
				<tr>
					<td style="text-align: right">URL скрипта:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result_lp=get</b>
					</td>
				</tr>
			</table>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			WalletOne
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->wo == 1)} active {/if}"
				       onclick="change_value('config__bank','wo','1','1','wo_login,wo_pass');">
					<input type="radio">
					Включить
				</label>

				<label class="btn btn-default {if($merchants->wo == 2)} active {/if}"
				       onclick="change_value('config__bank','wo','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-23-12" type="button"
				        onclick="edit_walletone();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="wo_login"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->wo_login}}"
			       placeholder="ID кассы">
			<input type="text"
			       class="form-control"
			       id="wo_pass"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->wo_pass}}"
			       placeholder="Секретный ключ">
		</div>
		<div id="edit_walletone_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/WalletOne">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<table>
				<tr>
					<td style="text-align: right">URL скрипта:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result_wo=get</b>
					</td>
				</tr>
			</table>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			Enot
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->enot == 1)} active {/if}"
				       onclick="change_value('config__bank','enot','1','1');">
					<input type="radio">
					Включить
				</label>
				<label class="btn btn-default {if($merchants->enot == 2)} active {/if}"
				       onclick="change_value('config__bank','enot','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-40-12" type="button"
				        onclick="editEnotPaymentSystem();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="enot_id"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->enot_id}}"
			       placeholder="ID проекта">
			<input type="text"
			       class="form-control"
			       id="enot_key"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->enot_key}}"
			       placeholder="Секретный ключ">
			<input type="text"
			       class="form-control"
			       id="enot_key2"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->enot_key2}}"
			       placeholder="Секретный ключ 2">
		</div>
		<div id="edit_enot_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/Enot">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<table>
				<tr>
					<td style="text-align: right">URL оповещения:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?enot=pay</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL успешной оплаты:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=success</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL неуспешной оплаты:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=fail</b>
					</td>
				</tr>
			</table>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			Qiwi (через API P2P-счетов)
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons" id="qiwiTrigger">
				<label class="btn btn-default {if($merchants->qw == 1)} active {/if}"
				       onclick="onQiwiPaymentSystem();">
					<input type="radio">
					Включить
				</label>
				<label class="btn btn-default {if($merchants->qw == 2)} active {/if}"
				       onclick="change_value('config__bank','qw','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default" type="button"
				        onclick="editQiwiPaymentSystem();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="qw_pass"
			       maxlength="300"
			       autocomplete="off"
			       value="{{$merchants->qw_pass}}"
			       placeholder="Секретный ключ">
		</div>
		<div id="edit_qiwi_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/QIWI">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<p>URL уведомлений:
				<b>{full_site_host}purse?result_qw=get</b></p>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			FreeKassa (для мерчантов зарегистрированных до 01.08.2021)
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->fk == 1)} active {/if}"
				       onclick="change_value('config__bank','fk','1','1','fk_login,fk_pass1,fk_pass2');">
					<input type="radio">
					Включить
				</label>

				<label class="btn btn-default {if($merchants->fk == 2)} active {/if}"
				       onclick="change_value('config__bank','fk','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-40-12" type="button"
				        onclick="edit_freekassa();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="fk_login"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->fk_login}}"
			       placeholder="ID магазина">
			<input type="text"
			       class="form-control"
			       id="fk_pass1"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->fk_pass1}}"
			       placeholder="Секретное слово">
			<input type="text"
			       class="form-control"
			       id="fk_pass2"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->fk_pass2}}"
			       placeholder="Секретное слово 2">
		</div>
		<div id="edit_freekassa_result"></div>
		<div class="bs-callout bs-callout-info mt-10">
			<h5>
				<a target="_blank" href="https://gamecms.ru/wiki/FreeKassa">
					<span class="glyphicon glyphicon-link"></span> Нажмите для перехода к инструкции
				</a>
			</h5>
			<table>
				<tr>
					<td style="text-align: right">URL оповещения:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=get</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL успеха:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=success</b>
					</td>
				</tr>
				<tr>
					<td style="text-align: right">URL ошибки:</td>
					<td>&nbsp&nbsp<b>{full_site_host}purse?result=fail</b>
					</td>
				</tr>
			</table>
		</div>
	</div>

	<div class="block">
		<div class="block_head">
			Paysera
		</div>
		<div class="form-group mb-10">
			<div class="btn-group" data-toggle="buttons">
				<label class="btn btn-default {if($merchants->ps == 1)} active {/if}"
				       onclick="change_value('config__bank','ps','1','1','ps_num,ps_pass');">
					<input type="radio">
					Включить
				</label>

				<label class="btn btn-default {if($merchants->ps == 2)} active {/if}"
				       onclick="change_value('config__bank','ps','2','1');">
					<input type="radio">
					Выключить
				</label>
			</div>
		</div>
		<div class="input-group">
			<span class="input-group-btn">
				<button class="btn btn-default pd-23-12" type="button"
				        onclick="edit_paysera();">
					Изменить
				</button>
			</span>
			<input type="text"
			       class="form-control"
			       id="ps_num"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->ps_num}}"
			       placeholder="Номер проекта">
			<input type="text"
			       class="form-control"
			       id="ps_pass"
			       maxlength="255"
			       autocomplete="off"
			       value="{{$merchants->ps_pass}}"
			       placeholder="Пароль проекта">
		</div>
		<div id="edit_paysera_result"></div>

		<div class="row mt-10">
			<div class="col-md-4">
				<b>Тестовый режим</b>
				<div class="form-group">
					<div class="btn-group" data-toggle="buttons">
						<label class="btn btn-default {if($merchants->ps_test == 1)} active {/if}"
						       onclick="change_value('config__bank','ps_test','1','1');">
							<input type="radio">
							Включить
						</label>

						<label class="btn btn-default {if($merchants->ps_test != 1)} active {/if}"
						       onclick="change_value('config__bank','ps_test','0','1');">
							<input type="radio">
							Выключить
						</label>
					</div>
				</div>
			</div>
			<div class="col-md-4">
				<b> Валюта </b>
				<div class="form-group">
					<div class="btn-group" data-toggle="buttons">
						<label class="btn btn-default {if($merchants->ps_currency == 'RUB')} active {/if}"
						       onclick="change_value('config__bank','ps_currency','RUB','1');">
							<input type="radio">
							RUB
						</label>

						<label class="btn btn-default {if($merchants->ps_currency == 'USD')} active {/if}"
						       onclick="change_value('config__bank','ps_currency','USD','1');">
							<input type="radio">
							USD
						</label>

						<label class="btn btn-default {if($merchants->ps_currency == 'EUR')} active {/if}"
						       onclick="change_value('config__bank','ps_currency','EUR','1');">
							<input type="radio">
							EUR
						</label>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>