-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.php
82 lines (62 loc) · 2.21 KB
/
test.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?php
/**
* Created by PhpStorm.
* User: zhalnin
* Date: 10/08/14
* Time: 17:48
*/
define('myeshop', true);
require_once('include/Exceptions.php');
include "include/DB.php";
require_once('utility/handleData.php');
require_once('utility/pager.php');
include ('utility/groupPrice.php');
session_start();
include "include/auth-cookie.php";
try {
?>
<!DOCTYPE html>
<html>
<head>
<title>Shop</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="TrackBar/jQuery/trackbar.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-2.1.1.js"></script>
<script type="text/javascript" src="js/jcarouserllite_1.0.1.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<script type="text/javascript" src="TrackBar/jQuery/jquery.trackbar.js"></script>
<script type="text/javascript" src="js/jquery.TextChange.js"></script>
<script type="text/javascript" src="js/shop-script.js"></script>
</head>
<body>
<div id="block-body">
<!-- подключаем блок block-header-->
<?php include('include/block-header.php'); ?>
<div id="block-right">
</div>
<div id="block-content">
<div id="order-success" style="height: 200px; widht: 300px; margin: 5px auto; text-align: center;">
<p>Ваш заказ принят!</p>
<p>Через несколько минут наши специалисты свяжутся с вами по указанному номеру телефона</p>
<?php echo "<tt><pre>".print_r($_SESSION, true)."</pre></tt>"; ?>
</div>
</div><!-- end block-content -->
<?php include('include/block-footer.php');
include ('utility/getIP.php');
$paypal_email = "zhalninpal-facilitator@me.com";
$paypal_currency = 'RUB';
//$shipping = 10.00;
$shipping = 0;
$ip = getIP();
echo $ip;
?>
</div>
</body>
</html>
<?php
} catch(PDOException $ex) {
throw new Exceptions($ex);
}
?>