Beispiel #1
0
<?php

require_once $_SERVER['DOCUMENT_ROOT'] . '/classes/stdf.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/classes/billing.php';
if (!get_uid(0)) {
    header_location_exit('/404.php');
}
$bill = new billing(get_uid(0));
$bill->setPage('success');
$js_file = array('billing.js');
$content = 'content.php';
$header = '../../header.new.php';
$footer = '../../footer.new.html';
include '../../template3.php';
Beispiel #2
0
<?php

$g_page_id = "0|27";
$new_site_css = true;
require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/stdf.php";
require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/billing.php";
require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/bar_notify.php";
$main_path = $_SERVER['DOCUMENT_ROOT'];
if (!get_uid()) {
    header('Location: /fbd.php');
    exit;
}
$content = "{$main_path}/bill/send/content.php";
$header = "{$main_path}header.new.php";
$footer = "{$main_path}footer.new.html";
$js_file = array('billing.js');
$bill = new billing(get_uid(false));
$bill->setPage('send');
include "{$main_path}/template3.php";
Beispiel #3
0
}
//После неудачной оплаты по банковской карте за верификацию закрываем окно
if ($_SESSION['quickver_is_begin'] == 1) {
    unset($_SESSION['quickver_is_begin']);
    echo '<html><body><script>window.close();</script></body></html>';
    exit;
}
$bill = new billing(get_uid(0));
$action = __paramInit('string', null, 'action', null);
// заново оплатить
if ($action === 'pay') {
    $reserveID = __paramInit('string', null, 'reserve_id', null);
    if ($reserveID) {
        $success = $bill->setReserveStatus($reserveID, billing::RESERVE_CANCEL_STATUS);
        if ($success) {
            if ($bill->updateOrderListStatus($reserveID, billing::STATUS_NEW)) {
                header_location_exit('/bill/orders/');
            }
        }
    }
}
$bill->setPage('fail');
if (!count($bill->list_service)) {
    header_location_exit('/404.php');
}
$reserveData = current($bill->list_service);
$js_file = array('billing.js');
$content = 'content.php';
$header = '../../header.new.php';
$footer = '../../footer.new.html';
include '../../template3.php';
Beispiel #4
0
<?php

$g_page_id = "0|27";
$new_site_css = true;
$print = true;
require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/stdf.php";
require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/billing.php";
$main_path = $_SERVER['DOCUMENT_ROOT'];
if (!get_uid()) {
    header('Location: /fbd.php');
    exit;
}
$content = "{$main_path}/bill/payment/print/content.php";
$header = "{$main_path}header.new.php";
$footer = "{$main_path}footer.new.html";
$js_file = array('billing.js', '/scripts/b-combo/b-combo-phonecodes.js');
$type_payment = __paramInit('string', 'type', NULL, 'webmoney');
$bill = new billing(get_uid(false));
$bill->setPage('index');
$bill->setPaymentMethod($type_payment);
if ($bill->type_menu_block == '') {
    header("Location: /403.php");
    exit;
}
include $content;