ここの情報は古いです。ご理解頂いた上でお取り扱いください。

source: OpenPNE/branches/work/asano/pne_album/webapp/modules/pc/page/h_review_delete_confirm.php @ 6245

Last change on this file since 6245 was 4933, checked in by ogawa, 15 years ago

#1777:ソースコード内のcopyright表記の年を2008に変更する

File size: 915 bytes
Line 
1<?php
2/**
3 * @copyright 2005-2008 OpenPNE Project
4 * @license   http://www.php.net/license/3_01.txt PHP License 3.01
5 */
6
7class pc_page_h_review_delete_confirm extends OpenPNE_Action
8{
9    function execute($requests)
10    {
11        $u = $GLOBALS['AUTH']->uid();
12
13        // --- リクエスト変数
14        $c_review_comment_id = $requests['c_review_comment_id'];
15        $asin = $requests['asin'];
16        // ----------
17
18        $c_review_comment = db_review_add_write_c_review_comment4asin_c_member_id($asin, $u);
19        if (!$c_review_comment) {
20            handle_kengen_error();
21        }
22
23        $product = db_review_write_product4asin($asin);
24        if (!$product) {
25            handle_kengen_error();
26        }
27
28        $this->set('inc_navi', fetch_inc_navi("h"));
29        $this->set('c_review_comment_id', $c_review_comment_id);
30        $this->set('asin', $asin);
31
32        return 'success';
33    }
34}
35
36?>
Note: See TracBrowser for help on using the repository browser.