Файл: pay.php
Строк: 44
<?php
# Автор: IvanDanilov (wapcoder.ru)
include 'inc/inc.php'; # Подключаем конфиг
include 'inc/head.php'; # Подключаем шапку
echo'<div class="Раздел">Покупка билета</div>';
echo'<form method="post" action="https://merchant.webmoney.ru/lmi/payment.asp">';
echo'<div class="Текст"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><th width="35%">';
echo'<center>Кол-во билетов</center></th><th width="55%"><input value="'.floor($_POST['Билеты']).' шт." type="text" readonly></th></tr>';
echo'<tr><th width="35%"><center>Цена билетов</center></th><th width="55%"><input value="'.floor($_POST['Билеты']) * $ЦенаБилета.' руб." type="text" readonly></th></tr></tbody></table>';
echo'<input value="'.$ОплатаКошелек.'" name="LMI_PAYEE_PURSE" type="hidden">';
echo'<input value="'.floor($_POST['Билеты']) * $ЦенаБилета.'" name="LMI_PAYMENT_AMOUNT" type="hidden">';
echo'<input value="Participation in the lottery" name="LMI_PAYMENT_DESC" type="hidden">';
echo'<input value="'.time().'" name="LMI_PAYMENT_NO" type="hidden">';
echo'<input value="0" name="LMI_SIM_MODE" type="hidden">';
echo'<center><input value="Купить" type="submit"></center></div></form>';
include 'inc/foot.php'; # Подключаем ноги
?>