source: temp/trunk/html/shopping/load_payment_module.php @ 7566

Revision 7566, 1.1 KB checked in by kakinaka, 20 years ago (diff)

blank

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<?php
2/*
3 * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved.
4 *
5 * http://www.lockon.co.jp/
6 */
7require_once("../require.php");
8require_once(DATA_PATH . "module/Request.php");
9
10//$objPage = new LC_Page();
11$objView = new SC_SiteView();
12$objSiteSess = new SC_SiteSession();
13$objCartSess = new SC_CartSession();
14$objSiteInfo = $objView->objSiteInfo;
15$arrInfo = $objSiteInfo->data;
16
17// ¥Ñ¥é¥á¡¼¥¿´ÉÍý¥¯¥é¥¹
18$objFormParam = new SC_FormParam();
19// ¥Ñ¥é¥á¡¼¥¿¾ðÊó¤Î½é´ü²½
20//lfInitParam();
21// POSTÃͤμèÆÀ
22$objFormParam->setParam($_POST);
23
24// ¥¢¥¯¥»¥¹¤ÎÀµÅöÀ­¤ÎȽÄê
25$uniqid = sfCheckNormalAccess($objSiteSess, $objCartSess);
26
27
28if($_GET['module_id'] != ""){
29    $module_id = $_GET['module_id'];
30}elseif($_POST['module_id'] != ""){
31    $module_id = $_POST['module_id'];
32}
33
34if(is_numeric($module_id)) {
35    $objQuery = new SC_Query();
36    $arrRet = $objQuery->select("main_php", "dtb_module", "module_id = ?", array($module_id));
37    $path = MODULE_PATH . $arrRet[0]['main_php'];
38    if(file_exists($path)) {
39        require_once($path);
40        exit;
41    } else {
42        print("¥â¥¸¥å¡¼¥ë¤Î¼èÆÀ¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£:".$path);
43    }
44}
45
46sfprintr($_SESSION);
47
48?>
Note: See TracBrowser for help on using the repository browser.