*/ /** * PCログイン後情報処理ファイル。 * * @copyright 2010 Fraise, Inc. * @author Norihisa Hosoda */ require_once D_BASE_DIR . "/common/post_common.php"; $param = $requestOBJ->getParameterExcept($exceptArray); $infoStatusOBJ = InformationStatus::getInstance(); $InfoStatusLogOBJ = InformationStatusLog::getInstance(); $userBankData = $UserOBJ->getBankDetailData($comUserData["user_id"]); $userAddressData = $UserOBJ->getAddressDetailData($comUserData["user_id"]); //フリーワード関連 $freeWordOBJ = new FreeWord(); $userFreeWordData = $freeWordOBJ->getFreeWordData($comUserData["user_id"]); $freeWordSetDataList = $freeWordOBJ->getFreeWordSetDataList(); $freeWordSetDisplayData = $freeWordOBJ->getFreeWordSetDisplayData($freeWordSetDataList); if ($freeWordSetDisplayData) { foreach ($freeWordSetDisplayData as $key => $val) { $smartyOBJ->assign("freeWord_2_" . $key, $val); } } if ($param["isid"]) { //情報の取得 if ($infoStatusData = $infoStatusOBJ->getInformationStatusData(array("isid" => $param["isid"]), $comUserData)) { // 既読表示情報チェック if ($infoStatusData["redirect_information_id"]) { $redirectInfomationId = ""; $redirectInfomationId = explode(",", $infoStatusData["redirect_information_id"]); foreach ($redirectInfomationId as $val) {
} } } if ($validationOBJ->isError()) { $errSessOBJ->errMsg = $validationOBJ->getErrorMessage(); header("Location: ./?action_Information=1&isid=" . $param["eisid"] . ($comURLparam ? "&" . $comURLparam : "") . "&" . $sessId); exit; } $freeWordOBJ = new FreeWord(); foreach ($freeWordAry as $key => $val) { $explodeTypeCdKey = explode("-", $key); $freeWordType = $explodeTypeCdKey[0]; $freeWordCd = $explodeTypeCdKey[1]; $val = abs($val); // フリーワード取得 データ有りアップデート ゼータ無しインサート if ($data = $freeWordOBJ->getFreeWordData($comUserData["user_id"], $freeWordType, $freeWordCd)) { $updateArray = array(); $whereArray = array(); $updateArray["free_word_value"] = $val; $updateArray["update_datetime"] = date("YmdHis"); if ($freeWordType == 2) { $freeWordSetData = $freeWordOBJ->getFreeWordSetData($freeWordType, $freeWordCd, $val); $updateArray["free_word_text"] = $freeWordSetData["free_word_text"]; } $whereArray[] = "user_id = " . $comUserData["user_id"]; $whereArray[] = "free_word_type = " . $freeWordType; $whereArray[] = "free_word_cd = " . $freeWordCd; $whereArray[] = "disable = 0 "; if (!$freeWordOBJ->updateFreeWordData($updateArray, $whereArray)) { $ComErrSessOBJ->errMsg = $freeWordOBJ->getErrorMsg; header("Location: ./?action_Error=1" . ($comURLparam ? "&" . $comURLparam : "") . "&" . $sessId);