Телефон:

7-916-378-88-88

E-mail:

td-evrookna@mail.ru

Добавить

0)?’ x ‘.$_POST[‘door_height’]:»);
else $descript .= $_POST[‘door_height’].’ x ‘.$_POST[‘window_width’];
$descript .= ‘. Ширина створок: ‘;
foreach ($widths as $i=>$wid) {
if ($i>0) $descript .= ‘, ‘;
$descript .= ($i+1).» — $wid мм»;
}
include_once(‘calculator/calc/price.php’);
$descript .= ‘. Тип профиля — ‘.iconv(«UTF-8», «CP1251», $_POST[‘ptype’]).’, тип стеклопакета — ‘.iconv(«UTF-8», «CP1251», $_POST[‘ncam’]) ;
$descript .= ‘, подоконник — ‘.($_POST[‘wpod’]>0?$_POST[‘wpod’].’ мм’:’нет’).’, отлив — ‘.($_POST[‘wotl’]>0?$_POST[‘wotl’].’ мм’:’нет’).’. ‘;
$descript .= $montage[$_POST[‘montg’]][‘mname’].’. ‘;
$descript .= ‘ Откос — ‘.($_POST[‘wotk’]>0?$_POST[‘wotk’].’ мм’:’нет’).’. ‘;
$_SESSION[‘window_attr’][$nomerwindow][‘descript’] = $descript;
$_SESSION[‘window_attr’][$nomerwindow][‘kol’] = 1;
$_SESSION[‘window_attr’][$nomerwindow][‘price’] = $_POST[‘price’];
$_SESSION[‘window_attr’][$nomerwindow][‘summa’] = $_POST[‘price’];
if ($wintype!=’constr4′) {
$_SESSION[‘window_attr’][$nomerwindow][‘window_height’] = $_POST[‘window_height’];
if (isset($_POST[‘door_height’])) $_SESSION[‘window_attr’][$nomerwindow][‘door_height’] = $_POST[‘door_height’];
} else {
if ($_POST[‘door_height’]>0)
$_SESSION[‘window_attr’][$nomerwindow][‘window_height’] = $_POST[‘door_height’];
}
$_SESSION[‘window_attr’][$nomerwindow][‘window_width’] = $window_width;
$_SESSION[‘window_attr’][$nomerwindow][‘pic’] = explode(‘;’,$_POST[‘picts’]);
$_SESSION[‘window_attr’][$nomerwindow][‘setka’] = explode(‘;’,$_POST[‘setki’]);
}

?>