$val) {
if(is_array($_POST[$key])) {
foreach($_POST[$key] as $array_key => $array_val) {
$FORM[$key][$array_key] = $array_val;
if($_SESSION['YadoNo'] != '' && $mode == 'resv_estimate') {
$_SESSION[$key][$array_key] = $array_val;
}
}//while
} else {
$FORM[$key] = $val;
if($_SESSION['YadoNo'] != '' && $mode == 'resv_estimate') {
$_SESSION[$key] = $val;
}
}
}
foreach($_GET as $key => $val) {
$FORM[$key] = $val;
if(isset($_SESSION['YadoNo']) && $_SESSION['YadoNo'] != '' && $mode == 'resv_estimate') {
$_SESSION[$key] = $val;
}
}
//HTTP_POST_FILES
if(!isset($HTTP_POST_FILES)) {
$HTTP_POST_FILES = array();
}
foreach($HTTP_POST_FILES as $key => $val) {
$Va[$key] = $val;
}
$s->cal($FORM);
exit;
?>