if country operator echo operator setcookie sms_user country country o

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
if($country&&$operator)
{
echo $operator;
setcookie("sms_user","country:".$country."|operator:".$operator."",time()+648000000);
$d1=intval($_SESSION[shop_info][user_id]/10000);
$d2=$_SESSION[shop_info][user_id]-intval($_SESSION[shop_info][user_id]/10000)*10000;
if($DATA[0][price]){
echo '<b class="line_1"></b><b class="line_2"></b>
<p>Отправьте SMS с кодом: '.sprintf("%03d %03d %04d",1,$d1,$d2).' на номер '.$DATA[0][sn].'<br>
Стоимость SMS: '.$DATA[0][price].' руб.
</p>
';
}