git-svn-id: http://xe-core.googlecode.com/svn/trunk@787 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-29 13:35:14 +00:00
parent 792a4ae7e5
commit a0e9554964
3 changed files with 73 additions and 1 deletions

View file

@ -3,11 +3,12 @@
<actions>
<action name="dispMemberList" type="view" standalone="true" index="true" admin_index="true" />
<action name="dispModuleConfig" type="view" standalone="true" />
<action name="dispMemberInfo" type="view" standalone="true" />
<action name="dispMember" type="view" standalone="true" />
<action name="dispMemberInsert" type="view" standalone="true" />
<action name="dispDeleteForm" type="view" standalone="true" />
<action name="dispGroupList" type="view" standalone="true" />
<action name="dispJoinFormList" type="view" standalone="true" />
<action name="dispMemberInfo" type="view" standalone="true" />
<action name="dispInsertJoinForm" type="view" standalone="true" />
<action name="dispDeniedIDList" type="view" standalone="true" />

View file

@ -58,6 +58,19 @@
$this->setTemplatePath($tpl_path);
}
/**
* @brief 회원 정보 출력
**/
function dispMember() {
$this->initNormal();
$oMemberModel = &getModel('member');
$this->member_info = $oMemberModel->getMemberInfoByMemberSrl($member_srl);
Context::set('extend_form_list', $oMemberModel->getCombineJoinForm($this->member_info));
$this->setTemplateFile('member_info');
}
/**
* @brief 회원 가입 출력
**/

View file

@ -0,0 +1,58 @@
<!--#include("header.html")-->
<table>
<tr>
<th>{$lang->user_id}</th>
<td>{$member_info->user_id}</td>
</tr>
<tr>
<th>{$lang->user_name}</th>
<td>{$member_info->user_name}</td>
</tr>
<tr>
<th>{$lang->nick_name}</th>
<td>{$member_info->nick_name}</td>
</tr>
<!--@if($member_info->image_name->src)-->
<tr>
<th>{$lang->image_name}</th>
<td><img src="{$member_info->image_name->src}" border="0" alt="image_name" /></td>
</tr>
<!--@end-->
<!--@if($member_info->image_mark->src)-->
<tr>
<th>{$lang->image_mark}</th>
<td><img src="{$member_info->image_mark->src}" border="0" alt="image_mark" /></td>
</td>
</tr>
<!--@end-->
<tr>
<th>{$lang->group}</th>
<td>
<!--@foreach($member_info->group_list as $key => $val)-->
{$val}
<!--@end-->
</td>
</tr>
<!--@if($extend_form_list)-->
<!--@foreach($extend_form_list as $key => $val)-->
<tr>
<th>{$val->column_title}</th>
<td>
<!--@if($val->column_type=='tel')-->
{$val->value[0]} - {$val->value[1]} - {$val->value[2]}
<!--@elseif($val->column_type=='kr_zip')-->
{$val->value[0]} {$val->value[1]}
<!--@elseif($val->column_type=='checkbox')-->
{implode(",",$val->value)}
<!--@else-->
{$val->value}
<!--@end-->
</td>
</tr>
<!--@end-->
<!--@end-->
<tr>
<th>{$lang->description}</th>
<td>{$member_info->description}</td>
</tr>
</table>