first commit

This commit is contained in:
O K
2025-05-29 10:54:49 +03:00
commit cae15fb881
17 changed files with 1604 additions and 0 deletions

View File

@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="80"
height="18"
viewBox="0 0 211.66667 52.916666"
version="1.1"
id="svg470"
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
sodipodi:docname="drawing.svg">
<defs
id="defs464" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.49497475"
inkscape:cx="103.0113"
inkscape:cy="287.73146"
inkscape:document-units="mm"
inkscape:current-layer="g396"
showgrid="false"
units="px"
inkscape:window-width="1848"
inkscape:window-height="1016"
inkscape:window-x="72"
inkscape:window-y="27"
inkscape:window-maximized="1" />
<metadata
id="metadata467">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-244.08334)">
<g
id="g396"
transform="matrix(0.05940458,0,0,-0.05940458,-41.5994,95.616925)">
<path
d="m 1841.8697,-2678.1649 c 54.2854,0 98.151,-12.1225 125.7888,-23.0618 l -19.0531,-117.2041 -12.6901,5.7593 c -25.3678,10.9878 -58.8616,21.9269 -104.4658,20.7919 -55.3723,0 -80.1845,-23.6775 -80.7884,-46.7876 0,-25.3678 30.0406,-42.1147 79.086,-66.9753 80.8004,-38.6736 118.2907,-85.9778 117.7232,-147.764 -1.1229,-112.5772 -96.9193,-185.3626 -244.0796,-185.3626 -62.9065,0.6132 -123.5188,13.9238 -156.4451,28.9176 l 19.6205,121.7789 18.4977,-8.6306 c 45.6043,-20.2388 75.5965,-28.8706 131.5842,-28.8706 40.3763,0 83.6741,16.7492 84.2419,53.1132 0,23.681 -18.4494,40.9809 -72.735,67.5442 -53.054,25.9836 -124.0381,69.2816 -122.9031,147.2444 0.6037,105.6492 98.1389,179.5071 236.6179,179.5071 z m -522.8242,-552.4916 h 140.2295 l 87.7188,542.6874 h -140.2174 z m 835.0624,192.2487 c 11.5549,31.1707 55.976,151.8182 55.976,151.8182 -0.2294,-0.4709 1.6057,4.6245 4.3467,12.2192 4.0086,11.1807 9.9974,27.7344 14.1026,39.7602 l 9.8041,-46.7874 c 0,0 26.5512,-129.8952 32.3105,-157.0102 z m 173.0954,350.4387 h -108.4864 c -33.4335,0 -58.8617,-9.8163 -73.2903,-45.049 l -208.328,-497.6384 h 147.1481 c 0,0 24.2449,66.9791 29.4367,81.4065 h 180.0746 c 4.0569,-19.0545 16.7468,-81.4065 16.7468,-81.4065 h 129.8458 z m -1125.362,0 -137.3438,-370.0594 -14.9986,75.0387 -0.046,0.1461 0.046,-0.1932 -49.0418,249.4513 c -8.06544,34.6651 -32.87803,44.4814 -63.48851,45.6165 h -225.6411 l -2.30617,-10.9998 c 55.04619,-14.0543 104.23399,-34.3269 147.38952,-59.5619 l 124.99204,-471.5547 H 1129.686 l 220.4505,542.1164 z"
style="fill:#0b589f;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.20741808"
id="path424"
inkscape:connector-curvature="0" />
<path
d="m 3341.2415,-3293.9846 h 417.0313 v 686.526 h -417.0313 z"
style="fill:#ff5f00;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.20741808"
id="path426"
inkscape:connector-curvature="0" />
<path
d="m 3384.2136,-2950.776 c -0.047,66.1304 14.8027,131.3551 43.4789,190.8326 28.628,59.4291 70.3685,111.5412 121.9252,152.3882 -63.8603,50.6029 -140.6039,82.0683 -221.3923,90.7859 -80.8366,8.7778 -162.4339,-5.6145 -235.543,-41.4024 -73.1092,-35.8001 -134.6996,-91.5948 -177.8164,-161.0698 -43.105,-69.4265 -65.9734,-149.7076 -65.9734,-231.5827 0,-81.9245 22.8684,-162.2034 65.9734,-231.6298 43.1168,-69.4266 104.7072,-125.2227 177.8164,-161.0588 73.1091,-35.8024 154.7064,-50.1452 235.543,-41.4145 80.7884,8.7297 157.532,40.2312 221.3923,90.834 -51.605,40.7976 -93.2972,92.9714 -121.9734,152.4368 -28.6761,59.4798 -43.5273,124.7503 -43.4307,190.8805 z"
style="fill:#eb001b;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.20741808"
id="path428"
inkscape:connector-curvature="0" />
<path
d="m 4209.0733,-3221.3087 v 14.0555 h 5.9889 v 2.9195 h -14.2959 v -2.9195 h 5.6627 v -14.0555 z m 27.7826,0 v 16.975 h -4.3466 l -5.047,-12.1213 -5.047,12.1213 h -4.3347 v -16.975 h 3.1151 v 12.8202 l 4.721,-11.0323 h 3.2481 l 4.6726,11.0323 v -12.8202 z"
style="fill:#f79e1b;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.20741808"
id="path430"
inkscape:connector-curvature="0" />
<path
d="m 4250.4877,-2950.776 c 0,-81.9256 -22.8806,-162.2045 -66.0338,-231.631 -43.1046,-69.4265 -104.7556,-125.2697 -177.8647,-161.0576 -73.0971,-35.7515 -154.6944,-50.1464 -235.4827,-41.3636 -80.8487,8.7151 -157.58,40.2263 -221.4406,90.8812 51.5447,40.8445 93.237,92.9578 121.9132,152.4365 28.6761,59.4279 43.5878,124.6999 43.5878,190.7829 0,66.1183 -14.9117,131.355 -43.5878,190.8325 -28.6762,59.4653 -70.3685,111.5896 -121.9132,152.4365 63.8606,50.6513 140.5919,82.1045 221.4406,90.8823 80.7883,8.7297 162.3856,-5.6146 235.4827,-41.4143 73.1091,-35.8 134.7601,-91.5949 177.8647,-161.0213 43.1532,-69.4749 66.0338,-149.6957 66.0338,-231.6191 z"
style="fill:#f79e1b;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.20741808"
id="path432"
inkscape:connector-curvature="0" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.7 KiB

20
views/img/index.php Normal file
View 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;

BIN
views/img/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

20
views/index.php Normal file
View 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;

View 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>

View 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;

View 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}

20
views/templates/index.php Normal file
View 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;