63 lines
1.2 KiB
PHP
63 lines
1.2 KiB
PHP
|
|
<?php
|
||
|
|
|
||
|
|
require_once($_SERVER['DOCUMENT_ROOT']."/config.php");
|
||
|
|
require_once($_SERVER['DOCUMENT_ROOT']."/engine/functions.php");
|
||
|
|
|
||
|
|
if(!$_SESSION['id']) { header("location:index.php"); die("Доступ запрещён!");}
|
||
|
|
|
||
|
|
$get = clearInputData($_GET);
|
||
|
|
|
||
|
|
$active == "settings";
|
||
|
|
|
||
|
|
require($_SERVER['DOCUMENT_ROOT']."/templates/new-header.php");
|
||
|
|
|
||
|
|
$f1=file("https://joywork.ru/template_mail/successpay.html");
|
||
|
|
$text = implode("",$f1);
|
||
|
|
|
||
|
|
$text = str_replace("<%name%>", $_SESSION['fio'], $text);
|
||
|
|
|
||
|
|
mailClientFromJoywork($_SESSION['email'],"Успешная оплата на сайте ".$_SERVER['SERVER_NAME'], $text);
|
||
|
|
|
||
|
|
?>
|
||
|
|
|
||
|
|
<script type="text/javascript" src="/js/formstyler.js"></script>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<script>
|
||
|
|
|
||
|
|
(function($) {
|
||
|
|
|
||
|
|
$(function() {
|
||
|
|
|
||
|
|
$('.select').styler();
|
||
|
|
|
||
|
|
});
|
||
|
|
|
||
|
|
})(jQuery);
|
||
|
|
|
||
|
|
</script>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<div class="content-right">
|
||
|
|
|
||
|
|
<div class="inner">
|
||
|
|
|
||
|
|
<div class="main-title">
|
||
|
|
|
||
|
|
<h1>Оплата</h1>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="success">
|
||
|
|
<h2><i class="ti-check"></i></h2>
|
||
|
|
<h3>Платёж успешно принят</h3>
|
||
|
|
<a href="/main.php"><button class="big-button">Готово</button></a>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<?php require($_SERVER['DOCUMENT_ROOT']."/templates/footer.php"); ?>
|