Доброго дня!Магазин ocStore 2.3.0.2.2 Нужно вставить исполняемый код на страницу success.tplКод для целевой страницы (учет заказов)<?php session_start(); // Этот код добавляем на целевую страницу if (isset($_SESSION['code'])) { if (isset($_POST['name'])) {$name=htmlentities($_POST['name']);} else {$name='';} if (isset($_POST['phone'])) {$phone=htmlentities($_POST['phone']);} else {$phone='';} if (isset($_POST['email'])) {$email=htmlentities($_POST['email']);} else {$email='';} if (isset($_POST['address'])) {$address=htmlentities($_POST['address']);} else {$address='';} if (isset($_POST['kolvo'])) {$kolvo=htmlentities($_POST['kolvo']);} else {$kolvo='';} if (isset($_POST['cena'])) {$cena=htmlentities($_POST['cena']);} else {$cena='';} if (isset($_POST['artikul'])) {$artikul=htmlentities($_POST['artikul']);} else {$artikul='';} $url = 'http://stat.cpainside.com'; $data = array ( 'code' => htmlentities($_SESSION['code']), 'name' => $name, 'phone' => $phone, 'email' => $email, 'address' => $address, 'kolvo' => $kolvo, 'cena' => $cena, 'artikul' => $artikul, ); $options = array ('http' => array ('header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($data))); $context = stream_context_create($options); $result = file_get_contents($url, false, $context); if ($result === FALSE) {echo 'Соединение неудачно.';} }