$contact_name = null;
if (!isset($f_ContactName)) {
if (isset($current_user['Name']) || isset($current_user['Login'])) {
$contact_name = $current_user['Name'] ? $current_user['Name'] : $current_user['Login'];
} else {
if (isset($_COOKIE['Order_ContactName'])) {
$contact_name = $_COOKIE['Order_ContactName'];
}
}
}
$contact_email = null;
if (!isset($f_Email)) {
if (isset($current_user['Email'])) {
$contact_email = $current_user['Email'];
} else {
if (isset($_COOKIE['Order_Email'])) {
$contact_email = $_COOKIE['Order_Email'];
}
}
}
$contact_phone = null;
if (!isset($f_Phone)) {
if (isset($_COOKIE['Order_Phone'])) {
$contact_phone = $_COOKIE['Order_Phone'];
}
}
?>