Revision 15099,
1.2 KB
checked in by Yammy, 17 years ago
(diff) |
UTF-8変換済みファイルインポート
1.3.4ベース
|
Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. |
---|
4 | * |
---|
5 | * http://www.lockon.co.jp/ |
---|
6 | */ |
---|
7 | require_once("../require.php"); |
---|
8 | |
---|
9 | $objSiteSess = new SC_SiteSession(); |
---|
10 | $objCartSess = new SC_CartSession(); |
---|
11 | $objQuery = new SC_Query(); |
---|
12 | |
---|
13 | // 前のページで正しく登録手続きが行われた記録があるか判定 |
---|
14 | sfIsPrePage($objSiteSess); |
---|
15 | |
---|
16 | // アクセスの正当性の判定 |
---|
17 | $uniqid = sfCheckNormalAccess($objSiteSess, $objCartSess); |
---|
18 | |
---|
19 | $payment_id = $_SESSION["payment_id"]; |
---|
20 | |
---|
21 | // 支払いIDが無い場合にはエラー |
---|
22 | if($payment_id == ""){ |
---|
23 | sfDispSiteError(PAGE_ERROR, "", true); |
---|
24 | } |
---|
25 | |
---|
26 | // 決済情報を取得する |
---|
27 | if(sfColumnExists("dtb_payment", "memo01")){ |
---|
28 | $sql = "SELECT module_path, memo01, memo02, memo03, memo04, memo05, memo06, memo07, memo08, memo09, memo10 FROM dtb_payment WHERE payment_id = ?"; |
---|
29 | $arrPayment = $objQuery->getall($sql, array($payment_id)); |
---|
30 | } |
---|
31 | |
---|
32 | if(count($arrPayment) > 0) { |
---|
33 | $path = $arrPayment[0]['module_path']; |
---|
34 | if(file_exists($path)) { |
---|
35 | require_once($path); |
---|
36 | exit; |
---|
37 | } else { |
---|
38 | sfDispSiteError(FREE_ERROR_MSG, "", true, "モジュールファイルの取得に失敗しました。<br />この手続きは無効となりました。"); |
---|
39 | } |
---|
40 | } |
---|
41 | |
---|
42 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.