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

source: OpenPNE/trunk/webapp_biz/modules/ktai_biz/page/fh_biz_schedule_view_member.php @ 269

Last change on this file since 269 was 269, checked in by ogawa, 16 years ago

webappの変更をwebapp_bizへマージ

File size: 1.2 KB
Line 
1<?php
2/**
3 * @copyright 2005-2006 OpenPNE Project
4 * @license   http://www.php.net/license/3_01.txt PHP License 3.01
5 */
6
7class ktai_biz_page_fh_biz_schedule_view_member extends OpenPNE_Action
8{
9    function execute($requests)
10    {
11        $u  = $GLOBALS['KTAI_C_MEMBER_ID'];
12        $this->set('tail', $GLOBALS['KTAI_URL_TAIL']);
13
14        if(empty($requests['target_id']) || ($requests['target_id'] == $u))  //自分自身
15        {
16            $target_id = $u;
17            $this->set('is_h', true);  //判別フラグ
18        }
19
20        else  //他人
21        {
22            $target_id = $requests['target_id'];
23            $this->set('is_f', true);  //判別フラグ
24        }
25
26        $this->set('inc_navi',fetch_inc_navi("h"));
27
28        $jmembers = biz_getJoinMemberSchedule($requests['id']);
29        if(array_search($target_member['nickname'], $jmembers))
30        {
31            $jmembers[$target_member['c_member_id']] = $target_member['nickname'];
32            $jmembers = array_unique($jmembers);
33        }
34       
35        $this->set('jmembers', $jmembers);
36        $this->set('jmembers_enc', serialize($jmembers));
37        $this->set('t_id', $target_id);
38        return 'success';
39    }
40}
41
42?>
Note: See TracBrowser for help on using the repository browser.