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

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

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

copyright表記修正

File size: 922 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_f_bookmark_add extends OpenPNE_Action
8{
9    function execute($requests)
10    {
11        $u = $GLOBALS['AUTH']->uid();
12
13        // --- リクエスト変数
14        $target_c_member_id = $requests['target_c_member_id'];
15        // ----------
16
17        if (db_member_is_access_block($u, $target_c_member_id)) {
18            openpne_redirect('pc', 'page_h_access_block');
19        }
20
21        if ($target_c_member_id == $u) {
22            handle_kengen_error();
23        }
24
25        $this->set('inc_navi', fetch_inc_navi('f', $target_c_member_id));
26        $c_member = db_member_c_member_with_profile($target_c_member_id);
27        $c_member['last_login'] = p_f_home_last_login4access_date($c_member['access_date']);
28        $this->set('c_member', $c_member);
29
30        return 'success';
31    }
32}
33
34?>
Note: See TracBrowser for help on using the repository browser.