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

source: OpenPNE/branches/takanashi/fileupload/webapp/modules/pc/page/h_review_edit.php @ 2069

Last change on this file since 2069 was 1856, checked in by takanashi, 16 years ago

copyright表記修正

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