first commit
This commit is contained in:
14
views/templates/front/hutko.tpl
Normal file
14
views/templates/front/hutko.tpl
Normal file
@@ -0,0 +1,14 @@
|
||||
{*
|
||||
* Hutko - Платіжний сервіс, який рухає бізнеси вперед.
|
||||
*
|
||||
* Запускайтесь, набирайте темп, масштабуйтесь – ми підстрахуємо всюди.
|
||||
*
|
||||
* @author panariga
|
||||
* @copyright 2025 Hutko
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*}
|
||||
|
||||
<p class="payment_module">
|
||||
<img src="{$hutko_logo_path}" width="150" height="50" alt="Hutko logo"/><br/>
|
||||
{$hutko_description|escape:'htmlall'}
|
||||
</p>
|
||||
20
views/templates/front/index.php
Normal file
20
views/templates/front/index.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* Hutko - Платіжний сервіс, який рухає бізнеси вперед.
|
||||
*
|
||||
* Запускайтесь, набирайте темп, масштабуйтесь – ми підстрахуємо всюди.
|
||||
*
|
||||
* @author panariga
|
||||
* @copyright 2025 Hutko
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
29
views/templates/front/redirect.tpl
Normal file
29
views/templates/front/redirect.tpl
Normal file
@@ -0,0 +1,29 @@
|
||||
{*
|
||||
* Hutko - Платіжний сервіс, який рухає бізнеси вперед.
|
||||
*
|
||||
* Запускайтесь, набирайте темп, масштабуйтесь – ми підстрахуємо всюди.
|
||||
*
|
||||
* @author panariga
|
||||
* @copyright 2025 Hutko
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*}
|
||||
|
||||
{extends "$layout"}
|
||||
|
||||
{block name="content"}
|
||||
|
||||
{l s='You will be redirected to the website in a few seconds.' d='Modules.Hutko.Shop'}
|
||||
<div class="form-group">
|
||||
<form id="hutko_redirect" method="POST" action="{$hutko_url}" accept-charset="utf-8">
|
||||
|
||||
{foreach from=$hutko_inputs item=item key=key name=name}
|
||||
<input type="hidden" name="{$key|escape:'htmlall'}" value="{$item|escape:'htmlall'}" />
|
||||
{/foreach}
|
||||
<button class="btn btn-primary"
|
||||
type="submit">{l s='Go to payment (if auto redirect doesn`t work)' d='Modules.Hutko.Shop'}</button>
|
||||
</form>
|
||||
<div>
|
||||
<script>
|
||||
document.getElementById("hutko_redirect").submit();
|
||||
</script>
|
||||
{/block}
|
||||
Reference in New Issue
Block a user