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

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

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

copyright表記修正

File size: 1.0 KB
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_c_edit_member_delete_c_commu_member extends OpenPNE_Action
8{
9    function execute($requests)
10    {
11        $u = $GLOBALS['AUTH']->uid();
12
13        // --- リクエスト変数
14        $target_c_commu_id = $requests['target_c_commu_id'];
15        $target_c_member_id = $requests['target_c_member_id'];
16        // ----------
17
18        //--- 権限チェック
19        //コミュニティ管理者
20        if (!db_commu_is_c_commu_admin($target_c_commu_id, $u)) {
21            handle_kengen_error();
22        }
23        //---
24
25        $this->set('inc_navi', fetch_inc_navi("c", $target_c_commu_id));
26
27        $member = db_member_c_member_with_profile($target_c_member_id);
28        $member['last_login'] = p_f_home_last_login4access_date($member['access_date']);
29
30        $this->set("member", $member);
31        $this->set("c_commu", db_commu_c_commu4c_commu_id($target_c_commu_id));
32
33        return 'success';
34    }
35}
36
37?>
Note: See TracBrowser for help on using the repository browser.